unional / clibuilder-testutil

Test Util for clibuilder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

clibuilder-testutil

unstable NPM version NPM downloads Build status Coverage Status

Test util for clibuilder.

I find myself copying the code to all consuming projects so I release it as a separate package.

Deprecation Notice

clibuilder-testutil has been added back to clibuilder. You can access them from 'clibuilder/dist-es5/test-util'

Contribute

# right after clone
npm install

# begin making changes
git checkout -b <branch>
npm run watch

# edit `webpack.config.es5.js` and `rollup.config.es2015.js` to exclude dependencies for the bundle if needed

# after making change(s)
git commit -m "<commit message>"
git push

# create PR

Npm Commands

There are a few useful commands you can use during development.

# Run tests (and lint) automatically whenever you save a file.
npm run watch

# Run tests with coverage stats (but won't fail you if coverage does not meet criteria)
npm run test

# Manually verify the project.
# This will be ran during 'npm preversion' so you normally don't need to run this yourself.
npm run verify

# Build the project.
# You normally don't need to do this.
npm run build

# Run tslint
# You normally don't need to do this as `npm run watch` and `npm version` will automatically run lint for you.
npm run lint

Generated by generator-unional@0.9.1

About

Test Util for clibuilder

License:MIT License


Languages

Language:TypeScript 89.3%Language:JavaScript 5.9%Language:HTML 4.8%