-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 4.43 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
106
107
108
109
110
111
{
"name": "Stean",
"description": "SensorThings Enhanced API Node",
"author": "Adam Mario",
"license": "ISC",
"version": "0.9.0",
"lockfileVersion": 1,
"requires": true,
"repository": {
"type": "git",
"url": "https://github.com/Mario-35/Stean"
},
"scripts": {
"------DEV-----": "",
"find-deadcode": "ts-prune",
"dev": "nodemon --inspect ./src/server/index.ts",
"debug": "nodemon",
"lint": "tsc --noEmit && eslint \"./src/server/**/*.{js,ts}\" --quiet --fix",
"prettier-format": "prettier --config .prettierrc ./src/server/**/*.ts --write",
"------BUILD-----": "",
"buildDev": "npm run build-ts && node build.js dev",
"buildRem": "npm run build-ts && node build.js && scp -r -p dist.zip madam@194.167.76.143:./",
"buildDocker": "npm run build-ts && node build.js docker && docker-compose up --build -d",
"build": "npm run build-ts && node build.js",
"git": "git add ./src/ ./package.json ./realease.md ./dist.zip ./scripts/ ./scripts/ ./README.md ",
"build-ts": "rimraf ./build && tsc",
"serve": "node build/index.js",
"upProd": "npm run build-ts && node build.js && git add ./src/ ./package.json ./realease.md ./dist.zip ./scripts/ ./README.md && git commit --file .git/COMMIT_EDITMSG && git push",
"upDev": "npm run build-ts && node build.js dev && git add ./src/ ./package.json ./realease.md ./dist.zip ./scripts/ ./README.md && git commit --file .git/COMMIT_EDITMSG && git push",
"------TEST-------": "",
"test-all": "mocha -r ts-node/register src/server/**/*.spec.ts",
"test": "set NODE_ENV=test && rimraf ./src/test/apidoc rimraf ./src/test/tests.md && rimraf ./src/test/apiDocs && node node_modules/mocha/bin/mocha -r ts-node/register src/test/integration/**/*.spec.ts",
"------API Doc-------": "",
"doc": "node bin/apidoc -v -i src/ -o apidoc/",
"------Docker-------": "",
"docker": "docker-compose up --build -d"
},
"keywords": [],
"dependencies": {
"@koa/cors": "^3.4.3",
"aedes": "^0.51.2",
"aedes-server-factory": "^0.2.1",
"async-mqtt": "^2.6.3",
"busboy": "^0.3.1",
"cookie": "^0.6.0",
"cookie-parser": "^1.4.6",
"exceljs": "^4.4.0",
"json2csv": "^5.0.6",
"jsonwebtoken": "^9.0.2",
"koa": "^2.3.0",
"koa-bodyparser": "^4.3.0",
"koa-favicon": "^2.1.0",
"koa-helmet": "^6.1.0",
"koa-json": "^2.0.2",
"koa-jwt": "^4.0.3",
"koa-logger": "^3.2.1",
"koa-router": "^10.0.0",
"koa-static": "^5.0.0",
"postgres": "^3.4.4",
"ssh2": "^1.15.0"
},
"devDependencies": {
"@node-minify/clean-css": "^6.2.0",
"@node-minify/cli": "^8.0.6",
"@node-minify/core": "^6.2.0",
"@node-minify/html-minifier": "^6.2.0",
"@node-minify/jsonminify": "^6.2.0",
"@node-minify/uglify-js": "^6.2.0",
"@types/apidoc": "^0.50.0",
"@types/busboy": "^0.2.3",
"@types/chai": "^4.2.14",
"@types/cookie": "^0.5.1",
"@types/cookie-parser": "^1.4.3",
"@types/html-minifier-terser": "^7.0.0",
"@types/json2csv": "^5.0.1",
"@types/jsonwebtoken": "^8.5.8",
"@types/koa": "^2.11.6",
"@types/koa__cors": "^5.0.0",
"@types/koa-bodyparser": "^4.3.0",
"@types/koa-favicon": "^2.1.3",
"@types/koa-html-minifier": "^1.0.1",
"@types/koa-json": "^2.0.18",
"@types/koa-logger": "^3.1.1",
"@types/koa-passport": "^4.0.2",
"@types/koa-router": "^7.4.1",
"@types/koa-static": "^4.0.2",
"@types/mocha": "^9.0.0",
"@types/nodemailer": "^6.4.4",
"@types/pg": "^8.6.1",
"@types/pg-copy-streams": "^1.2.1",
"@types/ssh2": "^1.15.0",
"@types/superagent": "^4.1.10",
"@typescript-eslint/parser": "^8.2.0",
"apidoc": "^0.50.2",
"archiver": "^5.2.0",
"chai": "^4.2.0",
"chai-http": "^4.3.0",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"mocha": "^9.1.3",
"mqtt": "^5.8.1",
"nodemon": "^2.0.7",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"ts-prune": "^0.10.3",
"typescript": "^5.4.5",
"uglify-js": "^3.17.4"
}
}