| 1 | { |
| 2 | "name": "@withfig/autocomplete-tools", |
| 3 | "version": "2.10.0", |
| 4 | "description": "Command line tools for working with fig autocomplete specs", |
| 5 | "author": "The Fig Team", |
| 6 | "scripts": { |
| 7 | "build": "rm -rf build/ && pnpm run build:bin && pnpm run build:lib", |
| 8 | "build:bin": "esbuild src/bin.ts --bundle --platform=node --packages=external --outdir=build --minify", |
| 9 | "build:lib": "tsc", |
| 10 | "test": "tsx test/index.ts", |
| 11 | "test:overwrite": "OVERWRITE=true pnpm test", |
| 12 | "prepack": "pnpm build", |
| 13 | "generate-spec": "tsx generate-spec.ts generate-fig-spec" |
| 14 | }, |
| 15 | "license": "MIT", |
| 16 | "bin": "./build/bin.js", |
| 17 | "main": "./build/index.js", |
| 18 | "types": "./build/index.d.ts", |
| 19 | "files": [ |
| 20 | "build/" |
| 21 | ], |
| 22 | "dependencies": { |
| 23 | "@esbuild-plugins/node-modules-polyfill": "^0.2.2", |
| 24 | "@fig/autocomplete-helpers": "workspace:^", |
| 25 | "@fig/autocomplete-merge": "workspace:^", |
| 26 | "@types/semver": "^7.5.8", |
| 27 | "chalk": "^4.1.2", |
| 28 | "chokidar": "^4.0.1", |
| 29 | "commander": "^11.1.0", |
| 30 | "create-completion-spec": "workspace:^", |
| 31 | "esbuild": "^0.23.1", |
| 32 | "fast-glob": "^3.3.2", |
| 33 | "module-from-string": "^3.3.1", |
| 34 | "prettier": "^3.3.3", |
| 35 | "semver": "^7.6.3", |
| 36 | "typescript": "^5.5.4" |
| 37 | }, |
| 38 | "devDependencies": { |
| 39 | "@fig/complete-commander": "workspace:^", |
| 40 | "@types/node": "^22.5.2", |
| 41 | "@withfig/autocomplete-types": "workspace:^", |
| 42 | "tsx": "^4.19.0" |
| 43 | }, |
| 44 | "fig": { |
| 45 | "build": { |
| 46 | "description": "Typecheck and build the project", |
| 47 | "icon": "🛠" |
| 48 | }, |
| 49 | "prepack": { |
| 50 | "description": "Run build before packing the package for publishing", |
| 51 | "icon": "🛠" |
| 52 | } |
| 53 | }, |
| 54 | "publishConfig": { |
| 55 | "access": "public" |
| 56 | } |
| 57 | } |