@pagueveloz/print
v1.0.3
Published
A simple NPM package to pattern PagueVeloz reports.
Downloads
6
Readme
@pagueveloz/print
Getting started
1. Install dependencies
- Run
yarn install
to install the library's dependencies.
2. Build for development
- Having all the dependencies installed run
yarn dev
. This command will generate aUMD
unminified bundle under thedist
folder and aCommonJS
bundle under thelib
folder. It will also watch for changes in source files to recompile.
3. Build for production
- Having all the dependencies installed run
yarn build
. This command will generate twoUMD
bundles (unminified and minified) under thedist
folder and aCommonJS
bundle under thelib
folder.
Scripts
yarn build
- Produces production version of library underdist
folder for UMD bundle andlib
folder forCommonJS
bundle.yarn build:umd
- Produces an unminified UMD bundle under thedist
folder.yarn build:umdmin
- Produces an minified UMD bundle under thedist
folder.yarn build:commonjs
- Produces a CommonJS bundle under thelib
folder.yarn dev
- Produces a development version of library (both UMD and CommonJS) and runs a watcher to watch for changes.yarn dev:umd
- Produces an unminified UMD bundle under thedist
folder and runs a watcher to watch for changes.yarn dev:commonjs
- Produces a CommonJS bundle under thelib
folder and runs a watcher to watch for changes.yarn test
- Runs the tests.yarn coverage
- Runs the tests and provides with test coverage information.yarn lint
- Lints the source code with ESlint.yarn clean
- Deletesdist
,lib
andcoverage
folders.yarn prepare
- Run both BEFORE the package is packed and published, on local npm install without any arguments, and when installing git dependencies.