forked from dm3-org/dm3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
39 lines (39 loc) · 1.13 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
{
"private": true,
"workspaces": {
"packages": [
"packages/lib",
"packages/backend",
"packages/react",
"packages/web"
],
"nohoist": [
"**/react",
"**/react-dom"
]
},
"devDependencies": {
"eslint": "^8.17.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.0",
"prettier": "^2.6.2"
},
"lint-staged": {
"*.{js,ts,tsx,json}": [
"prettier --write",
"eslint --fix"
]
},
"scripts": {
"build": "cd packages/lib/ && yarn build && cd ../react && yarn build && cd ../web && yarn build && cd ../backend && yarn build",
"start": "cd packages/backend && yarn start",
"lint": "eslint '*/**/*.{js,ts,tsx}' --fix",
"format": "prettier --write '*/**/*.{js,ts,tsx,json}'",
"format:check": "prettier --check '*/**/*.{js,ts,tsx,json}'",
"prepare": "husky install",
"test": "./test-all.sh"
},
"packageManager": "[email protected]"
}