-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
61 lines (61 loc) · 1.69 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
{
"name": "poll2mqtt",
"version": "0.1.0-beta.4",
"description": "Lightweight microservice to fetch data from HTTP APIs and dump it onto an MQTT broker",
"repository": "github:brlodi/poll2mqtt",
"type": "module",
"main": "src/index.js",
"bin": "src/index.js",
"author": "Benjamin Lodi",
"license": "MIT",
"engines": {
"node": ">=14.8.0"
},
"scripts": {
"node-version": "node -v",
"start": "node src/index.js | pino-dev -t \"yyyy-MM-dd HH:mm:ss\"",
"start-debug": "LOG_LEVEL=debug yarn start",
"lint": "eslint **/*.js",
"test": "NODE_ENV=test mocha --loader=testdouble",
"test-ci": "yarn coverage && yarn codecov-upload",
"coverage": "c8 yarn test",
"codecov-upload": "c8 report --reporter=text-lcov > coverage/tests.lcov && codecov"
},
"dependencies": {
"async-mqtt": "^2.6.1",
"js-yaml": "^4.0.0",
"lodash-es": "^4.17.20",
"node-fetch": "^2.6.1",
"pino": "^6.11.0",
"pino-dev": "^1.0.5",
"yargs": "^16.2.0"
},
"devDependencies": {
"@babel/core": "^7.12.13",
"@babel/eslint-parser": "^7.12.13",
"@babel/plugin-syntax-top-level-await": "^7.12.13",
"c8": "^7.6.0",
"chai": "^4.3.0",
"chai-as-promised": "^7.1.1",
"eslint": "^7.19.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-import": "^2.22.1",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"mocha": "^8.3.0",
"mock-fs": "^4.13.0",
"nock": "^13.0.10",
"prettier": "^2.2.1",
"testdouble": "^3.16.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{js,md}": "prettier --write"
}
}