-
Notifications
You must be signed in to change notification settings - Fork 40
/
package.json
120 lines (120 loc) · 3.63 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "iotagent-lora",
"version": "1.2.6-next",
"description": "IoT Agent for LoRaWAN protocol",
"main": "lib/iotagent-lora",
"scripts": {
"clean": "rm -rf package-lock.json && rm -rf node_modules && rm -rf coverage",
"test": "nyc --reporter=text mocha --recursive 'test/**/*.js' --reporter spec --timeout 8000 --ui bdd --exit --color true",
"lint": "eslint lib/ 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",
"test:debug": "mocha --recursive 'test/**/*.js' --reporter spec --inspect-brk --timeout 30000 --ui bdd --exit",
"test:coverage": "nyc --reporter=lcov mocha -- --recursive 'test/**/*.js' --reporter spec --timeout 5000 --exit",
"test:coveralls": "npm run test:coverage && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage",
"watch": "watch 'npm test && npm run lint' ./lib ./test",
"semantic-release": "semantic-release"
},
"license": "GPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/Atos-Research-and-Innovation/IoTagent-LoRaWAN.git"
},
"author": "ATOS SPAIN S.A. IoE Lab, Resarch and Innovation department",
"dependencies": {
"async": "^2.6.1",
"cbor-sync": "^1.0.3",
"iotagent-node-lib": "^2.21.0",
"lodash": "^4.17.21",
"mqtt": "^4.2.7",
"request": "^2.88.0",
"winston": "^3.7.2",
"yarn": "^1.22.18"
},
"engines": {
"node": ">=12"
},
"devDependencies": {
"@semantic-release/changelog": "^3.0.2",
"@semantic-release/git": "^7.0.8",
"chai": "^4.2.0",
"coveralls": "~3.1.0",
"eslint": "~7.5.0",
"eslint-config-tamia": "~7.2.5",
"eslint-plugin-mocha": "^8.2.0",
"eslint-plugin-prettier": "~3.1.4",
"husky": "^8.0.1",
"lint-staged": "~10.2.11",
"logops": "2.1.2",
"mocha": "^9.0.0",
"nock": "13.0.3",
"nyc": "~15.1.0",
"prettier": "~2.0.5",
"remark-cli": "^9.0.0",
"remark-preset-lint-recommended": "~4.0.1",
"should": "13.2.3",
"sinon": "~9.0.2",
"textlint": "^12.1.1",
"textlint-filter-rule-comments": "~1.2.2",
"textlint-rule-common-misspellings": "~1.0.1",
"textlint-rule-terminology": "~2.1.4",
"textlint-rule-write-good": "~1.6.2",
"timekeeper": "2.2.0",
"watch": "~1.0.2"
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
"@semantic-release/github"
],
"prepare": [
"@semantic-release/changelog",
"@semantic-release/npm",
{
"path": "@semantic-release/git",
"assets": [
"package.json",
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
},
"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"
]
}
}