-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 2.11 KB
/
package.json
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
{
"name": "@swordjs/h3",
"version": "1.7.1",
"description": "Tiny JavaScript Server",
"repository": "unjs/h3",
"license": "MIT",
"sideEffects": false,
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"exports": {
"./package.json": "./package.json",
".": {
"import": "./lib/index.mjs",
"require": "./lib/index.cjs"
}
},
"main": "./lib/index.cjs",
"module": "./lib/index.mjs",
"types": "./lib/index.d.ts",
"files": [
"lib"
],
"scripts": {
"build": "unbuild",
"dev": "vitest",
"lint": "eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test playground",
"lint:fix": "eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test playground -w",
"play": "jiti ./playground/index.ts",
"profile": "0x -o -D .profile -P 'autocannon -c 100 -p 10 -d 40 http://localhost:$PORT' ./playground/server.cjs",
"release": "pnpm test && pnpm build && changelogen --release && pnpm publish && git push --follow-tags",
"test": "pnpm lint && vitest run --coverage"
},
"dependencies": {
"cookie-es": "^1.0.0",
"defu": "^6.1.2",
"destr": "^2.0.0",
"iron-webcrypto": "^0.7.0",
"radix3": "^1.0.1",
"ufo": "^1.1.2",
"uncrypto": "^0.1.3"
},
"devDependencies": {
"0x": "^5.5.0",
"@types/express": "^4.17.17",
"@types/node": "^20.3.1",
"@types/supertest": "^2.0.12",
"@vitest/coverage-v8": "^0.32.2",
"autocannon": "^7.11.0",
"changelogen": "^0.5.3",
"connect": "^3.7.0",
"eslint": "^8.43.0",
"eslint-config-unjs": "^0.2.1",
"express": "^4.18.2",
"get-port": "^7.0.0",
"jiti": "^1.18.2",
"listhen": "^1.0.4",
"node-fetch-native": "^1.2.0",
"prettier": "^2.8.8",
"supertest": "^6.3.3",
"typescript": "^5.1.3",
"unbuild": "^1.2.1",
"vitest": "^0.32.2"
},
"unbuild": {
"entries": [
"./src/index"
],
"outDir": "lib",
"declaration": true,
"rollup": {
"emitCJS": true,
"cjsBridge": true,
"esbuild": {
"target": "node12"
}
}
},
"packageManager": "pnpm@8.6.3"
}