Analytics extensions
This library share utilities to collect stats and integrate external analytics tools
Installation:
Installing dependencies
npm install
Build production library files
npm run build
* Build task build one type of library entrypoints (no web case) :
##Requirements
##Development
Running dev server in standalone mode
npm run start
Running dev mode through bundler in other project.
Project should be linked by npm.
npm run build:dev
* build dev emmits files into dist/esm/offers-gallery without CSS / files compilation, it is determined by webpack condition on compilation mode
Running tests
npm run test
####Codestyle
We are in consonance with standardjs.
Validation codestyle:
npm run codestyle-check-typescript
Automatic fix:
npm run codestyle-typescript-fix
##Compilation summary
| npm run build:dev (imported as esm in higher bundler) | npm run build (production build) |
---|
key dist files | none | dist/esm/offer-state.js |
files extraction | no | yes |