Skip to content

Instantly share code, notes, and snippets.

@droidMakk
Last active March 26, 2019 19:40
Show Gist options
  • Save droidMakk/40ac7b3782484cd5de1a61ce3eb54a12 to your computer and use it in GitHub Desktop.
Save droidMakk/40ac7b3782484cd5de1a61ce3eb54a12 to your computer and use it in GitHub Desktop.
Babel Typescript Express
{
"scripts": {
"build": "babel ./src --out-dir build --extensions \".ts\"",
"serve": "nodemon build/index.js",
"type-check": "tsc --noEmit",
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"express": "^4.16.4"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.4.0",
"@babel/node": "^7.2.2",
"@babel/preset-env": "^7.4.2",
"@babel/preset-typescript": "^7.3.3",
"@types/express": "^4.16.1",
"nodemon": "^1.18.10"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment