-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 1.98 KB
/
package.json
File metadata and controls
71 lines (71 loc) · 1.98 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
{
"name": "erest",
"version": "2.0.0",
"description": "Easy to build api server depend on @leizm/web and express.",
"main": "dist/lib/index.js",
"typings": "dist/lib/index.d.ts",
"files": [
"dist/lib"
],
"scripts": {
"doc": "pnpx typedoc --excludeExternals --out docs/ src/lib/",
"dev": "export ISLIB=1 && vitest --watch",
"test": "npm run build && vitest run",
"test:lib": "export ISLIB=1 && vitest run",
"test:cov": "npm run test:lib -- --coverage",
"tag": "git tag v`node -p 'require(\"./package\").version'`",
"format": "biome format --write src",
"check": "biome check --write src",
"clean": "rm -rf dist",
"build": "npm run clean && tsc",
"prepublishOnly": "npm run format && npm run test:cov && npm test",
"postpublish": "npm run tag && git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/yourtion/node-erest.git"
},
"keywords": [
"rest",
"api",
"express",
"@leizm/web",
"api-doc"
],
"author": "Yourtion Guo <yourtion@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/yourtion/node-erest/issues"
},
"homepage": "https://github.com/yourtion/node-erest#readme",
"dependencies": {
"debug": "^4.4.1",
"path-to-regexp": "^6.3.0",
"zod": "^4.0.5"
},
"peerDependencies": {
"@types/node": "*"
},
"devDependencies": {
"@biomejs/biome": "^2.1.2",
"@leizm/web": "^2.7.3",
"@types/debug": "^4.1.12",
"@types/express": "^4.17.23",
"@types/koa": "^2.15.0",
"@types/koa-bodyparser": "^4.3.12",
"@types/koa-router": "^7.4.8",
"@types/node": "^24.0.15",
"@types/supertest": "^2.0.16",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "^3.2.4",
"coveralls": "^3.1.1",
"express": "^4.21.2",
"koa": "^3.0.0",
"koa-bodyparser": "^4.4.1",
"koa-router": "^13.1.1",
"memfs": "^4.36.0",
"supertest": "^6.3.4",
"typescript": "^5.8.3",
"vitest": "^3.2.4"
}
}