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": [
|
2023-09-12 22:39:23 +08:00
|
|
|
"packages/*/*",
|
|
|
|
"packages/*/*/*"
|
2021-05-23 08:38:08 +08:00
|
|
|
],
|
2022-04-25 09:45:24 +08:00
|
|
|
"license": "Apache-2.0",
|
2023-09-03 10:59:33 +08:00
|
|
|
"engines": {
|
2023-11-20 19:35:30 +08:00
|
|
|
"node": ">=18"
|
2023-09-03 10:59:33 +08:00
|
|
|
},
|
2022-04-25 09:45:24 +08:00
|
|
|
"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",
|
2023-08-24 17:47:45 +08:00
|
|
|
"dev-server": "nocobase dev --server",
|
2022-05-19 00:40:55 +08:00
|
|
|
"start": "nocobase start",
|
|
|
|
"build": "nocobase build",
|
2023-09-12 22:39:23 +08:00
|
|
|
"tar": "nocobase tar",
|
2022-05-19 00:40:55 +08:00
|
|
|
"test": "nocobase test",
|
2023-05-25 10:40:08 +08:00
|
|
|
"test:client": "vitest",
|
2023-11-16 12:33:56 +08:00
|
|
|
"e2e": "nocobase e2e",
|
2023-09-28 11:28:42 +08: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 10:37:10 +08:00
|
|
|
"tc": "yarn test:client",
|
2023-10-06 19:20:19 +08:00
|
|
|
"te": "yarn test:e2e",
|
|
|
|
"tec": "yarn test:e2e:codegen",
|
|
|
|
"tes": "yarn test:e2e:server",
|
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",
|
2023-09-28 11:28:42 +08:00
|
|
|
"run:example": "tsx -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-07-25 20:33:38 +08:00
|
|
|
"@typescript-eslint/parser": "^6.2.0",
|
2023-06-20 11:48:02 +08:00
|
|
|
"react-router-dom": "^6.11.2",
|
|
|
|
"react-router": "^6.11.2",
|
|
|
|
"react": "^18.0.0",
|
2023-09-04 16:25:49 +08:00
|
|
|
"react-dom": "^18.0.0",
|
2023-10-27 08:35:42 +08:00
|
|
|
"antd": "5.8.6",
|
|
|
|
"@formily/antd-v5": "1.1.7"
|
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)": [
|
2023-08-09 12:12:57 +08:00
|
|
|
"eslint --fix"
|
2023-07-25 14:09:02 +08:00
|
|
|
]
|
|
|
|
},
|
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-09-27 20:00:17 +08:00
|
|
|
"@faker-js/faker": "8.1.0",
|
|
|
|
"@playwright/test": "^1.37.1",
|
2023-10-17 22:22:45 +08:00
|
|
|
"@swc/core": "^1.3.92",
|
|
|
|
"@swc/jest": "^0.2.29",
|
2023-07-28 09:58:49 +08:00
|
|
|
"@testing-library/jest-dom": "^5.17.0",
|
|
|
|
"@testing-library/react": "^14.0.0",
|
2023-06-07 10:37:10 +08:00
|
|
|
"@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-10-17 22:22:45 +08:00
|
|
|
"axios": "^0.26.1",
|
2023-07-25 14:09:02 +08:00
|
|
|
"commander": "^9.2.0",
|
2023-07-08 08:26:27 +08:00
|
|
|
"eslint-plugin-jest-dom": "^5.0.1",
|
|
|
|
"eslint-plugin-testing-library": "^5.11.0",
|
2023-09-27 20:00:17 +08:00
|
|
|
"execa": "^5.1.1",
|
2022-01-26 12:07:47 +08:00
|
|
|
"ghooks": "^2.0.4",
|
2023-07-27 19:51:18 +08:00
|
|
|
"jest": "^29.6.2",
|
|
|
|
"jest-cli": "^29.6.2",
|
2023-10-17 22:22:45 +08:00
|
|
|
"jest_workaround": "^0.79.19",
|
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",
|
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",
|
2023-07-27 19:51:18 +08:00
|
|
|
"ts-jest": "^29.1.1",
|
2023-07-08 08:26:27 +08:00
|
|
|
"typescript": "5.1.3",
|
2023-09-15 08:51:20 +08:00
|
|
|
"vite": "^4.4.9",
|
2023-12-04 14:56:46 +08:00
|
|
|
"vitest": "^0.34.6"
|
2023-03-05 14:45:56 +08:00
|
|
|
},
|
|
|
|
"volta": {
|
|
|
|
"node": "18.14.2",
|
|
|
|
"yarn": "1.22.19"
|
2023-07-27 19:51:18 +08:00
|
|
|
},
|
|
|
|
"dependencies": {}
|
2020-10-24 15:34:43 +08:00
|
|
|
}
|