-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 1.95 KB
/
Copy pathpackage.json
File metadata and controls
71 lines (71 loc) · 1.95 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": "echt",
"version": "2.0.5",
"description": "Lightweight, type-safe request validation middleware for Express using Zod",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch",
"test:zod3": "npm install zod@3 --no-save && jest",
"test:zod4": "npm install zod@4 --no-save && jest",
"test:express4": "npm install express@4 --no-save && jest",
"test:express5": "npm install express@5 --no-save && jest",
"test:all-versions": "npm run test:zod3 && npm run test:zod4 && npm run test:express4 && npm run test:express5",
"lint": "biome check .",
"lint:fix": "biome check --apply .",
"format": "biome format .",
"format:fix": "biome format --write .",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run format:fix && git add -A src",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dashersw/echt.git"
},
"bugs": {
"url": "https://github.com/dashersw/echt/issues"
},
"homepage": "https://github.com/dashersw/echt#readme",
"keywords": [
"express",
"zod",
"validation",
"middleware",
"typescript",
"request-validation",
"schema-validation",
"type-safe"
],
"files": [
"dist",
"LICENSE",
"README.md"
],
"author": "",
"license": "MIT",
"dependencies": {
"express": "^4.x || ^5.x"
},
"devDependencies": {
"@biomejs/biome": "1.5.3",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.11",
"@types/node": "^20.10.5",
"@types/supertest": "^2.0.16",
"jest": "^29.7.0",
"supertest": "^6.3.3",
"ts-jest": "^29.1.1",
"typescript": "^5.3.3",
"zod": "^3.24.1"
},
"peerDependencies": {
"express": "^4.x || ^5.x",
"zod": "^3.0.0 || ^4.0.0"
}
}