ha-frontend-cdce8p/package.json
Andrey 57512211d7 Add web-component-tester tests (#255)
* Use travis.yml from polymer

* Update .travis.yml

* Try wct tests

* Encrypt Sauce env

* More test config

* Update2

* try to remove souce_connect

* Try another config

* More browsers

* Clean tabs, test shadow dom.
2017-04-03 22:51:20 -07:00

60 lines
2.5 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": {
"clean": "rm -rf build/* build-temp/*",
"js_dev": "node 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": "node 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_compatibility && npm run ru_demo",
"ru_core": "rollup --config rollup/core.js",
"ru_compatibility": "rollup --config rollup/compatibility.js",
"ru_demo": "rollup --config rollup/demo.js",
"watch_ru_all": "(npm run watch_ru_core & npm run watch_ru_compatibility & npm run watch_ru_demo) && wait",
"watch_ru_core": "rollup --config rollup/core.js --watch --sourcemap inline",
"watch_ru_compatibility": "rollup --config rollup/compatibility.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/home-assistant.html panels/**/ha-panel-*.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",
"dependencies": {
"home-assistant-js-websocket": "^1.1.0"
},
"devDependencies": {
"bower": "^1.8.0",
"es6-object-assign": "^1.0.3",
"eslint": "^3.17.1",
"eslint-config-airbnb-base": "^11.1.1",
"eslint-plugin-html": "^2.0.1",
"eslint-plugin-import": "^2.2.0",
"html-minifier": "^3.4.1",
"hydrolysis": "^1.24.1",
"optimize-js": "^1.0.3",
"polymer-cli": "^0.17.0",
"polymer-lint": "^0.8.3",
"rollup": "^0.41.5",
"rollup-plugin-buble": "^0.15.0",
"rollup-plugin-commonjs": "^8.0.2",
"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": "^5.1.0",
"uglify-js": "^2.8.12",
"vulcanize": "^1.15.3",
"web-component-tester": "^5.0.1"
}
}