Files
nocobase/packages/core/cli/package.json
T
2026-05-06 07:28:52 +00:00

107 lines
2.9 KiB
JSON

{
"name": "@nocobase/cli",
"version": "2.1.0-beta.25",
"description": "NocoBase Command Line Tool",
"type": "module",
"main": "dist/generated/command-registry.js",
"scripts": {
"clean": "node ./scripts/clean.mjs",
"build": "node ./scripts/build.mjs",
"test": "NB_CLI_ROOT=. TEST_ENV=server-side yarn --cwd ../../.. vitest run packages/core/cli"
},
"keywords": [],
"author": "",
"license": "Apache-2.0",
"files": [
"bin",
"dist",
"nocobase-ctl.config.json"
],
"bin": {
"nb": "./bin/run.js"
},
"oclif": {
"bin": "nb",
"helpOptions": {
"flagSortOrder": "none"
},
"additionalHelpFlags": [
"-h"
],
"helpClass": "./dist/help/runtime-help.js",
"commands": {
"strategy": "explicit",
"target": "./dist/generated/command-registry.js"
},
"dirname": "nb",
"topicSeparator": " ",
"topics": {
"app": {
"description": "Manage NocoBase app runtimes: start, stop, restart, logs, and upgrades."
},
"source": {
"description": "Work with the local NocoBase source project: download, develop, build, and test."
},
"scaffold": {
"description": "Generate NocoBase plugin development scaffolds."
},
"plugin": {
"description": "Manage plugins in the selected NocoBase env."
},
"pm": {
"description": "Manage plugins in the selected NocoBase env.",
"hidden": true
},
"db": {
"description": "Manage the built-in database for the selected env."
},
"env": {
"description": "Manage NocoBase project environments, status, details, and command runtimes."
},
"license": {
"description": "Manage NocoBase commercial licensing and licensed plugins."
},
"config": {
"description": "Manage CLI configuration defaults."
},
"self": {
"description": "Inspect or update the NocoBase CLI itself."
},
"skills": {
"description": "Inspect or synchronize NocoBase AI coding skills for the current workspace."
},
"examples": {
"description": "Internal example commands for prompt and UI experiments.",
"hidden": true
},
"api": {
"description": "Work with NocoBase API."
}
}
},
"dependencies": {
"@clack/prompts": "^0.9.1",
"@nocobase/license-kit": "^0.3.8",
"@oclif/core": "^4.10.4",
"cross-spawn": "^7.0.6",
"lodash": "^4.17.21",
"mariadb": "^2.5.6",
"mysql2": "^3.14.0",
"openapi-types": "^12.1.3",
"ora": "^8.2.0",
"pg": "^8.14.1",
"picocolors": "^1.1.1",
"tar": "^7.4.3"
},
"devDependencies": {
"@types/node": "^18.19.130",
"tsx": "^4.20.6",
"typescript": "^6.0.2",
"vitest": "^1.5.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nocobase/nocobase.git"
}
}