/
package.json
48 lines (48 loc) · 1.57 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
{
"name": "graphql-to-openapi",
"version": "1.3.1",
"description": "A utility for converting the combination of an graphql schema and graphql query into an openapi specification.",
"main": "dist/index.js",
"bin": {
"graphql-to-openapi": "dist/bin/graphql-to-openapi.js"
},
"scripts": {
"lint": "eslint *.ts **/*.ts tests/**/*.ts",
"prepare": "tsc",
"testall": "npm run test && npm run test-cli",
"test": "jest --coverage --verbose",
"test-cli": "ts-node bin/graphql-to-openapi --schema tests/basics/complexInputsSchema.graphql --query tests/basics/complexInputs.graphql > out.json && ts-node bin/stable-stringify-json --filename=out.json && diff out.json tests/basics/complexInputs.json && rm out.json",
"test:watch": "npm run test -- --watchAll"
},
"repository": {
"type": "git",
"url": "git+https://github.com/schwer/graphql-to-openapi.git"
},
"keywords": [
"graphql",
"openapi"
],
"author": "Peter Schwer",
"license": "MIT",
"bugs": {
"url": "https://github.com/schwer/graphql-to-openapi/issues"
},
"homepage": "https://github.com/schwer/graphql-to-openapi#readme",
"dependencies": {
"commander": "^5.1.0",
"graphql": "^15.0.0"
},
"devDependencies": {
"eslint": "^6.8.0",
"@types/jest": "^25.1.2",
"@types/node": "^13.1.6",
"@typescript-eslint/eslint-plugin": "2.23.0",
"@typescript-eslint/parser": "^2.16.0",
"jest": "^25.1.0",
"json-stable-stringify": "1.0.1",
"ts-jest": "^25.2.0",
"ts-node": "^8.6.2",
"typescript": "^3.8.3"
},
"types": "dist/index.d.ts"
}