-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.63 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 2.63 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
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
{
"name": "sinricpro",
"version": "5.2.0",
"description": "Official SinricPro SDK for Node.js and TypeScript - Control IoT devices with Alexa and Google Home",
"main": "dist/index.js",
"exports": {
".": "./dist/index.js",
"./devices": "./dist/devices/index.js",
"./capabilities": "./dist/capabilities/index.js"
},
"scripts": {
"build": "tsc",
"build:watch": "tsc --watch",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"format": "prettier --write \"src/**/*.ts\" \"examples/**/*.ts\" \"test/**/*.ts\"",
"prepublishOnly": "npm run lint && npm run build && npm test",
"example:switch": "ts-node --project examples/tsconfig.json examples/switch/index.ts",
"example:light": "ts-node --project examples/tsconfig.json examples/light/index.ts",
"example:thermostat": "ts-node --project examples/tsconfig.json examples/thermostat/index.ts",
"example:tv": "ts-node --project examples/tsconfig.json examples/tv/index.ts",
"example:fan": "ts-node --project examples/tsconfig.json examples/fan/index.ts",
"example:lock": "ts-node --project examples/tsconfig.json examples/lock/index.ts",
"example:windowac": "ts-node --project examples/tsconfig.json examples/windowac/index.ts",
"example:speaker": "ts-node --project examples/tsconfig.json examples/speaker/index.ts",
"example:customdevice": "ts-node --project examples/tsconfig.json examples/customdevice/index.ts"
},
"keywords": [
"sinricpro",
"alexa",
"google-home",
"smart-home",
"iot",
"typescript",
"nodejs",
"websocket",
"home-automation"
],
"author": "SinricPro",
"license": "CC-BY-SA-4.0",
"repository": {
"type": "git",
"url": "https://github.com/sinricpro/nodejs-sdk.git"
},
"bugs": {
"url": "https://github.com/sinricpro/nodejs-sdk/issues"
},
"homepage": "https://sinric.pro",
"engines": {
"node": ">=16.0.0"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"sideEffects": false,
"dependencies": {
"ws": "^8.14.2"
},
"devDependencies": {
"@types/jest": "^29.5.5",
"@types/node": "^20.8.7",
"@types/ws": "^8.5.8",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"jest": "^29.7.0",
"prettier": "^3.0.3",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
}
}