61 lines
1.5 KiB
JSON
61 lines
1.5 KiB
JSON
{
|
|
"name": "home-assistant-js-websocket",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"version": "9.6.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 --loader=ts-node/esm",
|
|
"format": "prettier --write .",
|
|
"prepublishOnly": "rm -rf dist && yarn build && yarn test"
|
|
},
|
|
"author": "Paulus Schoutsen <paulus@paulusschoutsen.nl>",
|
|
"license": "Apache-2.0",
|
|
"devDependencies": {
|
|
"@types/assert": "^1.4.7",
|
|
"@types/mocha": "^10.0.9",
|
|
"assert": "^2.0.0",
|
|
"husky": "^4.2.5",
|
|
"lint-staged": "^16.0.0",
|
|
"mocha": "^11.1.0",
|
|
"prettier": "^3.0.0",
|
|
"rollup": "^4.3.0",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.2.2"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,js,json,css,md}": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"packageManager": "yarn@4.7.0"
|
|
}
|