-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 1.58 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 1.58 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
{
"name": "@dmptool/types",
"version": "3.1.5",
"description": "TypeScript types for DMPTool",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",
"files": [
"dist",
"schemas"
],
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./schemas/*.json": {
"default": "./schemas/*.json"
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "npm run clean && npm run generate && tsc && npm run copy:schemas",
"clean": "rm -rf dist",
"copy:schemas": "node scripts/copySchemas.mjs",
"generate": "ts-node scripts/generateSchemas.ts",
"lint": "eslint . --ignore-pattern dist/ --ignore-pattern node_modules/",
"prepublishOnly": "npm run build",
"test": "jest --config jest.config.ts",
"prepare": "npm run build",
"postinstall": "husky || true",
"type-check": "tsc --noEmit",
"trivy-high": "./scripts/trivy-high.sh",
"trivy-med": "./scripts/trivy-med.sh"
},
"overrides": {
"minimatch": "10.2.5"
},
"dependencies": {
"json-schema-to-ts": "^3.1.1",
"zod": "^4.4.3"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/jest": "^30.0.0",
"@types/node": "^25.7.0",
"cpy": "^13.2.2",
"eslint": "^10.3.0",
"husky": "^9.1.7",
"jest": "^30.4.2",
"jest-expect-message": "^1.1.3",
"jsonschema": "^1.5.0",
"ts-jest": "^29.4.9",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.2"
}
}