Skip to content

Commit

Permalink
package.json: generate dist after updating version number
Browse files Browse the repository at this point in the history
  • Loading branch information
mangui committed Jul 13, 2016
1 parent cdff216 commit 68acba5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
"build": "npm run babel && browserify -t browserify-versionify -t [babelify] -s Hls src/index.js --debug | exorcist dist/hls.js.map -b . > dist/hls.js",
"postbuild": "npm run minify",
"preparerelease": "npm run prebuild && npm run build && npm run postbuild && git add dist/* && git commit -m 'update dist'",
"prerelease": "npm run preparerelease && mversion prerelease",
"patch": "npm run preparerelease && mversion p",
"minor": "npm run preparerelease && mversion mi",
"major": "npm run preparerelease && mversion ma",
"prerelease": "mversion prerelease && npm run preparerelease",
"patch": "mversion p && npm run preparerelease",
"minor": "mversion mi && npm run preparerelease",
"major": "mversion ma && npm run preparerelease",
"minify": "uglifyjs dist/hls.js -c sequences=true,dead_code=true,conditionals=true,booleans=true,unused=true,if_return=true,join_vars=true,drop_console=true -m sort --screw-ie8 > dist/hls.min.js",
"watch": "watchify --debug -s Hls src/index.js -t [babelify] -o dist/hls.js",
"pretest": "npm run lint",
Expand Down

0 comments on commit 68acba5

Please sign in to comment.