forked from common-voice/common-voice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
41 lines (41 loc) · 1.1 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
{
"name": "voice-web",
"version": "1.0.0",
"license": "MPL-2.0",
"repository": "mozilla/voice-web",
"private": true,
"dependencies": {
"concurrently": "^4.0.1",
"fluent-syntax": "^0.9.0",
"prettier": "^1.15.2",
"request": "^2.88.0",
"request-promise-native": "^1.0.5",
"typescript": "^3.1.6"
},
"devDependencies": {
"husky": "^1.0.1",
"pretty-quick": "^1.7.0"
},
"workspaces": [
"common",
"server",
"web"
],
"engines": {
"node": ">=8.10.0"
},
"scripts": {
"build": "concurrently \"cd server && yarn build\" \"cd web/ && yarn build\"",
"import-locales": "node scripts/import-locales",
"lint": "prettier **/*.ts **/*.tsx",
"prettier": "yarn lint --write",
"start": "concurrently -p \"[{name}]\" -n \"BE,FE\" -c \"bgBlue.bold,bgMagenta.bold\" \"cd server && yarn start\" \"cd web && yarn dev\"",
"start:prod": "node server/js/server.js",
"test": "concurrently --kill-others-on-fail \"cd web && yarn test\" \"cd server && yarn test\""
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}