修改一些目录结构
This commit is contained in:
10
package.json
10
package.json
@@ -1,10 +1,11 @@
|
||||
{
|
||||
"name": "express-my-admin",
|
||||
"version": "0.0.0",
|
||||
"name": "express-template",
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"repository": "git@git.zcj.plus:zhouchijian/express-my-admin.git",
|
||||
"repository": "git@git.zcj.plus:zhouchijian/express-template.git",
|
||||
"scripts": {
|
||||
"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",
|
||||
"bu": "./build",
|
||||
"start:prod": "cd dist && node ./bin/www",
|
||||
"dev": "nodemon"
|
||||
},
|
||||
@@ -23,6 +24,7 @@
|
||||
"mysql": "^2.18.1",
|
||||
"mysql2": "^2.2.5",
|
||||
"reflect-metadata": "^0.1.13",
|
||||
"shelljs": "^0.8.4",
|
||||
"ts-node": "^10.1.0",
|
||||
"typeorm": "^0.2.34"
|
||||
},
|
||||
@@ -31,8 +33,10 @@
|
||||
"@types/express": "^4.17.12",
|
||||
"@types/http-errors": "^1.8.0",
|
||||
"@types/less-middleware": "^2.0.31",
|
||||
"@types/md5": "^2.3.1",
|
||||
"@types/morgan": "^1.9.2",
|
||||
"@types/node": "^15.12.3",
|
||||
"@types/uuid": "^8.3.1",
|
||||
"@typescript-eslint/eslint-plugin": "^4.27.0",
|
||||
"@typescript-eslint/parser": "^4.27.0",
|
||||
"eslint": "^7.29.0",
|
||||
|
||||
Reference in New Issue
Block a user