grunt-backbonebuilder
v0.1.4 gruntplugin backbone custom browser
grunt-backbonebuilder
Build your custom backbone experience with grunt.
Getting Started
Install this grunt plugin next to your project's [grunt.js gruntfile][getting_started] with: npm install grunt-backbonebuilder
Then add this line to your project's grunt.js
gruntfile.
grunt.loadNpmTasks('grunt-backbonebuilder');
Resources
Documentation
Load the grunt-backbonebuilder task as described in 'Getting started' and add your backbone builder configuration to your grunt file:
Example backbonebuilder grunt file config entry:
// ... grunt file contents
backbone: {
// the parts you want to include in your build
// possible values ['Model', 'Collection', 'View', 'Events', 'Router']
include: ['Model', 'Collection', 'View', 'Events'],
// output location (relative to your grunt.js file location)
dest: 'build/backbone.custom.js',
// if you want to use a different backbone version than the build in one (0.9.2)
// then just a reference to your UNMINIFIED backbone version
src: 'vendor/mySpecialBackboneVersion.js'
},
// ... even more grunt file contents
Release History
0.1.0
- Initial Release
License
Copyright (c) 2012 asciidisco Licensed under the MIT license.
npm i grunt-backbonebuilder
Metadata
- Unknown
- >=0.8.0
- asciidisco
- released 12/12/2012