Bleyt
Core Ts
Overview
Core ts is a library that contains common functionalities required by all nestjs services. Would be published and consumed via NPM.
Supported Platforms
Installation
$ npm i @bleyt-hq-pay/core-ts
Usage
import { sample } from '@bleyt-hq-pay/core-ts';
...
sample()
...
Development
-
npm start
builds to /dist
and runs the project in watch mode so any edits you save inside src
causes a rebuild to /dist
.
-
To do a one-off build, use npm run build
or yarn build
.
-
To run tests, use npm test
or yarn test
.
Publish
$ npm run package
$ cd dist/libs/core-ts
$ npm publish --access public