40 lines
1.6 KiB
JSON
40 lines
1.6 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 --color --progress -d --watch",
|
|
"js_dev_demo": "BUILD_DEMO=1 webpack --color --progress -d --watch",
|
|
"js_prod": "BUILD_DEV=0 webpack --color --progress -p",
|
|
"js_demo": "BUILD_DEV=0 BUILD_DEMO=1 webpack --color --progress -p",
|
|
"frontend_html": "vulcanize --inline-css --inline-scripts --strip-comments --strip-exclude bower_components/font-roboto/roboto.html 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": {
|
|
"classnames": "^2.2.5",
|
|
"moment": "^2.13.0"
|
|
},
|
|
"devDependencies": {
|
|
"babel-core": "^6.9",
|
|
"babel-loader": "^6.2",
|
|
"babel-preset-es2015-webpack": "^6.4.1",
|
|
"bower": "^1.7.9",
|
|
"eslint": "^2.12.0",
|
|
"eslint-config-airbnb-base": "^3.0.1",
|
|
"eslint-plugin-import": "^1.7.0",
|
|
"html-minifier": "^2.1.3",
|
|
"sw-precache": "^3.2.0",
|
|
"vulcanize": "^1.14.8",
|
|
"webpack": "^2.1.0-beta.13"
|
|
}
|
|
}
|