-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
128 lines (128 loc) · 4.23 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
{
"name": "@mdn/yari",
"version": "0.1.6",
"repository": "https://github.com/mdn/yari",
"author": "MDN Web Docs",
"license": "MPL-2.0",
"scripts": {
"prettier-check": "prettier --check '**/*.{js,ts,tsx,json,scss,html}'",
"prettier-format": "prettier --write '**/*.{js,ts,tsx,json,scss,html}'",
"test:client": "cd client && tsc --noEmit && react-scripts test --env=jest-environment-jsdom-sixteen",
"test:kumascript": "jest kumascript",
"test:testing": "cd testing && jest",
"test": "yarn prettier-check && yarn test:client && yarn test:kumascript && yarn test:testing",
"build:client": "cd client && cross-env INLINE_RUNTIME_CHUNK=false react-scripts build",
"build:ssr": "cd ssr && webpack --config webpack.config.js --mode=production",
"prepare-build": "yarn build:client && yarn build:ssr",
"build": "cd build && cross-env NODE_ENV=production node cli.js",
"start": "(test -f client/build/index.html || yarn build:client) && (test -f ssr/dist/main.js || yarn build:ssr) && nf -j Procfile.start start",
"dev": "yarn build:client && yarn build:ssr && nf -j Procfile.dev start",
"start:client": "cd client && cross-env BROWSER=none PORT=3000 react-scripts start",
"start:server": "node server",
"start:dev-server": "nodemon server --watch server --watch build --watch content --watch kumascript",
"start:static-server": "cross-env ENV_FILE=testing/.env node server/static.js",
"filecheck": "cd filecheck && node cli.js",
"redirects": "node redirects/cli.js"
},
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"@caporal/core": "2.0.2",
"@mdn/browser-compat-data": "2.0.3",
"@yari-internal/constants": "file:./libs/constants",
"@yari-internal/fundamental-redirects": "file:./libs/fundamental-redirects",
"braces": "^3.0.2",
"chalk": "4.1.0",
"cheerio": "1.0.0-rc.3",
"chokidar": "^3.4.3",
"clean-webpack-plugin": "3.0.0",
"cli-progress": "^3.8.2",
"cross-env": "^7.0.2",
"cssesc": "^3.0.0",
"diff": "4.0.2",
"dotenv": "8.2.0",
"downshift": "^5.4.7",
"ejs": "3.1.5",
"express": "4.17.1",
"express-http-proxy": "1.6.2",
"file-type": "16.0.0",
"front-matter": "4.0.2",
"fs-extra": "9.0.1",
"glob": "^7.1.6",
"got": "11.8.0",
"ignore-loader": "0.1.2",
"imagemin": "7.0.1",
"imagemin-gifsicle": "7.0.0",
"imagemin-jpegtran": "7.0.0",
"imagemin-mozjpeg": "9.0.0",
"imagemin-pngquant": "9.0.1",
"imagemin-svgo": "8.0.0",
"include-media": "1.4.9",
"is-svg": "4.2.1",
"js-yaml": "3.14.0",
"jsesc": "3.0.1",
"mdn-data": "2.0.12",
"open-editor": "2.0.1",
"prismjs": "1.22.0",
"sanitize-filename": "^1.6.3",
"sockette": "^2.0.6",
"source-map-support": "0.5.19",
"swr": "0.3.6",
"tempy": "1.0.0",
"typeface-zilla-slab": "0.0.72",
"use-debounce": "^3.4.3",
"webpack-cli": "4.1.0",
"webpack-node-externals": "2.5.2",
"ws": "^7.3.1"
},
"devDependencies": {
"@testing-library/react": "^11.1.0",
"@types/jest": "^26.0.15",
"@types/react": "^16.9.53",
"@types/react-dom": "^16.9.8",
"@types/react-modal": "^3.10.6",
"extend": "^3.0.2",
"flexsearch": "0.6.32",
"foreman": "3.0.1",
"fuzzysearch": "1.0.3",
"history": "5.0.0",
"husky": "4.3.0",
"jest": "^24.0.0",
"jest-environment-jsdom-sixteen": "^1.0.3",
"jest-junit-reporter": "^1.1.0",
"jest-puppeteer": "4.4.0",
"jsdom": "^16.4.0",
"node-sass": "4.14.1",
"nodemon": "2.0.6",
"pegjs": "^0.10.0",
"prettier": "2.1.2",
"pretty-quick": "3.1.0",
"puppeteer": "2",
"react": "16.14.0",
"react-dom": "16.14.0",
"react-modal": "^3.11.2",
"react-router": "6.0.0-beta.0",
"react-router-dom": "6.0.0-beta.0",
"react-scripts": "3.4.4",
"rough-notation": "0.4.0",
"ts-loader": "^8.0.7",
"typescript": "^3.9.7",
"vnu-jar": "^20.6.30"
},
"resolutions": {
"braces": ">=2.3.1",
"fstream": ">=1.0.12",
"js-yaml": ">=3.13.1",
"lodash": ">=4.17.15",
"mixin-deep": ">=1.3.2",
"set-value": ">=2.0.1",
"tar": ">=4.4.9",
"handlebars": ">=4.5.3"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged && yarn install --ignore-scripts"
}
}
}