2021-06-19 09:55:58 +00:00
|
|
|
{
|
2021-08-16 14:29:43 +00:00
|
|
|
"name": "express-template",
|
|
|
|
"version": "0.0.1",
|
2021-06-19 09:55:58 +00:00
|
|
|
"private": true,
|
2021-08-16 14:29:43 +00:00
|
|
|
"repository": "git@git.zcj.plus:zhouchijian/express-template.git",
|
2021-06-19 09:55:58 +00:00
|
|
|
"scripts": {
|
2021-07-23 13:34:47 +00:00
|
|
|
"build": "rm -rf dist && tsc && cp .env dist/.env && cp ormconfig.json dist/ormconfig.json && cp -r bin dist/bin && cp -r views ./dist/views",
|
2021-08-16 14:29:43 +00:00
|
|
|
"bu": "./build",
|
2021-07-23 13:34:47 +00:00
|
|
|
"start:prod": "cd dist && node ./bin/www",
|
2021-06-19 09:55:58 +00:00
|
|
|
"dev": "nodemon"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"class-transformer": "^0.4.0",
|
|
|
|
"class-validator": "^0.13.1",
|
|
|
|
"cookie-parser": "~1.4.4",
|
|
|
|
"debug": "~2.6.9",
|
|
|
|
"dotenv": "^10.0.0",
|
|
|
|
"es6-shim": "^0.35.6",
|
|
|
|
"express": "~4.16.1",
|
|
|
|
"hjs": "~0.0.6",
|
|
|
|
"http-errors": "~1.6.3",
|
|
|
|
"less-middleware": "~2.2.1",
|
|
|
|
"morgan": "~1.9.1",
|
|
|
|
"mysql": "^2.18.1",
|
|
|
|
"mysql2": "^2.2.5",
|
|
|
|
"reflect-metadata": "^0.1.13",
|
2021-08-16 14:29:43 +00:00
|
|
|
"shelljs": "^0.8.4",
|
2021-07-23 13:34:47 +00:00
|
|
|
"ts-node": "^10.1.0",
|
2021-06-19 09:55:58 +00:00
|
|
|
"typeorm": "^0.2.34"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/cookie-parser": "^1.4.2",
|
|
|
|
"@types/express": "^4.17.12",
|
|
|
|
"@types/http-errors": "^1.8.0",
|
|
|
|
"@types/less-middleware": "^2.0.31",
|
2021-08-16 14:29:43 +00:00
|
|
|
"@types/md5": "^2.3.1",
|
2021-06-19 09:55:58 +00:00
|
|
|
"@types/morgan": "^1.9.2",
|
|
|
|
"@types/node": "^15.12.3",
|
2021-08-16 14:29:43 +00:00
|
|
|
"@types/uuid": "^8.3.1",
|
2021-06-19 09:55:58 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.27.0",
|
|
|
|
"@typescript-eslint/parser": "^4.27.0",
|
|
|
|
"eslint": "^7.29.0",
|
|
|
|
"nodemon": "^2.0.7",
|
|
|
|
"typescript": "^4.3.4"
|
|
|
|
}
|
|
|
|
}
|