forked from telefonicaid/lightweightm2m-iotagent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 3.16 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
98
99
100
101
102
103
104
105
{
"name": "lightweightm2m-iotagent",
"license": "AGPL-3.0-only",
"description": "Prototype of an IoT Agent accepting COAP requests and redirecting to NGSI consumer",
"version": "1.0.0-next",
"homepage": "https://github.com/telefonicaid/lightweightm2m-iotagent",
"keywords": [
"OMA",
"lightweight",
"iotagent",
"fiware",
"coap",
"ngsi"
],
"author": {
"name": "Daniel Moran",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "git://github.com/telefonicaid/lightweightm2m-iotagent.git"
},
"bugs": {
"url": "https://github.com/telefonicaid/lightweightm2m-iotagent/issues"
},
"main": "iotAgentLwm2m",
"bin": {
"lwm2mAgent": "bin/lwm2mAgent.js"
},
"engines": {
"node": ">=6.14.4"
},
"scripts": {
"clean": "rm -rf package-lock.json && rm -rf node_modules && rm -rf coverage",
"test": "mocha --recursive 'test/**/*.js' --reporter spec --timeout 5000 --ui bdd --exit",
"test:watch": "npm run test -- -w ./lib",
"lint": "jshint lib/ --config .jshintrc && jshint test/ --config test/.jshintrc",
"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",
"test:coverage": "istanbul cover _mocha -- --recursive 'test/**/*.js' --reporter spec --exit",
"test:coveralls": "npm run test:coverage && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage",
"watch": "watch 'npm test && npm run lint' ./lib ./test"
},
"dependencies": {
"async": "2.6.1",
"request": "~2.88.0",
"underscore": "1.9.1",
"cheerio": "1.0.0-rc.2",
"xmldom": "0.1.27",
"logops": "2.1.0",
"iotagent-node-lib": "git://github.com/letavia/iotagent-node-lib.git#master",
"lwm2m-node-lib": "git://github.com/letavia/lwm2m-node-lib.git#master"
},
"devDependencies": {
"coveralls": "~3.0.2",
"husky": "~1.1.0",
"istanbul": "~0.4.5",
"jshint": "~2.9.6",
"lint-staged": "~7.3.0",
"mocha": "5.2.0",
"mongodb": "3.1.9",
"nock": "10.0.2",
"prettier": "~1.14.2",
"proxyquire": "2.1.0",
"remark-cli": "~6.0.1",
"remark-preset-lint-recommended": "~3.0.2",
"should": "13.2.3",
"textlint": "~11.0.1",
"textlint-rule-common-misspellings": "~1.0.1",
"textlint-rule-no-dead-link": "~4.4.1",
"textlint-rule-terminology": "~1.1.30",
"textlint-rule-write-good": "~1.6.2",
"watch": "~1.0.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"prettier --config .prettierrc.json --write",
"git add"
],
"*.md": [
"prettier --no-config --tab-width 4 --print-width 120 --write --prose-wrap always",
"git add"
],
"*.yml": [
"prettier --no-config --write",
"git add"
]
},
"remarkConfig": {
"settings": {
"bullet": "-",
"paddedTable": true
},
"plugins": [
"remark-preset-lint-recommended"
]
}
}