Last active
January 20, 2023 16:41
-
-
Save JacobWeisenburger/0d933a09ba149cb31ccf4f6911c7304b to your computer and use it in GitHub Desktop.
ts-node-starter
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
{ | |
"name": "ts-node-starter", | |
"main": "src/index.ts", | |
"author": "Jacob Weisenburger", | |
"type": "module", | |
"scripts": { | |
"start": "node --no-warnings --loader ts-node/esm --es-module-specifier-resolution=node src", | |
"dev": "nodemon", | |
"dev.cmd": "start cmd /k npm run dev" | |
}, | |
"nodemonConfig": { | |
"watch": [ | |
"./" | |
], | |
"ext": "", | |
"exec": "cls && npm start" | |
}, | |
"devDependencies": { | |
"nodemon": "^2.0.15", | |
"ts-node": "^10.7.0" | |
} | |
} |
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
console.log( 'hello world' ) |
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
Show hidden characters
{ | |
"compilerOptions": { | |
"paths": { | |
"@weis-guys/*": [ | |
"../libs/*" | |
] | |
}, | |
"lib": [ | |
"dom", | |
"dom.iterable", | |
"ESNext" | |
], | |
"esModuleInterop": true, | |
"moduleResolution": "Node", | |
"module": "ESNext", | |
"target": "ESNext", | |
"jsx": "preserve", | |
"composite": false, | |
"declaration": true, | |
"declarationMap": true, | |
"forceConsistentCasingInFileNames": true, | |
"inlineSources": false, | |
"isolatedModules": false, | |
"strictNullChecks": true, | |
"noImplicitAny": false, | |
"preserveWatchOutput": true, | |
"skipLibCheck": true, | |
"strict": true, | |
"allowJs": true, | |
"noEmit": true, | |
"incremental": true, | |
"resolveJsonModule": true | |
}, | |
"ts-node": { | |
"transpileOnly": true, | |
"files": true, | |
"experimentalResolver": true | |
}, | |
"include": [ | |
"src" | |
], | |
"exclude": [ | |
"node_modules" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment