Experimental project structure focusing on simplicity by utilizing node.js and feature driven development.
Documentation generated by Markdox via gulp-markdox
npm install slush -g
npm install slush-davinci -g
slush davinci
The default generator. It generates everything in generators/base
.
slush davinci
# Requested User Input
# appName: Name of application to be used in package.json and other generated files.
# appDescription: Description of application to be used in package.json and other generated files.
# appVersion: Semantic Version number of generated application.
# authorName:
# authorEmail:
# userName: GitHub username.
# moveon: Confirms generator configuration values and starts generation if `true`.
/appName
|--.gitignore
|--index.html
|--README.md
It is not necessary to have gulp
installed globally. Use
npm run task -- [taskname] #space is necessary between -- and [taskname]
Otherwise use gulp as normal.
gulp [taskname]
Generate documentation. This task searches all js files for inline documentation and generates markdown. It then concatenates the markdown to the end of PREFACE.md
and finally
writes that to README.md
.
npm run task -- docs
# or if you have gulp installed globally
gulp docs
See: Markdox#Quickstart
Starts tests. Mocha is the testing framework used with Chai assertion library.
npm test
# which is just an alias for
npm run task -- test
# or if you have gulp installed globally
gulp test