Last active
July 16, 2022 12:48
-
-
Save BananaAcid/fc8a2f6299ba7ab75988525a6a4dc599 to your computer and use it in GitHub Desktop.
npm: init typescript project
This file contains 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
mkdir app | |
cd app | |
npm init -y | |
npm i -D typescript | |
npm i ts-node | |
node_modules/.bin/tsc --init | |
touch index.ts | |
# package.json -> | |
# "start": "node_modules/.bin/ts-node index.ts", | |
# "start:fallback": "node --loader ts-node/esm --inspect ./index.ts", | |
# tsconfig -> | |
# https://www.npmjs.com/package/ts-node -> "Via tsconfig.json (recommended)" | |
# ... add ts-node config block | |
# propfind problem // issue | |
# https://github.com/OpenMarshal/npm-WebDAV-Server/issues/84#issuecomment-685274802 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment