kuna-my-package
v1.0.0
Published
Sum two numbers.
Readme
volevol-npm-package
Simple node package with useful dependencies.
- typescript (+tsconfig)
- jest
- eslint + ts-jest
- prettier
Installation
Install the dependencies and devDependencies and start the server.
npm installor shorter
npm iThen run test script which will run jest tests for custom sum.js file.
npm run testYou can run test with jest --coverage=true via
npm run test-coverageYou can edit your code with prettier by running
npm run prettier-formatYou can check your code with Eslint by running
npm run lint