-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
112 lines (112 loc) · 3.36 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
{
"name": "klf-200-api",
"version": "6.0.0",
"description": "This module provides a wrapper to the socket API of a Velux KLF-200 interface. You will need at least firmware 0.2.0.0.71 on your KLF interface for this library to work.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"author": {
"name": "Michael Schroeder"
},
"type": "module",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
"default": "./dist/esm/index.js"
}
},
"dependencies": {
"@types/promise-timeout": "^1.3.3",
"promise-timeout": "^1.3.0"
},
"devDependencies": {
"@alcalzone/release-script": "^3.7.0",
"@alcalzone/release-script-plugin-license": "^3.7.0",
"@sinonjs/fake-timers": "^11.2.2",
"@types/chai": "^4.3.11",
"@types/chai-as-promised": "^7.1.8",
"@types/chai-datetime": "1.0.0",
"@types/debug": "^4.1.12",
"@types/deep-eql": "^4.0.2",
"@types/mitm": "^1.3.8",
"@types/mocha": "^10.0.6",
"@types/node": "^20.14.2",
"@types/sinon": "^17.0.3",
"@types/sinon-chai": "^3.2.12",
"@typescript-eslint/eslint-plugin": "^8.12.2",
"@typescript-eslint/parser": "^8.12.2",
"c8": "^10.1.2",
"chai": "^4.5.0",
"chai-as-promised": "^8.0.0",
"chai-bytes": "^0.1.2",
"chai-datetime": "^1.8.1",
"cross-env": "^7.0.3",
"debug": "^4.3.7",
"deep-eql": "^5.0.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-plugin-prettier": "^5.1.3",
"mocha": "^10.4.0",
"mocha-junit-reporter": "^2.2.1",
"mocha-multi-reporters": "^1.5.1",
"nock": "^13.5.6",
"nyc": "^17.1.0",
"prettier": "^3.4.1",
"shx": "^0.3.4",
"sinon": "^18.0.0",
"sinon-chai": "^3.7.0",
"source-map-support": "^0.5.21",
"tsx": "^4.19.2",
"typedoc": "^0.26.5",
"typescript": "^5.4.5"
},
"scripts": {
"compile:types": "tsc -b ./tsconfig.types.json",
"compile:cjs": "tsx ./deployment/prepare-cjs.ts && tsc -b ./tsconfig.cjs.json",
"compile:esm": "tsc -b ./tsconfig.esm.json",
"compile": "tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json",
"build:clean": "rm -rf ./dist",
"build": "npm run build:clean && tsx ./deployment/prepare-cjs.ts && npm run compile && shx cp ./deployment/package.esm.json ./dist/esm/package.json && shx cp ./deployment/package.cjs.json ./dist/cjs/package.json && shx cp ./velux-cert.pem ./dist/velux-cert.pem",
"watch": "tsc --watch",
"test": "cross-env DEBUG=-mockServer*,-klf-200-api:products*,-klf-200-api:connection*,-connection-test c8 mocha",
"lint": "eslint --ext .ts src test",
"release": "release-script",
"document": "typedoc"
},
"nyc": {
"include": [
"src/**/*.ts",
"src/**/*.tsx"
],
"extension": [
".ts",
".tsx"
],
"exclude": [
"**/*.d.ts"
],
"reporter": [
"text-summary",
"html"
],
"all": true
},
"repository": {
"type": "git",
"url": "git+https://github.com/MiSchroe/klf-200-api.git"
},
"keywords": [
"klf-200",
"klf200",
"VELUX",
"IoT"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/MiSchroe/klf-200-api/issues"
},
"homepage": "https://mischroe.github.io/klf-200-api/"
}