@martyndevries/xiaomi-miio 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +7 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@martyndevries/xiaomi-miio",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Zero-dependency Node.js library for Xiaomi miIO protocol",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -18,16 +18,14 @@
|
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
20
|
"build": "tsc",
|
|
21
|
-
"
|
|
22
|
-
"test": "
|
|
23
|
-
"test:dev": "NODE_OPTIONS='' tsc -p tsconfig.test.json && node --test 'dist-test/**/*.test.js'",
|
|
24
|
-
"test:coverage": "c8 --reporter=text --reporter=json-summary --reporter=lcov --check-coverage --lines 80 --functions 80 --branches 80 --statements 80 node --test 'dist-test/**/*.test.js'",
|
|
21
|
+
"test": "jest",
|
|
22
|
+
"test:coverage": "jest --coverage",
|
|
25
23
|
"lint": "eslint src/",
|
|
26
24
|
"build:examples": "tsc -p tsconfig.examples.json",
|
|
27
25
|
"example:bedlamp2": "tsc -p tsconfig.examples.json && node dist-examples/examples/bedlamp2-cli.js",
|
|
28
26
|
"example:discovery": "tsc -p tsconfig.examples.json && node dist-examples/examples/discovery-cli.js",
|
|
29
27
|
"example:hostname": "tsc -p tsconfig.examples.json && node dist-examples/examples/hostname-cli.js",
|
|
30
|
-
"clean": "rm -rf dist dist-
|
|
28
|
+
"clean": "rm -rf dist dist-examples coverage",
|
|
31
29
|
"prepublishOnly": "npm run build"
|
|
32
30
|
},
|
|
33
31
|
"devDependencies": {
|
|
@@ -37,10 +35,12 @@
|
|
|
37
35
|
"@semantic-release/github": "^12.0.6",
|
|
38
36
|
"@semantic-release/npm": "^13.1.4",
|
|
39
37
|
"@semantic-release/release-notes-generator": "^14.1.0",
|
|
38
|
+
"@types/jest": "^30.0.0",
|
|
40
39
|
"@types/node": "^22.0.0",
|
|
41
|
-
"c8": "^10.1.3",
|
|
42
40
|
"eslint": "^9.0.0",
|
|
41
|
+
"jest": "^30.2.0",
|
|
43
42
|
"semantic-release": "^25.0.3",
|
|
43
|
+
"ts-jest": "^29.4.6",
|
|
44
44
|
"typescript": "^5.7.0",
|
|
45
45
|
"typescript-eslint": "^8.0.0"
|
|
46
46
|
},
|