Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.78 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 loc) · 2.78 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
{
"name": "route-core",
"version": "0.0.8",
"description": "Minimal, zero-runtime-dependency routing engine for Node.js frameworks.",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"scripts": {
"build": "npm run build:publish",
"build:dev": "node scripts/prepare-build.mjs && tsc -p tsconfig.dev.json && tsc -p tsconfig.cjs.json && node scripts/finalize-build.mjs",
"build:publish": "node scripts/prepare-build.mjs && tsc -p tsconfig.json && tsc -p tsconfig.cjs.json && node scripts/finalize-build.mjs",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "npm run build && npm run test:built",
"test:built": "node --test test/router.test.mjs test/hot-router.test.mjs test/package-entry.test.mjs test/vext-compat.test.mjs",
"test:shared": "npm run build && npm run test:shared:built",
"test:shared:built": "node --test test/router.test.mjs",
"test:router": "npm run build && npm run test:router:built",
"test:router:built": "node --test test/router.test.mjs",
"test:package": "npm run build && npm run test:package:built",
"test:package:built": "node --test test/package-entry.test.mjs",
"bench": "npm run build && npm run bench:built",
"bench:built": "node benchmark/hot-path/index.mjs && node benchmark/route-only/index.mjs",
"bench:gate": "npm run build && npm run bench:gate:built",
"bench:gate:built": "node scripts/run-benchmark-gate.mjs",
"bench:hot": "npm run build && npm run bench:hot:built",
"bench:hot:built": "node benchmark/hot-path/index.mjs",
"bench:compat": "npm run build && npm run bench:compat:built",
"bench:compat:built": "node benchmark/route-only/index.mjs",
"prepublishOnly": "node scripts/prepublish-check.mjs"
},
"keywords": [
"router",
"routing",
"http-router",
"route-matching",
"path-matching",
"url-router",
"node",
"nodejs",
"typescript",
"framework",
"adapter",
"params",
"zero-dependency",
"performance",
"hot-path",
"vext"
],
"author": "rocky <rockyshi1993@gmail.com>",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/devcodex-labs/route-core.git"
},
"bugs": {
"url": "https://github.com/devcodex-labs/route-core/issues"
},
"homepage": "https://github.com/devcodex-labs/route-core#readme",
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=18.0.0"
},
"sideEffects": false,
"files": [
"dist",
"changelogs",
"README.md",
"LICENSE"
],
"devDependencies": {
"find-my-way": "9.6.0",
"typescript": "5.9.3"
}
}