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