-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathpackage.json
More file actions
46 lines (46 loc) · 1.62 KB
/
package.json
File metadata and controls
46 lines (46 loc) · 1.62 KB
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
{
"name": "eufy-clean",
"version": "1.0.0",
"main": "build/cjs/index.js",
"module": "build/esm/index.js",
"types": "build/esm/index.d.ts",
"exports": {
"import": "./build/esm/index.js",
"require": "./build/cjs/index.js"
},
"scripts": {
"dev": "tsnd --respawn --files ./src",
"clean": "rimraf build/",
"copy-files": "copyfiles -u 1 src/**/*.proto src/**/*.js src/**/*.tgz build/esm && copyfiles -u 1 src/**/*.proto src/**/*.js src/**/*.tgz build/cjs",
"build:cjs": "tsc --project tsconfig.cjs.json",
"build:esm": "tsc --project tsconfig.esm.json",
"build": "yarn clean && yarn build:cjs && yarn build:esm && yarn copy-files",
"build:homey": "yarn build && yarn homey-clear-build && yarn homey-copy-build",
"homey-copy-build": "cp -r ./build ../../com.eufylife.home/lib/eufy-clean/build && cp -r ./package.json ../../com.eufylife.home/lib/eufy-clean/ && cp -r ./tsconfig.json ../../com.eufylife.home/lib/eufy-clean/",
"homey-clear-build": "rimraf ../../com.eufylife.home/lib/eufy-clean/build",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"description": "",
"devDependencies": {
"@tsconfig/node20": "^20.1.4",
"copyfiles": "^2.4.1",
"rimraf": "^5.0.7",
"ts-node-dev": "^2.0.0",
"typescript": "^5.4.5"
},
"dependencies": {
"axios": "^1.6.8",
"got": "^11.8.5",
"is": "^3.3.0",
"mqtt": "^5.5.5",
"node-rsa": "^1.1.1",
"protobufjs": "^7.3.0",
"randomatic": "^3.1.1",
"sort-keys-recursive": "^2.1.7",
"tuyapi": "github:codetheweb/tuyapi",
"uuid": "^9.0.0"
}
}