@pragma-sh/scratchpad-viewer 0.1.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.
package/package.json ADDED
@@ -0,0 +1,56 @@
1
+ {
2
+ "name": "@pragma-sh/scratchpad-viewer",
3
+ "version": "0.1.0",
4
+ "description": "Read-only scratchpad renderer: one self-contained HTML document that evaluates scratchpad MDX with live @pragma-sh/scratchpad components and a touch comment layer.",
5
+ "homepage": "https://github.com/pragma-sh/pragma#readme",
6
+ "bugs": "https://github.com/pragma-sh/pragma/issues",
7
+ "license": "AGPL-3.0-only",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/pragma-sh/pragma.git",
11
+ "directory": "packages/scratchpad-viewer"
12
+ },
13
+ "files": [
14
+ "dist"
15
+ ],
16
+ "type": "module",
17
+ "main": "./dist/index.cjs",
18
+ "module": "./dist/index.js",
19
+ "types": "./dist/index.d.ts",
20
+ "exports": {
21
+ ".": {
22
+ "types": "./dist/index.d.ts",
23
+ "import": "./dist/index.js",
24
+ "require": "./dist/index.cjs"
25
+ }
26
+ },
27
+ "publishConfig": {
28
+ "access": "public"
29
+ },
30
+ "scripts": {
31
+ "build": "bun scripts/build.ts",
32
+ "pretypecheck": "bun scripts/build.ts --runtime-only",
33
+ "typecheck": "tsc -p tsconfig.typecheck.json --noEmit",
34
+ "pretest": "bun scripts/build.ts --runtime-only",
35
+ "test": "bun --bun vitest run",
36
+ "lint": "oxlint ."
37
+ },
38
+ "dependencies": {
39
+ "@pragma-sh/scratchpad-contract": "^0.1.0"
40
+ },
41
+ "devDependencies": {
42
+ "@mdx-js/mdx": "^3.1.1",
43
+ "@pragma-sh/scratchpad": "workspace:*",
44
+ "@types/node": "^24.12.3",
45
+ "@types/react": "^19.2.14",
46
+ "@types/react-dom": "^19.2.3",
47
+ "bunup": "^0.16.32",
48
+ "esbuild": "^0.25.12",
49
+ "jsdom": "^30.0.1",
50
+ "react": "^19.2.6",
51
+ "react-dom": "^19.2.6",
52
+ "remark-gfm": "^4.0.1",
53
+ "typescript": "^6.0.3",
54
+ "vitest": "^4.1.8"
55
+ }
56
+ }