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": {
|
2023-11-20 11:35:30 +00:00
|
|
|
"node": ">=18"
|
2023-09-03 02:59:33 +00:00
|
|
|
},
|
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-11-16 04:33:56 +00:00
|
|
|
"e2e": "nocobase e2e",
|
2023-09-28 03:28:42 +00:00
|
|
|
"test:e2e": "tsx ./scripts/runE2e.setup.ts",
|
|
|
|
"test:e2e:codegen": "tsx ./scripts/codegen.setup.ts",
|
|
|
|
"test:e2e:server": "tsx ./scripts/nocobase.setup.ts",
|
2023-06-07 02:37:10 +00:00
|
|
|
"tc": "yarn test:client",
|
2023-10-06 11:20:19 +00:00
|
|
|
"te": "yarn test:e2e",
|
|
|
|
"tec": "yarn test:e2e:codegen",
|
|
|
|
"tes": "yarn test:e2e:server",
|
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",
|
2023-09-28 03:28:42 +00:00
|
|
|
"run:example": "tsx -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",
|
2023-10-27 00:35:42 +00:00
|
|
|
"antd": "5.8.6",
|
|
|
|
"@formily/antd-v5": "1.1.7"
|
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-09-27 12:00:17 +00:00
|
|
|
"@faker-js/faker": "8.1.0",
|
|
|
|
"@playwright/test": "^1.37.1",
|
2023-10-17 14:22:45 +00:00
|
|
|
"@swc/core": "^1.3.92",
|
|
|
|
"@swc/jest": "^0.2.29",
|
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-10-17 14:22:45 +00:00
|
|
|
"axios": "^0.26.1",
|
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-12-04 06:56:46 +00:00
|
|
|
"dumi-theme-nocobase": "^0.2.18",
|
2023-07-08 00:26:27 +00:00
|
|
|
"eslint-plugin-jest-dom": "^5.0.1",
|
|
|
|
"eslint-plugin-testing-library": "^5.11.0",
|
2023-09-27 12:00:17 +00:00
|
|
|
"execa": "^5.1.1",
|
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-10-17 14:22:45 +00:00
|
|
|
"jest_workaround": "^0.79.19",
|
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-12-04 06:56:46 +00:00
|
|
|
"vitest": "^0.34.6"
|
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
|
|
|
}
|