This package has been deprecated

Author message:

this project is no longer maintained

nodelib-scaffold

1.0.1 • Public • Published

Nodelib Scaffold

TravisCI Build Status Dependency Status devDependency Status Commitizen friendly semantic-release codecov.io

A simple node module structure to bootstrap your library developement, without any framework. It includes all the tools you need for documentation and testing.

Requirements

You will need Node.js installed.

To make the most out of this scaffold, you will also need to install the semantic release client globally as follow: npm install semantic-release-cli -g. In the root folder run semantic-release-cli setup and follow the instructions.

You can find more about semantic-release here.

Installation

To get the structure run git clone https://github.com/au-re/nodelib-scaffold.git. Install the dependencies by navigating to the root folder and running npm install.

Feel free to modify the structure according to your needs. Do not forget to replace all badges and links in the readme.md and package.json files with the links to your repository and badges.

Documentation

The documentation uses JsDoc and Minami as the template theme. To generate the documentation run npm run generate-doc. You will find the documentation in the folder doc.

Tests

The tests are run using Mocha and Chai. To run the tests simply execute npm test in the root folder. The test coverage is calculated using Istanbul, a coverage report is generated in the folder coverage. The coverage can be uploaded to covercov.

Commits

Semantic release uses a specific format for git commits. This scaffold uses commitizen to guarantee the proper format. To make use of this feature simply run npm run commit instead of git commit.

You can find more about the git commit convention used here.

The tests are automatically run before commiting (to avoid unintentional breaking changes to be tracked) using ghooks.

License

This software is licensed under the ISC license

Readme

Keywords

Package Sidebar

Install

npm i nodelib-scaffold

Weekly Downloads

0

Version

1.0.1

License

ISC

Last publish

Collaborators

  • au-re