-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 3.58 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "udomo",
"author": "Lucas Vinals",
"license": "GPL-3.0",
"main": "cluster.js",
"version": "1.0.0",
"scripts": {
"start": "CORES=1 nodemon --inspect --watch ./server -- ./cluster.js",
"cluster": "yarn run forever:stop && NODE_ENV=production forever start cluster.js",
"clean": "rimraf ./udomo dump.rdb *.log .com.google* v8* /root/.forever/*.log",
"copy-views": "mkdir -p ./udomo/views && cp -R ./client/views/**/ ./udomo/views/",
"copy-images": "mkdir -p ./udomo/images && cp -R ./client/images/* ./udomo/images/",
"copystatic": "concurrently --raw 'yarn run copy-views' 'yarn run copy-images'",
"forever:stop": "forever stopall",
"basicWorkflow": "yarn run clean && yarn run copystatic",
"build:production": "yarn run basicWorkflow && NODE_ENV=production webpack -p",
"production": "yarn run init-redis && NODE_ENV=production concurrently --kill-others-on-fail --raw 'yarn run build:production' 'yarn run cluster'",
"development": "yarn run init-redis && NODE_ENV=development concurrently --kill-others --raw 'yarn start' 'webpack-dev-server'",
"local": "yarn run init-redis && concurrently --kill-others --raw 'yarn start' 'webpack-dev-server' 'yarn run init-mongod'",
"logs:server:production": "tail -f ~/.forever/*.log",
"init-redis": "redis-server --daemonize yes",
"init-mongod": "MONGODB_PORT=${MONGODB_PORT:-27017} && mongod --port $MONGODB_PORT --logappend --syslog --journal --smallfiles --quiet",
"nsp": "nsp check",
"snyk-auth": "snyk auth",
"snyk-test": "snyk test -q",
"snyk-protect": "snyk protect",
"test": "snyk test"
},
"repository": {
"type": "git",
"url": "https://github.com/lucasvinals/uDomo"
},
"dependencies": {
"bluebird": "^3.5.0",
"body-parser": "^1.17.2",
"compression": "^1.6.2",
"concurrently": "^3.4.0",
"express": "^4.15.4",
"forever": "^0.15.3",
"helmet": "^3.8.1",
"http-status": "^1.0.1",
"jsonwebtoken": "^7.4.2",
"lodash": "^4.17.4",
"method-override": "^2.3.9",
"mongoose": "^4.11.7",
"mongoose-delete": "^0.4.0",
"ng-annotations": "^1.1.0",
"nsp": "^2.6.3",
"snyk": "^1.38.2",
"socket.io": "2.0.3",
"socket.io-client": "^2.0.3",
"socket.io-redis": "5.1.0",
"uuid": "^3.0.1",
"ws": "^3.1.0"
},
"devDependencies": {
"@uirouter/angularjs": "^1.0.6",
"alertifyjs": "^1.11.0",
"angular": "^1.6.5",
"babel-core": "^6.26.0",
"babel-eslint": "^7.2.3",
"babel-loader": "^7.0.0",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-preset-env": "^1.6.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2016": "^6.24.1",
"babel-preset-es2017": "^6.24.1",
"bootstrap": "4.0.0-beta",
"css-loader": "^0.28.4",
"eslint": "^4.4.1",
"eslint-config-strict": "^14.0.0",
"extract-text-webpack-plugin": "^3.0.0",
"file-loader": "^1.0.0",
"fork-ts-checker-webpack-plugin": "^0.2.8",
"glob": "^7.1.2",
"html-webpack-plugin": "^2.30.1",
"jquery": "^3.2.1",
"mocha": "^3.5.0",
"morgan": "^1.8.2",
"node-sass": "^4.5.3",
"nodemon": "^1.11.0",
"popper.js": "^1.12.2",
"purify-css": "^1.2.5",
"purifycss-webpack": "^0.7.0",
"raw-loader": "^0.5.1",
"rimraf": "^2.6.1",
"sass-loader": "^6.0.6",
"style-loader": "^0.18.1",
"syntax-error": "^1.3.0",
"tslint": "^5.7.0",
"typescript": "^2.5.2",
"url-loader": "^0.5.8",
"webpack": "^3.5.5",
"webpack-dev-server": "^2.7.1"
},
"optionalDependencies": {
"bufferutil": "^3.0.2",
"utf-8-validate": "^3.0.3"
},
"snyk": true
}