npm-package-mrkk
v1.0.0
Published
npm-package-testing stuff created to know how package is developed
Downloads
4
Maintainers
Readme
npm packaging basic template project
- testing library: mocha
- assertion library: chai
- coverage tool: nyc
- language: typescript
- linting: eslint
Steps performed to code the package are
- initialise a npm project using
npm init --y
command - install typescript and intialise a tsconfig file, configure root and out directories
- create a
src/
folder to include all the source files - install necessary test runner(
mocha
andts-mocha
) and assertion (chai
) libraries. - configure tsconfig.json options for rootDir and outDir