| 1 | { |
| 2 | "name": "@fig/publish-spec", |
| 3 | "version": "1.2.3", |
| 4 | "description": "Publish a spec to fig team", |
| 5 | "bin": "./lib/bin.js", |
| 6 | "main": "./lib/index.js", |
| 7 | "type": "module", |
| 8 | "scripts": { |
| 9 | "run-script": "pnpm build && node ./lib/bin.js", |
| 10 | "build": "tsc", |
| 11 | "prepack": "pnpm build", |
| 12 | "test:server": "TEST_PORT=3005 node --import tsx test/server.ts", |
| 13 | "test:fixtures": "BASE_URL=http://localhost:3005 tsx test/index.ts", |
| 14 | "test": "./test.sh", |
| 15 | "test:overwrite": "OVERWRITE=true pnpm test", |
| 16 | "generate-spec": "node --import tsx generate-spec.ts generate-fig-spec" |
| 17 | }, |
| 18 | "fig": { |
| 19 | "test:server": "Start a mock server emulating the production one", |
| 20 | "test:fixtures": "Run fixtures", |
| 21 | "test": "Start test server, run fixtures then stop server", |
| 22 | "test:overwrite": "Start test server, regenerate fixtures then stop server" |
| 23 | }, |
| 24 | "repository": { |
| 25 | "type": "git", |
| 26 | "url": "git+https://github.com/withfig/autocomplete-tools.git" |
| 27 | }, |
| 28 | "engines": { |
| 29 | "node": ">= 14" |
| 30 | }, |
| 31 | "keywords": [ |
| 32 | "fig", |
| 33 | "team", |
| 34 | "spec", |
| 35 | "cicd", |
| 36 | "cli", |
| 37 | "completion" |
| 38 | ], |
| 39 | "files": [ |
| 40 | "lib/" |
| 41 | ], |
| 42 | "author": "Federico Ciardi <[email protected]>", |
| 43 | "license": "MIT", |
| 44 | "bugs": { |
| 45 | "url": "https://github.com/withfig/autocomplete-tools/issues" |
| 46 | }, |
| 47 | "homepage": "https://github.com/withfig/autocomplete-tools#readme", |
| 48 | "dependencies": { |
| 49 | "commander": "^11.1.0", |
| 50 | "esbuild": "^0.23.1", |
| 51 | "node-fetch": "^3.3.2", |
| 52 | "prettier": "^3.3.3", |
| 53 | "prompts": "^2.4.2" |
| 54 | }, |
| 55 | "devDependencies": { |
| 56 | "@fig/complete-commander": "workspace:^", |
| 57 | "@types/express": "^4.17.21", |
| 58 | "@types/multer": "^1.4.12", |
| 59 | "@types/node": "^22.5.2", |
| 60 | "@types/node-fetch": "^2.6.11", |
| 61 | "@types/prompts": "^2.4.9", |
| 62 | "express": "^4.21.1", |
| 63 | "multer": "1.4.5-lts.1", |
| 64 | "picocolors": "^1.1.0", |
| 65 | "tsx": "^4.19.0", |
| 66 | "typescript": "^5.5.4" |
| 67 | }, |
| 68 | "publishConfig": { |
| 69 | "access": "public" |
| 70 | } |
| 71 | } |