-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
62 lines (62 loc) · 2.73 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
{
"name": "nest-angular",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"format": "prettier --write \"**/*.ts\"",
"install-client": "cd client&&npm i",
"install-server": "cd server&&npm i",
"install": "npm run install-client&&npm run install-server",
"gen-client": "ts-node ./generator && prettier --write \"./client/src/api/**/*.ts\"",
"serve-client": "cd client&&npm run start",
"debug-server": "cd server&&npm run start:debug",
"start-server": "cd server&&npm run start",
"build-client": "cd client&&npm run build",
"build-client-prod": "cd client&&npm run build:prod",
"build-client-dev": "cd client&&npm run build:dev",
"dev": "start npm run debug-server | start npm run build-client | (cd client && code .) | (cd server && code .)",
"prod": "set NODE_ENV=production&&ts-node app",
"marker": "set NODE_ENV=marker&&ts-node app",
"start-dev": "set NODE_ENV=dev&&npm run build-client-prod&&npm run start-server",
"test": "ts-node ./test/index",
"git": "git reset --hard HEAD&&git pull",
"deploy-dev": "npm run git&&npm i&& npm run start-dev",
"deploy-prod": "npm run git&&npm i&&npm run build-client-prod&& npm run serve-static &&npm run pm2-start-server",
"pm2-start-server": "cd server && pm2 start --name server npm -- start",
"pm2-serve-static": "tsc serve-static && pm2 start serve-static.js",
"pm2-serve-static-restart": "tsc serve-static && pm2 restart serve-static",
"build:client:cordova": "cd client&& npm run build:cordova",
"serve-static": "ts-node serve-static",
"gen-uml": "tsuml --glob ./shared/**/*.ts",
"lint": "tslint -p .",
"lint:fix": "tslint -p . --fix&&cd client&&ng lint --fix",
"open-ports": "sudo iptables -A INPUT -p tcp --dport 4001 --jump ACCEPT",
"open-client-port": "sudo iptables -A INPUT -p tcp --dport 4001 --jump ACCEPT"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@types/lodash": "^4.14.123",
"@types/node": "^10.17.28",
"json-ts": "^1.6.4",
"nest-client-generator": "^1.1.5",
"prettier": "^1.15.3",
"ts-morph": "^1.3.3",
"ts-node": "^8.0.2",
"tslint": "^5.13.1",
"tslint-class-validator-rule": "^1.0.3",
"tslint-eslint-rules": "^5.4.0",
"typescript": "^3.3.1"
},
"dependencies": {
"bson": "^4.0.2",
"class-validator": "^0.11.0",
"fastify": "^2.14.1",
"fastify-static": "^2.7.0",
"lodash": "^4.17.11",
"nosql-normalizer": "^1.0.6",
"serve-static": "^1.14.1",
"tsconfig-paths": "^3.8.0"
}
}