to develop your npm pacakge easily A ready starter setup with all best practices developing your npm packages
git clone https://github.com/innoom/npm-ts-package-starter.git
- Written with TypeScript
- Test : jest with ts-coverage-report
- Lint : Preconfigured with eslint airbnb config, prettier, and preconfigured that that commit can't be done if the code is not good formatted
git add . && git commit -m "commit message"
: to commit the changesnpm run patch
: to run all the stages to deploy the package on npm and git- lint
- format (prettier)
npm run publish
- update the deployment with travis CI (adding script of travis.yml)