Skip to content

Commit

Permalink
fix: Compile lib on prepublish script
Browse files Browse the repository at this point in the history
/lib is ignored because .gitignore ignores /lib and .npmignore isn't exist

https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package
  • Loading branch information
mtsmfm committed Jan 12, 2016
1 parent f730c48 commit 614cb26
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 200 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/node_modules
/lib
199 changes: 0 additions & 199 deletions lib/index.js

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"main": "./lib/index.js",
"scripts": {
"test": "mocha --compilers coffee:coffee-script/register test",
"semantic-release": "semantic-release pre && npm run prepublish && npm publish && semantic-release post",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"prepublish": "coffee --compile --output lib/ src/"
},
"keywords": [
Expand Down

0 comments on commit 614cb26

Please sign in to comment.