1.0.1 • Published 7 years ago
@micro-fleet/oauth v1.0.1
Micro Fleet - OAuth library
Belongs to Micro Fleet framework, provides helpers for authentication and authorization.
See more examples and usage guide in unit test.
INSTALLATION
- Stable version:
npm i @micro-fleet/oauth - Edge (development) version:
npm i git@github.com:gennovative/micro-fleet-oauth.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.
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.