mirror of
https://github.com/nocobase/nocobase.git
synced 2026-08-28 17:43:07 +08:00
7d4426d904
* chore: update deps * fix: bin * feat: nocobase cli based on oclif * feat: improve code * fix: create-nocobase-app * fix: build error * fix: build error * fix: lru-cache * fix: cli build * fix: registry * fix: build error * fix: examples * feat: improve pm list
63 lines
1.4 KiB
JSON
63 lines
1.4 KiB
JSON
{
|
|
"name": "@nocobase/cli",
|
|
"version": "2.1.0-alpha.16",
|
|
"description": "NocoBase Command Line Tool",
|
|
"type": "module",
|
|
"main": "dist/generated/command-registry.js",
|
|
"scripts": {
|
|
"clean": "rm -rf dist",
|
|
"build": "yarn clean && tsc -p tsconfig.json",
|
|
"test": "node --import tsx --test ./test/*.test.ts"
|
|
},
|
|
"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"
|
|
],
|
|
"commands": {
|
|
"strategy": "explicit",
|
|
"target": "./dist/generated/command-registry.js"
|
|
},
|
|
"dirname": "nb",
|
|
"topicSeparator": " ",
|
|
"topics": {
|
|
"env": {
|
|
"description": "Manage NocoBase project environments and update command runtimes."
|
|
},
|
|
"api": {
|
|
"description": "Work with NocoBase API."
|
|
}
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@apidevtools/swagger-parser": "^12.1.0",
|
|
"@oclif/core": "^4.10.4",
|
|
"openapi-types": "^12.1.3",
|
|
"ora": "^8.2.0",
|
|
"picocolors": "^1.1.1",
|
|
"typescript": "^6.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^18.19.130",
|
|
"tsx": "^4.20.6"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/nocobase/nocobase.git"
|
|
}
|
|
}
|