2020-10-24 15:34:43 +08:00
|
|
|
{
|
2022-05-19 00:40:55 +08:00
|
|
|
"name": "nocobase",
|
2020-10-24 15:34:43 +08:00
|
|
|
"private": true,
|
2021-05-23 08:38:08 +08:00
|
|
|
"workspaces": [
|
2022-05-19 00:40:55 +08:00
|
|
|
"packages/*/*"
|
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",
|
2023-02-12 23:42:45 +08:00
|
|
|
"url": "https://www.apache.org/licenses/LICENSE-2.0"
|
2022-04-25 09:45:24 +08:00
|
|
|
}
|
|
|
|
],
|
2020-10-24 15:34:43 +08:00
|
|
|
"scripts": {
|
2022-05-19 00:40:55 +08:00
|
|
|
"nocobase": "nocobase",
|
2022-09-18 14:10:01 +08:00
|
|
|
"pm": "nocobase pm",
|
2022-05-19 00:40:55 +08:00
|
|
|
"dev": "nocobase dev",
|
|
|
|
"start": "nocobase start",
|
|
|
|
"build": "nocobase build",
|
|
|
|
"test": "nocobase test",
|
2023-05-25 10:40:08 +08:00
|
|
|
"test:client": "vitest",
|
2023-06-07 10:37:10 +08:00
|
|
|
"tc": "yarn test:client",
|
2022-05-19 00:40:55 +08:00
|
|
|
"doc": "nocobase doc",
|
|
|
|
"postinstall": "nocobase postinstall",
|
2022-04-17 10:00:42 +08:00
|
|
|
"lint": "eslint .",
|
2022-05-19 00:40:55 +08:00
|
|
|
"clean": "nocobase clean",
|
2023-05-25 22:47:05 +08:00
|
|
|
"changelog": "auto-changelog -p -t keepachangelog",
|
2022-04-17 10:00:42 +08:00
|
|
|
"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",
|
2022-08-08 14:42:48 +08:00
|
|
|
"release": "lerna publish",
|
2022-08-16 14:41:29 +08:00
|
|
|
"run:example": "ts-node-dev -r dotenv/config -r tsconfig-paths/register ./examples/index.ts"
|
2020-10-24 15:34:43 +08:00
|
|
|
},
|
2021-05-23 08:38:08 +08:00
|
|
|
"resolutions": {
|
2023-06-25 15:02:12 +08:00
|
|
|
"@types/react": "^17.0.0",
|
|
|
|
"@types/react-dom": "^17.0.0",
|
2023-06-20 11:48:02 +08:00
|
|
|
"react-router-dom": "^6.11.2",
|
|
|
|
"react-router": "^6.11.2",
|
|
|
|
"react": "^18.0.0",
|
|
|
|
"react-dom": "^18.0.0"
|
2021-04-17 21:33:21 +08:00
|
|
|
},
|
2022-01-26 12:07:47 +08:00
|
|
|
"config": {
|
|
|
|
"ghooks": {
|
2023-07-25 14:09:02 +08:00
|
|
|
"pre-commit": "yarn lint-staged",
|
2022-01-26 12:07:47 +08:00
|
|
|
"commit-msg": "commitlint --edit"
|
|
|
|
}
|
|
|
|
},
|
2023-07-25 14:09:02 +08:00
|
|
|
"lint-staged": {
|
|
|
|
"*.{js,json}": [
|
|
|
|
"prettier --write"
|
|
|
|
],
|
|
|
|
"*.ts?(x)": [
|
|
|
|
"eslint --fix",
|
|
|
|
"prettier --parser=typescript --write"
|
|
|
|
]
|
|
|
|
},
|
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",
|
2023-05-25 10:40:08 +08:00
|
|
|
"@testing-library/jest-dom": "^5.16.5",
|
2023-06-07 10:37:10 +08:00
|
|
|
"@testing-library/react": "^12.1.5",
|
|
|
|
"@testing-library/user-event": "^14.4.3",
|
2023-07-08 08:26:27 +08:00
|
|
|
"@types/react": "^17.0.0",
|
|
|
|
"@types/react-dom": "^17.0.0",
|
2023-05-25 10:40:08 +08:00
|
|
|
"@vitejs/plugin-react": "^4.0.0",
|
2023-04-25 13:12:14 +08:00
|
|
|
"auto-changelog": "^2.4.0",
|
2023-07-25 14:09:02 +08:00
|
|
|
"commander": "^9.2.0",
|
2023-06-20 11:48:02 +08:00
|
|
|
"dumi": "^2.2.0",
|
2023-07-07 14:35:22 +08:00
|
|
|
"dumi-theme-nocobase": "^0.2.14",
|
2023-07-08 08:26:27 +08:00
|
|
|
"eslint-plugin-jest-dom": "^5.0.1",
|
|
|
|
"eslint-plugin-testing-library": "^5.11.0",
|
2022-01-26 12:07:47 +08:00
|
|
|
"ghooks": "^2.0.4",
|
2023-06-07 10:37:10 +08:00
|
|
|
"jsdom-worker": "^0.3.0",
|
2023-07-25 14:09:02 +08:00
|
|
|
"lint-staged": "^13.2.3",
|
|
|
|
"prettier": "^3.0.0",
|
2021-12-06 21:23:34 +08:00
|
|
|
"pretty-format": "^24.0.0",
|
2023-05-25 10:40:08 +08:00
|
|
|
"pretty-quick": "^3.1.0",
|
2023-07-08 08:26:27 +08:00
|
|
|
"react": "^18.0.0",
|
|
|
|
"react-dom": "^18.0.0",
|
|
|
|
"typescript": "5.1.3",
|
|
|
|
"vite": "^4.4.1",
|
|
|
|
"vitest": "^0.33.0"
|
2023-03-05 14:45:56 +08:00
|
|
|
},
|
|
|
|
"volta": {
|
|
|
|
"node": "18.14.2",
|
|
|
|
"yarn": "1.22.19"
|
2020-10-24 15:34:43 +08:00
|
|
|
}
|
|
|
|
}
|