UNPKG

@common-grants/cli

Version:
95 lines 2.83 kB
{ "name": "@common-grants/cli", "version": "0.3.3", "license": "CC0-1.0", "description": "The CommonGrants protocol CLI tool", "main": "dist/index.js", "files": [ "dist", "lib", "!dist/__tests__", "man/cg.1" ], "bin": { "cg": "./dist/index.js" }, "man": [ "./man/cg.1" ], "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "git+https://github.com/HHS/simpler-grants-protocol.git", "directory": "lib/cli" }, "bugs": { "url": "https://github.com/HHS/simpler-grants-protocol/issues" }, "homepage": "https://github.com/HHS/simpler-grants-protocol/tree/main/lib/cli#readme", "keywords": [ "cli", "protocol", "grants", "opportunities" ], "dependencies": { "@apidevtools/swagger-parser": "^10.1.1", "@typespec/compiler": "^1.11.0", "chalk": "^4.1.2", "commander": "^12.1.0", "express": "^4.22.2", "inquirer": "^9.3.8", "js-yaml": "^4.1.1", "json-schema-merge-allof": "^0.8.1", "openapi-types": "^12.1.3", "swagger-ui-express": "^5.0.1", "zod": "^3.25.76" }, "devDependencies": { "@eslint/js": "^9.39.4", "@types/express": "^4.17.25", "@types/inquirer": "^9.0.9", "@types/js-yaml": "^4.0.9", "@types/json-schema-merge-allof": "^0.6.5", "@types/node": "^20.19.41", "@types/supertest": "^6.0.3", "@types/swagger-ui-express": "^4.1.8", "@typespec/json-schema": "^1.11.0", "@typespec/openapi3": "^1.11.0", "@typespec/versioning": "^0.81.0", "@vitest/coverage-v8": "^3.2.4", "eslint": "^9.39.4", "eslint-config-prettier": "^9.1.2", "eslint-plugin-prettier": "^5.5.5", "eslint-plugin-vitest": "^0.5.4", "prettier": "^3.8.3", "prettier-linter-helpers": "^1.0.1", "supertest": "^7.2.2", "ts-node": "^10.9.2", "typescript": "^5.9.3", "typescript-eslint": "^8.59.3", "vitest": "^3.2.4", "@common-grants/core": "0.3.3" }, "scripts": { "build": "pnpm run typespec && tsc", "typespec:clean": "rm -rf dist tsp-output && rm -rf lib/openapi/*", "typespec:openapi": "tsp compile lib/main.tsp --emit @typespec/openapi3 && cp tsp-output/@typespec/openapi3/** lib/openapi", "typespec": "pnpm run typespec:clean && pnpm run typespec:openapi", "start": "node dist/index.js", "dev": "ts-node src/index.ts", "test": "vitest run", "test:watch": "vitest", "test:coverage": "vitest run --coverage", "lint": "eslint . --fix", "format": "prettier --write .", "check:lint": "eslint .", "check:format": "prettier --check .", "check:types": "tsc --noEmit", "checks": "pnpm run check:lint && pnpm run check:format && pnpm run check:types", "ci": "pnpm run checks && pnpm run build && pnpm run test", "audit": "pnpm audit" } }