-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 1.51 KB
/
package.json
File metadata and controls
55 lines (55 loc) · 1.51 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
{
"name": "cdn-cache-control",
"version": "1.3.1",
"description": "Easy, opinionated CDN cache header handling",
"homepage": "https://github.com/ascorbic/cache-primitives",
"repository": {
"type": "git",
"url": "https://github.com/ascorbic/cache-primitives.git",
"directory": "packages/cdn-cache-control"
},
"main": "dist/index.js",
"type": "module",
"types": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"exports": {
".": {
"deno": "./src/index.ts",
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"scripts": {
"build": "tsdown src/index.ts --format esm,cjs --dts --clean",
"check": "pnpm run '/^check:.*/'",
"check:tsc": "tsc --noEmit",
"check:deno": "deno check src/index.ts",
"check:jsr": "deno publish --dry-run --allow-dirty",
"lint:types": "attw --pack .",
"lint:package": "publint",
"lint:deno": "deno lint",
"lint": "pnpm run '/^lint:.*/'",
"test": "pnpm run test:node",
"test:node": "pnpm build && node --test test/*.js",
"tsdoc": "tsdoc --src=src/index.ts && prettier --write README.md",
"version": "jq --arg version \"$(jq -r .version package.json)\" '.version = $version' jsr.json > jsr.json.tmp && mv jsr.json.tmp jsr.json"
},
"keywords": [],
"author": "Matt Kane <m@mk.gg>",
"license": "MIT",
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.3",
"@types/node": "^20.14.2",
"publint": "^0.2.8",
"tsdown": "^0.13.2"
}
}