@micro-fleet/common-browser
v2.4.0-rc5
Published
Contains helpers, models and constants for Frontend.
Readme
Micro Fleet - Backend Common library for Frontend on Browser
Belongs to Micro Fleet framework, contains helpers, models and constants for Frontend.
INSTALLATION
- Stable version:
npm i @micro-fleet/common-browser - Edge (development) version:
npm i [email protected]:gennovative/micro-fleet-common-browser.git
DEVELOPMENT
- Install packages in
peerDependenciessection with commandnpm i --no-save {package name}@{version}. Or if you want to use directly neighbor packages, excutenpm run linkPackages. npm run buildto transpile TypeScript then run unit tests (if any) (equiv.npm run compile+npm run test(if any)).npm run compile: To transpile TypeScript into JavaScript.npm run watch: To transpile without running unit tests, then watch for changes in *.ts files and re-transpile on save.npm run test: To run unit tests.- After tests finish, open file
/coverage/index.htmlwith a web browser to see the code coverage report which is mapped to TypeScript code.
- After tests finish, open file
RELEASE
npm run release: To transpile and createapp.d.tsdefinition file.- Note: Please commit transpiled code in folder
distand definition fileapp.d.tsrelevant to the TypeScript version.
