-
-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) 路 2.87 KB
/
Copy pathpackage.json
File metadata and controls
92 lines (92 loc) 路 2.87 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "api-server",
"version": "1.0.0",
"description": "The Cloudflare worker powering cdnjs.com + api.cdnjs.com",
"private": true,
"type": "module",
"main": "src/index.ts",
"scripts": {
"prepare": "npm run prepare:husky && npm run prepare:types",
"prepare:husky": "husky",
"prepare:types": "wrangler types --strict-vars false",
"lint": "eslint",
"lint:fix": "eslint --fix",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"test": "vitest run",
"test:web": "playwright test",
"types": "tsc --noEmit",
"dev": "wrangler dev",
"dev:web": "wrangler dev --var WEBSITE_BASE:http://localhost:8787"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cdnjs/api-server.git"
},
"author": "cdnjs",
"license": "MIT",
"bugs": {
"url": "https://github.com/cdnjs/api-server/issues"
},
"homepage": "https://github.com/cdnjs/api-server#readme",
"engines": {
"node": ">=24.11.0"
},
"dependencies": {
"@asteasolutions/zod-to-openapi": "^9.1.0",
"@emotion/css": "^11.13.5",
"@sentry/cloudflare": "^10.72.0",
"@tanstack/react-virtual": "^3.14.10",
"algoliasearch": "^5.57.0",
"fast-xml-builder": "^1.3.1",
"hono": "^4.13.5",
"is-deflate": "^1.0.0",
"is-gzip": "^2.0.0",
"pako": "^3.0.1",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"semver": "^7.7.4",
"spdx-license-ids": "^3.0.23",
"swagger-ui-react": "^5.32.14",
"zod": "^4.5.2"
},
"devDependencies": {
"@cloudflare/vitest-pool-workers": "^0.22.0",
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.62.1",
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
"@types/is-deflate": "^1.0.0",
"@types/is-gzip": "^2.0.2",
"@types/node": "~24.13.3",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.5",
"@types/semver": "^7.8.0",
"@types/spdx-license-ids": "^3.0.0",
"@types/swagger-ui-react": "^5.18.0",
"eslint": "^10.9.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jsdoc": "^64.2.1",
"fast-xml-parser": "^5.11.1",
"husky": "^9.1.7",
"lint-staged": "^17.4.1",
"prettier": "^3.9.6",
"typescript": "^6.0.3",
"typescript-eslint": "^8.68.0",
"vite": "^8.2.2",
"vitest": "^4.1.2",
"wrangler": "^4.127.1"
},
"overrides": {
"@cloudflare/vitest-pool-workers": {
"wrangler": "$wrangler"
},
"swagger-ui-react": {
"react-debounce-input": {
"react": "$react"
},
"react-inspector": {
"react": "$react"
}
}
}
}