Skip to content

Commit

Permalink
Add npmignore and prepublish script
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Apr 5, 2018
1 parent b845159 commit 08104fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
examples
test
.gitignore
.travis.yml
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"jsdelivr": "dist/vsup.min.js",
"module": "src/index",
"scripts": {
"prepublish": "npm run build",
"build": "rollup -c && uglifyjs dist/vsup.js -c negate_iife=false -m -o dist/vsup.min.js",
"watch": "rollup -c -w",
"start": "python -m http.server",
Expand Down

0 comments on commit 08104fb

Please sign in to comment.