mirror of
https://github.com/nocobase/nocobase.git
synced 2026-10-16 15:07:08 +08:00
66 lines
1.8 KiB
JSON
66 lines
1.8 KiB
JSON
{
|
|
"name": "@nocobase/app-plugin-cli-example",
|
|
"displayName": "CLI Example App Plugin",
|
|
"description": "Example app plugin that contributes commands to the app's nocobase CLI.",
|
|
"version": "0.1.0-beta.7",
|
|
"type": "module",
|
|
"prettier": "@nocobase/dev-config/prettier",
|
|
"engines": {
|
|
"node": ">=24.0.0"
|
|
},
|
|
"sideEffects": false,
|
|
"exports": {
|
|
"./cli": {
|
|
"types": "./cli/index.ts",
|
|
"import": "./cli/index.ts"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md",
|
|
"CHANGELOG.md",
|
|
"skills"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"exports": {
|
|
"./cli": {
|
|
"types": "./dist/cli/index.d.ts",
|
|
"import": "./dist/cli/index.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.json",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"test": "vitest run --passWithNoTests",
|
|
"lint": "eslint . --max-warnings 0",
|
|
"lint:fix": "eslint . --fix --max-warnings 0",
|
|
"format": "prettier . --write",
|
|
"format:check": "prettier . --check",
|
|
"check": "pnpm lint && pnpm format:check && pnpm typecheck && pnpm test && pnpm build",
|
|
"fix": "pnpm lint:fix && pnpm format"
|
|
},
|
|
"peerDependencies": {
|
|
"@nocobase/app-cli": "workspace:^",
|
|
"@oclif/core": "^4.14.0"
|
|
},
|
|
"devDependencies": {
|
|
"@nocobase/app-testing": "workspace:*",
|
|
"@nocobase/dev-config": "workspace:*",
|
|
"@types/node": "catalog:",
|
|
"eslint": "catalog:",
|
|
"prettier": "catalog:",
|
|
"typescript": "catalog:",
|
|
"vitest": "catalog:"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/nocobase/nocobase.git",
|
|
"directory": "packages/examples/app-plugin-cli-example"
|
|
},
|
|
"license": "Apache-2.0"
|
|
}
|