56 lines
1.8 KiB
JSON
56 lines
1.8 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "cd packages/app && npm start",
|
|
"start-server": "cd packages/api && npm start",
|
|
"start-client": "cd packages/app && npx umi dev",
|
|
"bootstrap": "lerna bootstrap --no-ci",
|
|
"build": "father-build",
|
|
"clean": "lerna clean",
|
|
"db-migrate": "cd packages/api && npm run db-migrate",
|
|
"db:start": "docker-compose up -d",
|
|
"lint": "eslint --ext .ts,.tsx,.js \"packages/*/src/**.@(ts|tsx|js)\" --fix",
|
|
"test": "npm run lint && jest",
|
|
"debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
|
|
"release": "npm run build && lerna publish --yes --registry https://npm.pkg.github.com"
|
|
},
|
|
"devDependencies": {
|
|
"@koa/router": "^9.3.1",
|
|
"@types/bcrypt": "^3.0.0",
|
|
"@types/jest": "^26.0.4",
|
|
"@types/koa": "^2.11.6",
|
|
"@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",
|
|
"@types/react": "16.14.0",
|
|
"@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",
|
|
"father-build": "^1.19.2",
|
|
"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",
|
|
"sequelize": "^6.3.4",
|
|
"supertest": "^4.0.2",
|
|
"ts-jest": "^26.1.2",
|
|
"ts-node": "^8.10.2",
|
|
"typescript": "^3.9.6"
|
|
}
|
|
}
|