-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
executable file
·84 lines (84 loc) · 2.39 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
{
"name": "ewelink-api-next",
"version": "1.0.4",
"description": "CoolKit v2 API Library",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
},
"scripts": {
"build": "rimraf dist && tsc && rm -rf dist/test && cp -r dist/src/* dist && rm -rf dist/src",
"build:tsup": "tsup src/index.ts --format esm,cjs --dts --clean && mv dist/index.js dist/index.mjs",
"build:all": "rimraf dist && tsc",
"test": "cross-env TS_NODE_PROJECT='test/tsconfig.test.json' mocha test/*.test.ts --timeout 30000",
"testJson": "cross-env TS_NODE_PROJECT='test/tsconfig.test.json' mocha test/*.test.ts --reporter json --reporter-option output=test.json",
"cover": "nyc --reporter=html npm run test",
"build:rollup": "rimraf dist && rollup -c"
},
"keywords": [
"coolkit",
"ewelink"
],
"type": "module",
"author": "nocmt",
"license": "MIT",
"devDependencies": {
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-typescript": "^8.3.4",
"@types/chai": "^4.3.11",
"@types/crypto-js": "^4.1.1",
"@types/mocha": "^9.1.1",
"@types/node": "^18.6.2",
"@types/node-localstorage": "^1.3.3",
"@types/sinon": "^10.0.12",
"@types/ws": "^8.5.3",
"chai": "^4.3.6",
"cross-env": "^7.0.3",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"rollup": "^2.77.3",
"rollup-plugin-clear": "^2.0.7",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.32.1",
"sinon": "^14.0.0",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"tslib": "^2.4.0",
"tsup": "^7.2.0",
"typescript": "^5.3.3"
},
"dependencies": {
"axios": "^1.6.5",
"bonjour-service": "^1.2.1",
"crypto-js": "^4.1.1",
"dayjs": "^1.11.10",
"log4js": "^6.9.1",
"node-localstorage": "^2.2.1",
"ws": "^8.16.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nocmt/ewelink-api-next.git"
},
"bugs": {
"url": "https://github.com/nocmt/ewelink-api-next/issues"
},
"files": [
"dist",
"README.zh-CN.md",
"package.json",
"CHANGELOG.md",
"docs",
"SupportedAPI.png"
]
}