npm init
this will create apackage.json
npm install gulp --save-dev
installs gulp locally- Add more modules
npm install <MODULE> --save-dev
- Create a task:
gulp.task('task-name', function() {
// Stuff here
});
- Run the task with
gulp task-name
npm init
this will create a package.json
npm install gulp --save-dev
installs gulp locallynpm install <MODULE> --save-dev
gulp.task('task-name', function() {
// Stuff here
});
gulp task-name