@dizmo/types-bundle
Library module.
Usage
Install
npm install @dizmo/types-bundle --save-dev
Require
const { Bundle } = require('@dizmo/types-bundle');
Examples
import Bundle from '@dizmo/types-bundle'
declare const bundle: Bundle;
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
Publish
npm publish
initially (if public):
npm publish --access=public
Copyright
© 2019 dizmo AG, Switzerland