30 lines
819 B
JSON
30 lines
819 B
JSON
{
|
|
"name": "template",
|
|
"version": "0.0.0",
|
|
"description": "Template for typescript express API",
|
|
"main": "src/app.ts",
|
|
"scripts": {
|
|
"tsc": "tsc",
|
|
"dev": "ts-node-dev --respawn --transpileOnly ./src/app.ts",
|
|
"prod": "tsc && node ./dist/app.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://rdarius@bitbucket.org:rdarius/typescript-express-api-template.git"
|
|
},
|
|
"author": "Darius Rapalis",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"cors": "^2.8.5",
|
|
"express": "^4.17.1",
|
|
"mongoose": "^5.10.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/cors": "^2.8.7",
|
|
"@types/express": "^4.17.0",
|
|
"@types/mongoose": "^5.7.36",
|
|
"ts-node-dev": "^1.0.0-pre.40",
|
|
"typescript": "^3.5.3"
|
|
}
|
|
}
|