2ad47958bb
As discussed offline, just making `yarn test` do what we expect it to. ### Change Type - [x] `internal` — Any other changes that don't affect the published package[^2]
37 lines
968 B
JSON
37 lines
968 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-ci": "lazy inherit --passWithNoTests",
|
|
"test": "yarn run -T jest",
|
|
"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)/)"
|
|
]
|
|
}
|
|
}
|