/
package.json
52 lines (52 loc) 路 1.53 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
{
"name": "radix3",
"version": "1.1.2",
"description": "Lightweight and fast router for JavaScript based on Radix Tree",
"repository": "unjs/radix3",
"license": "MIT",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"bench": "node ./benchmark/direct.mjs",
"bench:http": "node ./benchmark/http.mjs",
"bench:profile": "0x -o -D benchmark/.profile -- node ./benchmark/direct.mjs",
"build": "unbuild",
"dev": "vitest",
"lint": "eslint --ext .ts,.mjs . && prettier -c src tests",
"lint:fix": "eslint --fix --ext .ts,.mjs . && prettier -w src tests",
"playground": "pnpm jiti ./playground.ts",
"release": "pnpm test && pnpm build && changelogen --release && git push --follow-tags && npm publish",
"test": "pnpm lint && pnpm test:types && vitest run",
"test:types": "tsc --noEmit"
},
"devDependencies": {
"0x": "^5.7.0",
"@vitest/coverage-v8": "^1.5.3",
"autocannon": "^7.15.0",
"benchmark": "^2.1.4",
"changelogen": "^0.5.5",
"eslint": "^8.57.0",
"eslint-config-unjs": "^0.2.1",
"jiti": "^1.21.0",
"listhen": "^1.7.2",
"prettier": "^3.2.5",
"standard-version": "^9.5.0",
"typescript": "^5.4.5",
"unbuild": "^2.0.0",
"vitest": "^1.5.3"
},
"packageManager": "[email protected]"
}