1.0.0 • Published 4 years ago
@sport-activities/sport-adviser-sdk v1.0.0
sport-adviser-sdk
Basics
Init project
npm i
Run the project with live reload
npm run dev
npm run dev:bundle
Run linter
npm run lint
Run unit tests
npm run test
npm run test:cov
Build
The build system outputs 3 formats :
- CommonJS module (+
.d.ts
files) - ES6 module (+
.d.ts
files) - UMD bundle (browser single file)
To build all outputs (production ready)
npm run build
You could also build only one output
npm run build:commonjs
npm run build:esm
npm run build:bundle