@dizmo/viewercore-base.js
v2.0.5
Published
ViewerCore base interface
Downloads
10
Readme
@dizmo/viewercore-base.js
ViewerCoreBase interface declarations, containing only those functions required by @dizmo/dizmo.js. Custom extensions for ViewerCore[Mock], ViewerCore[Desk] and ViewerCore[Web] should be declared (and implemented) in the corresponding repositories by extending this interface!
Usage
Installation
npm install [email protected]:dizmo/ViewerCoreBase.git#semver:2 --save-devImport
import { ViewerCoreBase } from '@dizmo/viewercore-base.js';Example(s)
interface ViewerCore extends ViewerCoreBase { ... }Development
Clean
npm run cleanBuild
npm run buildwithout linting and cleaning:
npm run -- build --no-lint --no-cleanwith UMD bundling (incl. minimization):
npm run -- build --prepackwith UMD bundling (excl. minimization):
npm run -- build --prepack --no-minifyLint
npm run lintwith auto-fixing:
npm run -- lint --fixTest
npm run testwithout linting, cleaning and (re-)building:
npm run -- test --no-lint --no-clean --no-buildCover
npm run coverwithout linting, cleaning and (re-)building:
npm run -- cover --no-lint --no-clean --no-buildDocumentation
npm run docsPublication
npm publishinitially (if public):
npm publish --access=publicCopyright
© dizmo AG, Switzerland
