1.0.1 • Published 7 years ago

generator-npm-lib v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

Npm Lib, Yeoman Generator

Usage

npm install -g yo generator-npm-lib
yo npm-lib
cd my-project
npm install
npm test

Features

Project Structure

└─ $ tree -I 'node_modules'
.
├── README.md
├── CONTRIBUTING.md
├── package.json
├── src
│   └── index.js                  // <-- start coding here
├── babel
│   └── index.js                  // transpiled from source code
├── config
│   ├── release.json              // release configuration
│   └── watch-filter-config.json
├── coverage
│   ├── coverage.raw.json         // JSON coverage data
│   └── lcov-report
│       └── index.html            // HTML coverage data
└── test
    ├── integration
    ├── support
    │   ├── test-utils.js
    │   └── watch-filter.js
    └── unit
        ├── index.spec.js         // <-- start testing here
        └── test-environment.spec.js

NPM Scripts

  • npm test: Run style enforcer, tests, and code coverage.
  • npm run release: Bump the package.json version, commit, tag, and publish.

Contribution

See CONTRIBUTING.md for contribution details.

1.0.1

7 years ago

1.0.0

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago