-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
120 lines (120 loc) · 3.65 KB
/
Copy pathpackage.json
File metadata and controls
120 lines (120 loc) · 3.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "@common-grants/sdk",
"version": "0.6.0",
"engines": {
"node": ">=22.0.0"
},
"license": "CC0-1.0",
"description": "The CommonGrants protocol TypeScript SDK",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./client": {
"types": "./dist/src/client/index.d.ts",
"default": "./dist/src/client/index.js"
},
"./schemas": {
"types": "./dist/src/schemas/index.d.ts",
"default": "./dist/src/schemas/index.js"
},
"./types": {
"types": "./dist/src/types.d.ts",
"default": "./dist/src/types.js"
},
"./constants": {
"types": "./dist/src/constants.d.ts",
"default": "./dist/src/constants.js"
},
"./extensions": {
"types": "./dist/src/extensions/index.d.ts",
"default": "./dist/src/extensions/index.js"
}
},
"files": [
"dist",
"!dist/**/*.test.*",
"!dist/**/*.spec.*"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/HHS/simpler-grants-protocol.git",
"directory": "lib/ts-sdk"
},
"bugs": {
"url": "https://github.com/HHS/simpler-grants-protocol/issues"
},
"homepage": "https://github.com/HHS/simpler-grants-protocol/tree/main/lib/ts-sdk#readme",
"keywords": [
"sdk",
"typescript",
"protocol",
"grants",
"opportunities"
],
"scripts": {
"build": "tsc && pnpm typespec",
"start": "node dist/index.js",
"dev": "ts-node src/index.ts",
"prepare": "tsc",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint . --ext .ts --fix",
"format": "prettier --write .",
"check:lint": "eslint . --ext .ts",
"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 && pnpm run example:transforms",
"audit": "pnpm audit",
"typespec": "tsp compile lib/main.tsp",
"example:list": "tsx examples/list-opportunities.ts",
"example:get": "tsx examples/get-opportunity.ts",
"example:search": "tsx examples/search-opportunities.ts",
"example:custom-fields": "tsx examples/custom-fields.ts",
"example:get-custom-fields": "tsx examples/get-opportunity-with-custom-fields.ts",
"example:plugins": "tsx examples/plugins.ts",
"example:server": "tsx examples/mock-api-server.ts",
"example:transforms": "tsx examples/transforms.ts",
"example:custom-filters": "tsx examples/custom-filters.ts",
"example:grants-gov": "tsx examples/grants-gov-transforms.ts"
},
"dependencies": {
"zod": "catalog:"
},
"devDependencies": {
"@common-grants/cg-grants-gov": "^0.2.0",
"@common-grants/core": "workspace:*",
"@eslint/js": "catalog:",
"@types/js-yaml": "^4.0.9",
"@types/node": "catalog:",
"@typespec/compiler": "catalog:",
"@typespec/http": "catalog:",
"@typespec/json-schema": "catalog:",
"@typespec/openapi": "catalog:",
"@typespec/openapi3": "catalog:",
"@typespec/rest": "catalog:",
"@typespec/versioning": "catalog:",
"@vitest/coverage-v8": "catalog:",
"ajv": "^8.20.0",
"ajv-formats": "^3.0.1",
"eslint": "catalog:",
"eslint-config-prettier": "catalog:",
"eslint-plugin-prettier": "catalog:",
"js-yaml": "^4.3.0",
"json-schema-faker": "^0.6.2",
"prettier": "catalog:",
"ts-node": "catalog:",
"tsx": "^4.23.1",
"typescript": "catalog:",
"typescript-eslint": "catalog:",
"vitest": "catalog:"
}
}