Skip to content

Bootstrap your plain TypeScript project executing one command

Notifications You must be signed in to change notification settings

egor7orlov/ts-project-bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript project bootstrap

Important!

Only macOS and Linux are supported

If you found yourself in situation where you've just executed npm init command but don't know what to do next with your TypeScript-powered project; or you haven't even done anything yet except created an empty folder for your future revolutionary project — just execute the next command:

sh <(curl -s https://raw.githubusercontent.com/egor7orlov/ts-project-bootstrap/main/prepare_project.sh)

What does this script do?

  • Adds usable TypeScript configs (tsconfig.json and tsconfig.build.json)
  • Adds ESLint and Prettier configs with all messy rules described
  • Installs necessary dev-dependencies (if you didn't execute npm init it will do it for you, so you can run this script even in an empty folder)
  • Creates src/index.ts file and adds start script in package.json

TODO:

  • Add automated Jest configuration
  • Add automated Husky configuration

About

Bootstrap your plain TypeScript project executing one command

Topics

Resources

Stars

Watchers

Forks