@cosyte/dicom 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,105 @@
1
+ {
2
+ "name": "@cosyte/dicom",
3
+ "version": "0.0.1",
4
+ "description": "Developer-focused DICOM Part 10 parser + utility library for Node.js and TypeScript — metadata-first, vendor-quirky-tolerant, dual ESM/CJS.",
5
+ "keywords": [
6
+ "dicom",
7
+ "parser",
8
+ "medical-imaging",
9
+ "healthcare",
10
+ "interoperability",
11
+ "typescript",
12
+ "part-10",
13
+ "metadata"
14
+ ],
15
+ "homepage": "https://github.com/cosyte/dicom#readme",
16
+ "bugs": {
17
+ "url": "https://github.com/cosyte/dicom/issues"
18
+ },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git+https://github.com/cosyte/dicom.git"
22
+ },
23
+ "license": "MIT",
24
+ "author": "Cosyte <hello@cosyte.com> (https://cosyte.com)",
25
+ "type": "module",
26
+ "engines": {
27
+ "node": ">=22.0.0"
28
+ },
29
+ "main": "./dist/index.cjs",
30
+ "module": "./dist/index.mjs",
31
+ "types": "./dist/index.d.ts",
32
+ "exports": {
33
+ ".": {
34
+ "import": {
35
+ "types": "./dist/index.d.ts",
36
+ "default": "./dist/index.mjs"
37
+ },
38
+ "require": {
39
+ "types": "./dist/index.d.cts",
40
+ "default": "./dist/index.cjs"
41
+ }
42
+ },
43
+ "./package.json": "./package.json"
44
+ },
45
+ "files": [
46
+ "dist",
47
+ "README.md",
48
+ "LICENSE",
49
+ "CHANGELOG.md"
50
+ ],
51
+ "sideEffects": false,
52
+ "publishConfig": {
53
+ "access": "public",
54
+ "provenance": true
55
+ },
56
+ "prettier": "@cosyte/prettier-config",
57
+ "devDependencies": {
58
+ "@arethetypeswrong/cli": "0.18.4",
59
+ "@changesets/cli": "2.31.0",
60
+ "@cosyte/eslint-config": "^0.0.3",
61
+ "@cosyte/prettier-config": "^0.0.2",
62
+ "@cosyte/tsconfig": "^0.0.2",
63
+ "@cosyte/test-utils": "^0.0.1",
64
+ "@cosyte/tsup-config": "^0.0.1",
65
+ "@cosyte/vitest-config": "^0.0.1",
66
+ "@types/node": "^22.0.0",
67
+ "@vitest/coverage-v8": "4.1.4",
68
+ "eslint": "10.5.0",
69
+ "fast-check": "3.23.2",
70
+ "prettier": "3.8.3",
71
+ "simple-git-hooks": "2.13.0",
72
+ "tsup": "8.5.1",
73
+ "tsx": "4.21.0",
74
+ "typescript": "5.9.3",
75
+ "vite": "7.3.6",
76
+ "vitest": "4.1.4"
77
+ },
78
+ "dependencies": {},
79
+ "simple-git-hooks": {
80
+ "pre-commit": "pnpm phi-scan --staged"
81
+ },
82
+ "scripts": {
83
+ "build": "tsup",
84
+ "changeset": "changeset",
85
+ "clean": "rm -rf dist coverage",
86
+ "typecheck": "tsc --noEmit",
87
+ "typecheck:exports": "attw --pack . --profile node16",
88
+ "lint": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --max-warnings=0 --no-error-on-unmatched-pattern",
89
+ "lint:fix": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --fix --no-error-on-unmatched-pattern",
90
+ "format": "prettier --write \"src/**/*.{ts,md}\" \"scripts/**/*.ts\" \"test/**/*.ts\" \"*.{json,md,yml,yaml}\" --no-error-on-unmatched-pattern",
91
+ "format:check": "prettier --check \"src/**/*.{ts,md}\" \"scripts/**/*.ts\" \"test/**/*.ts\" \"*.{json,md,yml,yaml}\" --no-error-on-unmatched-pattern",
92
+ "test": "vitest run",
93
+ "test:watch": "vitest",
94
+ "test:coverage": "vitest run --coverage",
95
+ "gen:dictionary": "tsx scripts/generate-dictionary.ts",
96
+ "gen:annex-e": "tsx scripts/generate-annex-e.ts",
97
+ "gen:all": "pnpm gen:dictionary && pnpm gen:annex-e",
98
+ "phi-scan": "tsx scripts/phi-scan.ts",
99
+ "smoke": "tsx scripts/smoke.ts",
100
+ "pack:docs": "bash scripts/build-docs-artifacts.sh",
101
+ "attw": "attw --pack .",
102
+ "version": "changeset version && node scripts/sync-version.mjs && prettier --write package.json src/version.ts",
103
+ "release": "changeset publish"
104
+ }
105
+ }