Skip to content

Arnesfield/template.ts

Repository files navigation

template.ts

TypeScript template repository.


Run initial setup:

npm init

Install dependencies:

npm install --save-dev \
  @rollup/plugin-eslint @rollup/plugin-typescript @types/node \
  @typescript-eslint/eslint-plugin @typescript-eslint/parser \
  concurrently eslint prettier rimraf rollup rollup-plugin-cleanup \
  rollup-plugin-dts rollup-plugin-esbuild rollup-plugin-output-size \
  tslib typescript

Install testing dependencies:

npm install --save-dev @types/chai @types/mocha @types/sinon chai mocha sinon tsx

Finally, sort package.json with sort-package-json:

sort-package-json