-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
103 lines (103 loc) · 2.86 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
100
101
102
103
{
"name": "node-red-contrib-yeelight-compat-hue",
"version": "0.0.0-development",
"description": "A collection of Node-RED nodes for controlling and observing Yeelight lighting devices, compatible with node-red-contrib-node-hue flows.",
"main": "dist/yeelight-compat-hue-out.js",
"files": [
"dist"
],
"keywords": [
"node-red",
"yeelight",
"yeelights",
"hue",
"mihome",
"xiaomi",
"smart home",
"automation"
],
"scripts": {
"lint": "eslint --report-unused-disable-directives ./*.js ./src/*.js",
"fix": "eslint --fix ./*.js ./src/*.js",
"test": "npm run lint && echo \"No tests yet\"",
"dist-clean": "rm -rf dist",
"build": "webpack --config tooling/webpack.config.babel.js",
"red": "node-red -v ~/.node-red/flows.json",
"build-red": "npm run build | sleep 2 && npm run red",
"dev": "nodemon --ext js,html,json --exec \"npm run build-red\" --ignore \"dist/\" ",
"semantic-release": "semantic-release",
"commitmsg": "commitlint -x \"@commitlint/config-conventional\" -e $GIT_PARAMS"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mattmattmatt/node-red-contrib-yeelight-compat-hue.git"
},
"author": "mattmattmatt",
"license": "MIT",
"bugs": {
"url": "https://github.com/mattmattmatt/node-red-contrib-yeelight-compat-hue/issues"
},
"homepage": "https://github.com/mattmattmatt/node-red-contrib-yeelight-compat-hue#readme",
"node-red": {
"nodes": {
"yeelight-compat-hue-out": "dist/yeelight-compat-hue-out.js",
"yeelight-compat-hue-state": "dist/yeelight-compat-hue-state.js",
"yeelight-compat-hue-config": "dist/yeelight-compat-hue-config.js"
}
},
"eslintConfig": {
"env": {
"node": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"allowImportExportEverywhere": true,
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": true,
"trailingComma": "es5",
"bracketSpacing": true,
"tabWidth": 4,
"printWidth": 100
}
]
}
},
"eslintIgnore": [
"dist/*"
],
"release": {
"dryRun": false,
"debug": true
},
"devDependencies": {
"@commitlint/cli": "^5.2.8",
"@commitlint/config-conventional": "^5.2.3",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.4",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"copy-webpack-plugin": "^4.5.1",
"eslint": "^4.19.1",
"eslint-plugin-prettier": "^2.6.0",
"husky": "^0.14.3",
"nodemon": "^1.17.3",
"prettier": "^1.11.1",
"semantic-release": "^11.2.0",
"webpack": "^3.11.0"
},
"dependencies": {
"color-convert": "^1.9.1",
"yeelight2": "^1.3.5"
}
}