58 lines
2.3 KiB
JSON
58 lines
2.3 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/home-assistant/home-assistant-polymer"
|
|
},
|
|
"scripts": {
|
|
"setup_js_dev": "git submodule init && git submodule update && cd home-assistant-js && npm install",
|
|
"clean": "rm -rf build/* build-temp/*",
|
|
"js_dev": "script/gen-service-worker.js && npm run watch_ru_all",
|
|
"js_dev_demo": "BUILD_DEMO=1 npm run watch_ru_all",
|
|
"js_prod": "BUILD_DEV=0 npm run ru_all && script/optimize-js.js",
|
|
"js_demo": "BUILD_DEV=0 BUILD_DEMO=1 npm run ru_all",
|
|
"frontend_html": "script/vulcanize.js",
|
|
"frontend_prod": "npm run js_prod && npm run frontend_html",
|
|
"frontend_demo": "npm run js_demo && npm run frontend_html",
|
|
"ru_all": "npm run ru_core && npm run ru_demo",
|
|
"ru_core": "rollup --config rollup/core.js",
|
|
"ru_demo": "rollup --config rollup/demo.js",
|
|
"watch_ru_all": "npm run watch_ru_core && npm run watch_ru_demo",
|
|
"watch_ru_core": "rollup --config rollup/core.js --watch --sourcemap inline",
|
|
"watch_ru_demo": "rollup --config rollup/demo.js --watch --sourcemap inline",
|
|
"lint_js": "eslint src panels --ext html",
|
|
"lint_html": "ls -1 src/**/*.html panels/**/*.html | xargs polymer lint --input",
|
|
"test": "npm run lint_js && npm run lint_html"
|
|
},
|
|
"author": "Paulus Schoutsen <Paulus@PaulusSchoutsen.nl> (http://paulusschoutsen.nl)",
|
|
"license": "Apache-2.0",
|
|
"_depComment": "keymirror, nuclear-js, object-assign, ha-js-ws are for ha-js",
|
|
"dependencies": {
|
|
"home-assistant-js-websocket": "^0.7.3"
|
|
},
|
|
"devDependencies": {
|
|
"bower": "^1.8.0",
|
|
"eslint": "^3.14.0",
|
|
"eslint-config-airbnb-base": "^11.0.1",
|
|
"eslint-plugin-html": "^1.7.0",
|
|
"eslint-plugin-import": "^2.2.0",
|
|
"html-minifier": "^3.2.3",
|
|
"hydrolysis": "^1.24.1",
|
|
"optimize-js": "^1.0.3",
|
|
"polymer-cli": "^0.17.0",
|
|
"polymer-lint": "^0.8.3",
|
|
"rollup": "^0.41.4",
|
|
"rollup-plugin-buble": "^0.15.0",
|
|
"rollup-plugin-commonjs": "^7.0.0",
|
|
"rollup-plugin-node-resolve": "^2.0.0",
|
|
"rollup-plugin-replace": "^1.1.1",
|
|
"rollup-plugin-uglify": "^1.0.1",
|
|
"rollup-watch": "^3.2.2",
|
|
"sw-precache": "^4.3.0",
|
|
"uglify-js": "^2.7.5",
|
|
"vulcanize": "^1.15.3"
|
|
}
|
|
}
|