mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-06-27 12:49:22 +08:00
77 lines
1.9 KiB
JSON
77 lines
1.9 KiB
JSON
{
|
|
"name": "magic-admin",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"tags": [
|
|
"orm",
|
|
"typescript",
|
|
"koa"
|
|
],
|
|
"scripts": {
|
|
"dev": "nodemon",
|
|
"lint": "eslint . --ext .js,.ts --fix",
|
|
"test": "jest"
|
|
},
|
|
"_moduleAliases": {
|
|
"@": "dist/src"
|
|
},
|
|
"nodemonConfig": {
|
|
"watch": [
|
|
"src"
|
|
],
|
|
"ext": "ts",
|
|
"env": {
|
|
"NODE_ENV": "development",
|
|
"PORT": 3001
|
|
},
|
|
"exec": "ts-node -r tsconfig-paths/register src/index.ts --files"
|
|
},
|
|
"dependencies": {
|
|
"koa": "^2.7.0",
|
|
"koa-bodyparser": "^4.2.1",
|
|
"koa-router": "^8.0.6",
|
|
"koa-send": "^5.0.1",
|
|
"log4js": "^6.3.0",
|
|
"mysql2": "^2.3.3",
|
|
"reflect-metadata": "^0.1.13",
|
|
"sequelize": "^6.6.2",
|
|
"sequelize-typescript": "^2.1.0",
|
|
"tslib": "^2.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.15.0",
|
|
"@babel/preset-env": "^7.15.0",
|
|
"@babel/preset-typescript": "^7.15.0",
|
|
"@types/axios": "^0.14.0",
|
|
"@types/babel-core": "^6.25.7",
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/jest": "^26.0.24",
|
|
"@types/koa": "^2.0.48",
|
|
"@types/koa-bodyparser": "^4.2.2",
|
|
"@types/koa-router": "^7.0.40",
|
|
"@types/koa-send": "^4.1.3",
|
|
"@types/node": "^12.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^4.28.1",
|
|
"@typescript-eslint/parser": "^4.28.1",
|
|
"axios": "^0.24.0",
|
|
"babel-jest": "^27.0.6",
|
|
"eslint": "^7.29.0",
|
|
"eslint-config-tencent": "^1.0.2",
|
|
"eslint-plugin-prettier": "^3.4.0",
|
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
|
"fs-extra": "^10.0.0",
|
|
"jest": "^27.0.6",
|
|
"lodash": "^4.17.21",
|
|
"module-alias": "^2.2.2",
|
|
"moment": "^2.29.3",
|
|
"moment-timezone": "^0.5.34",
|
|
"nodemon": "^1.19.0",
|
|
"prettier": "^2.3.2",
|
|
"serialize-javascript": "^6.0.0",
|
|
"ts-node": "^8.1.0",
|
|
"tsconfig-paths": "^3.8.0",
|
|
"typescript": "^4.7.4",
|
|
"uglify-js": "^3.14.1"
|
|
}
|
|
}
|