structural-codes-viewer 0.1.0-alpha.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/README.md +102 -0
- package/package-dist/CorpusContent.d.ts +16 -0
- package/package-dist/CorpusContent.js +72 -0
- package/package-dist/CorpusContent.js.map +1 -0
- package/package-dist/NormativeViewer.d.ts +29 -0
- package/package-dist/NormativeViewer.js +330 -0
- package/package-dist/NormativeViewer.js.map +1 -0
- package/package-dist/corpusData.d.ts +235 -0
- package/package-dist/corpusData.js +40 -0
- package/package-dist/corpusData.js.map +1 -0
- package/package-dist/generate-artifacts.mjs +151 -0
- package/package-dist/styles.css +182 -0
- package/package.json +83 -0
package/package.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "structural-codes-viewer",
|
|
3
|
+
"version": "0.1.0-alpha.1",
|
|
4
|
+
"description": "Reference React UI and deterministic artifact client for the structural-codes corpus.",
|
|
5
|
+
"license": "LGPL-2.1-or-later",
|
|
6
|
+
"homepage": "https://github.com/claudiopagani/structural-codes#readme",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/claudiopagani/structural-codes.git",
|
|
10
|
+
"directory": "viewer"
|
|
11
|
+
},
|
|
12
|
+
"files": ["package-dist", "README.md", "LICENSE", "NOTICE"],
|
|
13
|
+
"main": "./package-dist/NormativeViewer.js",
|
|
14
|
+
"types": "./package-dist/NormativeViewer.d.ts",
|
|
15
|
+
"bin": {
|
|
16
|
+
"structural-codes-viewer": "./package-dist/generate-artifacts.mjs"
|
|
17
|
+
},
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./package-dist/NormativeViewer.d.ts",
|
|
21
|
+
"import": "./package-dist/NormativeViewer.js",
|
|
22
|
+
"default": "./package-dist/NormativeViewer.js"
|
|
23
|
+
},
|
|
24
|
+
"./styles.css": "./package-dist/styles.css",
|
|
25
|
+
"./generate-artifacts": "./package-dist/generate-artifacts.mjs",
|
|
26
|
+
"./corpus-data": {
|
|
27
|
+
"types": "./package-dist/corpusData.d.ts",
|
|
28
|
+
"import": "./package-dist/corpusData.js",
|
|
29
|
+
"default": "./package-dist/corpusData.js"
|
|
30
|
+
},
|
|
31
|
+
"./package.json": "./package.json"
|
|
32
|
+
},
|
|
33
|
+
"publishConfig": {"access": "public"},
|
|
34
|
+
"allowScripts": {
|
|
35
|
+
"esbuild@0.28.1": true,
|
|
36
|
+
"unrs-resolver@1.11.1": true,
|
|
37
|
+
"workerd@1.20260820.1": true
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"sync:corpus": "node scripts/sync-corpus.mjs",
|
|
41
|
+
"build:library": "node scripts/build-library.mjs",
|
|
42
|
+
"pack:verify": "npm run build:library && npm pack --dry-run",
|
|
43
|
+
"test:consumer": "node scripts/test-consumer.mjs",
|
|
44
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
45
|
+
"dev": "npm run sync:corpus && vinext dev",
|
|
46
|
+
"build": "npm run sync:corpus && vinext build",
|
|
47
|
+
"start": "vinext start",
|
|
48
|
+
"test": "npm run build:library && npm run build && node --test tests/rendered-html.test.mjs tests/comparison-viewer.test.mjs tests/package-boundary.test.mjs",
|
|
49
|
+
"lint": "eslint . --ignore-pattern dist --ignore-pattern package-dist --ignore-pattern .next --max-warnings 0",
|
|
50
|
+
"check": "npm run lint && npm test"
|
|
51
|
+
},
|
|
52
|
+
"peerDependencies": {
|
|
53
|
+
"react": "^19.0.0",
|
|
54
|
+
"react-dom": "^19.0.0"
|
|
55
|
+
},
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"@fontsource/tinos": "^5.3.0",
|
|
58
|
+
"katex": "^0.16.22"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"structural-codes": "file:..",
|
|
62
|
+
"next": "16.3.2",
|
|
63
|
+
"pdfjs-dist": "6.2.108",
|
|
64
|
+
"react": "19.2.8",
|
|
65
|
+
"react-dom": "19.2.8",
|
|
66
|
+
"@cloudflare/vite-plugin": "1.53.1",
|
|
67
|
+
"@tailwindcss/postcss": "4.2.1",
|
|
68
|
+
"@types/node": "22.19.19",
|
|
69
|
+
"@types/react": "19.2.14",
|
|
70
|
+
"@types/react-dom": "19.2.3",
|
|
71
|
+
"@vitejs/plugin-react": "6.0.2",
|
|
72
|
+
"@vitejs/plugin-rsc": "0.5.34",
|
|
73
|
+
"eslint": "9.39.4",
|
|
74
|
+
"eslint-config-next": "16.3.2",
|
|
75
|
+
"react-server-dom-webpack": "19.2.8",
|
|
76
|
+
"tailwindcss": "4.2.1",
|
|
77
|
+
"typescript": "5.9.3",
|
|
78
|
+
"vinext": "1.0.0-beta.8",
|
|
79
|
+
"vite": "8.1.5",
|
|
80
|
+
"wrangler": "4.125.0"
|
|
81
|
+
},
|
|
82
|
+
"type": "module"
|
|
83
|
+
}
|