-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
174 lines (174 loc) · 5.83 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
{
"name": "@mdn/yari",
"version": "0.1.6",
"repository": "https://github.com/mdn/yari",
"license": "MPL-2.0",
"author": "MDN Web Docs",
"scripts": {
"build": "cross-env NODE_ENV=production node build/cli.js",
"build:client": "cd client && cross-env INLINE_RUNTIME_CHUNK=false react-scripts build",
"build:ssr": "cd ssr && webpack --mode=production",
"dev": "yarn prepare-build && nf -j Procfile.dev start",
"eslint": "eslint .",
"filecheck": "cd filecheck && node cli.js",
"fiori:build": "cd client && build-storybook",
"fiori:start": "cd client && start-storybook -p 6006",
"md": "node markdown/cli.js",
"prepare-build": "yarn build:client && yarn build:ssr && yarn tool optimize-client-build && yarn tool google-analytics-code && yarn tool spas && yarn tool gather-git-history",
"prettier-check": "prettier --check .",
"prettier-format": "prettier --write .",
"start": "(test -f client/build/index.html || yarn build:client) && (test -f ssr/dist/main.js || yarn build:ssr) && (test -d client/build/en-us/_spas || yarn tool spas) && nf -j Procfile.start start",
"start:client": "cd client && cross-env BROWSER=none PORT=3000 react-scripts start",
"start:dev-server": "node-dev server",
"start:server": "node server",
"start:static-server": "cross-env ENV_FILE=testing/.env node server/static.js",
"test": "yarn prettier-check && yarn test:client && yarn test:kumascript && yarn test:content && yarn test:testing",
"test:client": "cd client && tsc --noEmit && react-scripts test --env=jest-environment-jsdom-sixteen",
"test:content": "jest content",
"test:kumascript": "jest kumascript",
"test:testing": "cd testing && jest",
"tool": "node tool/cli.js",
"watch:ssr": "cd ssr && webpack --mode=production --watch",
"prepare": "husky install"
},
"resolutions": {
"@typescript-eslint/typescript-estree": ">=4.15.2",
"babel-loader": "8.1.0",
"lodash": ">=4.17.15",
"mixin-deep": ">=1.3.2",
"set-value": ">=2.0.1"
},
"dependencies": {
"@caporal/core": "2.0.2",
"@fast-csv/parse": "4.3.6",
"@mdn/browser-compat-data": "3.3.3",
"accept-language-parser": "1.5.0",
"browser-specs": "^1.37.0",
"chalk": "4.1.1",
"cheerio": "1.0.0-rc.6",
"cli-progress": "^3.9.0",
"compression": "1.7.4",
"cookie": "0.4.1",
"cookie-parser": "1.4.5",
"cssesc": "^3.0.0",
"dotenv": "9.0.2",
"ejs": "3.1.6",
"express": "4.17.1",
"fast-xml-parser": "3.19.0",
"fdir": "5.0.0",
"file-type": "16.4.0",
"front-matter": "^4.0.2",
"fs-extra": "10.0.0",
"glob": "^7.1.7",
"got": "11.8.2",
"hast-util-is-element": "^1.1.0",
"hast-util-to-html": "^7.1.3",
"hast-util-to-text": "^2.0.1",
"http-proxy-middleware": "2.0.0",
"image-size": "1.0.0",
"image-type": "4.1.0",
"imagemin": "7.0.1",
"imagemin-gifsicle": "7.0.0",
"imagemin-mozjpeg": "9.0.0",
"imagemin-pngquant": "9.0.2",
"imagemin-svgo": "9.0.0",
"inquirer": "^8.0.0",
"is-svg": "4.2.2",
"js-yaml": "4.1.0",
"loglevel": "^1.7.1",
"lru-cache": "^6.0.0",
"md5-file": "5.0.0",
"mdn-data": "2.0.18",
"open": "^8.0.9",
"open-editor": "3.0.0",
"prismjs": "1.23.0",
"read-chunk": "3.2.0",
"rehype-format": "^3.1.0",
"rehype-parse": "^7.0.1",
"rehype-raw": "^5.1.0",
"rehype-remark": "^8.0.0",
"rehype-stringify": "^8.0.0",
"remark-gfm": "^1.0.0",
"remark-parse": "^9.0.0",
"remark-rehype": "^8.1.0",
"remark-stringify": "^9.0.1",
"sanitize-filename": "^1.6.3",
"send": "0.17.1",
"source-map-support": "0.5.19",
"tempy": "1.0.1",
"unified": "^9.2.1",
"unist-builder": "^2.0.3",
"unist-util-visit": "2.0.3"
},
"devDependencies": {
"@babel/core": "^7.14.3",
"@mdn/dinocons": "^0.3.1",
"@mdn/minimalist": "^1.0.0",
"@storybook/addon-a11y": "^6.2.9",
"@storybook/addon-actions": "^6.2.9",
"@storybook/addon-essentials": "^6.2.9",
"@storybook/addon-links": "^6.2.9",
"@storybook/node-logger": "^6.2.9",
"@storybook/preset-create-react-app": "^3.1.7",
"@storybook/react": "^6.2.8",
"@testing-library/react": "^11.2.7",
"@types/jest": "^26.0.23",
"@types/react": "^17.0.5",
"@types/react-dom": "^17.0.5",
"babel-loader": "8.1.0",
"benchmark": "2.1.4",
"braces": "^3.0.2",
"cross-env": "^7.0.3",
"diff": "^5.0.0",
"downshift": "^6.1.3",
"eslint": "^7.18.0",
"eslint-gitignore": "^0.1.0",
"eslint-plugin-jest": "24.3.6",
"eslint-plugin-node": "11.1.0",
"extend": "^3.0.2",
"flexsearch": "0.6.32",
"foreman": "3.0.1",
"fuzzyjs": "4.0.4",
"fuzzysearch": "1.0.3",
"history": "5.0.0",
"html-validate": "4.12.0",
"husky": "^6.0.0",
"ignore-loader": "^0.1.2",
"jest-environment-jsdom-sixteen": "^2.0.0",
"jest-junit-reporter": "^1.1.0",
"jest-puppeteer": "5.0.3",
"jsdom": "^16.5.3",
"node-dev": "7.0.0",
"pegjs": "^0.10.0",
"prettier": "2.3.0",
"prettier-plugin-packagejson": "^2.2.11",
"pretty-quick": "3.1.0",
"puppeteer": "9.0.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-is": "^17.0.2",
"react-refresh": "0.10",
"react-router": "6.0.0-beta.0",
"react-router-dom": "6.0.0-beta.0",
"react-scripts": "4.0.3",
"rough-notation": "0.5.1",
"sass": "^1.32.13",
"stylelint": "^13.13.1",
"stylelint-a11y": "^1.2.3",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-recommended": "^4.0.0",
"stylelint-config-sass-guidelines": "^8.0.0",
"stylelint-prettier": "^1.2.0",
"stylelint-scss": "^3.19.0",
"swr": "^0.5.6",
"ts-loader": "^8.1.0",
"typescript": "^4.2.4",
"use-debounce": "^6.0.1",
"webpack": "^4.44.2",
"webpack-cli": "^4.7.0",
"webpack-node-externals": "^3.0.0"
},
"engines": {
"node": ">=12.11"
}
}