-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 2.55 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "@ciesielskico/home-assistant-rxjs",
"version": "0.0.3",
"author": "Alexander Ciesielski <[email protected]>",
"license": "MIT",
"description": "rxjs addons for home-assistant-js-websocket",
"keywords": [
"rxjs",
"home-assistant",
"home",
"automation",
"typescript"
],
"engines": {
"node": ">=12"
},
"main": "dist/main/index.js",
"typings": "dist/typings/index.d.ts",
"module": "dist/module/index.js",
"type": "module",
"files": [
"dist",
"README.md",
"package.json"
],
"repository": {
"type": "git",
"url": "https://github.com/ciesielskico/home-assistant-rxjs"
},
"scripts": {
"dev": "tsnd -r esm --respawn example/index.ts",
"prebuild": "rimraf dist",
"build": "npm run build:main && npm run build:module",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"prestart": "npm run build",
"start": "node -r esm ./dist/main/index.js",
"lint": "eslint lib/**",
"lint:fix": "npm run lint -- --fix",
"lint-staged": "lint-staged",
"typecheck": "tsc --noEmit",
"test": "mocha -r ts-node/register lib/**/*.spec.ts",
"test:watch": "npm run test -- --extensions ts --watch --watch-files lib",
"prerelease": "npm run build",
"release": "np --no-publish",
"postrelease": "npm publish"
},
"dependencies": {
"date-fns": "^2.11.1",
"dotenv": "^8.2.0",
"esm": "^3.2.25",
"home-assistant-js-websocket": "^5.1.0",
"rxjs": "^6.5.4",
"typescript": "^3.8.3",
"ws": "^7.2.3"
},
"devDependencies": {
"@types/chai": "^4.2.11",
"@types/chai-spies": "^1.0.1",
"@types/command-line-args": "^5.0.0",
"@types/mocha": "^7.0.2",
"@types/node": "^13.9.0",
"@types/ws": "^7.2.3",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"@typescript-eslint/parser": "^2.26.0",
"chai": "^4.2.0",
"chai-spies": "^1.0.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^4.2.3",
"lint-staged": "^10.0.7",
"mocha": "^7.1.1",
"np": "^6.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.0",
"rimraf": "^3.0.2",
"rxjs-marbles": "^6.0.0",
"ts-mocha": "^7.0.0",
"ts-node": "^8.8.1",
"ts-node-dev": "^1.0.0-pre.44"
},
"lint-staged": {
"*.ts": [
"npm run lint -- --fix"
],
"*.{ts,js,json,css,md}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"publishConfig": {
"access": "public"
}
}