-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
103 lines (103 loc) · 2.89 KB
/
package.json
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
{
"name": "@kitschpatrol/tldraw-cli",
"version": "4.6.22",
"type": "module",
"description": "A CLI tool for exporting tldraw sketch URLs and local .tldr files to SVG or PNG images.",
"repository": "github:kitschpatrol/tldraw-cli",
"homepage": "https://github.com/kitschpatrol/tldraw-cli",
"bugs": "https://github.com/kitschpatrol/tldraw-cli/issues",
"author": {
"name": "Eric Mika",
"email": "[email protected]",
"url": "https://ericmika.com"
},
"license": "MIT",
"packageManager": "[email protected]",
"engines": {
"node": ">=18.0.0",
"pnpm": ">=9.0.0"
},
"bin": {
"tldraw-cli": "bin/cli.js",
"tldraw": "bin/cli.js"
},
"main": "./dist/lib/index.js",
"module": "./dist/lib/index.js",
"types": "./dist/lib/index.d.ts",
"files": [
"bin/*",
"dist/*"
],
"keywords": [
"tldraw",
"tldr",
"cli",
"diagram",
"drawing",
"sketch",
"export",
"npm-package"
],
"scripts": {
"build": "pnpm run build:tldraw && pnpm run build:lib && pnpm run build:cli",
"build:cli": "tsx ./scripts/build-cli.ts",
"build:lib": "tsx ./scripts/build-lib.ts && tsc -p tsconfig.lib.json",
"build:tldraw": "pnpm run tldraw:copy-assets && vite build",
"clean": "git rm -f pnpm-lock.yaml ; git clean -fdX",
"dev": "pnpm run dev:tldraw",
"dev:tldraw": "pnpm run tldraw:copy-assets && vite",
"fix": "shared-config --fix",
"lint": "shared-config --lint",
"preview": "pnpm run preview:tldraw",
"preview:tldraw": "vite preview",
"release": "bumpp --commit 'Release: %s' && pnpm run build && pnpm publish --otp $(op read 'op://Personal/Npmjs/one-time password?attribute=otp')",
"test": "vitest --run",
"test:watch": "pnpm run build && vitest",
"tldraw:copy-assets": "rsync -av --include='/*/' --exclude='/*' --exclude='favicon.ico' ./node_modules/@tldraw/assets/ ./src/tldraw/public/"
},
"dependencies": {
"@fontsource/inter": "^5.1.0",
"express": "^4.21.1",
"puppeteer": "^23.7.1",
"uint8array-extras": "^1.4.0",
"yargs": "^17.7.2"
},
"devDependencies": {
"@kitschpatrol/shared-config": "^4.7.11",
"@sindresorhus/slugify": "^2.2.1",
"@tldraw/assets": "3.4.1",
"@types/express": "^4.17.21",
"@types/node": "18.0.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/yargs": "^17.0.33",
"@vitejs/plugin-react-swc": "^3.7.1",
"bumpp": "^9.8.1",
"chalk": "^5.3.0",
"cheerio": "^1.0.0",
"esbuild": "^0.24.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.14",
"get-port": "^7.1.0",
"nanoid": "^5.0.8",
"open": "^10.1.0",
"path-type": "^6.0.0",
"plur": "^5.1.0",
"pretty-ms": "^9.1.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"safe-stable-stringify": "^2.5.0",
"sharp": "^0.33.5",
"sharp-phash": "^2.2.0",
"strip-ansi": "^7.1.0",
"tldraw": "3.4.1",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"untildify": "^5.0.0",
"vite": "^5.4.10",
"vitest": "^2.1.4"
},
"publishConfig": {
"access": "public"
}
}