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