Skip to content

Instantly share code, notes, and snippets.

@Khangeldy
Last active October 29, 2016 07:48
Show Gist options
  • Save Khangeldy/0b7413fe71b5661e07458cdcc0d5b8a6 to your computer and use it in GitHub Desktop.
Save Khangeldy/0b7413fe71b5661e07458cdcc0d5b8a6 to your computer and use it in GitHub Desktop.
Sass, babel, uglify, imagemin builder
{
"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