Joshua's Cheatsheets - Quick Initializing and Scaffolding Cheatsheet
Light
help

Although I have many cheatsheets covering specifics of some of the below stacks (E.g. TypeScript), I wanted a single cheatsheet that covers quick init methods that you might need when setting up a project. This is that cheatsheet.

Scaffolding in General

  • Ultimate project scaffolder: Yeoman (aka yo)
  • Scratchpad-Playgrounds - Collection of prebuilt workspaces and online sandboxes so you can quickly try out different languages and frameworks!

Web Stack

  • package.json / dependencies

    • Create package.json (use -y for no questions)

      • Yarn: yarn init -y
      • NPM: npm init -y
  • TypeScript

    • Create config and init: npx tsc --init
  • Prettiers / formatters

    • TSLint: tslint --init

      • (remember, eslint is now recommended over tslint)
    • ESLint: npx eslint --init
    • Prettier

      • There is no built-in tool - see config file docs
      • You can use prettier-init module: npx prettier-init
    • XO

      • npm init xo

Version Control

  • Git: git init

IDEs

  • VSCode

    • mkdir .vscode
    • Local settings

      • touch .vscode/settings.json
    • Debug / commands / etc

      • touch .vscode/launch.json
Markdown Source Last Updated:
Wed Mar 11 2020 17:28:22 GMT+0000 (Coordinated Universal Time)
Markdown Source Created:
Sun Feb 23 2020 05:41:34 GMT+0000 (Coordinated Universal Time)
© 2020 Joshua Tzucker, Built with Gatsby