From 89f855587f6fec96201058777a446ddc60a3d4ce Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Fri, 30 Jan 2015 20:01:13 +0200 Subject: [PATCH] Fix build-production script --- TODO | 3 +++ dist/js/app.js | 4 ++-- package.json | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/TODO b/TODO index b316801..310f7a2 100644 --- a/TODO +++ b/TODO @@ -63,6 +63,9 @@ DONE Add withLatestFrom example DONE Review all RxJS operators to remove deprecated >>> v1.2.0 +DONE Fix build-production script +>>> v1.2.1 + TODO Build scripts to replace gulp (?) TODO Fix referential transparency inconsistency Replace models/sandbox-ouput combineLatest with combinePrevious diff --git a/dist/js/app.js b/dist/js/app.js index d3e0d3d..3f83621 100644 --- a/dist/js/app.js +++ b/dist/js/app.js @@ -23513,8 +23513,8 @@ module.exports={ "6to5": "mkdir -p ignore/es5src && 6to5 src --out-dir ignore/es5src", "browserify": "browserify -e ignore/es5src/app.js --outfile dist/js/app.js", "build": "npm run less && npm run 6to5 && npm run browserify", - "build-production": "npm run less && npm run browserify-production && npm run uglify", - "uglify": "uglifyjs dist/cycle.js -o dist/cycle.min.js", + "build-production": "npm run less && npm run 6to5 && npm run browserify && npm run uglify", + "uglify": "uglifyjs dist/js/app.js -o dist/js/app.js", "docs": "node ./scripts/make-api-docs.js", "release": "npm run release-patch", "release-patch": "git checkout master && npm run build && git commit -a -m 'Compiled' && npm version patch && git push origin master --tags && npm publish", diff --git a/package.json b/package.json index d33397d..8686d2d 100644 --- a/package.json +++ b/package.json @@ -27,8 +27,8 @@ "6to5": "mkdir -p ignore/es5src && 6to5 src --out-dir ignore/es5src", "browserify": "browserify -e ignore/es5src/app.js --outfile dist/js/app.js", "build": "npm run less && npm run 6to5 && npm run browserify", - "build-production": "npm run less && npm run browserify-production && npm run uglify", - "uglify": "uglifyjs dist/cycle.js -o dist/cycle.min.js", + "build-production": "npm run less && npm run 6to5 && npm run browserify && npm run uglify", + "uglify": "uglifyjs dist/js/app.js -o dist/js/app.js", "docs": "node ./scripts/make-api-docs.js", "release": "npm run release-patch", "release-patch": "git checkout master && npm run build && git commit -a -m 'Compiled' && npm version patch && git push origin master --tags && npm publish",