Skip to content

Instantly share code, notes, and snippets.

@noam-honig
Created October 20, 2021 10:49
Show Gist options
  • Save noam-honig/b612ddd048b6533a32e901294ced352d to your computer and use it in GitHub Desktop.
Save noam-honig/b612ddd048b6533a32e901294ced352d to your computer and use it in GitHub Desktop.
Basic typescript express sttartup project
# See http://help.github.com/ignore-files/ for more about ignoring files.
# compiled output
/dist
/tmp
/out-tsc
# Only exists if Bazel was run
/bazel-out
# dependencies
/node_modules
# profiling files
chrome-profiler-events*.json
# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace
# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.history/*
# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
yarn-error.log
testem.log
/typings
# System Files
.DS_Store
Thumbs.db
{
"name": "whatever",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev-node": "ts-node-dev src/server/"
},
"author": "",
"license": "ISC",
"dependencies": {
"express": "^4.17.1",
"typescript": "^4.4.4"
},
"devDependencies": {
"@types/express": "^4.17.13",
"ts-node-dev": "^1.1.8"
}
}
/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/server",
"module": "commonjs",
"emitDecoratorMetadata": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"sourceMap": true,
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"moduleResolution": "node",
"importHelpers": true,
"target": "es2017",
"lib": [
"es2018",
"dom"
]
},
"include": [
"src/server/index.ts"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment