-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.85 KB
/
Copy pathpackage.json
File metadata and controls
70 lines (70 loc) · 2.85 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
{
"name": "@imqueue/validation",
"version": "1.0.0",
"description": "Zod-backed field- and method-level validation via native (TC39) decorators for Node.js & TypeScript microservices — the input-validation layer of the @imqueue framework",
"keywords": [
"validation",
"validator",
"decorators",
"tc39-decorators",
"zod",
"schema",
"typescript",
"nodejs",
"microservices",
"rpc",
"soa",
"imqueue"
],
"scripts": {
"clean-compiled": "npm run clean-js && npm run clean-typedefs && npm run clean-maps",
"build": "npm run clean-compiled && tsc",
"prepare": "npm run build",
"lint": "oxlint",
"format": "oxfmt \"index.ts\" \"src/**/*.ts\" \"test/**/*.ts\"",
"format:check": "oxfmt --check \"index.ts\" \"src/**/*.ts\" \"test/**/*.ts\"",
"test": "npm run build && node --test --test-timeout=15000 $(find test -name '*.spec.js')",
"test-coverage": "npm run build && node --enable-source-maps --test --experimental-test-coverage --test-timeout=15000 $(find test -name '*.spec.js')",
"test-lcov": "npm run build && mkdir -p coverage && node --enable-source-maps --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=coverage/lcov.info --test-timeout=15000 $(find test -name '*.spec.js'); node scripts/strip-comment-coverage.mjs coverage/lcov.info",
"test-coverage-html": "npm run test-lcov; genhtml coverage/lcov.info --output-directory coverage/html --ignore-errors inconsistent,corrupt,format,mismatch && echo \"Coverage report: file://$(pwd)/coverage/html/index.html\"",
"test-dev": "npm run test && npm run clean-js && npm run clean-typedefs && npm run clean-maps",
"clean-typedefs": "find . -name '*.d.ts' -not -wholename '*node_modules*' -type f -delete",
"clean-maps": "find . -name '*.js.map' -not -wholename '*node_modules*' -type f -delete",
"clean-js": "find . -name '*.js' -not -wholename '*node_modules*' -type f -delete",
"clean-tests": "rm -rf .nyc_output coverage .agent-out",
"clean": "npm run clean-tests && npm run clean-typedefs && npm run clean-maps && npm run clean-js"
},
"repository": {
"type": "git",
"url": "git://github.com/imqueue/validation.git"
},
"bugs": {
"url": "https://github.com/imqueue/validation/issues"
},
"homepage": "https://imqueue.org/",
"funding": "https://imqueue.com/",
"author": "imqueue.com <[email protected]> (https://imqueue.com)",
"license": "GPL-3.0-only",
"dependencies": {
"zod": "^4.4.3"
},
"devDependencies": {
"@types/node": "^24.9.1",
"oxfmt": "0.57.0",
"oxlint": "1.72.0",
"typescript": "^7.0.2"
},
"main": "index.js",
"types": "index.d.ts",
"type": "module",
"engines": {
"node": ">=22.12.0"
},
"exports": {
".": {
"types": "./index.d.ts",
"default": "./index.js"
},
"./package.json": "./package.json"
}
}