From e080abb4ddc77ab2d58e59d82ea5e653352b1c32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Lov=C3=A9n?= Date: Wed, 22 Jan 2020 21:37:39 +0100 Subject: [PATCH] Initial commit --- .gitattributes | 1 + .gitignore | 1 + LICENSE.txt | 21 +++++++++++++++++++++ README.md | 25 +++++++++++++++++++++++++ hacs.json | 4 ++++ package.json | 25 +++++++++++++++++++++++++ src/main.js | 0 webpack.config.js | 10 ++++++++++ 8 files changed, 87 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 LICENSE.txt create mode 100644 README.md create mode 100644 hacs.json create mode 100644 package.json create mode 100644 src/main.js create mode 100644 webpack.config.js diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..bac55b6 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +.js binary diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c2658d7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules/ diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..55b207d --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 Thomas Lovén + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..01556b8 --- /dev/null +++ b/README.md @@ -0,0 +1,25 @@ + +================= + +[![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg)](https://github.com/custom-components/hacs) + +. + +For installation instructions [see this guide](https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins). + +Install `` as a `module`. + +```yaml +resources: + - url: /local/.js + type: module +``` + +## Usage + + +### Options + + +--- +Buy Me A Coffee diff --git a/hacs.json b/hacs.json new file mode 100644 index 0000000..05a58a5 --- /dev/null +++ b/hacs.json @@ -0,0 +1,4 @@ +{ + "name": "", + "render_readme": true +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..3cf0157 --- /dev/null +++ b/package.json @@ -0,0 +1,25 @@ +{ + "name": "", + "private": true, + "version": "1.0.0", + "description": "", + "scripts": { + "build": "webpack", + "watch": "webpack --watch --mode=development", + "update-card-tools": "npm uninstall card-tools && npm install thomasloven/lovelace-card-tools" + }, + "repository": { + "type": "git", + "url": "github.com:thomasloven/lovelace-" + }, + "keywords": [], + "author": "Thomas Lovén", + "license": "MIT", + "devDependencies": { + "webpack": "^4.41.2", + "webpack-cli": "^3.3.10" + }, + "dependencies": { + "card-tools": "github:thomasloven/lovelace-card-tools" + } +} diff --git a/src/main.js b/src/main.js new file mode 100644 index 0000000..e69de29 diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 0000000..1040e78 --- /dev/null +++ b/webpack.config.js @@ -0,0 +1,10 @@ +const path = require('path'); + +module.exports = { + entry: './src/main.js', + mode: 'production', + output: { + filename: '.js', + path: path.resolve(__dirname) + } +};