-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 1.59 KB
/
package.json
File metadata and controls
59 lines (59 loc) · 1.59 KB
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": "@project/root",
"version": "1.0.0",
"description": "",
"private": true,
"scripts": {
"test": "lerna run test --stream",
"test:e2e": "lerna run test:e2e",
"test:app": "lerna run test --scope=@project/app",
"test:server": "lerna run test --scope=@project/server",
"lint": "lerna run lint",
"lint:fix": "lerna run lint:fix",
"prettier": "lerna run prettier",
"build": "lerna run build --stream",
"build:app": "lerna run build --scope=@project/ap --stream",
"build:server": "lerna run build --scope=@project/server --stream",
"start": "lerna run start --stream --parallel",
"start:app": "lerna run start --scope=@project/app --stream",
"start:server": "lerna run start --scope=@project/server --stream",
"start:prod": "pm2-docker --raw processes.config.js --no-deamon",
"docker:build": "yarn build && docker-compose build"
},
"dependencies": {
"lerna": "3.22.1",
"pm2": "4.5.1"
},
"devDependencies": {
"husky": "5.0.6",
"lint-staged": "10.5.3",
"cross-env": "7.0.3"
},
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"**/@types",
"**/@types/**",
"**/@tsed",
"**/@tsed/**"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"post-commit": "git update-index --again"
}
},
"lint-staged": {
"packages/app/**/*.{js,jsx}": [
"cd packages/app && yarn lint:fix && yarn prettier",
"git add"
],
"packages/server/**/*.{ts}": [
"cd packages/server && yarn lint:fix && yarn prettier",
"git add"
]
}
}