Created
December 11, 2019 07:36
-
-
Save arayaryoma/65157541fc889447337a018bf4a17532 to your computer and use it in GitHub Desktop.
Bash script to initialize a Node.js project with TypeScript, eslint and prettier
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
yarn init -y | |
yarn add -D typescript prettier eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-prettier eslint-plugin-prettier | |
curl -slw "\n" https://www.gitignore.io/api/node,macos,windows,linux >> .gitignore | |
tsc --init |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment