/
package.json
127 lines (127 loc) · 3.67 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "@freshcells/graphql-rest-converter",
"version": "1.0.0",
"type": "module",
"description": "Create an OpenAPI-compatible HTTP API based on annotated GraphQL operations",
"license": "MIT",
"keywords": [
"graphql",
"openapi",
"rest"
],
"repository": {
"type": "git",
"url": "https://github.com/freshcells/graphql-rest-converter"
},
"publishConfig": {
"access": "public"
},
"main": "./dist/cjs/index.js",
"types": "./dist/mjs/index.d.ts",
"module": "./dist/mjs/index.js",
"dependencies": {
"@graphql-tools/schema": "^10.0.3",
"ajv": "^8.12.0",
"busboy": "^1.6.0",
"fs-capacitor": "^8.0.0",
"graphql": "^16.8.1",
"graphql-request": "^6.1.0",
"graphql-tag": "^2.12.6",
"http-errors": "^2.0.0",
"lodash": "^4.17.21",
"openapi-jsonschema-parameters": "^12.1.3",
"openapi-request-coercer": "^12.1.3",
"openapi-request-validator": "^12.1.3",
"openapi-response-validator": "^12.1.3",
"openapi-schema-validator": "^12.1.3",
"openapi-types": "^12.1.3",
"type-fest": "^4.14.0"
},
"optionalDependencies": {
"express": "^4"
},
"files": [
"dist",
"upload/*.d.ts",
"validations/*.d.ts",
"*.d.ts"
],
"scripts": {
"build": "tsc --project tsconfig.build.json && tsc --project tsconfig.cjs.build.json && cpy --rename package.json ./package.cjs.json ./dist/cjs",
"test": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --ci",
"test:watch": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --watch",
"test:coverage": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --coverage",
"format": "prettier --loglevel warn --check src",
"format:fix": "prettier --write src",
"lint": "eslint 'src/**/*.{js,ts}'",
"lint:fix": "yarn lint --fix",
"prettify": "prettier \"**/*.{ts,tsx,graphql,md}\" --write",
"qa": "tsc --noEmit && yarn test --coverage && yarn lint && yarn format",
"prepack": "yarn build && cpy \"./dist/mjs/**/*.d.ts\" ."
},
"exports": {
".": {
"import": {
"types": "./dist/mjs/index.d.ts",
"default": "./dist/mjs/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
},
"./express": {
"import": {
"types": "./dist/mjs/express.d.ts",
"default": "./dist/mjs/express.js"
},
"require": {
"types": "./dist/cjs/express.d.ts",
"default": "./dist/cjs/express.js"
}
},
"./graphql-upload": {
"import": {
"types": "./dist/mjs/graphql-upload.d.ts",
"default": "./dist/mjs/graphql-upload.js"
},
"require": {
"types": "./dist/cjs/graphql-upload.d.ts",
"default": "./dist/cjs/graphql-upload.js"
}
}
},
"devDependencies": {
"@graphql-tools/jest-transform": "^2.0.0",
"@graphql-tools/mock": "^9.0.2",
"@graphql-tools/schema": "^10.0.3",
"@types/busboy": "^1.5.3",
"@types/content-disposition": "^0.5.8",
"@types/express": "^4.17.21",
"@types/http-errors": "^2.0.4",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.0",
"@types/node": "^20.11.30",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"cpy-cli": "^5.0.0",
"eslint": "^8.57.0",
"express": "^4.19.2",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"semantic-release": "^23.0.6",
"supertest": "^6.3.4",
"ts-jest": "^29.1.2",
"typedoc": "^0.25.12",
"typescript": "^5.4.3"
},
"engines": {
"node": ">=17"
},
"resolutions": {
"@babel/traverse": "^7.23.2",
"@babel/core": "^7.23.2"
},
"packageManager": "yarn@4.1.1"
}