-
-
Notifications
You must be signed in to change notification settings - Fork 89
/
Copy pathpackage.json
61 lines (61 loc) · 1.46 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
{
"name": "home-assistant-js-websocket",
"type": "module",
"sideEffects": false,
"version": "9.4.0",
"description": "Home Assistant websocket client",
"source": "lib/index.ts",
"types": "dist/index.d.ts",
"main": "dist/haws.umd.js",
"module": "dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/haws.cjs",
"default": "./dist/haws.umd.js"
},
"./haws.cjs": "./dist/haws.cjs",
"./haws.umd.js": "./dist/haws.umd.js",
"./dist/*": "./dist/*"
},
"repository": {
"url": "https://github.com/home-assistant/home-assistant-js-websocket.git",
"type": "git"
},
"scripts": {
"watch": "tsc --watch",
"build": "tsc && rollup -c",
"test": "tsc && prettier --check . && mocha",
"format": "prettier --write .",
"prepublishOnly": "rm -rf dist && yarn build && npm test"
},
"author": "Paulus Schoutsen <[email protected]>",
"license": "Apache-2.0",
"devDependencies": {
"@types/assert": "^1.4.7",
"@types/mocha": "^9.0.0",
"assert": "^2.0.0",
"husky": "^4.2.5",
"lint-staged": "^15.0.1",
"mocha": "^8.0.1",
"prettier": "^3.0.0",
"reify": "^0.20.12",
"rollup": "^4.3.0",
"ts-node": "^9.0.0",
"typescript": "^5.2.2"
},
"files": [
"dist"
],
"dependencies": {},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js,json,css,md}": [
"prettier --write"
]
}
}