-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·56 lines (56 loc) · 1.78 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
{
"name": "upperz-backend",
"version": "1.1.0",
"private": true,
"description": "Upperz uptime monitor back-end: Node.JS with Express",
"author": {
"email": "matt.that@gmail.com",
"name": "Matt That",
"url": "http://matt-that.com"
},
"scripts": {
"transpile": "babel src --out-dir release",
"clean": "rimraf release && npm-run-all -s clean:docker-image",
"build": "npm-run-all -s build:api build:docker-image",
"run:api": "cd release && node upperz-server.js",
"build:api": "npm-run-all transpile copy:settings generate:ink",
"build:docker-image": "docker build . -t tadalabs/upperz-backend:latest",
"copy:settings": "cp src/settings/* release/settings",
"generate:ink": "export DATE=`date +'%s'`; echo \"module.exports={ time: ${DATE} };\" > release/buildtime.js;\n",
"docker-compose:up": "docker-compose up",
"docker-compose:down": "docker-compose down",
"clean:docker-image": "docker image rm tadalabs/upperz-backend",
"lint-fix": "node_modules/eslint/bin/eslint.js src --fix"
},
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.19.3",
"@babel/node": "^7.19.3",
"@babel/preset-env": "^7.8.4",
"@babel/register": "^7.9.0",
"babel-register": "^6.26.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-loader": "^2.1.2",
"eslint-plugin-prettier": "^3.1.2",
"npm-run-all": "^4.1.5",
"prettier": "^1.19.1"
},
"dependencies": {
"axios": "^1.2.1",
"cors": "^2.8.5",
"express": "^4.17.1",
"i18n": "^0.8.5",
"node-cron": "^2.0.3",
"node-fetch": "^2.6.0",
"portico": "file:./portico-0.0.1.tgz",
"uuid": "^3.4.0"
},
"overrides": {
"glob-parent": "6.0.2"
},
"engines": {
"npm": ">=8.3.0",
"node": ">=10.0"
}
}