2020-10-24 15:34:43 +08:00
|
|
|
{
|
|
|
|
"name": "root",
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2020-11-11 15:23:39 +08:00
|
|
|
"start": "cd packages/app && npm start",
|
2021-04-04 23:33:06 +08:00
|
|
|
"start-server": "cd packages/api && npm start",
|
|
|
|
"start-client": "cd packages/app && npx umi dev",
|
2021-04-06 20:05:56 +08:00
|
|
|
"pm2-start": "npx pm2 start packages/api/lib/index.js",
|
|
|
|
"build-app": "cd packages/app && npm run build",
|
2020-10-24 15:34:43 +08:00
|
|
|
"bootstrap": "lerna bootstrap --no-ci",
|
2021-03-16 14:31:54 +08:00
|
|
|
"build": "father-build",
|
2020-10-24 15:34:43 +08:00
|
|
|
"clean": "lerna clean",
|
2021-03-23 10:53:11 +08:00
|
|
|
"db-migrate": "cd packages/api && npm run db-migrate",
|
2020-10-24 15:34:43 +08:00
|
|
|
"db:start": "docker-compose up -d",
|
|
|
|
"lint": "eslint --ext .ts,.tsx,.js \"packages/*/src/**.@(ts|tsx|js)\" --fix",
|
2020-11-16 20:38:56 +08:00
|
|
|
"test": "npm run lint && jest",
|
2021-01-13 16:23:15 +08:00
|
|
|
"debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
|
2020-10-24 15:34:43 +08:00
|
|
|
"release": "npm run build && lerna publish --yes --registry https://npm.pkg.github.com"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@koa/router": "^9.3.1",
|
2021-03-30 06:12:08 +08:00
|
|
|
"@types/bcrypt": "^3.0.0",
|
2020-10-24 15:34:43 +08:00
|
|
|
"@types/jest": "^26.0.4",
|
2020-11-11 15:23:39 +08:00
|
|
|
"@types/koa": "^2.11.6",
|
2020-10-24 15:34:43 +08:00
|
|
|
"@types/koa-bodyparser": "^4.3.0",
|
|
|
|
"@types/koa-mount": "^4.0.0",
|
|
|
|
"@types/koa__router": "^8.0.2",
|
|
|
|
"@types/lodash": "^4.14.158",
|
|
|
|
"@types/node": "^14.0.23",
|
2020-12-05 09:27:24 +08:00
|
|
|
"@types/react": "16.14.0",
|
2020-10-24 15:34:43 +08:00
|
|
|
"@types/supertest": "^2.0.10",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^3.6.1",
|
|
|
|
"@typescript-eslint/parser": "^3.6.1",
|
|
|
|
"cross-env": "^7.0.2",
|
|
|
|
"dotenv": "^8.2.0",
|
|
|
|
"eslint": "^7.4.0",
|
|
|
|
"eslint-plugin-import": "^2.22.0",
|
|
|
|
"eslint-plugin-node": "^11.1.0",
|
|
|
|
"eslint-plugin-promise": "^4.2.1",
|
|
|
|
"eslint-plugin-standard": "^4.0.1",
|
2021-03-16 14:31:54 +08:00
|
|
|
"father-build": "^1.19.2",
|
2020-10-24 15:34:43 +08:00
|
|
|
"jest": "^26.1.0",
|
|
|
|
"koa": "^2.13.0",
|
|
|
|
"koa-bodyparser": "^4.3.0",
|
|
|
|
"lerna": "^3.22.0",
|
|
|
|
"mysql2": "^2.1.0",
|
|
|
|
"nodemon": "^2.0.4",
|
|
|
|
"path-to-regexp": "^6.1.0",
|
|
|
|
"pg": "^8.3.0",
|
|
|
|
"pg-hstore": "^2.3.3",
|
2021-04-06 20:05:56 +08:00
|
|
|
"pm2": "^4.5.6",
|
2020-10-24 15:34:43 +08:00
|
|
|
"sequelize": "^6.3.4",
|
|
|
|
"supertest": "^4.0.2",
|
|
|
|
"ts-jest": "^26.1.2",
|
|
|
|
"ts-node": "^8.10.2",
|
|
|
|
"typescript": "^3.9.6"
|
|
|
|
}
|
|
|
|
}
|