-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
135 lines (135 loc) · 4.11 KB
/
package.json
File metadata and controls
135 lines (135 loc) · 4.11 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
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "inrae-sensorthing-api",
"description": "Sensorthing API for INRAE",
"version": "0.9.0",
"lockfileVersion": 1,
"requires": true,
"repository": {
"type": "git",
"url": "https://github.com/Mario-35/api-sensorthing"
},
"scripts": {
"------DEV-----": "",
"dev": "nodemon ./src/server/index.ts",
"debug": "nodemon",
"debug2": "node --inspect -r ts-node/register ./src/server/index.ts",
"lint": "tsc --noEmit && eslint \"./src/server/**/*.{js,ts}\" --quiet --fix",
"prettier-format": "prettier --config .prettierrc ./src/**/*.ts --write",
"------BULID-----": "",
"buildUglyRem": "npm run build-ts && node build.js ugly && scp -r -p dist.zip madam@194.167.76.143:./",
"buildRem": "npm run build-ts && node build.js && scp -r -p dist.zip madam@194.167.76.143:./",
"build": "npm run build-ts && node build.js",
"build-ts": "rimraf ./build && tsc",
"serve": "node build/index.js",
"------TEST-------": "",
"test-all": "mocha -r ts-node/register src/**/*.spec.ts",
"test": "set NODE_ENV=test && rimraf ./src/test/apidoc && rimraf ./src/test/apiDocs && 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"
},
"keywords": [],
"author": "Adam Mario",
"license": "ISC",
"dependencies": {
"bcryptjs": "^2.4.3",
"busboy": "^0.3.1",
"chalk": "^4.1.0",
"dotenv": "^8.2.0",
"html-minifier-terser": "^5.1.1",
"json2csv": "^5.0.6",
"knex": "^0.21.14",
"koa": "^2.3.0",
"koa-bodyparser": "^4.3.0",
"koa-favicon": "^2.1.0",
"koa-json": "^2.0.2",
"koa-logger": "^3.2.1",
"koa-passport": "^4.1.3",
"koa-router": "^10.0.0",
"koa-session": "^6.1.0",
"odata-v4-pg": "^0.1.1",
"passport-local": "^1.0.0",
"pg": "^8.5.1",
"pg-copy-streams": "^5.1.1",
"@koa/cors": "^3.1.0",
"@types/busboy": "^0.2.3",
"@types/dotenv": "^8.2.0",
"@types/json2csv": "^5.0.1",
"@types/knex": "^0.16.1",
"@types/koa": "^2.11.6",
"@types/koa-bodyparser": "^4.3.0",
"@types/koa-favicon": "^2.0.19",
"@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-session": "^5.10.3",
"@types/koa__cors": "^3.0.2",
"@types/pg": "^7.14.7"
},
"devDependencies": {
"@node-minify/clean-css": "^6.2.0",
"@node-minify/cli": "^6.2.0",
"@node-minify/core": "^6.2.0",
"@node-minify/html-minifier": "^6.2.0",
"@node-minify/jsonminify": "^6.2.0",
"@node-minify/terser": "^6.2.0",
"@node-minify/uglify-js": "^6.2.0",
"@types/apidoc": "^0.22.2",
"@types/bcryptjs": "^2.4.2",
"@types/chai": "^4.2.14",
"@types/chai-http": "^4.2.0",
"@types/config": "0.0.36",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.22",
"@types/pg-copy-streams": "^1.2.1",
"@types/superagent": "^4.1.10",
"@typescript-eslint/eslint-plugin": "^4.14.0",
"@typescript-eslint/parser": "^4.14.0",
"apidoc": "^0.25.0",
"archiver": "^5.2.0",
"chai": "^4.2.0",
"chai-http": "^4.3.0",
"eslint": "^7.18.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^3.3.1",
"mocha": "^8.2.1",
"nodemon": "^2.0.7",
"onchange": "^7.1.0",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"ts-node": "^9.1.1",
"typescript": "^4.1.5",
"uglify-js": "^3.12.5"
},
"apidoc": {
"title": "Custom apiDoc browser title",
"version": "1.0.0",
"url": "http://sensorthings.geosas.fr/v1.0",
"proxy": "http://sensorthings.geosas.fr",
"withGenerator": false,
"header": {
"title": "Introduction",
"filename": "header.md"
},
"footer": {
"title": "Errors",
"filename": "footer.md"
},
"order": [
"Root",
"Things",
"Locations",
"HistoricalLocations",
"Datastreams",
"Sensors",
"ObservedProperties",
"Observations",
"CreateObservations",
"FeaturesOfInterest",
"Query",
"Format"
]
}
}