forked from babel/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
120 lines (120 loc) · 3.96 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "babel.github.io",
"private": true,
"version": "1.0.0",
"description": "",
"main": "",
"scripts": {
"bootstrap": "run-s bootstrap:sponsors build",
"bootstrap:sponsors": "node ./scripts/download-sponsors.js",
"build": "run-s build:codemirror6 build:repl build:docusaurus build:redirects",
"build:docusaurus": "cd website && yarn && yarn build && mv build babel && mkdir build && mv babel build/babel",
"build:redirects": "cp ./_redirects ./website/build/babel",
"build:repl": "cross-env NODE_ENV=production webpack",
"build:codemirror6": "rollup -c rollup.config.mjs",
"lint": "eslint js website",
"lint-staged": "lint-staged",
"fix:css": "prettier --write website/static/css/*.css",
"precommit": "run-s tsc lint-staged",
"start": "run-p start:codemirror6 start:repl start:docusaurus",
"start:docusaurus": "cd website && yarn start",
"start:repl": "webpack -d source-map -w",
"start:codemirror6": "cross-env NODE_ENV=development yarn build:codemirror6",
"test": "remark docs README.md --quiet",
"version": "node ./scripts/generate-repl-past-versions.mjs && git add ./js/repl/past-versions.json"
},
"remarkConfig": {
"plugins": {
"preset-lint-recommended": true,
"lint-list-item-indent": false,
"lint-no-blockquote-without-marker": false,
"lint-no-inline-padding": false,
"lint-no-literal-urls": false,
"lint-no-duplicate-headings-in-section": true,
"lint-no-empty-url": true,
"lint-list-item-bullet-indent": false
}
},
"author": "",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.21.4",
"@babel/eslint-parser": "^7.21.3",
"@babel/preset-env": "^7.21.4",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.4",
"@codemirror/lang-javascript": "6.1.3",
"@codemirror/theme-one-dark": "6.1.0",
"@emotion/babel-plugin": "^11.10.6",
"@rollup/plugin-node-resolve": "^13.3.0",
"@types/react": "16",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"babel-loader": "^9.1.2",
"chalk": "^2.4.1",
"codemirror": "6.0.1",
"cpy-cli": "^3.1.1",
"cross-env": "^7.0.3",
"eslint": "^8.24.0",
"eslint-config-prettier": "^8.5.0",
"eslint-formatter-codeframe": "^7.32.1",
"eslint-plugin-markdown": "^3.0.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.8",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"node-fetch": "^2.6.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"remark-cli": "^11.0.0",
"remark-lint-list-item-indent": "^3.1.1",
"remark-lint-no-blockquote-without-marker": "^5.1.1",
"remark-lint-no-duplicate-headings-in-section": "^3.1.1",
"remark-lint-no-empty-url": "^3.1.1",
"remark-lint-no-literal-urls": "^3.1.1",
"remark-preset-lint-recommended": "^6.1.2",
"rollup": "^2.78.1",
"rollup-plugin-terser": "^7.0.2",
"terser-webpack-plugin": "^5.3.5",
"typescript": "^4.8.3",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.10.0",
"worker-loader": "^3.0.8"
},
"dependencies": {
"@babel/generator": "^7.21.4",
"@emotion/css": "^11.10.6",
"algoliasearch": "^4.12.0",
"buffer": "^5.7.1",
"codemirror": "^5.65.0",
"core-js": "^3.0.1",
"lodash.camelcase": "^4.3.0",
"lodash.debounce": "^4.0.8",
"lz-string": "^1.4.4",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-instantsearch-dom": "^6.7.0",
"regenerator-runtime": "^0.13.9",
"unfetch": "^4.2.0"
},
"workspaces": [
"./website"
],
"lint-staged": {
"js/**/*.{js,ts,tsx}": [
"eslint --format=codeframe --fix",
"git add"
],
"website/pages/en/*.js": [
"eslint --format=codeframe --fix",
"git add"
],
"website/data/*.js": [
"eslint --format=codeframe --fix",
"git add"
]
},
"packageManager": "yarn@3.2.3"
}