-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.44 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
{
"name": "WebDataFetcher",
"version": "1.0.0",
"main": "server.js",
"license": "MIT",
"devDependencies": {
"@tsconfig/node14": "^1.0.1",
"@types/cron": "^1.7.3",
"@types/express": "^4.17.13",
"@types/jest": "^27.0.3",
"@types/js-yaml": "^4.0.5",
"@types/jsonpath": "^0.2.0",
"@types/lodash": "^4.14.178",
"jest": "^27.2.4",
"ts-jest": "^27.1.2",
"ts-node": "^10.4.0",
"tsc-watch": "^4.4.0",
"typescript": "^4.3.5"
},
"scripts": {
"start:watch": "tsc-watch --noClear --onSuccess \"node dist/server.js\"",
"start": "tsc && node dist/server.js",
"build": "tsc",
"test": "jest",
"build-image": "docker build -t server-template-img .",
"build-all": "yarn build && docker compose -f docker-compose.yaml build",
"deploy": "yarn build-all && docker compose -f docker-compose.yaml up -d"
},
"dependencies": {
"@influxdata/influxdb-client": "^1.21.0",
"axios": "^0.24.0",
"cron": "^1.8.2",
"express": "^4.17.1",
"js-yaml": "^4.1.0",
"jsdom": "^19.0.0",
"jsonpath": "^1.1.1",
"lodash": "^4.17.21",
"yargs": "^17.3.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.test\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}