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 start
for startingsrc/index.ts
(might want to remove this andts-node
depending on package)npm run test
for jest testingnpm run test:watch
for watching files using jestnpm run build
for building TypeScripts tolib
foldernpm run lint
runseslint
npm run format
runsprettier
This project is licensed with the MIT license