npx typescript-scaffold
Node.js CLI for generating an opinionated TypeScript setup for a range of frameworks.
Supports:
- Node
- React
- Next
- Electron
- Npx package
It automatically configures TypeScript, ESLint, Prettier, providing a tsconfig.json
with tsconfig-paths
configured out of the box.
npx
package creation is made available too with the ability to create a TypeScript npx
package complete with formatting, linting, building and publishing with just one command.
Suitable for use in an empty project or one that has already been configured.
git clone https://github.com/barclayd/tsconfig-generator.git
cd typesript-scaffold
npm i
npm run dev
npm build
npm run npx-publish
- Provide custom configurations for React and Next.js
- Support React Native