Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
138 lines (138 loc) · 4.83 KB
/
Copy pathpackage.json
File metadata and controls
138 lines (138 loc) · 4.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "@workspace.sh/react-native-jsoncanvas",
"version": "0.0.1",
"description": "React Native renderer for JSON Canvas (.canvas) documents. Skia + Reanimated, with pan / pinch / fit / recenter controls; also renders on Linux through GTKX (GTK4 + libadwaita, Cairo).",
"license": "MIT",
"author": "Leslie Owusu-Appiah <leslie@workspace.sh>",
"homepage": "https://github.com/workspace-sh/react-native-jsoncanvas#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/workspace-sh/react-native-jsoncanvas.git"
},
"bugs": {
"url": "https://github.com/workspace-sh/react-native-jsoncanvas/issues"
},
"keywords": [
"json-canvas",
"jsoncanvas",
"canvas",
"infinite-canvas",
"react-native",
"react-native-macos",
"skia",
"reanimated",
"obsidian",
"ios",
"macos",
"gtk",
"gtk4",
"libadwaita",
"linux"
],
"main": "src/index.ts",
"types": "src/index.ts",
"exports": {
".": {
"source": "./src/index.ts",
"types": "./src/index.ts",
"default": "./src/index.ts"
},
"./menu": {
"source": "./src/menu/index.ts",
"types": "./src/menu/index.ts",
"default": "./src/menu/index.ts"
},
"./gtk": {
"source": "./src/gtk/index.ts",
"types": "./src/gtk/index.ts",
"default": "./src/gtk/index.ts"
},
"./package.json": "./package.json"
},
"files": [
"src",
"README.md",
"LICENSE"
],
"workspaces": [
"example/*"
],
"scripts": {
"postinstall": "if [ -d node_modules/@expo/plist ]; then patch-package; fi",
"test": "jest",
"typecheck": "tsc --noEmit",
"lint": "eslint src",
"fixtures:canvas": "node --experimental-strip-types --disable-warning=MODULE_TYPELESS_PACKAGE_JSON scripts/big-canvas.mts",
"mobile:install": "cd example/expo-app && npm install",
"mobile:start": "cd example/expo-app && npx expo start",
"mobile:clear": "cd example/expo-app && watchman watch-del-all && npx expo start --clear",
"mobile:ios:prebuild": "cd example/expo-app && LANG=en_US.UTF-8 npx expo prebuild --platform ios",
"mobile:ios:clean": "rm -rf example/expo-app/ios",
"mobile:ios:run": "cd example/expo-app && LANG=en_US.UTF-8 npx expo run:ios",
"mobile:ios:run:device": "cd example/expo-app && LANG=en_US.UTF-8 npx expo run:ios --device",
"mobile:ios:run:device:release": "cd example/expo-app && LANG=en_US.UTF-8 npx expo run:ios --device --configuration Release",
"mobile:ios:dev": "concurrently \"npm run mobile:clear\" \"npm run mobile:ios:run\"",
"mobile:android:prebuild": "cd example/expo-app && npx expo prebuild --platform android",
"mobile:android:clean": "rm -rf example/expo-app/android",
"mobile:android:run": "cd example/expo-app && npx expo run:android",
"mobile:android:run:device": "cd example/expo-app && npx expo run:android --device",
"mobile:android:dev": "concurrently \"npm run mobile:clear\" \"npm run mobile:android:run\"",
"desktop:install": "cd example/macos-app && npm install --legacy-peer-deps",
"desktop:start": "cd example/macos-app && npx react-native start --port 8083",
"desktop:clear": "cd example/macos-app && watchman watch-del-all && npx react-native start --port 8083 --reset-cache",
"desktop:macos:pods": "cd example/macos-app/macos && LANG=en_US.UTF-8 pod install",
"desktop:macos:clean": "rm -rf example/macos-app/macos/build example/macos-app/macos/Pods",
"desktop:macos:run": "cd example/macos-app && npx react-native run-macos --port 8083",
"desktop:macos:dev": "concurrently \"npm run desktop:clear\" \"npm run desktop:macos:run\""
},
"engines": {
"node": ">=20"
},
"peerDependencies": {
"@expo/ui": ">=58.0.0",
"@gtkx/cairo": ">=1.4.0",
"@gtkx/react": ">=1.4.0",
"react": ">=19.0.0",
"react-native": ">=0.81.0",
"react-native-gesture-handler": ">=2.30.0",
"react-native-reanimated": ">=4.0.0",
"react-native-skia": ">=3.8.1",
"react-native-worklets": ">=0.7.0"
},
"dependencies": {
"hast-util-from-html": "^2.0.3",
"js-yaml": "^4.1.1",
"mdast-util-to-string": "^2.0.0",
"remark-frontmatter": "^3.0.0",
"remark-gfm": "^1.0.0",
"remark-parse": "^9.0.0",
"unified": "^9.2.2"
},
"devDependencies": {
"@react-native/eslint-config": "^0.81.2",
"@react-native/typescript-config": "^0.81.2",
"@types/jest": "^29.5.14",
"@types/js-yaml": "^4.0.9",
"@types/mdast": "^3.0.15",
"@types/node": "^20.19.41",
"@types/react": "^19.1.0",
"concurrently": "^9.2.1",
"eslint": "^8.19.0",
"jest": "^29.7.0",
"patch-package": "^8.0.1",
"prettier": "^2.8.8",
"ts-jest": "^29.4.10",
"typescript": "^5.8.3"
},
"peerDependenciesMeta": {
"@expo/ui": {
"optional": true
},
"@gtkx/cairo": {
"optional": true
},
"@gtkx/react": {
"optional": true
}
}
}