generated from toomuchdesign/npm-package-template
/
package.json
71 lines (71 loc) · 2.18 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
{
"name": "openapi-ts-json-schema",
"version": "0.11.0",
"description": "OpenAPI to JSON schema generator with TypeScript in mind",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "rimraf ./dist && tsc -p tsconfig.build.json",
"test": "vitest --config ./vitest.config.mts --dir ./test",
"pretest": "npm run test:build",
"test:build": "npm --prefix ./examples/fastify-integration-plugin run generate-schemas",
"prepare": "npx simple-git-hooks && npm run test -- --run && npm run source:check && npm run build",
"tag": "node ./scripts/tag.js",
"prettier:check": "prettier . --check",
"prettier:fix": "npm run prettier:check -- --write",
"type:check": "tsc --noEmit",
"source:check": "npm run prettier:check && npm run type:check",
"source:fix": "npm run prettier:fix"
},
"keywords": [
"openapi",
"json",
"schema",
"typescript",
"openapi to json schema"
],
"repository": {
"type": "git",
"url": "git+https://github.com/toomuchdesign/openapi-ts-json-schema.git"
},
"author": "Andrea Carraro <me@andreacarraro.it>",
"license": "ISC",
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@fastify/swagger": "^8.10.1",
"@fastify/swagger-ui": "^3.0.0",
"@fastify/type-provider-json-schema-to-ts": "^3.0.0",
"@tsconfig/node18": "^18.2.0",
"@types/lodash.get": "^4.4.7",
"@vitest/coverage-v8": "^1.1.0",
"fastify": "^4.23.2",
"rimraf": "^5.0.1",
"simple-git-hooks": "^2.9.0",
"tiny-glob": "^0.2.9",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"vitest": "^1.1.0"
},
"engines": {
"node": ">=18.0.0"
},
"simple-git-hooks": {
"pre-commit": "npm run source:check && npm test -- --run"
},
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^11.1.0",
"@openapi-contrib/openapi-schema-to-json-schema": "^5.1.0",
"@types/json-schema": "^7.0.15",
"comment-json": "^4.2.3",
"filenamify": "^4.3.0",
"json-schema-traverse": "^1.0.0",
"lodash.get": "^4.4.2",
"map-obj": "^4.3.0",
"namify": "^0.1.3",
"openapi-jsonschema-parameters": "^12.1.3",
"prettier": "^3.0.1"
}
}