Skip to content

Commit

Permalink
Moved source -> src/ dir & build -> dist/
Browse files Browse the repository at this point in the history
  • Loading branch information
kalkih committed Mar 18, 2019
1 parent 887678a commit 3517616
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/node_modules/
/dist/
package-lock.json
mini-graph-card-bundle.js
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"svg",
"custom-cards"
],
"main": "main.js",
"module": "main.js",
"main": "src/main.js",
"module": "src/main.js",
"repository": "[email protected]:kalkih/mini-graph-card.git",
"author": "Karl Kihlström <[email protected]>",
"license": "MIT",
Expand All @@ -41,8 +41,8 @@
"scripts": {
"build": "npm run lint && npm run rollup && npm run babel",
"rollup": "rollup -c",
"babel": "babel mini-graph-card-bundle.js --out-file mini-graph-card-bundle.js",
"lint": "eslint main.js style.js graph.js",
"babel": "babel dist/mini-graph-card-bundle.js --out-file dist/mini-graph-card-bundle.js",
"lint": "eslint src/* --ext .js",
"watch": "rollup -c --watch"
}
}
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import resolve from 'rollup-plugin-node-resolve';

export default {
input: 'main.js',
input: 'src/main.js',
output: {
file: 'mini-graph-card-bundle.js',
file: 'dist/mini-graph-card-bundle.js',
format: 'umd',
name: 'MiniGraphCard',
},
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3517616

Please sign in to comment.