-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
96 lines (96 loc) · 2.77 KB
/
package.json
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
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "@nrfcloud/ts-json-schema-transformer",
"version": "3.1.1",
"description": "A TypeScript transformer that generates JSON schemas and validators from TypeScript interfaces",
"type": "commonjs",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"keywords": [
"typescript",
"transformer",
"json",
"schema",
"validator"
],
"engines": {
"node": ">=18.0.0"
},
"files": [
"dist",
"!dist/tsconfig.tsbuildinfo",
"package.json"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.js"
},
"./dist/transform": {
"types": "./dist/transform.d.ts",
"require": "./dist/transform.js"
},
"./dist/jsf": {
"types": "./dist/json-schema-faker-proxy.d.ts",
"require": "./dist/json-schema-faker-proxy.js"
},
"./transform": {
"types": "./dist/transform.d.ts",
"require": "./dist/transform.js"
},
"./utils": {
"types": "./dist/transformer-utils.d.ts",
"require": "./dist/transformer-utils.js"
}
},
"repository": "https://github.com/nRFCloud/ts-json-schema-transformer",
"scripts": {
"prepare": "husky install && ts-patch i -s ",
"lint": "dprint check && denolint --config .denolint.json",
"fix": "dprint fmt && denolint --config .denolint.json",
"clean": "rm -rf dist && rm -rf tests/dist && rm -rf src/generated",
"formats": "mkdir -p src/generated && cp src/formats.ts src/generated/formats.mts",
"compile": "pnpm formats && tsc",
"compile:test": "pnpm clean && pnpm compile && tsc --project tests/tsconfig.json",
"test": "pnpm compile:test && jest --json --outputFile=reports/report.json",
"prepublish": "pnpm clean && pnpm compile && pnpm test",
"release": "changeset publish"
},
"author": "John Conley",
"license": "MIT",
"devDependencies": {
"@babel/preset-env": "^7.23.6",
"@babel/preset-typescript": "^7.23.3",
"@changesets/cli": "^2.27.1",
"@node-rs/deno-lint": "^1.17.3",
"@types/jest": "^29.5.11",
"@types/json-schema": "^7.0.15",
"@types/node": "^18.19.3",
"@types/seedrandom": "^3.0.8",
"dprint": "^0.35.4",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-html-reporters": "^3.1.5",
"jest-junit": "^16.0.0",
"ts-patch": "^3.2.1",
"typescript": "^5.5.4"
},
"tsp": {
"name": "ts-json-schema-transformer",
"transformer": "dist/transform.js",
"tscOptions": {
"parseAllJsDoc": true
}
},
"peerDependencies": {
"typescript": ">=5.5"
},
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^11.7.0",
"ajv": "^8.12.0",
"esbuild": "^0.23.0",
"json-schema-faker": "^0.5.6",
"seedrandom": "^3.0.5",
"ts-json-schema-generator": "^2.4.0-next.2"
}
}