A simple NPM package banking application in Typescript language.
To run, use:
npm start # or yarn start
This 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
Code quality is set up with prettier
, husky
, and lint-staged
. Adjust the respective fields in package.json
accordingly.
Jest tests are set up to run with npm test
or yarn test
.
size-limit
is set up to calculate the real cost of the library with npm run size
and visualize the bundle with npm run analyze
.
main
installs deps w/ cache, lints, tests, and builds on all pushes against a Node and OS matrixsize
comments cost comparison of the library on every pull request usingsize-limit