forked from common-voice/common-voice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 2.39 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
{
"name": "voice-web",
"version": "1.0.0",
"license": "MPL-2.0",
"repository": "mozilla/voice-web",
"private": true,
"workspaces": [
"common",
"server",
"web",
"maintenance"
],
"engines": {
"node": ">=12"
},
"devDependencies": {
"@fluent/syntax": "0.18.0",
"@typescript-eslint/eslint-plugin": "5.10.0",
"@typescript-eslint/parser": "5.10.0",
"concurrently": "5.3.0",
"eslint": "8.7.0",
"eslint-config-prettier": "8.3.0",
"eslint-import-resolver-typescript": "2.5.0",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-react": "7.28.0",
"eslint-plugin-react-hooks": "4.3.0",
"husky": "7.0.4",
"node-fetch": "2.6.7",
"prettier": "2.5.1",
"pretty-quick": "3.1.3",
"typescript": "4.0.2"
},
"resolutions": {
"browserslist": "^4.16.5",
"glob-parent": "^5.1.2",
"merge": "^2.1.1",
"minimist": "^1.2.3",
"serialize-javascript": "^3.1.0",
"ssh2": "^1.4.0",
"ssri": "^8.0.1",
"underscore": "^1.12.1",
"y18n": "^4.0.1",
"yargs-parser": "18.1.2"
},
"scripts": {
"clean": "rm -r node_modules && rm -r common/node_modules && rm -r server/node_modules && rm -r web/node_modules",
"build": "yarn build:maint && yarn build:common && concurrently \"yarn build:server\" \"yarn build:web\"",
"build:web": "cd web && yarn build && cd ..",
"build:server": "cd server && yarn build && cd ..",
"build:common": "cd common && yarn build && cd ..",
"build:maint": "cd maintenance && yarn build && cd ..",
"import-locales": "node scripts/import-locales",
"lint": "eslint .",
"lint:common": "eslint ./common",
"lint:server": "eslint ./server",
"lint:web": "cd web && yarn lint",
"prettier": "prettier \"**/*.{ts,tsx}\" --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"
}
},
"packageManager": "[email protected]"
}