UNPKG

@common-grants/core

Version:

TypeSpec library for defining grant opportunity data models and APIs

75 lines 2.12 kB
{ "name": "@common-grants/core", "version": "0.3.3", "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": "lib/core" }, "bugs": { "url": "https://github.com/HHS/simpler-grants-protocol/issues" }, "homepage": "https://github.com/HHS/simpler-grants-protocol/tree/main/lib/core/#readme", "keywords": [ "typespec", "api", "grants", "opportunities" ], "author": "CommonGrants", "license": "CC0-1.0", "peerDependencies": { "@typespec/compiler": "^1.11.0", "@typespec/http": "^1.11.0", "@typespec/json-schema": "^1.11.0", "@typespec/openapi": "^1.11.0", "@typespec/openapi3": "^1.11.0", "@typespec/rest": "^0.81.0", "@typespec/versioning": "^0.81.0" }, "devDependencies": { "@eslint/js": "^9.39.4", "@types/node": "^20.19.41", "eslint": "^9.39.4", "globals": "^15.15.0", "prettier": "^3.8.3", "rimraf": "^5.0.10", "source-map-support": "^0.5.21", "typescript": "^5.9.3", "typescript-eslint": "^8.59.3" }, "scripts": { "clean": "rimraf dist tsp-output", "build": "tsc -p .", "watch": "tsc -p . --watch", "typespec": "tsp compile lib/main.tsp", "lint": "eslint . --fix", "format": "prettier --write . && tsp format lib", "check:lint": "eslint", "check:format": "prettier --check . && tsp format lib --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 typespec", "audit": "pnpm audit" } }