A gulp.js generator for modern webapps
Yeoman generator that scaffolds out a front-end web app using gulp for the build process
🚧 There is a pre-release version of this generator, you can install it by running
npm install --global [email protected]. Help us make it stable by reporting bugs! 🚧
Please see our gulpfile for up to date information on what we support.
For more information on what this generator can do for you, take a look at the gulp plugins used in our
package.json.
Keep in mind that libsass is feature-wise not fully compatible with Ruby Sass. Check out this curated list of incompatibilities to find out which features are missing.
If your favorite feature is missing and you really need Ruby Sass, you can always switch to gulp-ruby-sass and update the
stylestask in gulpfile accordingly.
npm install --global yo gulp-cli generator-webapp
yo webappto scaffold your webapp
npm startto preview and watch for changes
npm start -- --port=8080to preview and watch for changes in port
8080
npm install --saveto install dependencies, frontend included
npm run serve:testto run the tests in the browser
npm run serve:test -- --port=8085to run the tests in the browser in port
8085
npm run buildto build your webapp for production
npm run serve:distto preview the production build
npm run serve:dist -- --port=5000to preview the production build in port
5000
--skip-welcome-messageSkips Yeoman's greeting before displaying options.
--skip-install-messageSkips the the message displayed after scaffolding has finished and before the dependencies are being installed.
--skip-installDoesn't automatically install dependencies after scaffolding has finished.
--test-framework=Either
mochaor
jasmine. Defaults to
mocha.
See the contributing docs.
Love Yeoman work and community? Help us keep it alive by donating funds to cover project expenses!
[Become a sponsor]