40 lines
1.7 KiB
JSON
40 lines
1.7 KiB
JSON
{
|
|
"name": "home-assistant-polymer",
|
|
"version": "1.0.0",
|
|
"description": "A frontend for Home Assistant using the Polymer framework",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/balloob/home-assistant-polymer"
|
|
},
|
|
"scripts": {
|
|
"js_dev": "webpack --colors --progress -d --watch",
|
|
"js_dev_demo": "BUILD_DEMO=1 webpack --colors --progress -d --watch",
|
|
"js_prod": "BUILD_DEV=0 webpack --colors --progress -p -d",
|
|
"js_demo": "BUILD_DEV=0 BUILD_DEMO=1 webpack --colors --progress -p -d",
|
|
"frontend_html": "vulcanize --inline-css --inline-scripts --strip-comments src/home-assistant.html > build/frontend.vulcan.html && node script/minify.js",
|
|
"frontend_prod": "npm run js_prod && bower install && npm run frontend_html",
|
|
"frontend_demo": "npm run js_demo && bower install && npm run frontend_html",
|
|
"setup_js_dev": "npm install && cd node_modules && rm -rf home-assistant-js && git clone https://github.com/balloob/home-assistant-js.git && cd home-assistant-js && npm install",
|
|
"test": "eslint src"
|
|
},
|
|
"author": "Paulus Schoutsen <Paulus@PaulusSchoutsen.nl> (http://paulusschoutsen.nl)",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"home-assistant-js": "git+https://github.com/balloob/home-assistant-js.git#6bb404fc2dc84c4c70c7c410644283ad41c9db67",
|
|
"lodash": "^3.10.1",
|
|
"moment": "^2.10.6"
|
|
},
|
|
"devDependencies": {
|
|
"babel-core": "^5.8.29",
|
|
"babel-eslint": "^4.1.3",
|
|
"babel-loader": "^5.3.2",
|
|
"bower": "^1.6.5",
|
|
"eslint": "^1.7.3",
|
|
"eslint-config-airbnb": "0.1.0",
|
|
"eslint-plugin-react": "^3.6.3",
|
|
"html-minifier": "^1.0.0",
|
|
"vulcanize": "^1.14.0",
|
|
"webpack": "^1.12.2"
|
|
}
|
|
}
|