-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
125 lines (125 loc) · 3.28 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "@kitschpatrol/tldraw-cli",
"version": "4.6.30",
"description": "A CLI tool and TypeScript library for exporting tldraw sketches to PNG or SVG images.",
"keywords": [
"tldraw",
"tldr",
"cli",
"diagram",
"drawing",
"sketch",
"export",
"npm-package"
],
"homepage": "https://github.com/kitschpatrol/tldraw-cli",
"bugs": "https://github.com/kitschpatrol/tldraw-cli/issues",
"repository": {
"type": "git",
"url": "https://github.com/github:kitschpatrol/tldraw-cli"
},
"license": "MIT",
"author": {
"name": "Eric Mika",
"email": "[email protected]",
"url": "https://ericmika.com"
},
"type": "module",
"main": "./dist/lib/index.js",
"module": "./dist/lib/index.js",
"types": "./dist/lib/index.d.ts",
"bin": {
"tldraw": "bin/cli.js",
"tldraw-cli": "bin/cli.js"
},
"files": [
"bin/*",
"dist/*"
],
"scripts": {
"build": "pnpm run build:tldraw && pnpm run build:lib && pnpm run build:cli",
"build:cli": "tsx ./scripts/build-cli.ts && tsc -p tsconfig.build.json",
"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": "kpi fix",
"lint": "kpi 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.1",
"express": "^4.21.2",
"puppeteer": "^24.2.0",
"uint8array-extras": "^1.4.0",
"yargs": "^17.7.2"
},
"devDependencies": {
"@kitschpatrol/shared-config": "^5.0.5",
"@sindresorhus/slugify": "^2.2.1",
"@tldraw/assets": "3.8.0-canary.3f23e0d4c913",
"@types/express": "^4.17.21",
"@types/node": "18.0.0",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@types/yargs": "^17.0.33",
"@vitejs/plugin-react-swc": "^3.8.0",
"bumpp": "^10.0.2",
"chalk": "^5.4.1",
"cheerio": "^1.0.0",
"esbuild": "^0.25.0",
"get-port": "^7.1.0",
"nanoid": "^5.0.9",
"open": "^10.1.0",
"path-type": "^6.0.0",
"plur": "^5.1.0",
"pretty-ms": "^9.2.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.8.0-canary.3f23e0d4c913",
"tsx": "^4.19.2",
"typescript": "^5.7.3",
"untildify": "^5.0.0",
"vite": "^6.1.0",
"vitest": "^3.0.5"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=18.0.0",
"pnpm": ">=10.0.0"
},
"publishConfig": {
"access": "public"
},
"pnpm": {
"onlyBuiltDependencies": [
"@swc/core",
"core-js",
"esbuild",
"puppeteer",
"sharp"
],
"overrides": {
"eslint-plugin-markdown": "^5.1.0"
}
},
"mdat": {
"$import": "node_modules/@kitschpatrol/mdat-config/dist/index.js"
},
"prettier": "@kitschpatrol/prettier-config",
"remarkConfig": {
"plugins": [
"@kitschpatrol/remark-config"
]
}
}