GitXplorerGitXplorer
s

starter-gulp

public
3 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
295ce0885c495b0c4e8b260d931db4cca82affdc

Improve installation example

sselbekk committed 9 years ago
Unverified
e8efa74821929149646ec68f2491c4f615a17eb5

Improve readme

sselbekk committed 9 years ago
Unverified
1dbef1f4a772a59f4dd3da0c943dd877f7da0757

Set up more common tasks

sselbekk committed 9 years ago
Unverified
d01076324e8bca76c92b898cc72f489f3b455ec8

Set up Gradle to run the gulp build task

sselbekk committed 9 years ago
Unverified
203dea00d0d69357200d524568274bd61e76d47d

Set up a bootstrapped simple gulpfile with ES2015 support

sselbekk committed 9 years ago
Unverified
af23aec6ccadf403f868737c4499a86f61ea5312

Initial commit

sselbekk committed 9 years ago

README

The README file for this repository.

Gulp Starter for Enonic XP

This starter gives you everything you need to get started with Enonic and Gulp.

Initialize

Use Enonic's toolbox.sh init-project script to initialize your project:

./path/to/toolbox.sh init-project -n com.example.MyApp -r https://github.com/selbekk/starter-gulp.git

Tasks

As a matter of convention, this starter interfaces all tasks through npm scripts. The ones set up for you are:

npm run build       # Runs your gradle build, which in turn runs gulp
npm run deploy      # Deploys application to your local installation
npm run watch       # Continuously builds and deploys your application

Gulp tasks

Since I don't what tools you want to use, I've provided a pretty bare-bones gulpfile. Set it up as you see fit, with browserify, SCSS or whatever else you want.

Have a look at gulpfile.babel.js for what's supplied by default.

Note that the Gulpfile is written in ES2015 - the newest version of JavaScript.