@subfuzion/create-typescript-app v0.5.5
create-typescript-app
Get up and running with minimal boilerplate for writing, testing, linting, and formatting TypeScript for Node.js app, and nothing else. There are no other assumptions or opinions about what frameworks you need.
npx @subfuzion/create-typescript-app [path]Note
- If
pathisn't specified, it defaults to the current working directory (.).- The directory under
pathmust be empty.
Details
Configuration boilerplate for jump starting your app development includes:
- TypeScript
- Jest
- Linting and formatting
The linting and formatting tools have been configured to work together:
.editorconfighas format settings that feed into Prettier.eslintrc.jsonuses Prettier for formatting
The generated app includes a number of package scripts for development, including:
dev|dev:notifybuild|build:watchtest|test:watchlint|lint:fix
It is also configured with a pre-commit hook using Husky and
lint-staged.
Notes
To use the latest published version, enter:
npx @subfuzion/create-typescript-app@latest [path]If you want to use the latest version from the GitHub repo, enter:
npx github:subfuzion/create-typescript-app [path]WARNING
Currently under development. This implementation assumes:
- You're running the latest LTS version (or greater) of Node.js (the current implementation might work with earlier versions, but this hasn't been verified).
nodeandnpm(automatically installed with Node.js) are in the path.gitis in your path and user.name and user.email are already configured.- Your system can run a
bashscript (for now).
Source
The source for the generated app is in the @subfuzion/typescript-starter-app repo.
License
Licensed under MIT.