38 lines
968 B
JSON
38 lines
968 B
JSON
|
{
|
||
|
"name": "images.tldraw.com",
|
||
|
"description": "A Cloudflare Worker to resize and optimize images",
|
||
|
"version": "2.0.0",
|
||
|
"private": true,
|
||
|
"author": {
|
||
|
"name": "tldraw GB Ltd.",
|
||
|
"email": "hello@tldraw.com"
|
||
|
},
|
||
|
"main": "src/index.ts",
|
||
|
"scripts": {
|
||
|
"dev": "yarn run -T tsx ../../scripts/workers/dev.ts",
|
||
|
"test-ci": "lazy inherit --passWithNoTests",
|
||
|
"test": "yarn run -T jest --passWithNoTests",
|
||
|
"test-coverage": "lazy inherit --passWithNoTests",
|
||
|
"lint": "yarn run -T tsx ../../scripts/lint.ts"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@tldraw/validate": "workspace:*",
|
||
|
"@tldraw/worker-shared": "workspace:*",
|
||
|
"itty-router": "^4.0.13"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@cloudflare/workers-types": "^4.20240620.0",
|
||
|
"lazyrepo": "0.0.0-alpha.27",
|
||
|
"wrangler": "3.62.0"
|
||
|
},
|
||
|
"jest": {
|
||
|
"preset": "config/jest/node",
|
||
|
"moduleNameMapper": {
|
||
|
"^~(.*)": "<rootDir>/src/$1"
|
||
|
},
|
||
|
"transformIgnorePatterns": [
|
||
|
"node_modules/(?!(nanoid|escape-string-regexp)/)"
|
||
|
]
|
||
|
}
|
||
|
}
|