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": [
|
2022-04-17 10:00:42 +08:00
|
|
|
"packages/app/*",
|
|
|
|
"packages/core/*",
|
|
|
|
"packages/plugins/*"
|
2021-05-23 08:38:08 +08:00
|
|
|
],
|
2022-04-25 09:45:24 +08:00
|
|
|
"license": "Apache-2.0",
|
|
|
|
"licenses": [
|
|
|
|
{
|
|
|
|
"type": "Apache-2.0",
|
|
|
|
"url": "http://www.apache.org/licenses/LICENSE-2.0"
|
|
|
|
}
|
|
|
|
],
|
2020-10-24 15:34:43 +08:00
|
|
|
"scripts": {
|
2022-04-20 23:36:05 +08:00
|
|
|
"start": "concurrently --kill-others \"npm run start-server\" \"npm run start-client\"",
|
2022-04-17 10:00:42 +08:00
|
|
|
"start-pm2": "yarn pm2-runtime start packages/app/server/lib/index.js",
|
2021-04-17 21:33:21 +08:00
|
|
|
"start-docs": "dumi dev",
|
2021-12-06 21:23:34 +08:00
|
|
|
"bootstrap": "lerna bootstrap",
|
2022-04-17 10:00:42 +08:00
|
|
|
"clean": "rimraf -rf packages/{app,core,plugins}/*/{lib,esm,dist} && lerna clean",
|
|
|
|
"nocobase": "cross-env DOTENV_CONFIG_PATH=.env ts-node-dev -r dotenv/config -r tsconfig-paths/register ./packages/app/server/src/index.ts",
|
|
|
|
"start-client": "cd packages/app/client && npm run start",
|
|
|
|
"start-server": "npm run nocobase start",
|
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",
|
2022-04-17 10:00:42 +08:00
|
|
|
"lint": "eslint .",
|
|
|
|
"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"
|
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-02-24 00:04:41 +08:00
|
|
|
"classnames": "^2.3.1",
|
2022-02-20 20:11:58 +08:00
|
|
|
"concurrently": "^7.0.0",
|
2022-04-17 10:00:42 +08:00
|
|
|
"cross-env": "^7.0.3",
|
2021-12-06 21:23:34 +08:00
|
|
|
"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
|
|
|
}
|
|
|
|
}
|