2015-07-13 01:57:15 +02:00
|
|
|
{
|
|
|
|
"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
|
|
|
},
|
2018-05-15 19:31:47 +02:00
|
|
|
"name": "home-assistant-frontend",
|
|
|
|
"version": "1.0.0",
|
2015-07-13 01:57:15 +02:00
|
|
|
"scripts": {
|
2018-05-16 13:54:29 +02:00
|
|
|
"build": "script/build_frontend",
|
2020-04-24 13:29:38 +02:00
|
|
|
"lint:eslint": "eslint '**/src/**/*.{js,ts,html}' --ignore-path .gitignore",
|
|
|
|
"format:eslint": "eslint '**/src/**/*.{js,ts,html}' --fix --ignore-path .gitignore",
|
|
|
|
"lint:prettier": "prettier '**/src/**/*.{js,ts,json,css,md}' --check",
|
|
|
|
"format:prettier": "prettier '**/src/**/*.{js,ts,json,css,md}' --write",
|
2020-04-14 18:05:45 +02:00
|
|
|
"lint:types": "tsc",
|
2020-04-24 13:29:38 +02:00
|
|
|
"lint:lit": "lit-analyzer '**/src/**/*.ts'",
|
2020-04-14 18:05:45 +02:00
|
|
|
"lint": "npm run lint:eslint && npm run lint:prettier && npm run lint:types",
|
|
|
|
"format": "npm run format:eslint && npm run format:prettier",
|
2018-11-06 10:09:09 +01:00
|
|
|
"mocha": "node_modules/.bin/ts-mocha -p test-mocha/tsconfig.test.json --opts test-mocha/mocha.opts",
|
2018-09-10 11:58:18 +02:00
|
|
|
"test": "npm run lint && npm run mocha",
|
|
|
|
"docker_build": "sh ./script/docker_run.sh build $npm_package_version",
|
|
|
|
"bash": "sh ./script/docker_run.sh bash $npm_package_version"
|
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",
|
2015-08-13 05:29:58 +02:00
|
|
|
"dependencies": {
|
2020-05-15 14:54:42 +02:00
|
|
|
"@formatjs/intl-pluralrules": "^1.5.8",
|
2020-05-09 20:59:53 +02:00
|
|
|
"@fullcalendar/core": "^5.0.0-beta.2",
|
|
|
|
"@fullcalendar/daygrid": "^5.0.0-beta.2",
|
|
|
|
"@material/chips": "7.0.0-canary.d92d8c93e.0",
|
|
|
|
"@material/mwc-button": "^0.15.0",
|
|
|
|
"@material/mwc-checkbox": "^0.15.0",
|
|
|
|
"@material/mwc-dialog": "^0.15.0",
|
|
|
|
"@material/mwc-fab": "^0.15.0",
|
|
|
|
"@material/mwc-formfield": "^0.15.0",
|
|
|
|
"@material/mwc-icon-button": "^0.15.0",
|
|
|
|
"@material/mwc-list": "^0.15.0",
|
|
|
|
"@material/mwc-menu": "^0.15.0",
|
|
|
|
"@material/mwc-ripple": "^0.15.0",
|
|
|
|
"@material/mwc-switch": "^0.15.0",
|
2020-05-05 16:40:11 +02:00
|
|
|
"@mdi/js": "4.9.95",
|
2020-02-05 17:34:10 +01:00
|
|
|
"@mdi/svg": "4.9.95",
|
2019-04-02 21:14:10 +02:00
|
|
|
"@polymer/app-layout": "^3.0.2",
|
2018-09-19 15:15:16 +02:00
|
|
|
"@polymer/app-route": "^3.0.2",
|
|
|
|
"@polymer/app-storage": "^3.0.2",
|
|
|
|
"@polymer/font-roboto": "^3.0.2",
|
|
|
|
"@polymer/iron-autogrow-textarea": "^3.0.1",
|
|
|
|
"@polymer/iron-flex-layout": "^3.0.1",
|
|
|
|
"@polymer/iron-icon": "^3.0.1",
|
|
|
|
"@polymer/iron-image": "^3.0.1",
|
|
|
|
"@polymer/iron-input": "^3.0.1",
|
|
|
|
"@polymer/iron-label": "^3.0.1",
|
|
|
|
"@polymer/iron-media-query": "^3.0.1",
|
2019-03-28 05:10:07 +01:00
|
|
|
"@polymer/iron-overlay-behavior": "^3.0.2",
|
2018-09-19 15:15:16 +02:00
|
|
|
"@polymer/iron-pages": "^3.0.1",
|
|
|
|
"@polymer/iron-resizable-behavior": "^3.0.1",
|
|
|
|
"@polymer/neon-animation": "^3.0.1",
|
|
|
|
"@polymer/paper-card": "^3.0.1",
|
2019-04-02 21:14:10 +02:00
|
|
|
"@polymer/paper-checkbox": "^3.1.0",
|
2018-09-19 15:15:16 +02:00
|
|
|
"@polymer/paper-dialog": "^3.0.1",
|
|
|
|
"@polymer/paper-dialog-behavior": "^3.0.1",
|
|
|
|
"@polymer/paper-dialog-scrollable": "^3.0.1",
|
|
|
|
"@polymer/paper-drawer-panel": "^3.0.1",
|
|
|
|
"@polymer/paper-dropdown-menu": "^3.0.1",
|
|
|
|
"@polymer/paper-input": "^3.0.1",
|
|
|
|
"@polymer/paper-item": "^3.0.1",
|
|
|
|
"@polymer/paper-listbox": "^3.0.1",
|
|
|
|
"@polymer/paper-menu-button": "^3.0.1",
|
|
|
|
"@polymer/paper-progress": "^3.0.1",
|
|
|
|
"@polymer/paper-radio-button": "^3.0.1",
|
|
|
|
"@polymer/paper-radio-group": "^3.0.1",
|
|
|
|
"@polymer/paper-ripple": "^3.0.1",
|
|
|
|
"@polymer/paper-scroll-header-panel": "^3.0.1",
|
|
|
|
"@polymer/paper-slider": "^3.0.1",
|
2019-04-02 21:14:10 +02:00
|
|
|
"@polymer/paper-spinner": "^3.0.2",
|
2018-09-19 15:15:16 +02:00
|
|
|
"@polymer/paper-styles": "^3.0.1",
|
|
|
|
"@polymer/paper-tabs": "^3.0.1",
|
|
|
|
"@polymer/paper-toast": "^3.0.1",
|
|
|
|
"@polymer/paper-tooltip": "^3.0.1",
|
2019-06-22 21:36:30 +02:00
|
|
|
"@polymer/polymer": "3.1.0",
|
2020-05-11 23:14:02 +02:00
|
|
|
"@thomasloven/round-slider": "0.4.1",
|
2020-02-15 01:08:44 +01:00
|
|
|
"@vaadin/vaadin-combo-box": "^5.0.10",
|
|
|
|
"@vaadin/vaadin-date-picker": "^4.0.7",
|
2019-02-06 19:59:47 +01:00
|
|
|
"@webcomponents/shadycss": "^1.9.0",
|
2019-04-02 21:14:10 +02:00
|
|
|
"@webcomponents/webcomponentsjs": "^2.2.7",
|
|
|
|
"chart.js": "~2.8.0",
|
|
|
|
"chartjs-chart-timeline": "^0.3.0",
|
2019-10-12 21:33:51 +02:00
|
|
|
"codemirror": "^5.49.0",
|
2019-06-21 21:48:20 +02:00
|
|
|
"cpx": "^1.5.0",
|
2019-01-17 20:07:05 +01:00
|
|
|
"deep-clone-simple": "^1.1.1",
|
2020-02-14 01:18:15 +01:00
|
|
|
"deep-freeze": "^0.0.1",
|
2018-01-19 18:26:06 +01:00
|
|
|
"es6-object-assign": "^1.1.0",
|
2020-05-06 12:58:53 +02:00
|
|
|
"fecha": "^4.2.0",
|
2019-05-12 11:13:16 +02:00
|
|
|
"fuse.js": "^3.4.4",
|
2019-05-22 05:12:07 +02:00
|
|
|
"google-timezones-json": "^1.0.2",
|
2019-04-02 21:14:10 +02:00
|
|
|
"hls.js": "^0.12.4",
|
2020-05-08 03:35:14 +02:00
|
|
|
"home-assistant-js-websocket": "^5.1.2",
|
2020-05-05 16:40:11 +02:00
|
|
|
"idb-keyval": "^3.2.0",
|
2020-04-30 20:20:54 +02:00
|
|
|
"intl-messageformat": "^8.3.9",
|
2019-09-08 20:44:27 +02:00
|
|
|
"js-yaml": "^3.13.1",
|
2019-04-02 21:14:10 +02:00
|
|
|
"leaflet": "^1.4.0",
|
2020-01-22 20:29:51 +01:00
|
|
|
"leaflet-draw": "^1.0.4",
|
2020-05-08 14:00:09 +02:00
|
|
|
"lit-element": "^2.3.1",
|
|
|
|
"lit-html": "^1.2.1",
|
2020-01-12 13:00:26 +01:00
|
|
|
"lit-virtualizer": "^0.4.2",
|
2019-04-02 21:14:10 +02:00
|
|
|
"marked": "^0.6.1",
|
|
|
|
"mdn-polyfills": "^5.16.0",
|
|
|
|
"memoize-one": "^5.0.2",
|
|
|
|
"moment": "^2.24.0",
|
2020-03-06 03:33:38 +01:00
|
|
|
"node-vibrant": "^3.1.5",
|
2019-04-02 21:14:10 +02:00
|
|
|
"regenerator-runtime": "^0.13.2",
|
2020-03-06 03:33:38 +01:00
|
|
|
"resize-observer": "^1.0.0",
|
2019-06-21 21:48:20 +02:00
|
|
|
"roboto-fontface": "^0.10.0",
|
2019-04-02 21:14:10 +02:00
|
|
|
"superstruct": "^0.6.1",
|
2019-09-02 07:00:32 +02:00
|
|
|
"tslib": "^1.10.0",
|
2019-04-02 21:14:10 +02:00
|
|
|
"unfetch": "^4.1.0",
|
2020-05-07 21:31:25 +02:00
|
|
|
"web-animations-js": "^2.3.2",
|
2020-05-13 11:12:01 +02:00
|
|
|
"workbox-core": "^5.1.3",
|
|
|
|
"workbox-precaching": "^5.1.3",
|
|
|
|
"workbox-routing": "^5.1.3",
|
|
|
|
"workbox-strategies": "^5.1.3",
|
2019-04-02 21:14:10 +02:00
|
|
|
"xss": "^1.0.6"
|
2018-01-19 18:26:06 +01:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-04-14 18:05:45 +02:00
|
|
|
"@babel/core": "^7.9.0",
|
2020-02-15 01:09:21 +01:00
|
|
|
"@babel/plugin-external-helpers": "^7.8.3",
|
|
|
|
"@babel/plugin-proposal-class-properties": "^7.8.3",
|
|
|
|
"@babel/plugin-proposal-decorators": "^7.8.3",
|
|
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
|
2020-04-14 18:05:45 +02:00
|
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.9.5",
|
|
|
|
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
|
2020-02-15 01:09:21 +01:00
|
|
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
2020-04-14 18:05:45 +02:00
|
|
|
"@babel/preset-env": "^7.9.5",
|
|
|
|
"@babel/preset-typescript": "^7.9.0",
|
2018-11-06 10:09:09 +01:00
|
|
|
"@types/chai": "^4.1.7",
|
2019-07-26 20:06:16 +02:00
|
|
|
"@types/chromecast-caf-receiver": "^3.0.12",
|
2019-10-12 21:33:51 +02:00
|
|
|
"@types/codemirror": "^0.0.78",
|
2019-04-02 21:14:10 +02:00
|
|
|
"@types/hls.js": "^0.12.3",
|
2019-10-21 17:36:09 +02:00
|
|
|
"@types/js-yaml": "^3.12.1",
|
2019-02-25 20:10:22 +01:00
|
|
|
"@types/leaflet": "^1.4.3",
|
2020-01-22 20:29:51 +01:00
|
|
|
"@types/leaflet-draw": "^1.0.1",
|
2019-04-09 02:08:59 +02:00
|
|
|
"@types/memoize-one": "4.1.0",
|
2019-04-02 21:14:10 +02:00
|
|
|
"@types/mocha": "^5.2.6",
|
2020-04-30 20:39:36 +02:00
|
|
|
"@types/resize-observer-browser": "^0.1.3",
|
2019-10-29 22:59:35 +01:00
|
|
|
"@types/webspeechapi": "^0.0.29",
|
2020-04-14 18:05:45 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "^2.28.0",
|
|
|
|
"@typescript-eslint/parser": "^2.28.0",
|
|
|
|
"babel-loader": "^8.1.0",
|
2018-11-06 10:09:09 +01:00
|
|
|
"chai": "^4.2.0",
|
2019-04-02 21:14:10 +02:00
|
|
|
"copy-webpack-plugin": "^5.0.2",
|
|
|
|
"del": "^4.0.0",
|
2020-04-14 18:05:45 +02:00
|
|
|
"eslint": "^6.8.0",
|
|
|
|
"eslint-config-airbnb-typescript": "^7.2.1",
|
|
|
|
"eslint-config-prettier": "^6.10.1",
|
|
|
|
"eslint-import-resolver-webpack": "^0.12.1",
|
|
|
|
"eslint-plugin-disable": "^2.0.1",
|
|
|
|
"eslint-plugin-import": "^2.20.2",
|
|
|
|
"eslint-plugin-lit": "^1.2.0",
|
|
|
|
"eslint-plugin-prettier": "^3.1.3",
|
|
|
|
"eslint-plugin-wc": "^1.2.0",
|
2019-05-02 20:35:46 +02:00
|
|
|
"fs-extra": "^7.0.1",
|
2019-04-02 21:14:10 +02:00
|
|
|
"gulp": "^4.0.0",
|
2017-10-26 03:12:23 +02:00
|
|
|
"gulp-foreach": "^0.1.0",
|
|
|
|
"gulp-insert": "^0.5.0",
|
2019-04-02 21:14:10 +02:00
|
|
|
"gulp-json-transform": "^0.4.6",
|
2018-06-21 16:43:24 +02:00
|
|
|
"gulp-jsonminify": "^1.1.0",
|
|
|
|
"gulp-merge-json": "^1.3.1",
|
2020-03-02 11:36:00 +01:00
|
|
|
"gulp-rename": "^2.0.0",
|
2019-05-02 20:35:46 +02:00
|
|
|
"gulp-zopfli-green": "^3.0.1",
|
2018-07-26 09:30:03 +02:00
|
|
|
"html-webpack-plugin": "^3.2.0",
|
2019-04-02 21:14:10 +02:00
|
|
|
"husky": "^1.3.1",
|
|
|
|
"lint-staged": "^8.1.5",
|
2020-04-14 20:43:56 +02:00
|
|
|
"lit-analyzer": "^1.1.10",
|
2019-09-08 20:55:03 +02:00
|
|
|
"lodash.template": "^4.5.0",
|
2019-09-10 20:18:57 +02:00
|
|
|
"map-stream": "^0.0.7",
|
2017-08-03 06:31:04 +02:00
|
|
|
"merge-stream": "^1.0.1",
|
2019-04-02 21:14:10 +02:00
|
|
|
"mocha": "^6.0.2",
|
2020-05-05 16:40:11 +02:00
|
|
|
"object-hash": "^2.0.3",
|
2018-09-19 15:15:16 +02:00
|
|
|
"parse5": "^5.1.0",
|
2020-04-14 18:05:45 +02:00
|
|
|
"prettier": "^2.0.4",
|
2019-04-02 21:14:10 +02:00
|
|
|
"raw-loader": "^2.0.0",
|
2018-10-30 11:04:06 +01:00
|
|
|
"reify": "^0.18.1",
|
2019-04-02 21:14:10 +02:00
|
|
|
"require-dir": "^1.2.0",
|
|
|
|
"sinon": "^7.3.1",
|
2020-05-13 11:12:01 +02:00
|
|
|
"source-map-url": "^0.4.0",
|
2019-03-05 22:10:35 +01:00
|
|
|
"terser-webpack-plugin": "^1.2.3",
|
2020-04-14 20:43:56 +02:00
|
|
|
"ts-lit-plugin": "^1.1.10",
|
2019-04-02 21:14:10 +02:00
|
|
|
"ts-mocha": "^6.0.0",
|
2020-04-14 18:05:45 +02:00
|
|
|
"typescript": "^3.8.3",
|
2020-03-02 11:36:00 +01:00
|
|
|
"vinyl-buffer": "^1.0.1",
|
|
|
|
"vinyl-source-stream": "^2.0.0",
|
2019-04-02 21:14:10 +02:00
|
|
|
"web-component-tester": "^6.9.2",
|
2019-09-21 11:59:51 +02:00
|
|
|
"webpack": "^4.40.2",
|
|
|
|
"webpack-cli": "^3.3.9",
|
2020-04-06 22:29:52 +02:00
|
|
|
"webpack-dev-server": "^3.10.3",
|
2019-05-02 20:35:46 +02:00
|
|
|
"webpack-manifest-plugin": "^2.0.4",
|
2020-05-13 11:12:01 +02:00
|
|
|
"workbox-build": "^5.1.3",
|
2019-08-24 21:48:57 +02:00
|
|
|
"workerize-loader": "^1.1.0"
|
2018-05-15 19:31:47 +02:00
|
|
|
},
|
2019-06-22 21:36:30 +02:00
|
|
|
"_comment": "Polymer fixed to 3.1 because 3.2 throws on logbook page",
|
2019-08-24 21:42:38 +02:00
|
|
|
"_comment_2": "Fix in https://github.com/Polymer/polymer/pull/5569",
|
2018-05-15 19:31:47 +02:00
|
|
|
"resolutions": {
|
2019-06-13 02:29:16 +02:00
|
|
|
"@webcomponents/webcomponentsjs": "^2.2.10",
|
2019-08-15 17:45:17 +02:00
|
|
|
"@polymer/polymer": "3.1.0",
|
2020-05-08 14:00:09 +02:00
|
|
|
"lit-html": "1.2.1",
|
|
|
|
"lit-element": "2.3.1",
|
2020-05-09 20:59:53 +02:00
|
|
|
"@material/animation": "7.0.0-canary.d92d8c93e.0",
|
|
|
|
"@material/base": "7.0.0-canary.d92d8c93e.0",
|
|
|
|
"@material/checkbox": "7.0.0-canary.d92d8c93e.0",
|
|
|
|
"@material/density": "7.0.0-canary.d92d8c93e.0",
|
|
|
|
"@material/dom": "7.0.0-canary.d92d8c93e.0",
|
|
|
|
"@material/elevation": "7.0.0-canary.d92d8c93e.0",
|
|
|
|
"@material/feature-targeting": "7.0.0-canary.d92d8c93e.0",
|
|
|
|
"@material/ripple": "7.0.0-canary.d92d8c93e.0",
|
|
|
|
"@material/rtl": "7.0.0-canary.d92d8c93e.0",
|
|
|
|
"@material/shape": "7.0.0-canary.d92d8c93e.0",
|
|
|
|
"@material/theme": "7.0.0-canary.d92d8c93e.0",
|
|
|
|
"@material/touch-target": "7.0.0-canary.d92d8c93e.0",
|
|
|
|
"@material/typography": "7.0.0-canary.d92d8c93e.0"
|
2018-05-15 19:31:47 +02:00
|
|
|
},
|
2018-10-11 12:22:11 +02:00
|
|
|
"main": "src/home-assistant.js",
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
2018-10-17 14:04:09 +02:00
|
|
|
"linters": {
|
2018-10-26 09:37:47 +02:00
|
|
|
"*.{js,ts,json,css,md}": [
|
2018-10-17 14:04:09 +02:00
|
|
|
"prettier --write",
|
|
|
|
"git add"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ignore": [
|
|
|
|
"translations/**"
|
2018-10-11 12:22:11 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"prettier": {
|
|
|
|
"trailingComma": "es5",
|
|
|
|
"arrowParens": "always"
|
|
|
|
}
|
2015-07-13 01:57:15 +02:00
|
|
|
}
|