-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathpackage.json
42 lines (42 loc) ยท 1.3 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
{
"name": "bookus",
"private": true,
"version": "1.0.2",
"main": "index.js",
"license": "MIT",
"workspaces": {
"packages": [
"client",
"server",
"reserve-server"
]
},
"scripts": {
"test": "run-s test:server test:client",
"test:server": "yarn workspace server test",
"test:client": "yarn workspace client test",
"test:reserve-server": "yarn workspace reserve-server test",
"lint": "run-p lint:server lint:client",
"lint:server": "yarn workspace server lint:fix",
"lint:client": "yarn workspace client lint:fix",
"lint:reserve-server": "yarn workspace reserve-server lint:fix",
"precommit:server": "yarn workspace server precommit",
"precommit:client": "yarn workspace client precommit",
"precommit:reserve-server": "yarn workspace reserve-server precommit",
"precommit": "run-p precommit:server precommit:client precommit:reserve-server",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,scss,css,md}\""
},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"husky": "^3.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.19.1"
},
"husky": {
"hooks": {
"pre-commit": "yarn precommit",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}