UNPKG

@common-grants/cli

Version:
88 lines (87 loc) 2.46 kB
{ "name": "@common-grants/cli", "version": "0.1.0-alpha.11", "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": "cli" }, "bugs": { "url": "https://github.com/HHS/simpler-grants-protocol/issues" }, "homepage": "https://github.com/HHS/simpler-grants-protocol/tree/main/cli#readme", "keywords": [ "cli", "protocol", "grants", "opportunities" ], "scripts": { "prepublishOnly": "bash scripts/prepublish-checks.sh", "build": "npm run typespec && tsc", "typespec": "tsp compile lib/main.tsp --emit @typespec/openapi3 && cp tsp-output/@typespec/openapi3/openapi.yaml lib/openapi.yaml", "start": "node dist/index.js", "dev": "ts-node src/index.ts", "prepare": "npm run build", "test": "jest", "test:watch": "jest --watch", "lint": "eslint . --ext .ts --fix", "format": "prettier --write .", "check:lint": "eslint . --ext .ts", "check:format": "prettier --check .", "checks": "npm run check:lint && npm run check:format" }, "dependencies": { "@common-grants/core": "^0.1.0-alpha.12", "@typespec/compiler": "^0.66.0", "chalk": "^4.1.2", "commander": "^11.1.0", "express": "^4.18.2", "inquirer": "^8.2.6", "js-yaml": "^4.1.0", "json-schema-merge-allof": "^0.8.1", "swagger-parser": "^10.0.3", "swagger-ui-express": "^5.0.0", "zod": "^3.24.1" }, "devDependencies": { "@types/express": "^5.0.0", "@types/inquirer": "^8.2.10", "@types/jest": "^29.5.12", "@types/js-yaml": "^4.0.9", "@types/json-schema-merge-allof": "^0.6.5", "@types/node": "^20.11.24", "@types/supertest": "^6.0.2", "@types/swagger-ui-express": "^4.1.7", "@typescript-eslint/eslint-plugin": "^7.0.2", "@typescript-eslint/parser": "^7.0.2", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jest": "^27.9.0", "eslint-plugin-prettier": "^5.1.3", "jest": "^29.7.0", "prettier": "^3.2.5", "supertest": "^7.0.0", "ts-jest": "^29.1.2", "ts-node": "^10.9.2", "typescript": "^5.3.3" } }