51 lines
1.4 KiB
JSON
51 lines
1.4 KiB
JSON
{
|
|
"name": "radix3",
|
|
"version": "1.0.0",
|
|
"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 .",
|
|
"playground": "pnpm jiti ./playground.ts",
|
|
"release": "pnpm test && pnpm build && changelogen --release && git push --follow-tags && pnpm publish",
|
|
"test": "pnpm lint && vitest run"
|
|
},
|
|
"devDependencies": {
|
|
"0x": "^5.4.1",
|
|
"@vitest/coverage-c8": "^0.25.2",
|
|
"autocannon": "^7.10.0",
|
|
"benchmark": "^2.1.4",
|
|
"changelogen": "^0.4.0",
|
|
"eslint": "^8.27.0",
|
|
"eslint-config-unjs": "^0.0.2",
|
|
"jiti": "^1.16.0",
|
|
"listhen": "^1.0.0",
|
|
"ohmyfetch": "^0.4.21",
|
|
"standard-version": "^9.5.0",
|
|
"typescript": "^4.8.4",
|
|
"unbuild": "^0.9.4",
|
|
"vitest": "^0.25.2"
|
|
},
|
|
"packageManager": "pnpm@7.16.0"
|
|
}
|