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
|
|
|
],
|
2024-04-29 00:46:21 +08:00
|
|
|
"license": "AGPL-3.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": [
|
|
|
|
{
|
2024-04-29 00:46:21 +08:00
|
|
|
"type": "AGPL-3.0",
|
|
|
|
"url": "https://www.gnu.org/licenses/agpl-3.0.html"
|
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",
|
2024-03-28 10:44:55 +08:00
|
|
|
"pm2": "nocobase pm2",
|
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-12-21 20:39:11 +08:00
|
|
|
"test:server": "nocobase test:server",
|
2024-03-31 10:07:18 +08:00
|
|
|
"test:server-coverage": "nocobase test-coverage:server",
|
2023-12-21 20:39:11 +08:00
|
|
|
"test:client": "nocobase test:client",
|
2024-03-31 10:07:18 +08:00
|
|
|
"test:client-coverage": "nocobase test-coverage:client",
|
2023-11-16 12:33:56 +08:00
|
|
|
"e2e": "nocobase e2e",
|
2023-12-21 20:39:11 +08:00
|
|
|
"ts": "nocobase test:server",
|
|
|
|
"tc": "nocobase test:client",
|
2022-05-19 00:40:55 +08:00
|
|
|
"doc": "nocobase doc",
|
2024-03-03 23:06:24 +08:00
|
|
|
"doc:cn": "nocobase doc --lang=zh-CN",
|
2022-05-19 00:40:55 +08:00
|
|
|
"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\"",
|
2024-05-08 11:21:30 +08:00
|
|
|
"release:force": "lerna publish from-package --yes --no-git-tag-version",
|
2022-08-08 14:42:48 +08:00
|
|
|
"release": "lerna publish",
|
2024-08-05 13:28:40 +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",
|
2024-01-06 18:32:25 +08:00
|
|
|
"nwsapi": "2.2.7",
|
|
|
|
"antd": "5.12.8"
|
2021-04-17 21:33:21 +08:00
|
|
|
},
|
2022-01-26 12:07:47 +08:00
|
|
|
"config": {
|
|
|
|
"ghooks": {
|
2024-05-14 08:30:40 +08:00
|
|
|
"pre-commit": "yarn lint-staged && node ./scripts/addLicense.js",
|
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-07-08 08:26:27 +08:00
|
|
|
"@types/react": "^17.0.0",
|
|
|
|
"@types/react-dom": "^17.0.0",
|
2023-04-25 13:12:14 +08:00
|
|
|
"auto-changelog": "^2.4.0",
|
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-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",
|
2024-07-05 10:07:22 +08:00
|
|
|
"typescript": "5.1.3",
|
|
|
|
"vitest": "^1.5.0"
|
2023-03-05 14:45:56 +08:00
|
|
|
},
|
|
|
|
"volta": {
|
2024-06-06 19:03:43 +08:00
|
|
|
"node": "20.14.0",
|
2023-03-05 14:45:56 +08:00
|
|
|
"yarn": "1.22.19"
|
2023-07-27 19:51:18 +08:00
|
|
|
},
|
|
|
|
"dependencies": {}
|
2020-10-24 15:34:43 +08:00
|
|
|
}
|