-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 1.84 KB
/
Copy pathpackage.json
File metadata and controls
59 lines (59 loc) · 1.84 KB
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
{
"name": "@cloudflare/containers",
"version": "0.3.7",
"description": "Helper class for container-enabled Durable Objects",
"repository": {
"type": "git",
"url": "git+https://github.com/cloudflare/containers.git"
},
"scripts": {
"build": "tsc -p .",
"typecheck": "tsc --noEmit",
"typecheck:examples": "set -e; for dir in examples/*/; do if [ ! -f \"$dir/tsconfig.json\" ]; then continue; fi; echo \"==> typecheck $dir\"; if [ -f \"$dir/package.json\" ]; then (cd \"$dir\" && npm install && npm run typecheck); else tsc --noEmit -p \"$dir\"; fi; done",
"typecheck:all": "npm run typecheck && npm run typecheck:examples",
"lint": "eslint src",
"format": "prettier --write \"src/**/*.ts\" \"examples/**/*.{ts,json,jsonc}\"",
"format:check": "prettier --check \"src/**/*.ts\" \"examples/**/*.{ts,json,jsonc}\"",
"test": "set -e; for dir in examples/*/; do if [ -d \"$dir/test\" ] && [ -f \"$dir/package.json\" ]; then echo \"==> test $dir\"; (cd \"$dir\" && npm install && npm run test); fi; done",
"test:unit": "vitest run src/tests"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
}
},
"typesVersions": {
"*": {
"*": [
"./dist/index.d.ts"
]
}
},
"files": [
"dist"
],
"keywords": [
"containers",
"durable objects",
"durable-objects",
"cloudflare"
],
"license": "MIT OR Apache-2.0",
"devDependencies": {
"@changesets/cli": "^2.31.0",
"@cloudflare/workers-types": "^4.20260511.1",
"@eslint/js": "^10.0.1",
"@types/node": "^22.19.19",
"eslint": "^10.3.0",
"pkg-pr-new": "^0.0.71",
"prettier": "^3.8.3",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.3",
"vitest": "^4.1.6"
},
"publishConfig": {
"access": "public"
}
}