Skip to content

Commit

Permalink
chore(build): add uglifyjs minification to global build.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffbcross authored and trxcllnt committed Aug 21, 2015
1 parent 3f2977f commit abe9a24
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build_amd": "rm -rf dist/amd && tsc typings/es6-shim/es6-shim.d.ts src/Rx.ts -m amd --outDir dist/amd --sourcemap --target ES5",
"build_cjs": "rm -rf dist/cjs && tsc typings/es6-shim/es6-shim.d.ts src/Rx.ts -m commonjs --outDir dist/cjs --sourcemap --target ES5",
"build_es6": "rm -rf dist/es6 && tsc src/Rx.ts --outDir dist/es6 --target ES6 -d",
"build_global": "rm -rf dist/global && mkdir dist/global && browserify src/Rx.global.js --outfile dist/global/Rx.js",
"build_global": "rm -rf dist/global && mkdir dist/global && browserify src/Rx.global.js --outfile dist/global/Rx.js; ./node_modules/.bin/uglifyjs ./dist/global/Rx.js --source-map ./dist/global/Rx.min.js.map --screw-ie8 -o ./dist/global/Rx.min.js",
"build_perf": "npm run build_es6 && npm run build_cjs && npm run build_global && npm run perf",
"build_test": "rm -rf dist/ && npm run build_es6 && npm run build_cjs && jasmine",
"test": "jasmine",
Expand Down Expand Up @@ -53,7 +53,8 @@
"promise": "^7.0.3",
"protractor": "^1.7.0",
"rx": "^3.0.0",
"typescript": "^1.5.0-beta"
"typescript": "^1.5.0-beta",
"uglifyjs": "^2.4.10"
},
"format": "es6",
"directories": {
Expand Down

0 comments on commit abe9a24

Please sign in to comment.