Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
videojs-contrib-hls
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
99e84e9f
authored
2016-09-07 15:40:17 -0400
by
Brandon Casey
Committed by
GitHub
2016-09-07 15:40:17 -0400
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add bundle-collapser and save 1619b gzipped (~4%) (#837)
1 parent
baa8df9e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
package.json
package.json
View file @
99e84e9
...
...
@@ -13,11 +13,12 @@
"scripts"
:
{
"prebuild"
:
"npm run clean"
,
"build"
:
"npm-run-all -p build:*"
,
"build:js"
:
"npm-run-all build:js:babel build:js:browserify build:js:bannerize build:js:uglify"
,
"build:js"
:
"npm-run-all build:js:babel build:js:browserify build:js:bannerize build:js:
collapse build:js:
uglify"
,
"build:js:babel"
:
"babel src -d es5"
,
"build:js:bannerize"
:
"bannerize dist/videojs-contrib-hls.js --banner=scripts/banner.ejs"
,
"build:js:browserify"
:
"browserify . -s videojs-contrib-hls -g browserify-shim -o dist/videojs-contrib-hls.js"
,
"build:js:uglify"
:
"uglifyjs dist/videojs-contrib-hls.js --comments --mangle --compress -o dist/videojs-contrib-hls.min.js"
,
"build:js:collapse"
:
"bundle-collapser dist/videojs-contrib-hls.js -o dist/videojs-contrib-hls.min.js"
,
"build:js:uglify"
:
"uglifyjs dist/videojs-contrib-hls.min.js --comments -m -c -o dist/videojs-contrib-hls.min.js"
,
"build:test"
:
"npm-run-all build:test:manifest build:test:js"
,
"build:test:js"
:
"node scripts/build-test.js"
,
"build:test:manifest"
:
"node -e
\"
var b=require('./scripts/manifest-data.js'); b.build();
\"
"
,
...
...
@@ -97,6 +98,7 @@
"bannerize"
:
"^1.0.0"
,
"browserify"
:
"^11.0.0"
,
"browserify-shim"
:
"^3.0.0"
,
"bundle-collapser"
:
"^1.2.1"
,
"connect"
:
"^3.4.0"
,
"cowsay"
:
"^1.1.0"
,
"d3"
:
"3.4.8"
,
...
...
Please
register
or
sign in
to post a comment