nocobase/package.json
2021-04-07 09:50:00 +08:00

61 lines
2.0 KiB
JSON

{
"name": "root",
"private": true,
"scripts": {
"start": "cd packages/app && npm start",
"start-server": "nodemon",
"start-client": "cd packages/app && npx umi dev",
"pm2-start": "npx pm2 start packages/api/lib/index.js",
"build-app": "cd packages/app && npm run build",
"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",
"version:alpha": "lerna version prerelease --preid alpha --force-publish=* --no-git-tag-version -m \"chore(versions): publish packages %s\"",
"release:force": "lerna publish from-package --yes",
"release": "lerna publish"
},
"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",
"pm2": "^4.5.6",
"sequelize": "^6.3.4",
"supertest": "^4.0.2",
"ts-jest": "^26.1.2",
"ts-node": "^8.10.2",
"typescript": "^3.9.6"
}
}