The package.json scripts section should look like:"scripts" : { "build": "tsc", "prestart": "npm run build", "start": "node out/index.js", ... }My tsconfig.json is looking like this:{ "compilerOptions": { "outDir": "./out", "rootDir": "./src", "sourceMap"