forked from common-voice/common-voice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
63 lines (63 loc) · 1.9 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
{
"name": "voice-web",
"version": "1.0.0",
"license": "MPL-2.0",
"repository": "mozilla/voice-web",
"private": true,
"dependencies": {
"fluent-syntax": "^0.14.0",
"http-status-codes": "^1.4.0",
"request": "^2.88.0",
"request-promise-native": "^1.0.8"
},
"devDependencies": {
"concurrently": "^5.1.0",
"husky": "^4.2.1",
"prettier": "^2.1.1",
"pretty-quick": "^3.0.2",
"typescript": "4.0.2"
},
"workspaces": [
"common",
"server",
"web",
"maintenance"
],
"engines": {
"node": ">=10.17.0"
},
"resolutions": {
"event-stream": "^3.3.4",
"@types/react": "^16.9.19",
"minimist": "^1.2.3",
"serialize-javascript": "^3.1.0",
"dot-prop": "^4.2.1",
"node-notifier": "^8.0.1",
"y18n": "^4.0.1",
"netmask": "^2.0.1",
"is-svg": "^4.2.2",
"ssri": "^8.0.1",
"merge": "^2.1.1",
"underscore": "^1.12.1",
"browserslist": "^4.16.5",
"glob-parent": "^5.1.2",
"ws": "^7.4.6"
},
"scripts": {
"build": "yarn build-common && concurrently \"cd server && yarn build\" \"cd web && yarn build\"",
"build-common": "cd common && yarn build && cd ..",
"build-maint": "cd maintenance && yarn build && cd ..",
"import-locales": "node scripts/import-locales",
"lint": "prettier \"**/*.{ts,tsx}\"",
"prettier": "yarn lint --write",
"start": "yarn build-common && concurrently -p \"[{name}]\" -n \"CO,BE,FE\" -c \"bgYellow.bold,bgBlue.bold,bgMagenta.bold,bgCyan.bold\" \"cd common && yarn dev\" \"cd server && yarn start\" \"cd web && yarn dev\"",
"start:prod": "yarn build-common && node server/js/main.js",
"start:maint": "cd maintenance && yarn dev",
"test": "yarn build-common && concurrently --kill-others-on-fail \"cd web && yarn test\" \"cd server && SERVER_CONFIG_PATH='../config.json' yarn test\""
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}