1.0.0 • Published 3 years ago
@trafficwatchdog/courier v1.0.0
courier
This plugin is still a work in progress
Description: TBD
Features
TBD
Commands
npm run clean
- Removedist/
directorynpm test
- Run tests with linting and coverage results.npm test:only
- Run tests without linting or coverage.npm test:watch
- Re-run tests on file changes.npm test:prod
- Run tests with minified code.npm run lint
- Run ESlint with airbnb-config.npm run lint:fix
- Run ESlint with airbnb-config and apply fixes.npm run stylelint
- Run Stylelint.npm run stylelint:fix
- Run Stylelint and apply fixes.npm run cover
- Coverage report.npm run build
- Buildsrc
files intodist
folder.npm run prepublish
- Hook for npm. Do all the checks before publishing your module.
Installation
TBD
Compilation
This plugin is modular and features the following modules:
- Chat
- Popup
Only either one of them can be active in the complete version of the Javascript file. The modular file exports all modules, which allows importing only the modules that are required.
To change which module is to be compiled in the complete version:
- Change the imported modules in the
entry/entry-complete.js
file. - Change the imported modules in the
src/assets/scss/courier.core.scss
file. - Run the build command (
npm run build
).
License
MIT © Adam Kocić (Falkan3)
1.0.0
3 years ago