2020-10-24 15:34:43 +08:00
|
|
|
{
|
2021-05-23 08:38:08 +08:00
|
|
|
"name": "nocobase",
|
2020-10-24 15:34:43 +08:00
|
|
|
"private": true,
|
2021-05-23 08:38:08 +08:00
|
|
|
"workspaces": [
|
|
|
|
"packages/*"
|
|
|
|
],
|
2020-10-24 15:34:43 +08:00
|
|
|
"scripts": {
|
2021-05-23 08:38:08 +08:00
|
|
|
"bootstrap": "lerna bootstrap",
|
|
|
|
"clean": "lerna clean",
|
2021-09-16 00:38:48 +08:00
|
|
|
"examples": "ts-node-dev -r dotenv/config ./examples",
|
2021-09-23 21:52:54 +08:00
|
|
|
"start": "concurrently \"npm run start-server\" \"npm run start-client\"",
|
2021-08-23 12:43:18 +08:00
|
|
|
"start-client": "cd packages/app && npm run start-client",
|
2021-09-23 00:16:04 +08:00
|
|
|
"start-server": "ts-node-dev -r dotenv/config ./packages/api/src/index.ts",
|
2021-04-17 21:33:21 +08:00
|
|
|
"start-docs": "dumi dev",
|
|
|
|
"build-docs": "dumi build",
|
2021-05-23 08:38:08 +08:00
|
|
|
"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",
|
2020-10-24 15:34:43 +08:00
|
|
|
"lint": "eslint --ext .ts,.tsx,.js \"packages/*/src/**.@(ts|tsx|js)\" --fix",
|
2021-05-23 08:38:08 +08:00
|
|
|
"test": "npm run lint && jest"
|
2020-10-24 15:34:43 +08:00
|
|
|
},
|
2021-05-23 08:38:08 +08:00
|
|
|
"resolutions": {
|
|
|
|
"@types/react": "^17.0.0",
|
|
|
|
"@types/react-dom": "^17.0.0"
|
2021-04-17 21:33:21 +08:00
|
|
|
},
|
2020-10-24 15:34:43 +08:00
|
|
|
"devDependencies": {
|
2021-08-14 23:48:29 +08:00
|
|
|
"@types/file-saver": "^2.0.3",
|
2021-09-23 00:16:04 +08:00
|
|
|
"@types/jest": "^27.0.1",
|
2021-05-23 08:38:08 +08:00
|
|
|
"@types/koa": "^2.13.1",
|
2021-09-14 11:09:26 +08:00
|
|
|
"@types/koa-mount": "^4.0.1",
|
2021-05-23 08:38:08 +08:00
|
|
|
"@types/lodash": "^4.14.169",
|
|
|
|
"@types/mockjs": "^1.0.3",
|
|
|
|
"@types/node": "^12.6.8",
|
|
|
|
"@types/react": "^17.0.0",
|
2021-08-19 17:03:25 +08:00
|
|
|
"@types/react-big-calendar": "^0.33.1",
|
2021-04-17 21:33:21 +08:00
|
|
|
"@types/react-dom": "^17.0.3",
|
2021-05-23 08:38:08 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.9.1",
|
|
|
|
"@typescript-eslint/parser": "^4.8.2",
|
2021-04-17 21:33:21 +08:00
|
|
|
"@umijs/plugin-antd": "^0.9.1",
|
2021-08-15 12:16:11 +08:00
|
|
|
"antd": "^4.16.11",
|
2021-09-23 21:52:54 +08:00
|
|
|
"concurrently": "^6.2.1",
|
2020-10-24 15:34:43 +08:00
|
|
|
"dotenv": "^8.2.0",
|
2021-08-16 12:36:17 +08:00
|
|
|
"dumi": "^1.1.25",
|
2020-10-24 15:34:43 +08:00
|
|
|
"eslint": "^7.4.0",
|
|
|
|
"eslint-plugin-import": "^2.22.0",
|
|
|
|
"eslint-plugin-node": "^11.1.0",
|
|
|
|
"eslint-plugin-promise": "^4.2.1",
|
2021-05-23 08:38:08 +08:00
|
|
|
"eslint-plugin-react": "^7.23.2",
|
2020-10-24 15:34:43 +08:00
|
|
|
"eslint-plugin-standard": "^4.0.1",
|
2021-05-23 08:38:08 +08:00
|
|
|
"jest": "^26.6.3",
|
2020-10-24 15:34:43 +08:00
|
|
|
"koa-bodyparser": "^4.3.0",
|
|
|
|
"lerna": "^3.22.0",
|
2021-05-23 08:38:08 +08:00
|
|
|
"mockjs": "^1.1.0",
|
2021-07-12 22:13:48 +08:00
|
|
|
"nodemon": "^2.0.12",
|
2021-05-23 08:38:08 +08:00
|
|
|
"pg": "^8.6.0",
|
2020-10-24 15:34:43 +08:00
|
|
|
"pg-hstore": "^2.3.3",
|
2021-05-23 08:38:08 +08:00
|
|
|
"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",
|
2021-09-23 21:52:54 +08:00
|
|
|
"ts-node-dev": "^1.1.8",
|
2021-05-23 08:38:08 +08:00
|
|
|
"typescript": "4.1.5"
|
2020-10-24 15:34:43 +08:00
|
|
|
}
|
|
|
|
}
|