2015-07-13 01:57:15 +02:00
|
|
|
{
|
|
|
|
"name": "home-assistant-polymer",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"description": "A frontend for Home Assistant using the Polymer framework",
|
2015-10-16 09:12:29 +02:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2016-10-08 15:19:18 +02:00
|
|
|
"url": "https://github.com/home-assistant/home-assistant-polymer"
|
2015-10-16 09:12:29 +02:00
|
|
|
},
|
2015-07-13 01:57:15 +02:00
|
|
|
"scripts": {
|
2016-07-14 08:04:26 +02:00
|
|
|
"setup_js_dev": "git submodule init && git submodule update && cd home-assistant-js && npm install",
|
2016-07-17 08:19:49 +02:00
|
|
|
"clean": "rm -rf build/* build-temp/*",
|
2016-08-14 09:58:40 +02:00
|
|
|
"js_dev": "script/gen-service-worker.js && npm run watch_ru_all",
|
2016-07-14 08:04:26 +02:00
|
|
|
"js_dev_demo": "BUILD_DEMO=1 npm run watch_ru_all",
|
2016-09-20 06:09:29 +02:00
|
|
|
"js_prod": "BUILD_DEV=0 npm run ru_all && script/optimize-js.js",
|
2016-07-14 08:04:26 +02:00
|
|
|
"js_demo": "BUILD_DEV=0 BUILD_DEMO=1 npm run ru_all",
|
|
|
|
"frontend_html": "script/vulcanize.js",
|
2016-06-15 03:22:45 +02:00
|
|
|
"frontend_prod": "npm run js_prod && npm run frontend_html",
|
|
|
|
"frontend_demo": "npm run js_demo && npm run frontend_html",
|
2016-09-20 06:09:29 +02:00
|
|
|
"ru_all": "npm run ru_core && npm run ru_demo",
|
2016-07-14 08:04:26 +02:00
|
|
|
"ru_core": "rollup --config rollup/core.js",
|
|
|
|
"ru_demo": "rollup --config rollup/demo.js",
|
2016-09-20 06:09:29 +02:00
|
|
|
"watch_ru_all": "npm run watch_ru_core && npm run watch_ru_demo",
|
2016-11-27 02:43:55 +01:00
|
|
|
"watch_ru_core": "rollup --config rollup/core.js --watch --sourcemap inline",
|
|
|
|
"watch_ru_demo": "rollup --config rollup/demo.js --watch --sourcemap inline",
|
2016-07-22 08:09:22 +02:00
|
|
|
"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"
|
2015-07-13 01:57:15 +02:00
|
|
|
},
|
|
|
|
"author": "Paulus Schoutsen <Paulus@PaulusSchoutsen.nl> (http://paulusschoutsen.nl)",
|
2017-01-28 21:18:40 +01:00
|
|
|
"license": "Apache-2.0",
|
2016-11-27 08:41:51 +01:00
|
|
|
"_depComment": "keymirror, nuclear-js, object-assign, ha-js-ws are for ha-js",
|
2015-08-13 05:29:58 +02:00
|
|
|
"dependencies": {
|
2017-01-30 03:34:45 +01:00
|
|
|
"home-assistant-js-websocket": "^0.7.3"
|
2015-08-13 05:29:58 +02:00
|
|
|
},
|
2015-07-13 01:57:15 +02:00
|
|
|
"devDependencies": {
|
2016-12-04 21:45:28 +01:00
|
|
|
"bower": "^1.8.0",
|
2017-01-21 07:46:09 +01:00
|
|
|
"eslint": "^3.14.0",
|
|
|
|
"eslint-config-airbnb-base": "^11.0.1",
|
2016-12-04 21:45:28 +01:00
|
|
|
"eslint-plugin-html": "^1.7.0",
|
2016-11-27 02:43:55 +01:00
|
|
|
"eslint-plugin-import": "^2.2.0",
|
2016-12-04 21:45:28 +01:00
|
|
|
"html-minifier": "^3.2.3",
|
2016-07-19 11:27:46 +02:00
|
|
|
"hydrolysis": "^1.24.1",
|
2017-01-21 07:46:09 +01:00
|
|
|
"optimize-js": "^1.0.3",
|
2016-11-27 02:43:55 +01:00
|
|
|
"polymer-cli": "^0.17.0",
|
2016-09-08 06:48:30 +02:00
|
|
|
"polymer-lint": "^0.8.3",
|
2017-01-21 07:46:09 +01:00
|
|
|
"rollup": "^0.41.4",
|
|
|
|
"rollup-plugin-buble": "^0.15.0",
|
|
|
|
"rollup-plugin-commonjs": "^7.0.0",
|
2016-08-08 09:38:26 +02:00
|
|
|
"rollup-plugin-node-resolve": "^2.0.0",
|
2016-07-14 08:04:26 +02:00
|
|
|
"rollup-plugin-replace": "^1.1.1",
|
|
|
|
"rollup-plugin-uglify": "^1.0.1",
|
2017-01-21 07:46:09 +01:00
|
|
|
"rollup-watch": "^3.2.2",
|
|
|
|
"sw-precache": "^4.3.0",
|
2016-12-04 21:45:28 +01:00
|
|
|
"uglify-js": "^2.7.5",
|
2017-01-21 07:46:09 +01:00
|
|
|
"vulcanize": "^1.15.3"
|
2015-07-13 01:57:15 +02:00
|
|
|
}
|
|
|
|
}
|