-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpackage.json
63 lines (63 loc) · 2.33 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
{
"name": "graphql-to-postman",
"version": "0.3.0",
"description": "Generates a Postman Collection from a GraphQL schema.",
"main": "index.js",
"bin": {
"gql2postman": "./bin/gql2postman.js"
},
"scripts": {
"test": "node npm/test.js",
"test-lint": "node npm/test-lint.js",
"test-unit": "node npm/test-unit.js",
"release": "npm/release.sh"
},
"com_postman_plugin": {
"plugin_type": "importer",
"name": "GraphQL",
"source_format": "GRAPHQL",
"source_format_name": "GraphQL",
"sample_input": {
"type": "string",
"data": "type Rocket { id: ID! name: String type: String } type User { id: ID! email: String! trips: [Launch]! } type Mission { name: String missionPatch(size: PatchSize): String } enum PatchSize { SMALL LARGE } type Mutation { # if false, booking trips failed -- check errors bookTrips(launchIds: [ID]!): TripUpdateResponse! # if false, cancellation failed -- check errors cancelTrip(launchId: ID!): TripUpdateResponse! login(email: String): String # login token } type TripUpdateResponse { success: Boolean! message: String launches: [Launch] } type Launch { id: ID! site: String mission: Mission rocket: Rocket isBooked: Boolean! } type Query { launches: [Launch]! launch(id: ID!): Launch # Queries for the current user me: User }"
}
},
"keywords": [
"graphql",
"postman",
"collection"
],
"engines": {
"node": ">=16"
},
"author": "Postman Labs <help@postman.com>",
"license": "Apache-2.0",
"dependencies": {
"commander": "2.20.3",
"graphql": "15.8.0",
"lodash": "4.17.19",
"postman-collection": "^5.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/postmanlabs/graphql-to-postman"
},
"devDependencies": {
"async": "3.1.0",
"chai": "4.2.0",
"chalk": "2.1.0",
"eslint": "4.18.2",
"eslint-plugin-jsdoc": "3.1.3",
"eslint-plugin-lodash": "2.4.5",
"eslint-plugin-mocha": "4.11.0",
"eslint-plugin-security": "1.4.0",
"istanbul": "0.4.5",
"jsdoc": "3.6.3",
"mocha": "6.2.2",
"nyc": "14.1.1",
"path": "0.12.7",
"pretty-ms": "5.1.0",
"recursive-readdir": "2.2.2",
"shelljs": "0.8.3"
}
}