-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 1.65 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
{
"name": "syncify",
"version": "0.1.0",
"private": true,
"workspaces": {
"packages": [
"client",
"server",
"shared"
],
"nohoist": [
"**/jest"
]
},
"main": "server/build/index.js",
"scripts": {
"start": "run-p start:client start:server -l",
"start:client": "cd client && yarn start",
"start:server": "run-p build:server:watch serve:watch -l",
"test": "run-p test:client test:server -l",
"test:watch": "run -p test:client:watch test:server:watch -l",
"test:client": "cd server && jest",
"test:server": "cd server && jest",
"test:client:watch": "yarn test:client --watch",
"test:server:watch": "yarn test:server --watch",
"build": "run-s build:server build:client -l",
"build:client": "cd client && yarn build",
"build:server": "tsc -b tsconfig.build.json",
"build:server:watch": "yarn build:server --watch --preserveWatchOutput",
"serve": "node .",
"serve:watch": "nodemon --delay 1 server/build/index.js",
"lint": "run-p lint:** -l",
"lint:client": "cd client && yarn lint",
"lint:server": "tslint --project server/tsconfig.json",
"lint:shared": "tslint --project shared/tsconfig.json"
},
"devDependencies": {
"@types/node": "^11.13.9",
"husky": "^2.3.0",
"lint-staged": "^8.1.7",
"nodemon": "^1.19.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.17.0",
"tslint": "^5.16.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.4.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx,jsx,css,md}": [
"prettier --write",
"git add"
]
}
}