TypeScript starter template for creating a Node.js package.
It uses TypeScript compiler to build modules and compiles the entire package into a single file.
- Use this template
- Change
author
,repository
andhomepage
inpackage.json
. - Install dev dependencies with
npm i
Run the compiler in watch mode:
npm run dev
Build the project:
npm run build
Run tests:
npm run test
Prepare before publishing:
npm run prepare
Adjust settings in tsconfig.json
, .prettierrc
, .eslintrc.json
for your preferences.