0.1.5 • Published 11 years ago
generator-mariongulpreactify v0.1.5
Mariongulpreactify Generator
Features
- Require() modules with Browserify
- Watchify for super fast browserify rebuilds
- Gulp tasks
- Built-in static server with BrowserSync
- compiles CoffeeScript
- compile Less or CSS
- image optimization
- Shim browser dependencies with browserify-shim
- Error Notifications in Notification Center
Tooling
This generator relies on the following technologies:
- Node.js
- Yeoman
- Bower
- Gulp
- BrowserSync
- Less
- Browserify
- Karma
- Handlebars
- React | Workflow integration coming soon!
Run the generator
- Install: npm install -g generator-mariongulpreactify
- Run:
yo mariongulpreactify
Inside your new app
If you've never used Node or npm before, you'll need to install Node. If you use homebrew, do:
brew install nodeOtherwise, you can download and install from here.
Install Gulp Globally
Gulp must be installed globally in order to use the command line tools.
npm install -g gulpInstall npm dependencies
npm installThis runs through all dependencies listed in package.json and downloads them
to a node_modules folder in your project directory.
Install bower dependencies
bower installRun gulp
gulpRun gulp with Tests / Coverage Reports
Make sure you've required all your tests in 'test/runner.coffee'. In a new window, you can run.
gulp testTODO: make this run automatically whenever changes occur in src and client code.
##Sources
- http://viget.com/extend/gulp-browserify-starter-faq
- https://github.com/Ehesp/Responsive-Dashboard
- https://github.com/jgoux/generator-angulpify
- https://github.com/davidsulc/marionette-serious-progression-app
- https://github.com/davidsulc/backbone.marionette-atinux-books
- https://github.com/JSteunou/marionetteify