@dizmo/types
Library module.
Usage
Install
npm install @dizmo/types --save
Require
const types = require('@dizmo/types');
Examples
import { Global } from '@dizmo/types'
import { Bundle } from '@dizmo/types'
import { Dizmo } from '@dizmo/types'
import { Storage } from '@dizmo/types'
import { Viewer } from '@dizmo/types'
import { UUID } from '@dizmo/types'
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