-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
131 lines (131 loc) · 4.44 KB
/
Copy pathpackage.json
File metadata and controls
131 lines (131 loc) · 4.44 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
{
"name": "@cosyte/astm",
"version": "0.1.0",
"description": "ASTM parser, serializer, and builder for Node.js and TypeScript: lenient on parse, spec-clean on emit.",
"keywords": [
"astm",
"astm-e1394",
"astm-e1381",
"lis02-a2",
"lis01-a2",
"clsi",
"lis",
"laboratory",
"lab-instrument",
"analyzer",
"loinc",
"livd",
"healthcare",
"interoperability",
"parser",
"serializer",
"builder",
"typescript"
],
"homepage": "https://docs.cosyte.com/astm",
"bugs": {
"url": "https://github.com/cosyte/astm/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cosyte/astm.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": {
"esbuild@>=0.27.3 <0.28.1": "0.28.1",
"js-yaml@>=4.0.0 <4.3.0": "4.3.0"
}
},
"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",
"phi-scan": "tsx scripts/phi-scan.ts",
"check": "pnpm run check:gate-coverage && pnpm run check:agent-notes && pnpm run check:dependency-inventory",
"check:agent-notes": "tsx scripts/check-agent-notes.ts",
"check:dependency-inventory": "tsx scripts/check-dependency-inventory.ts",
"check:gate-coverage": "tsx scripts/check-gate-coverage.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}\" \"docs-content/**/*.{md,json}\" \"examples/**/*.{ts,js,json,md}\" \"*.{json,md,yml}\"",
"format:check": "prettier --check \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"docs-content/**/*.{md,json}\" \"examples/**/*.{ts,js,json,md}\" \"*.{json,md,yml}\"",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:fuzz": "vitest run test/property/frames-fuzz.property.test.ts test/property/records-fuzz.property.test.ts",
"examples": "tsx scripts/run-examples.ts",
"typecheck:examples": "tsc -p examples/tsconfig.json",
"lint:examples": "eslint examples --max-warnings=0",
"phi-scan:examples": "tsx scripts/phi-scan.ts examples/*.ts examples/data/*",
"clean": "rm -rf dist coverage",
"pack:docs": "bash scripts/build-docs-artifacts.sh",
"attw": "node scripts/attw.mjs",
"smoke": "node scripts/smoke.mjs",
"version": "changeset version && node scripts/sync-version.mjs && prettier --write package.json CHANGELOG.md src/index.ts",
"release": "changeset publish",
"prepublishOnly": "pnpm clean && pnpm typecheck && pnpm lint && pnpm test && pnpm build && pnpm attw && pnpm check:dependency-inventory",
"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.4",
"@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": {}
}