-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
73 lines (73 loc) · 2.12 KB
/
package.json
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
{
"name": "@common-grants/core",
"version": "0.1.0-alpha.11",
"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.63.0",
"@typespec/http": "^0.63.0",
"@typespec/json-schema": "^0.63.0",
"@typespec/openapi3": "^0.63.0",
"@typespec/rest": "^0.63.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"
}
}