This repository has been archived by the owner on Sep 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
45 lines (45 loc) · 1.56 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
{
"name": "cumulocity-acme",
"version": "0.0.3",
"main": "dist/index.js",
"license": "GPL-3.0",
"scripts": {
"prebuild": "npm run lint",
"build": "tsc",
"prestart": "npm run build",
"start": "node .",
"dev": "tsc-watch --onSuccess \"node .\"",
"docker": "npm run build:docker && npm run docker:run",
"docker:run": "docker run -it -p 80:80 --name myc8yacme --env-file .env acme",
"build:docker": "docker build --network host -t acme .",
"save:docker": "docker save acme > \"image.tar\"",
"zip:docker": "zip acme cumulocity.json image.tar || tar -a -c -f acme.zip image.tar cumulocity.json",
"build:release": "npm run build:docker && npm run save:docker && npm run zip:docker",
"lint": "tsc --noEmit && eslint . --ext js,ts,json --quiet --fix",
"lint:ci": "tsc --noEmit && eslint . --ext js,ts,json --quiet",
"lint:with-warns": "tsc --noEmit && eslint . --ext js,ts,json --fix"
},
"dependencies": {
"@c8y/client": "^1018.0.0",
"dotenv": "^16.4.4",
"express": "^4.18.2",
"generate-password": "^1.7.1",
"lodash-es": "^4.17.21",
"node-cron": "^3.0.3",
"tslib": "^2.6.2",
"winston": "^3.11.0"
},
"devDependencies": {
"@types/express": "^4.17.21",
"@types/node": "^18.19.17",
"@types/node-cron": "^3.0.11",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"prettier": "^3.2.5",
"tsc-watch": "^6.0.4",
"typescript": "^5.3.3"
}
}