generated from jsynowiec/node-typescript-boilerplate
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
57 lines (57 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
57
{
"name": "victron-mqtt-consumer",
"version": "0.1.14",
"description": "Library to connect to a victron GX Device via MQTT and provide it's states.",
"files": [
"build/**/*"
],
"main": "build/index.js",
"types": "build/index.d.ts",
"engines": {
"node": ">= 18"
},
"dependencies": {
"mqtt": "5.7.2",
"tslib": "~2.6",
"influx": "5.9.3",
"@types/ws": "^8.5.10"
},
"devDependencies": {
"@types/jest": "~29.5",
"@types/node": "~20",
"@typescript-eslint/eslint-plugin": "~7.13",
"@typescript-eslint/parser": "~7.13",
"eslint": "~8.56.0",
"eslint-config-prettier": "~9.1",
"eslint-plugin-jest": "~28.6",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-unused-imports": "^3.2.0",
"jest": "~29.7",
"prettier": "~3.3",
"rimraf": "~5.0",
"ts-jest": "~29.1",
"tsutils": "~3.21",
"typescript": "~5.5"
},
"scripts": {
"start": "node build/src/main.js",
"connection-test": "tsc && node build/__tests__/connection.test.js",
"influx-test": "tsc && node build/__tests__/influx.test.js",
"clean": "rimraf coverage build tmp",
"prebuild": "npm run lint-check-all",
"build": "tsc -p tsconfig.json",
"build:watch": "tsc -w -p tsconfig.json",
"build:release": "npm run clean && tsc -p tsconfig.release.json",
"lint-check-all": "eslint ./**/{*.js,*.ts,*.test.ts} --no-error-on-unmatched-pattern",
"lint-fix-all": "eslint ./**/{*.ts,*.test.ts} --fix --no-error-on-unmatched-pattern",
"test": "jest --coverage",
"prettier": "prettier --config .prettierrc --write .",
"test:watch": "jest --watch",
"prepublish": "npm run build:release"
},
"author": "Thiemo Hoffmann <[email protected]>",
"license": "Apache-2.0",
"volta": {
"node": "18.12.1"
}
}