Skip to content
This repository was archived by the owner on Jun 28, 2021. It is now read-only.

Commit 5f2278a

Browse files
author
Tommy Leunen
committed
adds more ignore files and force to clean lib before compiling
1 parent 16843a4 commit 5f2278a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.npmignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
.*
2+
coverage/
13
demo/
24
webpack.config.js
3-
__tests__/
5+
src/**/__tests__
46
karma.conf.js

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"test": "karma start --single-run",
7979
"posttest": "npm run lint",
8080
"lint": "eslint .",
81-
"compile": "babel src --ignore __tests__ --out-dir lib",
81+
"compile": "rm -rf lib && babel src --ignore __tests__ --out-dir lib",
8282
"prepublish": "npm run compile",
8383
"demo": "webpack-dev-server --content-base ."
8484
}

0 commit comments

Comments
 (0)