forked from tldraw/tldraw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
136 lines (136 loc) · 4.81 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
126
127
128
129
130
131
132
133
134
135
136
{
"name": "@tldraw/monorepo",
"description": "A tiny little drawing app (monorepo).",
"version": "0.0.0",
"private": true,
"author": {
"name": "tldraw Inc.",
"email": "[email protected]"
},
"homepage": "https://tldraw.dev",
"repository": {
"type": "git",
"url": "https://github.com/tldraw/tldraw"
},
"bugs": {
"url": "https://github.com/tldraw/tldraw/issues"
},
"keywords": [
"tldraw",
"drawing",
"app",
"development",
"whiteboard",
"canvas",
"infinite"
],
"workspaces": [
"packages/*",
"apps/*",
"apps/vscode/*",
"apps/dotcom/*",
"internal/*"
],
"scripts": {
"clean": "internal/scripts/clean.sh",
"postinstall": "husky install && yarn refresh-assets",
"refresh-assets": "lazy refresh-assets",
"dev": "LAZYREPO_PRETTY_OUTPUT=0 lazy run dev --filter='apps/examples' --filter='packages/tldraw' --filter='apps/bemo-worker' --filter='apps/dotcom/image-resize-worker'",
"dev-vscode": "code ./apps/vscode/extension && lazy run dev --filter='apps/vscode/{extension,editor}'",
"dev-app": "LAZYREPO_PRETTY_OUTPUT=0 lazy run dev --filter='apps/dotcom/*' --filter='packages/tldraw'",
"dev-docs": "LAZYREPO_PRETTY_OUTPUT=0 lazy run dev --filter='apps/docs'",
"dev-huppy": "LAZYREPO_PRETTY_OUTPUT=0 lazy run dev --filter 'internal/huppy'",
"dev-tools": "yarn tsx internal/scripts/get-pr-numbers.ts && lazy run dev --filter='internal/dev-tools'",
"build": "lazy build",
"build-app": "lazy run build --filter 'apps/dotcom/client'",
"build-docs": "lazy run build --filter 'apps/docs'",
"build-types": "lazy inherit",
"build-api": "lazy build-api",
"build-i18n": "lazy build-i18n",
"build-package": "lazy build-package",
"preview-app": "VITE_PREVIEW=1 yarn dev-app",
"lint": "lazy lint",
"format": "prettier --write --cache '**/*.{yml,yaml,json,md,mdx,html,css,js,jsx,ts,tsx,cjs,mjs}'",
"typecheck": "yarn refresh-assets && tsx internal/scripts/typecheck.ts",
"check-packages": "tsx internal/scripts/check-packages.ts",
"update-pr-template": "tsx internal/scripts/update-pr-template.ts",
"api-check": "lazy api-check",
"test-ci": "lazy test-ci",
"test": "lazy test",
"test-coverage": "lazy test-coverage && node internal/scripts/offer-coverage.mjs",
"e2e": "lazy e2e --filter='apps/examples'",
"e2e-dotcom": "lazy e2e --filter='apps/dotcom/*'",
"e2e-dotcom-x10": "lazy e2e-x10 --filter='apps/dotcom/*'",
"i18n-upload-strings": "tsx internal/scripts/i18n-upload-strings.ts",
"i18n-download-strings": "tsx internal/scripts/i18n-download-strings.ts"
},
"engines": {
"npm": ">=7.0.0",
"node": ">=20.0.0"
},
"packageManager": "[email protected]",
"lint-staged": {
"*.{js,jsx,ts,tsx,json}": [
"prettier --write --cache --log-level=error"
]
},
"devDependencies": {
"@eslint/compat": "^1.2.1",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.13.0",
"@microsoft/api-extractor": "^7.43.1",
"@next/eslint-plugin-next": "^15.0.0",
"@swc/core": "^1.3.55",
"@swc/jest": "^0.2.34",
"@types/glob": "^8.1.0",
"@types/jest": "^29.5.12",
"@types/node": "~20.11",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@types/semver": "^7.5.8",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"@typescript-eslint/parser": "^8.11.0",
"auto": "^11.1.1",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-no-only-tests": "^3.3.0",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-react-hooks": "^5.0.0",
"fs-extra": "^11.1.0",
"husky": "^8.0.0",
"jest": "30.0.0-alpha.2",
"json5": "^2.2.3",
"lazyrepo": "0.0.0-alpha.27",
"license-report": "^6.5.0",
"lint-staged": "^15.2.7",
"prettier": "^3.0.3",
"prettier-plugin-organize-imports": "^3.2.3",
"rimraf": "^4.4.0",
"tsutils": "^3.21.0",
"tsx": "^4.19.2",
"typescript": "~5.4.2",
"vercel": "^34.2.4"
},
"// resolutions.canvas": [
"our examples app depenends on pdf.js which pulls in canvas as an optional dependency.",
"it slows down installs quite a bit though, so we replace it with an empty package."
],
"resolutions": {
"@microsoft/api-extractor@^7.35.4": "patch:@microsoft/api-extractor@npm%3A7.35.4#./.yarn/patches/@microsoft-api-extractor-npm-7.35.4-5f4f0357b4.patch",
"vectra@^0.4.4": "patch:vectra@npm%3A0.4.4#./.yarn/patches/vectra-npm-0.4.4-6aac3f6c29.patch",
"domino@^2.1.6": "patch:domino@npm%3A2.1.6#./.yarn/patches/domino-npm-2.1.6-b0dc3de857.patch",
"canvas": "npm:[email protected]",
"@microsoft/tsdoc@npm:0.14.2": "patch:@microsoft/tsdoc@npm%3A0.14.2#~/.yarn/patches/@microsoft-tsdoc-npm-0.14.2-9988282153.patch",
"postgres@npm:^3.4.4": "patch:postgres@npm%3A3.4.5#~/.yarn/patches/postgres-npm-3.4.5-8a680ccbcd.patch"
},
"dependencies": {
"@sentry/cli": "^2.25.0",
"@yarnpkg/types": "^4.0.0",
"cross-env": "^7.0.3",
"esbuild": "^0.21.5",
"mime": "^4.0.3",
"purgecss": "^5.0.0",
"svgo": "^3.0.2"
}
}