Yeoman generator that scaffolds out a kd.js web project for kd.js framework that we built Koding with it.
- (new) Auto created tests with Mocha and Puppeteer
- (new) Serving kd.js with vendoring from a separate file
- (new) File watcher for coffee, stylus and test suite changes
- (new) Support for re-create generated files w/ Yeoman 2.0
- (new) Npm helper scripts covers gulp tasks ~no need to install global gulp
- Built-in preview server with Browsersync
- Automagically compile Coffeescript
- Automagically compile Stylus
- Sourcemap support for coffee files
- Production support which uglifies and minifies exported files
For more information on what generator-kd.js
can do for you, take a look at the Gulp tasks used in our package.json
.
$ npm install -g yo generator-kd.js # install kd generator and yeoman
$ mkdir awesome-project; cd $_ # create a new project dir, enter it
$ yo kd.js # generates the project and runs `npm install`
$ npm start # for building and preview
# if not opens automagically visit
# [localhost:9000](http://localhost:9000)