forked from common-voice/common-voice
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
67 lines (67 loc) · 2.35 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
{
"name": "voice-web",
"version": "1.0.0",
"license": "MPL-2.0",
"repository": "mozilla/voice-web",
"private": true,
"workspaces": [
"common",
"server",
"web",
"maintenance"
],
"engines": {
"node": ">=18"
},
"devDependencies": {
"@fluent/syntax": "0.19.0",
"@types/node": "18.18.11",
"@typescript-eslint/eslint-plugin": "5.55.0",
"@typescript-eslint/parser": "5.55.0",
"concurrently": "5.3.0",
"eslint": "8.11.0",
"eslint-config-prettier": "8.5.0",
"eslint-import-resolver-typescript": "2.7.1",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-react": "7.29.4",
"eslint-plugin-react-hooks": "4.3.0",
"husky": "7.0.4",
"mysql2": "2.3.3",
"node-fetch": "2.6.9",
"prettier": "2.6.0",
"pretty-quick": "3.1.3",
"typescript": "5.2.2"
},
"resolutions": {
"browserslist": "^4.16.5",
"minimist": "^1.2.5",
"webpack": "5.76.3",
"loader-utils": "^2.0.3",
"@babel/traverse": "^7.23.3"
},
"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:compressed-size": "yarn build:common && 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 ..",
"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 --trace-warnings 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]"
}