npm-module-init

1.3.3 • Public • Published

npm-module-init

npm version Build Status

Opinionated npm module scaffolding using jest, standard, commitizen and semantic-release.

Getting started


// use as a global dependency
$ npm install npm-module-init -g
$ npm-module-init my-npm-module

// or use without installing
$ npx npm-module-init my-npm-module

Project Structure

This will generate the following project structure.

|-- my-npm-module
  |-- .editorconfig
  |-- .gitignore
  |-- .travis.yml
  |-- index.js
  |-- index.spec.js
  |-- LICENCE.md
  |-- package.json
  |-- README.md

Usage

Commit your changes.

npm run commit

Run tests.

npm t

Publish a release

Creating a release version and publishing it to the npm registry is handled by semantic-release. This is then triggered when travis build was successful. So ensure that travis is able to publish to npm.

Readme

Keywords

Package Sidebar

Install

npm i npm-module-init

Weekly Downloads

8

Version

1.3.3

License

none

Unpacked Size

9.54 kB

Total Files

13

Last publish

Collaborators

  • herrmannplatz