forked from common-voice/common-voice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.54 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
{
"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.0.5",
"pretty-quick": "^2.0.1",
"typescript": "3.8.3"
},
"workspaces": [
"common",
"server",
"web",
"maintenance"
],
"engines": {
"node": ">=10.17.0"
},
"resolutions": {
"cryptiles": "4.1.2",
"event-stream": "3.3.4",
"@types/react": "16.9.19",
"minimist": "1.2.3"
},
"scripts": {
"build": "yarn build-common && concurrently \"cd server && yarn build\" \"cd web && yarn build\" \"cd maintenance && yarn build\"",
"build-common": "cd common && 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,MT\" -c \"bgYellow.bold,bgBlue.bold,bgMagenta.bold,bgCyan.bold\" \"cd common && yarn dev\" \"cd server && yarn start\" \"cd web && yarn dev\" \"cd maintenance && yarn dev\"",
"start:prod": "yarn build-common && node server/js/main.js",
"test": "yarn build-common && concurrently --kill-others-on-fail \"cd web && yarn test\" \"cd server && yarn test\""
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}