forked from babel/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
117 lines (117 loc) · 3.94 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
{
"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 scripts",
"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": "8.0.0-alpha.2",
"@babel/eslint-parser": "8.0.0-alpha.2",
"@babel/preset-env": "8.0.0-alpha.2",
"@babel/preset-react": "8.0.0-alpha.2",
"@babel/preset-typescript": "8.0.0-alpha.2",
"@codemirror/lang-javascript": "6.2.1",
"@codemirror/theme-one-dark": "6.1.2",
"@emotion/babel-plugin": "^11.11.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-terser": "^0.4.3",
"@types/react": "^17.0.2",
"@typescript-eslint/eslint-plugin": "^6.3.0",
"@typescript-eslint/parser": "^6.3.0",
"babel-loader": "^9.1.3",
"codemirror": "6.0.1",
"cross-env": "^7.0.3",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-formatter-codeframe": "^7.32.1",
"eslint-plugin-markdown": "^3.0.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.31.8",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.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": "^3.28.0",
"terser-webpack-plugin": "^5.3.9",
"typescript": "^5.1.6",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1",
"worker-loader": "^3.0.8"
},
"dependencies": {
"@babel/generator": "8.0.0-alpha.2",
"@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.5.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-instantsearch-dom": "^6.40.4",
"regenerator-runtime": "^0.14.0",
"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": "[email protected]"
}