@cosyte/astm 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,100 @@
1
+ {
2
+ "name": "@cosyte/astm",
3
+ "version": "0.0.1",
4
+ "description": "ASTM parser, serializer, and builder for Node.js and TypeScript — lenient on parse, spec-clean on emit.",
5
+ "keywords": [
6
+ "astm",
7
+ "parser",
8
+ "healthcare",
9
+ "interoperability",
10
+ "typescript",
11
+ "serializer"
12
+ ],
13
+ "homepage": "https://github.com/cosyte/astm#readme",
14
+ "bugs": {
15
+ "url": "https://github.com/cosyte/astm/issues"
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/cosyte/astm.git"
20
+ },
21
+ "license": "MIT",
22
+ "author": "Cosyte <hello@cosyte.com> (https://cosyte.com)",
23
+ "type": "module",
24
+ "engines": {
25
+ "node": ">=22.0.0"
26
+ },
27
+ "main": "./dist/index.cjs",
28
+ "module": "./dist/index.mjs",
29
+ "types": "./dist/index.d.ts",
30
+ "exports": {
31
+ ".": {
32
+ "import": {
33
+ "types": "./dist/index.d.ts",
34
+ "default": "./dist/index.mjs"
35
+ },
36
+ "require": {
37
+ "types": "./dist/index.d.cts",
38
+ "default": "./dist/index.cjs"
39
+ }
40
+ },
41
+ "./package.json": "./package.json"
42
+ },
43
+ "files": [
44
+ "dist",
45
+ "README.md",
46
+ "LICENSE",
47
+ "CHANGELOG.md"
48
+ ],
49
+ "sideEffects": false,
50
+ "publishConfig": {
51
+ "access": "public",
52
+ "provenance": true
53
+ },
54
+ "prettier": "@cosyte/prettier-config",
55
+ "simple-git-hooks": {
56
+ "pre-commit": "pnpm phi-scan --staged"
57
+ },
58
+ "devDependencies": {
59
+ "@arethetypeswrong/cli": "0.18.4",
60
+ "@changesets/cli": "2.31.0",
61
+ "@cosyte/eslint-config": "^0.0.4",
62
+ "@cosyte/prettier-config": "^0.0.2",
63
+ "@cosyte/test-utils": "^0.0.1",
64
+ "@cosyte/tsconfig": "^0.0.2",
65
+ "@cosyte/tsup-config": "^0.0.1",
66
+ "@cosyte/vitest-config": "^0.0.2",
67
+ "@types/node": "^22.0.0",
68
+ "@vitest/coverage-v8": "4.1.4",
69
+ "eslint": "10.5.0",
70
+ "fast-check": "3.23.2",
71
+ "prettier": "3.8.3",
72
+ "simple-git-hooks": "2.13.0",
73
+ "tsup": "8.5.1",
74
+ "tsx": "4.21.0",
75
+ "typescript": "5.9.3",
76
+ "vite": "7.3.6",
77
+ "vitest": "4.1.4"
78
+ },
79
+ "dependencies": {},
80
+ "scripts": {
81
+ "build": "tsup",
82
+ "changeset": "changeset",
83
+ "typecheck": "tsc --noEmit",
84
+ "phi-scan": "tsx scripts/phi-scan.ts",
85
+ "lint": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --max-warnings=0 --no-error-on-unmatched-pattern",
86
+ "lint:fix": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --fix --no-error-on-unmatched-pattern",
87
+ "format": "prettier --write \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"*.{json,md,yml}\"",
88
+ "format:check": "prettier --check \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"*.{json,md,yml}\"",
89
+ "test": "vitest run",
90
+ "test:watch": "vitest",
91
+ "test:coverage": "vitest run --coverage",
92
+ "test:fuzz": "vitest run test/property/frames-fuzz.property.test.ts test/property/records-fuzz.property.test.ts",
93
+ "clean": "rm -rf dist coverage",
94
+ "pack:docs": "bash scripts/build-docs-artifacts.sh",
95
+ "attw": "attw --pack .",
96
+ "smoke": "node scripts/smoke.mjs",
97
+ "version": "changeset version && prettier --write package.json CHANGELOG.md",
98
+ "release": "changeset publish"
99
+ }
100
+ }