forked from BinaryStudioAcademy/bsa-2022-vse-bude
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 3.48 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
{
"name": "vse-bude",
"version": "0.0.1",
"engines": {
"npm": ">=8.0.0 <9.0.0",
"node": ">=16.0.0 <17.0.0"
},
"prettier": "@vse-bude/prettier-config",
"scripts": {
"install:all": "npm install && npm run install:shared && npm run build:shared && npm run install:backend && npm run install:frontend && npm run install:mobile",
"install:shared": "cd packages/shared && npm install",
"install:backend": "cd packages/backend && npm install",
"install:frontend": "cd packages/frontend && npm install",
"install:mobile": "cd packages/mobile && npm install",
"build:all": "npm run build:shared && npm run build:backend && npm run build:frontend",
"build:backend": "cd packages/backend && npm run build",
"build:frontend": "cd packages/frontend && npm run build",
"build:shared": "cd packages/shared && npm run build",
"start:backend": "cd packages/backend && npm run start",
"start:frontend": "cd packages/frontend && npm run start",
"start:mobile": "cd packages/mobile && npm run start",
"prettier:check:all": "npm run prettier:check:backend && npm run prettier:check:frontend && npm run prettier:check:mobile && npm run prettier:check:shared",
"prettier:check:backend": "cd packages/backend && npm run prettier:check",
"prettier:check:frontend": "cd packages/frontend && npm run prettier:check",
"prettier:check:mobile": "cd packages/mobile && npm run prettier:check",
"prettier:check:shared": "cd packages/shared && npm run prettier:check",
"prettier:fix:all": "npm run prettier:fix:backend && npm run prettier:fix:frontend && npm run prettier:fix:mobile && npm run prettier:fix:shared",
"prettier:fix:backend": "cd packages/backend && npm run prettier:fix",
"prettier:fix:frontend": "cd packages/frontend && npm run prettier:fix",
"prettier:fix:mobile": "cd packages/mobile && npm run prettier:fix",
"prettier:fix:shared": "cd packages/shared && npm run prettier:fix",
"lint:all": "npm run lint:backend && npm run lint:frontend && npm run lint:mobile && npm run lint:shared",
"lint:backend": "cd packages/backend && npm run lint",
"lint:frontend": "cd packages/frontend && npm run lint",
"lint:mobile": "cd packages/mobile && npm run lint",
"lint:shared": "cd packages/shared && npm run lint",
"lint:fix:all": "npm run lint:fix:backend && npm run lint:fix:frontend && npm run lint:fix:mobile && npm run lint:fix:shared",
"lint:fix:backend": "cd packages/backend && npm run lint:fix",
"lint:fix:frontend": "cd packages/frontend && npm run lint:fix",
"lint:fix:mobile": "cd packages/mobile && npm run lint:fix",
"lint:fix:shared": "cd packages/shared && npm run lint:fix",
"fix:all": "npm run lint:fix:all && npm run prettier:fix:all",
"start:prod": "pm2 startOrRestart ecosystem.config.js --env production",
"delete:prod": "pm2 delete ecosystem.config.js",
"install:pm2": "pm2 install pm2-logrotate && pm2 set pm2-logrotate:max_size 5M",
"hooks:pre-commit": "npm run prettier:fix:all && npm run lint:fix:all"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"@vse-bude/prettier-config": "file:packages/prettier-config",
"eslint": "^8.20.0",
"eslint-import-resolver-typescript": "^3.3.0",
"eslint-plugin-import": "^2.26.0",
"husky": "^4.3.8",
"pm2": "^5.2.0",
"prettier": "^2.7.1",
"typescript": "4.7.4"
},
"husky": {
"hooks": {
"pre-commit": "npm run hooks:pre-commit"
}
}
}