UNPKG

1.56 kBJSONView Raw
1{
2 "name": "h3",
3 "version": "0.7.21",
4 "description": "Tiny JavaScript Server",
5 "repository": "unjs/h3",
6 "license": "MIT",
7 "sideEffects": false,
8 "exports": {
9 ".": {
10 "types": "./dist/index.d.ts",
11 "import": "./dist/index.mjs",
12 "require": "./dist/index.cjs"
13 }
14 },
15 "main": "./dist/index.cjs",
16 "module": "./dist/index.mjs",
17 "types": "./dist/index.d.ts",
18 "files": [
19 "dist"
20 ],
21 "dependencies": {
22 "cookie-es": "^0.5.0",
23 "destr": "^1.1.1",
24 "radix3": "^0.1.2",
25 "ufo": "^0.8.5"
26 },
27 "devDependencies": {
28 "0x": "^5.4.1",
29 "@nuxtjs/eslint-config-typescript": "^11.0.0",
30 "@types/express": "^4.17.13",
31 "@types/node": "^18.7.14",
32 "@types/supertest": "^2.0.12",
33 "@vitest/coverage-c8": "^0.22.1",
34 "autocannon": "^7.9.0",
35 "changelogen": "^0.3.0",
36 "connect": "^3.7.0",
37 "eslint": "^8.23.0",
38 "express": "^4.18.1",
39 "get-port": "^6.1.2",
40 "jiti": "^1.14.0",
41 "listhen": "^0.2.15",
42 "supertest": "^6.2.4",
43 "typescript": "^4.8.2",
44 "unbuild": "^0.8.10",
45 "vitest": "^0.22.1"
46 },
47 "packageManager": "pnpm@7.9.5",
48 "scripts": {
49 "build": "unbuild",
50 "dev": "vitest",
51 "lint": "eslint --ext ts,mjs,cjs .",
52 "play": "jiti ./playground/index.ts",
53 "profile": "0x -o -D .profile -P 'autocannon -c 100 -p 10 -d 40 http://localhost:$PORT' ./playground/server.cjs",
54 "release": "pnpm test && pnpm test && pnpm build && changelogen --release && pnpm publish && git push --follow-tags",
55 "test": "pnpm lint && vitest run --coverage"
56 }
57}
\No newline at end of file