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