-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
121 lines (121 loc) · 3.12 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
121
{
"name": "aloes-handlers",
"version": "1.3.3",
"main": "./src/index.js",
"scripts": {
"lint": "npx eslint --ext js .",
"test:detector": "export NODE_ENV=test; ./node_modules/.bin/mocha './src/test/detector.spec.js'",
"test:encoder": "export NODE_ENV=test; ./node_modules/.bin/mocha './src/test/encoder.spec.js'",
"test:updater": "export NODE_ENV=test; ./node_modules/.bin/mocha './src/test/updater.spec.js'",
"test": "npm run test:detector; npm run test:encoder ; npm run test:updater",
"test:cover": "./node_modules/.bin/nyc ./node_modules/.bin/mocha ./src/test/*.spec.js",
"docs:md": "jsdoc2md -c jsdoc-conf.json ./src/*/* > ./docs/aloesclient/README.md",
"docs:dev": "npm run docs:md ; cp ./README.md ./docs/readme/. ; vuepress dev docs",
"docs:build": "npm run docs:md ; cp ./README.md ./docs/readme/. ; vuepress build docs",
"docs:serve": "light-server -s public -p 7000 --servePrefix /aloes-handlers/",
"prePublish": "npm run lint ; npm run test"
},
"files": [
"src/*",
"package.json",
"README.md"
],
"author": "Edouard Maleix <[email protected]> (https://getlarge.eu)",
"keywords": [
"IoT",
"MQTT",
"Interoperability"
],
"license": "AGPL-3.0-or-later",
"engines": {
"node": ">=10.0.0",
"npm": ">=6.0.0"
},
"dependencies": {
"aloes-logger": "^1.0.5",
"mqtt-pattern": "^1.2.0",
"oma-json": "^1.1.3"
},
"devDependencies": {
"chai": "^4.2.0",
"declarative-test-structure-generator": "^1.1.1",
"eslint": "^7.0.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"identity-obj-proxy": "^3.0.0",
"jsdoc-to-markdown": "^6.0.1",
"light-server": "^2.6.4",
"mocha": "^8.1.2",
"nyc": "^15.0.1",
"prettier": "^2.0.5",
"vuepress": "^1.5.4"
},
"prettier": {
"bracketSpacing": false,
"singleQuote": true,
"printWidth": 80,
"trailingComma": "all"
},
"eslintConfig": {
"root": true,
"env": {
"es6": true,
"node": true
},
"extends": [
"prettier"
],
"plugins": [
"prettier"
],
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"import/no-unresolved": "off",
"import/extensions": "off",
"import/prefer-default-export": "off",
"no-param-reassign": "off",
"one-var-declaration-per-line": "off"
},
"globals": {
"require": true
}
},
"eslintIgnore": [
"/dist/",
"/public/",
"/docs/",
"/node_modules/"
],
"mocha": {
"recursive": true,
"check-leaks": true,
"bail": false,
"slow": 500,
"reporter": "spec",
"globals": ""
},
"nyc": {
"reporter": [
"lcov",
"text"
],
"exclude": [
"**/*.spec.js"
],
"report-dir": "./coverage",
"check-coverage": true,
"functions": 70,
"lines": 70
},
"repository": {
"type": "git",
"url": "https://framagit.org/aloes/aloes-handlers"
},
"contributors": [
"Edouard Maleix <[email protected]> (https://getlarge.eu)"
],
"description": "Encode / decode MQTT packet from IoT devices to Web browsers.",
"types": "types/index.d.ts"
}