Skip to content

Commit

Permalink
Remove concat task by letting uglify do it
Browse files Browse the repository at this point in the history
  • Loading branch information
Damon Bauer committed Jan 24, 2016
1 parent d0b3bfc commit c5c416f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@
"autoprefixer": "postcss -u autoprefixer -r dist/css/*",
"scss": "node-sass --output-style compressed -o dist/css src/scss",
"lint": "eslint src/js",
"concat": "cat src/js/* > dist/js/app.js",
"uglify": "uglifyjs dist/js/app.js -m -c > dist/js/app.min.js",
"uglify": "mkdir -p dist/js && uglifyjs src/js/*.js -m -o dist/js/app.js && uglifyjs src/js/*.js -m -c -o dist/js/app.min.js",
"imagemin": "imagemin src/images dist/images -p",
"icons": "svgo -f src/images/icons && svgshelf src/images/icons/\\*.svg dist/images/icons.svg -p icon-",
"serve": "browser-sync start --server --files 'dist/css/*.css, dist/js/*.js'",
"build:css": "npm run scss && npm run autoprefixer",
"build:js": "npm run lint && npm run concat && npm run uglify",
"build:js": "npm run lint && npm run uglify",
"build:images": "npm run imagemin && npm run icons",
"build:all": "npm run build:css && npm run build:js && npm run build:images",
"build:watch": "parallelshell 'npm run watch:css' 'npm run watch:js'",
Expand Down

0 comments on commit c5c416f

Please sign in to comment.