Skip to content

Commit

Permalink
Move index file into src folder
Browse files Browse the repository at this point in the history
  • Loading branch information
nervetattoo committed May 15, 2019
1 parent 7d470f1 commit 989b308
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 <raymond.julin@gmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion index.js → src/index.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 989b308

Please sign in to comment.