yarn build
We are using Prettier and TsLint!
yarn lint yarn format
In the src
folder, we have folder called __tests__
.
Add a new file with a name you like, but it has to end with test.ts
, for example FBCrypto.test.ts
Run tests:
yarn test
Let’s bump a new patch version of the package:
npm version patch
Our preversion
, version
, and postversion
will run, create a new tag in git and push it to our remote repository. Now publish:
npm publish --access=public
And now you have a new version.