nocobase/package.json
2021-09-14 11:09:26 +08:00

68 lines
2.0 KiB
JSON

{
"name": "nocobase",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"bootstrap": "lerna bootstrap",
"clean": "lerna clean",
"start": "cd packages/app && npm start",
"start-client": "cd packages/app && npm run start-client",
"start-server": "nodemon",
"start-docs": "dumi dev",
"build-docs": "dumi build",
"build2": "lerna run build",
"build": "npm run build-father-build && node packages/father-build/bin/father-build.js",
"build-father-build": "cd packages/father-build && npm run build",
"db-migrate": "ts-node -r dotenv/config ./packages/api/src/migrate.ts",
"lint": "eslint --ext .ts,.tsx,.js \"packages/*/src/**.@(ts|tsx|js)\" --fix",
"test": "npm run lint && jest"
},
"resolutions": {
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0"
},
"devDependencies": {
"@types/file-saver": "^2.0.3",
"@types/jest": "^24.0.18",
"@types/koa": "^2.13.1",
"@types/koa-mount": "^4.0.1",
"@types/lodash": "^4.14.169",
"@types/mockjs": "^1.0.3",
"@types/node": "^12.6.8",
"@types/react": "^17.0.0",
"@types/react-big-calendar": "^0.33.1",
"@types/react-dom": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^4.9.1",
"@typescript-eslint/parser": "^4.8.2",
"@umijs/plugin-antd": "^0.9.1",
"antd": "^4.16.11",
"dotenv": "^8.2.0",
"dumi": "^1.1.25",
"eslint": "^7.4.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-standard": "^4.0.1",
"jest": "^26.6.3",
"koa-bodyparser": "^4.3.0",
"lerna": "^3.22.0",
"mockjs": "^1.1.0",
"nodemon": "^2.0.12",
"pg": "^8.6.0",
"pg-hstore": "^2.3.3",
"prettier": "^2.3.0",
"react": "^17.0.1",
"react-dom": "^17.0.2",
"react-router-dom": "^5.2.0",
"react-test-renderer": "^17.0.2",
"rimraf": "^3.0.2",
"supertest": "^6.1.3",
"ts-jest": "^26.5.6",
"ts-node": "^9.1.1",
"typescript": "4.1.5"
}
}