Skip to content

Instantly share code, notes, and snippets.

@jonmagic
Created May 17, 2025 18:26
Show Gist options
  • Save jonmagic/fffff5be28d907b9c775e36193a62d3a to your computer and use it in GitHub Desktop.
Save jonmagic/fffff5be28d907b9c775e36193a62d3a to your computer and use it in GitHub Desktop.
// package.json
{
"name": "<project-name>",
"version": "1.0.0",
"author": "Jonathan Hoyt <[email protected]>",
"license": "ISC",
"type": "module",
"scripts": {
"dev": "tsx watch src/index.ts",
"start": "tsx src/index.ts"
},
"devDependencies": {
"tsx": "^4.0.0",
"typescript": "^5.0.0"
}
}
// tsconfig.json
{
"compilerOptions": {
"module": "NodeNext",
"moduleResolution": "NodeNext",
"target": "ES2022",
"lib": ["ES2022"],
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"isolatedModules": true,
"noEmit": true
},
"include": ["src"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment