1.5.0 • Published 3 years ago

generator-stfsy-node v1.5.0

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

Node module generator

Build Status Dependency Status DevDependency Status Npm downloads Npm Version Git tag Github issues License

A generator for plain node modules with test, ci, release and documentation workflows

Includes

The generated project comes with:

  • Changelog Configuration
  • Istanbul Code Coverage Configuration
  • JsDoc Gen Configuration
  • JsDoc Push Configuration
  • Mocha Test Configuration
  • Travis CI Configuration

Generates

The generated project has the following the structure:

| lib
|  | index.js 
| test
|  | index.spec.js
| .gitignore
| .jsdoc.json
| .travis.yml
| LICENSE
| README.md
| package.json

Scripts

The generated project is preconfigured with the following scripts:

  • changelog to generate the changelog for the current version
  • coverage to generate the code coverage for a test run
  • docs to generate jsdoc application code
  • push-docs to push generated js doc to gh-pages branch
  • release-patch to release a new patch version to github
    • calls version, test and changelog
  • release-minor to release a new minor version to github
    • calls version, test and changelog
  • release-major to release a new major version to github
    • calls version, test and changelog
  • setup to onetime setup the github repository with an initial tag
  • test to run tests a single time
  • test-watch to watch for file changes and run tests

Installation

npm install generator-stfsy-node -g

Usage

cd <workspace>
mkdir <projectName>
cd <projectName>
yo stfsy-node

Run npm run setup afterwards to setup your git repository with an empty tag. This is needed for the generation of your first changelog.

License

This project is distributed under the MIT license.

1.5.0

3 years ago

1.3.0

4 years ago

1.2.0

5 years ago

1.1.0

6 years ago

1.0.0

7 years ago

0.5.0

7 years ago

0.4.1

7 years ago

0.2.0

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago