diff --git a/package.json b/package.json index c9be288..8ecb3fe 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "simple-thermostat", "version": "0.21.0", "description": "A different take on the thermostat card for Home Assistant Lovelace UI", - "main": "index.js", + "main": "src/index.js", "repository": "git@github.com:nervetattoo/simple-thermostat.git", "author": "Raymond Julin ", "license": "MIT", diff --git a/rollup.config.js b/rollup.config.js index 6e270bd..3e33ba8 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -4,7 +4,7 @@ import filesize from 'rollup-plugin-filesize' import commonjs from 'rollup-plugin-commonjs' export default { - input: 'index.js', + input: 'src/index.js', output: { file: 'simple-thermostat.js', format: 'umd', diff --git a/index.js b/src/index.js similarity index 99% rename from index.js rename to src/index.js index b347b4b..d89048f 100644 --- a/index.js +++ b/src/index.js @@ -1,7 +1,7 @@ import { LitElement, html } from 'lit-element' import debounce from 'debounce-fn' -import { renderStyles, renderNotFoundStyles } from './src/styles' +import { renderStyles, renderNotFoundStyles } from './styles' const DEBOUNCE_TIMEOUT = 1000 const STEP_SIZE = 0.5