UNPKG

@common-grants/core

Version:

TypeSpec library for defining grant opportunity data models and APIs

74 lines (73 loc) 2.17 kB
{ "name": "@common-grants/core", "version": "0.1.0-alpha.12", "description": "TypeSpec library for defining grant opportunity data models and APIs", "type": "module", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", "publishConfig": { "access": "public" }, "exports": { ".": { "typespec": "./lib/main.tsp", "default": "./dist/src/index.js", "types": "./dist/src/index.d.ts" } }, "files": [ "dist/src/**/*.js", "dist/src/**/*.d.ts", "lib/**/*.tsp", "!src/**/*.test.*" ], "repository": { "type": "git", "url": "git+https://github.com/HHS/simpler-grants-protocol.git", "directory": "specs" }, "bugs": { "url": "https://github.com/HHS/simpler-grants-protocol/issues" }, "homepage": "https://github.com/HHS/simpler-grants-protocol/tree/main/specs#readme", "scripts": { "prepublishOnly": "bash scripts/prepublish-checks.sh", "clean": "rimraf dist tsp-output", "build": "tsc -p .", "watch": "tsc -p . --watch", "typespec": "tsp compile lib/main.tsp", "prepare": "npm run build", "lint": "eslint . --fix", "format": "prettier --write . && tsp format lib", "check:lint": "eslint", "check:format": "prettier --check . && tsp format lib --check", "checks": "npm run check:lint && npm run check:format", "docs:build": "npx @redocly/cli build-docs tsp-output/@typespec/openapi3/openapi.yaml --output ./dist/redocly.html", "docs:preview": "open ./dist/redocly.html", "docs": "npm run typespec && npm run docs:build && npm run docs:preview" }, "keywords": [ "typespec", "api", "grants", "opportunities" ], "author": "CommonGrants", "license": "CC0-1.0", "peerDependencies": { "@typespec/compiler": "^0.66.0", "@typespec/http": "^0.66.0", "@typespec/json-schema": "^0.66.0", "@typespec/openapi3": "^0.66.0", "@typespec/rest": "^0.66.0" }, "devDependencies": { "@types/node": "^20.10.6", "eslint": "^9.18.0", "prettier": "^3.4.2", "rimraf": "^5.0.5", "source-map-support": "^0.5.21", "typescript": "^5.3.3", "typescript-eslint": "^8.20.0" } }