@api-buddy/plugin-utils
Version:
Shared utilities for API Buddy plugins
63 lines • 1.93 kB
JSON
{
"name": "@api-buddy/plugin-utils",
"version": "3.0.0",
"description": "Shared utilities for API Buddy plugins",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"dependencies": {
"chalk": "^5.4.1",
"commander": "^14.0.0",
"inquirer": "^12.6.3",
"ora": "^8.2.0",
"zod": "^3.22.4",
"@api-buddy/types": "4.0.0"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^20.11.28",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.2",
"tsup": "^8.5.0",
"typescript": "^5.3.3",
"@api-buddy/tsup-config": "3.0.0"
},
"peerDependencies": {
"typescript": ">=4.9.0"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"api-buddy",
"plugin",
"utilities",
"typescript"
],
"_updated": true,
"scripts": {
"clean": "rimraf dist",
"build": "tsup",
"dev": "tsup --watch",
"test": "jest",
"test:watch": "pnpm test --watch",
"test:coverage": "pnpm test --coverage",
"lint": "eslint src --ext .ts,.tsx",
"type-check": "tsc --noEmit",
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
"prebuild": "node -e \"const { execSync } = require('child_process'); const path = require('path'); const fs = require('fs'); let root = process.cwd(); while (root !== '/' && !fs.existsSync(path.join(root, 'pnpm-workspace.yaml'))) { root = path.dirname(root); } if (root === '/') { console.error('❌ Could not find project root directory'); process.exit(1); } require(path.join(root, 'scripts/ensure-tsup-config.js'));\""
}
}