@jsfsi-core/typescript-nodejs
v0.0.6
Published
Typescript libraries for nodejs to support jsfsi developments
Downloads
2
Readme
JSFSI Core Typescript NodeJS
Typescript libraries for NodeJS for jsfsi developments
Usage
npm install @jsfsi-core/typescript-nodejs
Requirements
Visual Studio Code latest
NodeJS 16.3.0
NodeJS Installation
- MAC OS X
brew install node
sudo npm install -g n
sudo n 16.3.0
Setup project
npm run setup
npm run build
Build
npm run build
Lint
npm run lint
Add dependencies
# Development dependency
npm install --save-dev <package_name>
# Production dependency
npm install --save-dev <package_name>
Include as a dependency in your project
npm install --save ssh://[email protected]:joaosousafranco/jsfsi-core-typescript-nodejs.git
Generate JWT Key
docker run -it ubuntu bash
apt-get update
apt-get install keychain openssl -y
ssh-keygen -t rsa -b 4096 -f jwt.key && openssl rsa -in jwt.key -pubout -outform PEM -out jwt.key.pub
cat jwt.key | base64 --wrap=0 && echo "" && echo "" && cat jwt.key.pub | base64 --wrap=0 && echo "" && echo "" && cat jwt.key.pub
Publish to npm
npm login
npm run build
git tag <semantic version>
git push origin <semantic version>
npm publish --access public