Last active
December 8, 2021 07:42
-
-
Save OldBigBuddha/b46c70e6d1c52e13cd2e63961a5c7c0e to your computer and use it in GitHub Desktop.
Config Files for Nodejs Project
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
| root = true | |
| [*] | |
| indent_style = space | |
| indent_size = 2 | |
| end_of_line = lf | |
| charset = utf-8 | |
| trim_trailing_whitespace = true | |
| insert_final_newline = false | |
| [*.md] | |
| max_line_length = 0 | |
| trim_trailing_whitespace = false |
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
| # shrinkwrap、outdated、updateコマンドを実行するときにdevを含めるようにしてくれる。 | |
| also=dev | |
| # 自動的に --save-exact を付けてくれる。 | |
| save-exact=true | |
| # npm installするときに出てくるprogressバーを抑止出来る。 | |
| progress=false | |
| # install対象のpackageのpackage.jsonのenginesを見て、Node.jsのバージョンが合致しなかった場合はnpm installを失敗扱いにしてくれる。 | |
| engine-strict=true |
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
| { | |
| "schema": "http://json.schemastore.org/prettierrc", | |
| "tabWidth": 2, | |
| "semi": true, | |
| "singleQuote": false, | |
| "printWidth": 120, | |
| "arrowParens": "always" | |
| } |
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
Show hidden characters
| { | |
| "schema": "https://json.schemastore.org/tsconfig", | |
| "extends": "@tsconfig/node16/tsconfig.json", | |
| "compilerOptions": { | |
| "baseUrl": ".", | |
| "paths": { | |
| "*": ["src/*"] | |
| }, | |
| "types": ["node"] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment