1.0.19 • Published 8 years ago
generator-backend-scaffolder v1.0.19
generator-backend-scaffolder
Yeoman backend scaffolder for Node.js modules.
generator-backend-scaffolder will establish the following:
- editor configuration (with editorconfig)
- git (with gitignore)
- linting (with eslint and eslint-config-suddi)
- testing (with mocha)
- doctest (with jsdoctest)
- code coverage (with istanbul and codecov)
- CI (either TravisCI, CircleCI or none)
- dependency management (with David-DM)
- licensing (with generator-license)
npm install -g generator-backend-scaffolderUsage
yo backend-scaffolderOnce run, generator-backend-scaffolder will generate the following file structure:
.
├── test
│ └── options
│ ├── default.opts
│ └── doctest.opts
├── .editorconfig
├── .eslintignore
├── .gitignore
├── .istanbul.yml
├── .travis.yml (if "TravisCI" option is chosen)
├── circle.yml (if "CircleCI" option is chosen)
├── README.md
└── package.jsonNo dependencies will be installed, the following devDependencies will be installed:
- eslint
- eslint-config-suddi
- husky (for pre-push hooks)
- istanbul
- jsdoctest
- mocha
- nsp (for security checks)
- ntl (for an interactive CLI for
npm tasks)
Additionally, the following npm tasks will also be setup and can be triggered as follows:
npm run check-coverage- Ensure code coverage meets code coverage standards mentioned in
.istanbul.yml
- Ensure code coverage meets code coverage standards mentioned in
npm run coverage- Run
mochatests withistanbulcode coverage generated
- Run
npm run doctest- Run
jsdoctesttests withmocha, no code coverage will be generated
- Run
npm run lint- Run
eslintlinter on project
- Run
npm run prepush- Run git pre-push hook, will be run automatically when pushing to remote repository
npm run security-check- Run a security check using the
Node Security (nsp)module
- Run a security check using the
npm start- Run
Node Task List (ntl)module to create interactive menu fornpm tasks
- Run
npm test- Run a compiled list of tests
1.0.19
8 years ago
1.0.18
8 years ago
1.0.17
9 years ago
1.0.16
9 years ago
1.0.15
9 years ago
1.0.14
9 years ago
1.0.13
9 years ago
1.0.12
9 years ago
1.0.11
9 years ago
1.0.10
9 years ago
1.0.9
9 years ago
1.0.8
9 years ago
1.0.7
9 years ago
1.0.6
9 years ago
1.0.5
9 years ago
1.0.4
9 years ago
1.0.3
9 years ago
1.0.2
9 years ago
1.0.1
9 years ago
1.0.0
9 years ago