57fb7a0650
Sets up preview deploys etc. for bemo worker. There's enough going on here that I wanted to make it its own PR. I'll rework david's spike on top of it once it's landed. ### Change Type - [x] `internal` — Does not affect user-facing stuff - [x] `chore` — Updating dependencies, other boring stuff --------- Co-authored-by: David Sheldrick <d.j.sheldrick@gmail.com>
49 lines
1.4 KiB
JSON
49 lines
1.4 KiB
JSON
{
|
|
"name": "@tldraw/bemo-worker",
|
|
"description": "A tiny little drawing app (merge server).",
|
|
"version": "2.0.0-alpha.11",
|
|
"private": true,
|
|
"author": {
|
|
"name": "tldraw GB Ltd.",
|
|
"email": "hello@tldraw.com"
|
|
},
|
|
"main": "./src/worker.ts",
|
|
"/* GOTCHA */": "files will include ./dist and index.d.ts by default, add any others you want to include in here",
|
|
"files": [],
|
|
"scripts": {
|
|
"dev": "yarn run -T tsx ../../scripts/workers/dev.ts",
|
|
"test-ci": "lazy inherit",
|
|
"test": "yarn run -T jest",
|
|
"test-coverage": "lazy inherit",
|
|
"check-bundle-size": "yarn run -T tsx ../../scripts/check-worker-bundle.ts --entry src/worker.ts --size-limit-bytes 350000",
|
|
"lint": "yarn run -T tsx ../../scripts/lint.ts"
|
|
},
|
|
"dependencies": {
|
|
"@tldraw/dotcom-shared": "workspace:*",
|
|
"@tldraw/store": "workspace:*",
|
|
"@tldraw/tlschema": "workspace:*",
|
|
"@tldraw/tlsync": "workspace:*",
|
|
"@tldraw/utils": "workspace:*",
|
|
"itty-router": "^4.0.13",
|
|
"nanoid": "4.0.2",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"toucan-js": "^3.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/workers-types": "^4.20240620.0",
|
|
"esbuild": "^0.21.5",
|
|
"lazyrepo": "0.0.0-alpha.27",
|
|
"typescript": "^5.3.3",
|
|
"wrangler": "3.62.0"
|
|
},
|
|
"jest": {
|
|
"preset": "config/jest/node",
|
|
"moduleNameMapper": {
|
|
"^~(.*)": "<rootDir>/src/$1"
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"node_modules/(?!(nanoid|escape-string-regexp)/)"
|
|
]
|
|
}
|
|
}
|