forked from telefonicaid/iotagent-json
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 3 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
{
"name": "iotagent-json",
"license": "AGPL-3.0-only",
"description": "IoT Agent for the JSON protocol",
"version": "2.1.0-next",
"homepage": "https://github.com/telefonicaid/iotagent-json",
"author": {
"name": "Daniel Moran",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/telefonicaid/iotagent-json.git"
},
"bugs": {
"url": "https://github.com/telefonicaid/iotagent-json/issues"
},
"main": "lib/iotagent-json",
"engines": {
"node": ">=16"
},
"scripts": {
"clean": "rm -rf package-lock.json && rm -rf node_modules && rm -rf coverage",
"healthcheck": "node ./bin/healthcheck",
"lint": "eslint lib/ bin/ test/ --cache --fix",
"lint:md": "remark -f 'README.md' docs",
"lint:text": "textlint 'README.md' 'docs/*.md' 'docs/**/*.md'",
"prettier": "prettier --config .prettierrc.json --write '**/**/**/*.js' '**/**/*.js' '**/*.js' '*.js'",
"prettier:text": "prettier 'README.md' 'docs/*.md' 'docs/**/*.md' --no-config --tab-width 4 --print-width 120 --write --prose-wrap always",
"start": "node ./bin/iotagent-json",
"test": "nyc --reporter=text mocha --recursive 'test/**/*.js' --reporter spec --timeout 5000 --ui bdd --exit --color true",
"test:coverage": "nyc --reporter=lcov mocha -- --recursive 'test/**/*.js' --reporter spec --exit",
"test:coveralls": "npm run test:coverage && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage",
"test:watch": "npm run test -- -w ./lib",
"watch": "watch 'npm test && npm run lint' ./lib ./test"
},
"devDependencies": {
"coveralls": "~3.1.0",
"eslint": "~7.5.0",
"eslint-config-tamia": "~7.2.5",
"eslint-plugin-prettier": "~3.1.4",
"husky": "~4.2.5",
"lint-staged": "~10.2.11",
"mocha": "8.0.1",
"moment": "~2.29.2",
"nock": "13.0.3",
"nyc": "~15.1.0",
"prettier": "~2.0.5",
"proxyquire": "2.1.3",
"remark-cli": "~8.0.1",
"remark-preset-lint-recommended": "~4.0.1",
"should": "13.2.3",
"textlint": "~11.7.6",
"textlint-rule-common-misspellings": "~1.0.1",
"textlint-rule-terminology": "~2.1.4",
"textlint-rule-write-good": "~1.6.2",
"watch": "~1.0.2"
},
"keywords": [],
"dependencies": {
"amqplib": "~0.5.1",
"async": "2.6.4",
"body-parser": "1.20.0",
"dateformat": "3.0.3",
"express": "4.18.1",
"iotagent-node-lib": "https://github.com/telefonicaid/iotagent-node-lib.git#master",
"logops": "2.1.2",
"mqtt": "4.3.7",
"sinon": "~6.1.0",
"underscore": "1.12.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"prettier --config .prettierrc.json --write"
],
"*.md": [
"prettier --no-config --tab-width 4 --print-width 120 --write --prose-wrap always"
],
"*.yml": [
"prettier --no-config --write"
]
},
"remarkConfig": {
"settings": {
"bullet": "-",
"paddedTable": true
},
"plugins": [
"remark-preset-lint-recommended"
]
}
}