A barebones file structure for creating a npm package in TypeScript.
- eslint
- jest for testing
- A GitHub workflow file for continuous testing and npm publishing
- semantic-release for a fully automated release (using semantic versioning)
- prettier, husky, lint-staged for automatic formatting and linting
npm startfor startingsrc/index.ts(might want to remove this andts-nodedepending on package)npm run testfor jest testingnpm run test:watchfor watching files using jestnpm run buildfor building TypeScripts tolibfoldernpm run lintrunseslintnpm run formatrunsprettier
This project is licensed with the MIT license