-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
99 lines (99 loc) · 4.12 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
{
"name": "the-purple-warehouse",
"version": "1.0.0",
"description": "",
"main": "index.ts",
"scripts": {
"start": "NODE_ENV=production node build/index.js",
"start2023": "NODE_ENV=production2023 node build/index.js",
"test": "echo \"Error: no test specified\" && exit 1",
"build": "npm i && rm -rf build && tsc",
"build-noinstall": "rm -rf build && tsc",
"debug": "NODE_ENV=development npx nodemon",
"dev": "NODE_ENV=development node build/index.js",
"staging": "NODE_ENV=staging node build/index.js",
"format": "npx prettier . -w",
"deploy-dev": "npm run build && npm run dev",
"deploy-staging": "npm run build && npm run staging",
"deploy-prod": "npm run build && npm run start",
"deploy-prod2023": "npm run build && npm run start2023",
"deploy-dev-noinstall": "npm run build-noinstall && npm run dev",
"deploy-staging-noinstall": "npm run build-noinstall && npm run staging",
"deploy-prod-noinstall": "npm run build-noinstall && npm run start",
"deploy-prod2023-noinstall": "npm run build-noinstall && npm run start2023",
"drop-changes": "git stash & git stash drop",
"update-dev": "git fetch && npm run drop-changes & git checkout main && git pull && npm run deploy-dev",
"update-staging": "git fetch && npm run drop-changes & git checkout staging && git pull && npm run deploy-staging",
"update-prod": "git fetch && npm run drop-changes & git checkout prod && git pull && npm run deploy-prod",
"update-prod2023": "git fetch && npm run drop-changes & git checkout 2023 && git pull && npm run deploy-prod2023",
"pm2-dev": "pm2 start \"npm run update-dev\"",
"pm2-staging": "pm2 start \"npm run update-staging\"",
"pm2-prod": "pm2 start \"npm run update-prod\"",
"pm2-prod2023": "pm2 start \"npm run update-prod2023\"",
"logs": "pm2 logs",
"stop-dev": "pm2 stop \"npm run update-dev\"",
"stop-staging": "pm2 stop \"npm run update-staging\"",
"stop-prod": "pm2 stop \"npm run update-prod\"",
"stop-prod2023": "pm2 stop \"npm run update-prod2023\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/HarkerRobo/the-purple-warehouse.git"
},
"author": "Harker Robotics",
"license": "AGPL-3.0-or-later",
"bugs": {
"url": "https://github.com/HarkerRobo/the-purple-warehouse/issues"
},
"homepage": "https://github.com/HarkerRobo/the-purple-warehouse#readme",
"devDependencies": {
"@harker-robo/prettier-config": "1.0.0",
"@types/koa": "^2.13.5",
"@types/koa-bodyparser": "^4.3.8",
"@types/koa-json": "^2.0.20",
"@types/koa-router": "^7.4.4",
"@types/luxon": "^3.0.1",
"@types/node": "^18.8.5",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"eslint": "^8.25.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"nodemon": "^2.0.20",
"pm2": "^5.2.2",
"prettier": "^2.7.1",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
},
"dependencies": {
"@koa/router": "^12.0.0",
"axios": "^0.27.2",
"dtrace-provider": "^0.8.8",
"fs": "^0.0.1-security",
"handlebars": "^4.7.7",
"joi": "^17.6.3",
"joi-validator": "^0.0.7",
"koa": "^2.13.4",
"koa-basic-auth": "^4.0.0",
"koa-bodyparser": "^4.3.0",
"koa-ejs": "^4.3.0",
"koa-joi-validate": "^0.5.1",
"koa-json": "^2.0.2",
"koa-logger": "^3.2.1",
"koa-router": "^12.0.0",
"koa-session": "^6.2.0",
"koa-static": "^5.0.0",
"koa-views": "^8.0.0",
"koa2-ratelimit": "^1.1.3",
"ldapjs": "^2.3.3",
"luxon": "^3.0.4",
"moment": "^2.29.4",
"mongodb": "^3.7.3",
"mongoose": "^5.13.15",
"node-fetch": "^2.6.9",
"path": "^0.12.7",
"serve": "^14.0.1",
"uuidv4": "^6.2.13"
},
"prettier": "@harker-robo/prettier-config"
}