2020-10-24 15:34:43 +08:00
|
|
|
{
|
2021-12-06 21:23:34 +08:00
|
|
|
"name": "root",
|
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": {
|
2022-02-20 20:11:58 +08:00
|
|
|
"start": "concurrently \"npm run start-server\" \"npm run start-client\"",
|
2021-04-17 21:33:21 +08:00
|
|
|
"start-docs": "dumi dev",
|
2021-12-06 21:23:34 +08:00
|
|
|
"bootstrap": "lerna bootstrap",
|
|
|
|
"clean": "rimraf -rf packages/*/{lib,esm,dist} && lerna clean",
|
2022-01-22 16:34:31 +08:00
|
|
|
"nocobase": "ts-node-dev -r dotenv/config -r tsconfig-paths/register ./packages/api/src/index.ts",
|
2022-02-10 18:37:16 +08:00
|
|
|
"start-client": "cd packages/app && npm run start",
|
2022-01-22 16:34:31 +08:00
|
|
|
"start-server": "ts-node-dev -r dotenv/config -r tsconfig-paths/register ./packages/api/src/index.ts",
|
2021-12-06 21:23:34 +08:00
|
|
|
"build": "lerna run build",
|
2022-01-10 19:22:21 +08:00
|
|
|
"build-docs": "dumi build",
|
2022-02-16 00:22:47 +08:00
|
|
|
"test": "node ./jest.cli.js -i",
|
2021-12-06 21:23:34 +08:00
|
|
|
"lint": "eslint ."
|
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
|
|
|
},
|
2022-01-26 12:07:47 +08:00
|
|
|
"config": {
|
|
|
|
"ghooks": {
|
|
|
|
"commit-msg": "commitlint --edit"
|
|
|
|
}
|
|
|
|
},
|
2020-10-24 15:34:43 +08:00
|
|
|
"devDependencies": {
|
2022-01-26 12:07:47 +08:00
|
|
|
"@commitlint/cli": "^16.1.0",
|
|
|
|
"@commitlint/config-conventional": "^16.0.0",
|
2022-02-20 20:11:58 +08:00
|
|
|
"@commitlint/prompt-cli": "^16.1.0",
|
2022-01-10 19:22:21 +08:00
|
|
|
"@testing-library/react": "^12.1.2",
|
2021-12-06 21:23:34 +08:00
|
|
|
"@types/jest": "^26.0.0",
|
|
|
|
"@types/koa": "^2.13.4",
|
|
|
|
"@types/koa-bodyparser": "^4.3.4",
|
|
|
|
"@types/lodash": "^4.14.177",
|
2021-05-23 08:38:08 +08:00
|
|
|
"@types/node": "^12.6.8",
|
|
|
|
"@types/react": "^17.0.0",
|
2021-12-06 21:23:34 +08:00
|
|
|
"@types/react-dom": "^17.0.0",
|
2021-05-23 08:38:08 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.9.1",
|
|
|
|
"@typescript-eslint/parser": "^4.8.2",
|
2022-01-26 10:43:29 +08:00
|
|
|
"antd": "^4.18.5",
|
2022-02-24 00:04:41 +08:00
|
|
|
"classnames": "^2.3.1",
|
2022-02-20 20:11:58 +08:00
|
|
|
"concurrently": "^7.0.0",
|
2021-12-06 21:23:34 +08:00
|
|
|
"cross-env": "^5.2.0",
|
|
|
|
"dotenv": "^10.0.0",
|
|
|
|
"dumi": "^1.1.33",
|
|
|
|
"eslint": "^7.14.0",
|
|
|
|
"eslint-config-prettier": "^7.0.0",
|
|
|
|
"eslint-plugin-import": "^2.13.0",
|
|
|
|
"eslint-plugin-markdown": "^2.0.1",
|
2020-10-24 15:34:43 +08:00
|
|
|
"eslint-plugin-node": "^11.1.0",
|
2021-12-06 21:23:34 +08:00
|
|
|
"eslint-plugin-prettier": "^3.1.0",
|
|
|
|
"eslint-plugin-promise": "^4.0.0",
|
|
|
|
"eslint-plugin-react": "^7.14.2",
|
|
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
|
|
"eslint-plugin-vue": "^7.0.1",
|
2022-01-26 12:07:47 +08:00
|
|
|
"ghooks": "^2.0.4",
|
2021-12-06 21:23:34 +08:00
|
|
|
"glob": "^7.1.3",
|
|
|
|
"jest": "^26.0.0",
|
|
|
|
"jest-codemods": "^0.19.1",
|
|
|
|
"jest-dom": "^3.1.2",
|
|
|
|
"jest-localstorage-mock": "^2.3.0",
|
|
|
|
"jest-styled-components": "6.3.3",
|
|
|
|
"jest-watch-lerna-packages": "^1.1.0",
|
|
|
|
"koa": "^2.13.4",
|
2020-10-24 15:34:43 +08:00
|
|
|
"koa-bodyparser": "^4.3.0",
|
2021-12-06 21:23:34 +08:00
|
|
|
"lerna": "^4.0.0",
|
2022-02-20 20:11:58 +08:00
|
|
|
"pm2": "^5.2.0",
|
2021-12-06 21:23:34 +08:00
|
|
|
"prettier": "^2.2.1",
|
|
|
|
"pretty-format": "^24.0.0",
|
|
|
|
"pretty-quick": "^3.1.0",
|
2021-05-23 08:38:08 +08:00
|
|
|
"react": "^17.0.1",
|
2021-12-06 21:23:34 +08:00
|
|
|
"react-dom": "^17.0.1",
|
|
|
|
"rimraf": "^3.0.0",
|
2021-10-18 12:49:37 +08:00
|
|
|
"sqlite3": "^5.0.2",
|
2021-12-06 21:23:34 +08:00
|
|
|
"supertest": "^6.1.6",
|
|
|
|
"ts-jest": "^26.0.0",
|
|
|
|
"ts-loader": "^7.0.4",
|
2021-05-23 08:38:08 +08:00
|
|
|
"ts-node": "^9.1.1",
|
2022-01-22 16:34:31 +08:00
|
|
|
"ts-node-dev": "^1.1.8",
|
|
|
|
"tsconfig-paths": "^3.12.0",
|
2021-12-06 21:23:34 +08:00
|
|
|
"typescript": "^4.1.5"
|
2020-10-24 15:34:43 +08:00
|
|
|
}
|
|
|
|
}
|