Last active
November 20, 2017 13:01
-
-
Save ahvonenj/66d9dc51e3a550ae47b188b584e0da4f to your computer and use it in GitHub Desktop.
Gulp base
This file contains hidden or 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
var gulp = require('gulp'); | |
var less = require('gulp-less'); | |
var minify = require('gulp-minify'); | |
var path = require('path'); | |
var jsonminify = require('gulp-jsonminify'); | |
var rename = require("gulp-rename"); | |
var babel = require('gulp-babel'); | |
gulp.task('default', function(cb) | |
{ | |
}); |
This file contains hidden or 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
SEPARATE: | |
npm install gulp -g | |
npm install gulp-jsonminify --save-dev | |
npm install gulp-less --save-dev | |
npm install gulp-minify --save-dev | |
npm install gulp-rename --save-dev | |
npm install babel-cli --save-dev | |
npm install gulp-babel babel-preset-env --save-dev | |
TOGETHER: | |
npm install gulp -g | |
npm install gulp-jsonminify gulp-less gulp-minify gulp-rename babel-cli gulp-babel babel-preset-env --save-dev | |
LINKS: | |
https://gulpjs.com/ | |
https://babeljs.io/ | |
https://www.npmjs.com/package/gulp-babel | |
https://www.npmjs.com/package/gulp-minify | |
https://www.npmjs.com/package/gulp-less | |
https://www.npmjs.com/package/gulp-jsonminify | |
https://www.npmjs.com/package/gulp-rename |
This file contains hidden or 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
"devDependencies": | |
{ | |
"babel-cli": "^6.26.0", | |
"gulp-callback": "0.0.3", | |
"gulp-jsonminify": "^1.0.0", | |
"gulp-less": "^3.3.2", | |
"gulp-minify": "^2.1.0", | |
"gulp-rename": "^1.2.2", | |
"babel-preset-env": "^1.6.1", | |
"gulp-babel": "^7.0.0" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment