mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-19 19:07:23 +00:00

* Core POC support for polymer i18n * Move translation from core.js to html * Replace fetch with XHR * Convert translation pipeline to gulp * Convert from polyglot to Polymer localize * Pass through missing keys for custom panels * Store promise to be reused * Use cacheFirst sw handler for translations * Write full filenames to translationFingerprints * Precache en translation * Convert home-assistant-main to ES6 class * Create a localization mixin * Cleanup * Add polymer tags to annotate for linter * Rename fingerprints to translationMetadata * Build translation native names into metadata * Add language selection UI to sidebar * Provide separate message namespace argument * Store language/resources on hass object * Store translationMetadata on hass * Move language selector to config panel * Temporarily hide language selector * Small cleanups * Use dynamic-align for more flexible layout * Migrate to fetch API * Only send change events for user selection events * Update for new linting rules * Migrate build_frontend changes
80 lines
2.6 KiB
JSON
80 lines
2.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/home-assistant/home-assistant-polymer"
|
|
},
|
|
"scripts": {
|
|
"clean": "rm -rf build/* build-temp/*",
|
|
"gulp": "gulp",
|
|
"build": "BUILD_DEV=0 gulp",
|
|
"build_demo": "BUILD_DEV=0 BUILD_DEMO=1 gulp",
|
|
"dev": "npm run gulp ru_all gen-service-worker",
|
|
"dev-watch": "npm run gulp watch_ru_all gen-service-worker",
|
|
"lint_js": "eslint src panels js --ext js,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": {
|
|
"babel-core": "^6.26.0",
|
|
"babel-plugin-external-helpers": "^6.22.0",
|
|
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
|
"babel-plugin-transform-react-jsx": "^6.24.1",
|
|
"babel-preset-babili": "^0.1.4",
|
|
"babel-preset-es2015": "^6.24.1",
|
|
"bower": "^1.8.2",
|
|
"css-slam": "^2.0.2",
|
|
"del": "^3.0.0",
|
|
"es6-object-assign": "^1.1.0",
|
|
"eslint": "^4.8.0",
|
|
"eslint-config-airbnb-base": "^12.0.2",
|
|
"eslint-plugin-html": "^3.2.2",
|
|
"eslint-plugin-import": "^2.2.0",
|
|
"eslint-plugin-react": "^7.0.0",
|
|
"gulp": "^3.9.1",
|
|
"gulp-babel": "^7.0.0",
|
|
"gulp-file": "^0.3.0",
|
|
"gulp-filter": "^5.0.1",
|
|
"gulp-foreach": "^0.1.0",
|
|
"gulp-hash": "^4.0.1",
|
|
"gulp-html-minifier": "^0.1.8",
|
|
"gulp-if": "^2.0.2",
|
|
"gulp-insert": "^0.5.0",
|
|
"gulp-json-transform": "^0.4.2",
|
|
"gulp-jsonminify": "^1.0.0",
|
|
"gulp-merge-json": "^1.0.0",
|
|
"gulp-rename": "^1.2.2",
|
|
"gulp-rollup-each": "^2.0.0",
|
|
"gulp-uglify": "^3.0.0",
|
|
"gulp-util": "^3.0.8",
|
|
"home-assistant-js-websocket": "^1.1.0",
|
|
"html-minifier": "^3.5.5",
|
|
"merge-stream": "^1.0.1",
|
|
"parse5": "^3.0.2",
|
|
"polymer-analyzer": "^2.3.0",
|
|
"polymer-build": "^2.1.0",
|
|
"polymer-bundler": "^3.1.0",
|
|
"polymer-cli": "^1.5.6",
|
|
"preact": "^8.2.5",
|
|
"require-dir": "^0.3.2",
|
|
"rollup": "^0.50.0",
|
|
"rollup-plugin-babel": "^3.0.2",
|
|
"rollup-plugin-commonjs": "^8.2.1",
|
|
"rollup-plugin-node-resolve": "^3.0.0",
|
|
"rollup-plugin-replace": "^2.0.0",
|
|
"rollup-plugin-uglify": "^2.0.1",
|
|
"rollup-watch": "^4.3.1",
|
|
"run-sequence": "^2.2.0",
|
|
"sw-precache": "^5.2.0",
|
|
"uglify-js": "^3.1.3",
|
|
"vulcanize": "^1.16.0"
|
|
},
|
|
"devDependencies": {
|
|
"web-component-tester": "^6.3.0"
|
|
}
|
|
}
|