Last active
October 29, 2016 07:48
-
-
Save Khangeldy/0b7413fe71b5661e07458cdcc0d5b8a6 to your computer and use it in GitHub Desktop.
Sass, babel, uglify, imagemin builder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "npm-config", | |
"version": "1.0.0", | |
"description": "task with pure node", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1", | |
"build-css": "node-sass src/css/style.scss dist/css/style.css", | |
"build-js": "babel --presets babel-preset-es2015 dist/js/app.js -d dist/js/", | |
"minify-js": "uglifyjs dist/js/app.js -o dist/js/app.min.js", | |
"optimize": "imagemin src/img/* --out-dir=dist/img/", | |
"watch-css": "node-sass src/css/style.scss dist/css/style.css -watch", | |
"watch-js": "babel --presets babel-preset-es2015 dist/js/app.js -d dist/js/ -watch", | |
}, | |
"author": "", | |
"license": "ISC" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment