Skip to content

Commit

Permalink
fix: build cli with shebang
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-johnson committed Apr 28, 2017
1 parent 5ba1d58 commit 0105348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lint": "eslint src/ test/",
"clean": "shx rm -rf cli.js index.js styles.css",
"build-lib": "rollup src/index.js -c > index.js",
"build-cli": "rollup src/cli.js -c >> cli.js && shx chmod +x cli.js",
"build-cli": "shx echo \"#!/usr/bin/env node\" > cli.js && rollup src/cli.js -c >> cli.js && shx chmod +x cli.js",
"build-styles": "node-sass src/styles.scss | cssnano > styles.css",
"build": "npm-run-all clean build-lib build-cli build-styles",
"autorelease": "autorelease pre && npm publish && autorelease post"
Expand Down

0 comments on commit 0105348

Please sign in to comment.