-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 4.51 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
102
103
104
105
{
"name": "chimera",
"version": "5.1.2",
"description": "a microservices based security camera system",
"main": "server.js",
"engines": {
"npm": ">=7.0.0",
"node": ">=16.0.0"
},
"scripts": {
"build": "npm-run-all -s --npm-path npm \"build:*\"",
"postbuild": "npm run copy:object",
"prestart": "npm-run-all -s --npm-path npm \"prepare:*\"",
"start": "pm2 start pm2.config.js",
"prepare:acme": "mkdirp ./.well-known/acme-challenge",
"prepare:env": "node chimera/splitAndValidateEnvVars.js",
"prepare:database": "node chimera/prepareDatabase.js",
"prepare:auth": "node chimera/register.js",
"start:command": "cd command && npm start",
"start:livestream": "cd livestream && npm start",
"start:schedule": "cd schedule && npm start",
"start:storage": "cd storage && npm start",
"start:gateway": "cd gateway && npm start",
"start:memory": "cd memory && npm start",
"reload": "pm2 reload pm2.config.js",
"list": "pm2 list",
"monitor": "pm2 monit",
"kill": "pm2 stop all",
"delete": "pm2 delete all",
"stop": "npm-run-all -s --npm-path npm kill delete",
"poststop": "pkill PM2",
"logs": "pm2 logs",
"lint": "eslint --ext .jsx --ext .js \".\" -o eslint/lintOutput.html -f html",
"lintfix": "eslint --ext .jsx --ext .js \".\" -o eslint/lintOutput.html -f html --fix",
"install:lib": "cd lib && npm install",
"install:command": "cd command && npm install",
"install:livestream": "cd livestream && npm install",
"install:schedule": "cd schedule && npm install",
"install:storage": "cd storage && npm install",
"install:gateway": "cd gateway && npm install",
"install:memory": "cd memory && npm install",
"delete-logs": "rimraf **/log",
"delete-feed": "rimraf **/feed",
"delete-shared": "rimraf **/shared",
"delete-eslint": "rimraf **/eslint",
"delete-coverage": "rimraf **/coverage",
"delete-modules": "rimraf **/node_modules",
"delete-locks": "rimraf **/package-lock.json",
"delete-shrinkwraps": "rimraf **/npm-shrinkwrap.json",
"clear": "npm-run-all -p --npm-path npm delete-*",
"test": "jest",
"prunewrap:lib": "cd lib && npm run prunewrap",
"prunewrap:root": "npm shrinkwrap",
"prunewrap:command": "cd command && npm run prunewrap",
"prunewrap:livestream": "cd livestream && npm run prunewrap",
"prunewrap:schedule": "cd schedule && npm run prunewrap",
"prunewrap:storage": "cd storage && npm run prunewrap",
"prunewrap:gateway": "cd gateway && npm run prunewrap",
"prunewrap:memory": "cd memory && npm run prunewrap",
"audit:lib": "cd lib && npm audit fix",
"audit:root": "npm audit fix",
"audit:command": "cd command && npm audit fix",
"audit:livestream": "cd livestream && npm audit fix",
"audit:schedule": "cd schedule && npm audit fix",
"audit:storage": "cd storage && npm audit fix",
"audit:gateway": "cd gateway && npm audit fix",
"audit:memory": "cd memory && npm audit fix",
"audit-all": "npm-run-all -p --npm-path npm audit:*",
"build:command": "cd command && npm run build",
"buildCont:command": "cd command && npm run buildCont",
"build:object": "npx buildObject",
"copy:object": "mkdirp objectTemp && ncp node_modules/object/dist objectTemp",
"reinsert:object": "ncp objectTemp node_modules/object/dist && rimraf objectTemp",
"build-with-env": "npm run prepare:env && npm run build",
"devprep": "npm run prerelease && npm run build-with-env",
"prerelease": "npm install --development && npm-run-all -s --npm-path npm delete-locks delete-shrinkwraps \"install:* -- --development\" && npm install --development",
"release": "npm-run-all -s --npm-path npm build test",
"postrelease": "npm install --production && npm-run-all -s --npm-path npm delete-locks \"install:* -- --production\" audit:* reinsert:object prunewrap:*",
"setup": "npm install && npm run build-with-env"
},
"dependencies": {
"command": "file:./command",
"dotenv": "^10.0.0",
"gateway": "file:./gateway",
"heartbeat": "jjjpanda/heartbeat#v1.3.0",
"lib": "file:./lib",
"livestream": "file:./livestream",
"memory": "file:./memory",
"mkdirp": "^1.0.4",
"ncp": "^2.0.0",
"npm-run-all": "^4.1.5",
"object": "jjjpanda/object#v3.3.1",
"pg": "^8.7.1",
"pm2": "^5.1.2",
"rimraf": "^3.0.2",
"schedule": "file:./schedule",
"storage": "file:./storage"
},
"devDependencies": {
"eslint": "^8.2.0",
"eslint-plugin-react": "^7.27.0",
"jest": "^27.3.1",
"supertest": "^6.1.6"
}
}