-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 2.4 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 2.4 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
60
{
"name": "ec2",
"version": "1.0.0",
"description": "",
"main": "main.js",
"scripts": {
"watch": "tsc -w",
"start:main": "npm run config:local && node src/main --logLevel DEBUG",
"start": "concurrently \"npm run watch\" \"nodemon -e js --exec \"\"npm run start:main\"\" \"",
"configure:d1": "npm run config:d1 && node scripts/ec2-configure",
"deploy:d1": "npm run config:d1 && node scripts/ec2-deploy",
"configure:d2": "npm run config:d2 && node scripts/rpi-configure",
"deploy:d2": "npm run config:d2 && node scripts/rpi-deploy",
"migrate:up:d1": "npm run config:d1 && npx tsc && node scripts/migrate-mysql",
"migrate:down:d1": "npm run config:d1 && npx tsc && node scripts/migrate-mysql --down",
"migrate:up:d2": "npm run config:d2 && npx tsc && node scripts/migrate-mysql",
"migrate:down:d2": "npm run config:d2 && npx tsc && node scripts/migrate-mysql --down",
"migrate:up:local": "npm run config:local && npx tsc && node scripts/migrate-mysql",
"migrate:down:local": "npm run config:local && npx tsc && node scripts/migrate-mysql --down",
"config:local": "ncp environments/config.local.json environments/config.json",
"config:d1": "ncp environments/config.d1.json environments/config.json",
"config:d2": "ncp environments/config.d2.json environments/config.json",
"test:d1": "set JEST_ENV=d1 && jest integration",
"test:d2": "set JEST_ENV=d2 && jest integration",
"test:local": "set JEST_ENV=local && jest integration",
"test:unit": "npx tsc && jest unit",
"test:local:load": "set JEST_ENV=local && jest load",
"test:d2:load": "set JEST_ENV=d2 && jest load",
"ssh": "ssh -i ./pemfiles/rpi-d2.pem pi@192.168.50.142"
},
"author": "BrandonR",
"license": "ISC",
"dependencies": {
"base64url": "^3.0.1",
"express": "^4.16.4",
"forever": "^1.0.0",
"glob": "^7.1.4",
"jsonwebtoken": "^8.5.1",
"promise-mysql": "^3.3.1",
"uuid": "^3.3.2"
},
"devDependencies": {
"@types/axios": "^0.14.0",
"@types/console-ui": "^2.2.0",
"@types/express": "^4.16.1",
"@types/jest": "^24.0.11",
"@types/uuid": "^3.4.4",
"axios": "^0.18.0",
"concurrently": "^4.1.0",
"console-ui": "^3.0.4",
"jest": "^24.7.1",
"log-symbols": "^3.0.0",
"ncp": "^2.0.0",
"nodemon": "^1.18.11",
"typescript": "^3.4.5",
"webpack": "^4.30.0",
"webpack-cli": "^3.3.1",
"yargs": "^13.2.2"
}
}