Wondering what’s next for npm?Check out our public roadmap! »

@dizmo/generator-module

2.4.18 • Public • Published

NPM version Build Status

@dizmo/generator-module

Generator for Node.js JavaScript, TypeScript and CoffeeScript modules

Generates NPM compatible module projects that can be published, installed and even upgraded. The supported development steps are cleaning, linting, building (including bundling) and testing (including coverage statistics).

Prerequisites

Installation

npm install -g yo
npm install -g @dizmo/generator-module

Help

yo @dizmo/module --help

Generation

yo @dizmo/module [--git] [--typescript|--coffeescript]

Upgrade

yo @dizmo/module --upgrade

Development

Clean

npm run clean

Build

npm run build

without linting and cleaning:

npm run -- build --no-lint --no-clean

with UMD bundling (incl. minimization):

npm run -- build --prepack

with UMD bundling (excl. minimization):

npm run -- build --prepack --no-minify

Lint

npm run lint

with auto-fixing:

npm run -- lint --fix

Test

npm run test

without linting, cleaning and (re-)building:

npm run -- test --no-lint --no-clean --no-build

Cover

npm run cover

without linting, cleaning and (re-)building:

npm run -- cover --no-lint --no-clean --no-build

Documentation

npm run docs

Publication

npm publish

initially (if public):

npm publish --access=public

Copyright

© dizmo AG, Switzerland

Install

npm i @dizmo/generator-module

DownloadsWeekly Downloads

556

Version

2.4.18

License

ISC

Unpacked Size

49.8 kB

Total Files

41

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar