23f60ee98e
@si14 you might know a better way to wire this up! lemme know if there's something more clever here. ### Change Type - [x] `internal` — Any other changes that don't affect the published package[^2] ### Release Notes - Adds easier testing command for individual packages.
37 lines
977 B
JSON
37 lines
977 B
JSON
{
|
|
"name": "dotcom-asset-upload",
|
|
"description": "A Cloudflare Worker to upload and serve images",
|
|
"version": "2.0.0-alpha.8",
|
|
"private": true,
|
|
"author": {
|
|
"name": "tldraw GB Ltd.",
|
|
"email": "hello@tldraw.com"
|
|
},
|
|
"main": "src/index.ts",
|
|
"scripts": {
|
|
"dev": "cross-env NODE_ENV=development wrangler dev --log-level info --persist-to tmp-assets",
|
|
"test": "lazy inherit --passWithNoTests",
|
|
"test-dev": "yarn run -T jest --watch",
|
|
"test-coverage": "lazy inherit --passWithNoTests",
|
|
"lint": "yarn run -T tsx ../../scripts/lint.ts"
|
|
},
|
|
"dependencies": {
|
|
"itty-cors": "^0.3.4",
|
|
"itty-router": "^4.0.13"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/workers-types": "^4.20230821.0",
|
|
"@types/ws": "^8.5.9",
|
|
"lazyrepo": "0.0.0-alpha.27",
|
|
"wrangler": "3.16.0"
|
|
},
|
|
"jest": {
|
|
"preset": "config/jest/node",
|
|
"moduleNameMapper": {
|
|
"^~(.*)": "<rootDir>/src/$1"
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"node_modules/(?!(nanoid|escape-string-regexp)/)"
|
|
]
|
|
}
|
|
}
|