33 lines
1.0 KiB
JSON
33 lines
1.0 KiB
JSON
{
|
|
"name": "express-ts",
|
|
"version": "1.0.0",
|
|
"main": "main.ts",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@vercel/ncc": "^0.38.1",
|
|
"express": "^4.18.2",
|
|
"express-jwt": "^8.4.1",
|
|
"morgan": "^1.10.0",
|
|
"mysql2": "^3.6.2",
|
|
"path": "^0.12.7",
|
|
"reflect-metadata": "^0.1.13",
|
|
"typeorm": "0.3.17"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^4.17.20",
|
|
"@types/morgan": "^1.9.7",
|
|
"@types/node": "^16.11.10",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "4.5.2"
|
|
},
|
|
"scripts": {
|
|
"start": "ts-node main.ts",
|
|
"typeorm": "typeorm-ts-node-commonjs",
|
|
"migrate": "typeorm-ts-node-commonjs migration:run -d src/config/typeorm.ts",
|
|
"migrate:rollback": "typeorm-ts-node-commonjs migration:revert -d src/config/typeorm.ts",
|
|
"make:migration": "typeorm-ts-node-commonjs migration:create",
|
|
"migration:fresh": "typeorm-ts-node-commonjs schema:drop -d src/config/typeorm.ts",
|
|
"build": "ncc build main.ts -o dist"
|
|
}
|
|
}
|