-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
142 lines (142 loc) · 4.45 KB
/
Copy pathpackage.json
File metadata and controls
142 lines (142 loc) · 4.45 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "@cosyte/cli",
"version": "0.0.6",
"description": "The cosyte CLI: a PHI-safe developer front door over the @cosyte/* healthcare parsers. Parse HL7 v2 / FHIR from a file or stdin to typed JSON, with a documented exit-code contract.",
"keywords": [
"cli",
"healthcare",
"hl7",
"fhir",
"interoperability",
"typescript"
],
"bin": {
"cosyte": "./dist/bin/cosyte.mjs",
"cosyte-mcp": "./dist/bin/cosyte-mcp.mjs"
},
"homepage": "https://github.com/cosyte/cli#readme",
"bugs": {
"url": "https://github.com/cosyte/cli/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cosyte/cli.git"
},
"license": "MIT",
"author": "Cosyte <hello@cosyte.com> (https://cosyte.com)",
"type": "module",
"engines": {
"node": ">=22.0.0 <26.0.0"
},
"packageManager": "pnpm@10.34.5",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./mcp": {
"import": {
"types": "./dist/mcp.d.ts",
"default": "./dist/mcp.mjs"
},
"require": {
"types": "./dist/mcp.d.cts",
"default": "./dist/mcp.cjs"
}
},
"./package.json": "./package.json"
},
"files": [
"dist",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"sideEffects": false,
"publishConfig": {
"access": "public",
"provenance": true
},
"prettier": "@cosyte/prettier-config",
"scripts": {
"build": "tsup",
"changeset": "changeset",
"typecheck": "tsc --noEmit",
"phi-scan": "tsx scripts/phi-scan.ts",
"check:agent-notes": "tsx scripts/check-agent-notes.ts",
"check:no-emdash": "bash scripts/check-no-emdash.sh",
"check:no-internal-refs": "bash scripts/check-no-internal-refs.sh",
"lint": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --max-warnings=0 --no-error-on-unmatched-pattern",
"lint:fix": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --fix --no-error-on-unmatched-pattern",
"format": "prettier --write \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"*.{json,md,yml}\"",
"format:check": "prettier --check \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"*.{json,md,yml}\"",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:fuzz": "vitest run test/fuzz.property.test.ts",
"smoke": "node scripts/smoke.mjs",
"clean": "rm -rf dist coverage",
"vendor:refresh": "bash scripts/vendor-refresh.sh",
"pack:docs": "bash scripts/build-docs-artifacts.sh",
"attw": "node scripts/attw.mjs --profile node16",
"version": "changeset version && node scripts/sync-version.mjs && prettier --write package.json CHANGELOG.md src/core/version.ts",
"release": "changeset publish",
"prepublishOnly": "pnpm clean && pnpm typecheck && pnpm lint && pnpm test && pnpm build && pnpm attw",
"prepare": "command -v simple-git-hooks >/dev/null 2>&1 && simple-git-hooks || true"
},
"simple-git-hooks": {
"pre-commit": "pnpm phi-scan --staged"
},
"pnpm": {
"overrides": {
"esbuild@>=0.27.3 <0.28.1": "0.28.1",
"js-yaml@>=4.0.0 <4.3.0": "4.3.0"
}
},
"devDependencies": {
"@arethetypeswrong/cli": "0.18.4",
"@changesets/cli": "2.31.0",
"@cosyte/eslint-config": "^0.0.4",
"@cosyte/fhir": "file:vendor/cosyte-fhir-0.0.0.tgz",
"@cosyte/prettier-config": "^0.0.2",
"@cosyte/test-utils": "^0.0.1",
"@cosyte/tsconfig": "^0.0.2",
"@cosyte/tsup-config": "^0.0.1",
"@cosyte/vitest-config": "^0.0.2",
"@types/node": "^22.0.0",
"@vitest/coverage-v8": "4.1.4",
"eslint": "10.5.0",
"fast-check": "3.23.2",
"prettier": "3.8.3",
"simple-git-hooks": "2.13.0",
"tsup": "8.5.1",
"tsx": "4.21.0",
"typescript": "5.9.3",
"vite": "7.3.6",
"vitest": "4.1.4"
},
"dependencies": {
"@cosyte/hl7": "^0.0.7",
"@cosyte/terminology": "^0.0.9"
},
"optionalDependencies": {
"@cosyte/astm": "^0.0.11",
"@cosyte/ccda": "^0.0.8",
"@cosyte/deid": "^0.0.9",
"@cosyte/dicom": "^0.0.8",
"@cosyte/mllp": "^0.0.8",
"@cosyte/ncpdp": "^0.0.8",
"@cosyte/transform": "^0.0.4",
"@cosyte/x12": "^0.0.8",
"@modelcontextprotocol/sdk": "1.29.0"
}
}