@tripley-kit/xfs-form-parser 1.0.0

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.
Scanning Device_94.pdf ADDED
Binary file
Binary file
Binary file
Binary file
package/doc/rmedia.def ADDED
@@ -0,0 +1,8 @@
1
+ XFSMEDIA "Receipt1"
2
+ BEGIN
3
+ TYPE GENERIC
4
+ UNIT MM, 1, 1
5
+ SIZE 75, 85
6
+ END
7
+
8
+
package/package.json ADDED
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "@tripley-kit/xfs-form-parser",
3
+ "version": "1.0.0",
4
+ "description": "A TypeScript library for parsing and validating XFS forms and medias",
5
+ "main": "dist/index.cjs",
6
+ "module": "dist/index.mjs",
7
+ "type": "module",
8
+ "types": "dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.mjs",
13
+ "require": "./dist/index.cjs"
14
+ }
15
+ },
16
+ "files": [
17
+ "dist",
18
+ "README.md",
19
+ "doc"
20
+ ],
21
+ "publishConfig": {
22
+ "registry": "https://registry.npmjs.org/",
23
+ "access": "public"
24
+ },
25
+ "author": "orichyy@hotmail.com",
26
+ "license": "ISC",
27
+ "dependencies": {
28
+ "antlr4": "^4.13.2"
29
+ },
30
+ "devDependencies": {
31
+ "@vitest/ui": "^3.2.4",
32
+ "vitest": "^3.2.4"
33
+ },
34
+ "scripts": {
35
+ "build": "tsup",
36
+ "build:watch": "tsup --watch",
37
+ "clean": "rimraf dist",
38
+ "test": "vitest run",
39
+ "test:watch": "vitest",
40
+ "test:ui": "vitest --ui",
41
+ "test:coverage": "vitest run --coverage",
42
+ "generate:parser": "java -jar doc/antlr-4.13.2-complete.jar -Dlanguage=TypeScript -visitor -no-listener -o src/generated grammar/XFSForm.g4",
43
+ "version:patch": "pnpm version patch"
44
+ }
45
+ }