A sample TypeScript project for you to copy and adjust. This was originally going to be some instructions but theres too many files and moving parts so make a git repository instead.
- TypeScript/ES6
- Source code in
/src
, test code in/test
- typescript-eslint
- Logging
- dotenv
- Example .ts source file
- Example vitest testcase
Just adjust the details package.json
and your in business.
npm run
test
- vitestlint
- eslintbuild
- test and transpiledev
- run build, then the app on command line
eg:
npm run test
TLDR:
npm publish ...