Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
132 lines (132 loc) · 4.27 KB
/
Copy pathpackage.json
File metadata and controls
132 lines (132 loc) · 4.27 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
{
"name": "@cosyte/ccda",
"version": "0.1.0",
"description": "C-CDA parser, serializer, and builder for Node.js and TypeScript: lenient on parse, spec-clean on emit.",
"keywords": [
"ccda",
"c-cda",
"cda",
"hl7-cda",
"ccd",
"clinical-document",
"continuity-of-care-document",
"discharge-summary",
"referral-note",
"ehr",
"healthcare",
"interoperability",
"parser",
"serializer",
"builder",
"typescript"
],
"homepage": "https://docs.cosyte.com/ccda",
"bugs": {
"url": "https://github.com/cosyte/ccda/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cosyte/ccda.git"
},
"license": "MIT",
"author": "Cosyte <hello@cosyte.com> (https://cosyte.com)",
"type": "module",
"engines": {
"node": ">=22.0.0"
},
"packageManager": "pnpm@10.34.5",
"pnpm": {
"overrides": {
"brace-expansion@>=3.0.0 <5.0.9": "5.0.9",
"esbuild@>=0.27.3 <0.28.1": "0.28.1",
"js-yaml@>=3.0.0 <3.15.2": "3.15.2",
"js-yaml@>=4.0.0 <4.3.0": "4.3.0",
"js-yaml@>=4.0.0 <4.3.2": "4.3.2",
"postcss@>=8.0.0 <8.5.26": "8.5.26"
}
},
"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"
}
},
"./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",
"check:no-emdash": "bash scripts/check-no-emdash.sh",
"check:no-internal-refs": "bash scripts/check-no-internal-refs.sh",
"check:agent-notes": "node scripts/check-agent-notes-contract.mjs",
"phi-scan": "tsx scripts/phi-scan.ts",
"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\" \"docs-content/**/*.md\" \"examples/**/*.{ts,js,json,md}\" \"*.{json,md,yml}\"",
"format:check": "prettier --check \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.ts\" \"docs-content/**/*.md\" \"examples/**/*.{ts,js,json,md}\" \"*.{json,md,yml}\"",
"conformance": "tsx --max-old-space-size=4096 scripts/conformance/run.ts",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"examples": "tsx scripts/run-examples.ts",
"typecheck:examples": "tsc -p examples/tsconfig.json",
"lint:examples": "eslint examples --max-warnings=0",
"clean": "rm -rf dist coverage",
"pack:docs": "bash scripts/build-docs-artifacts.sh",
"attw": "node scripts/attw.mjs",
"version": "changeset version && node scripts/sync-version.mjs && tsx scripts/sync-readme-version.ts && prettier --write package.json src/index.ts README.md",
"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"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.18.4",
"@changesets/cli": "2.31.0",
"@cosyte/eslint-config": "^0.0.3",
"@cosyte/prettier-config": "^0.0.2",
"@cosyte/test-utils": "^0.0.2",
"@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",
"xmllint-wasm": "5.3.0",
"xpath": "0.0.34"
},
"dependencies": {
"@xmldom/xmldom": "0.9.12"
}
}