forked from acro5piano/graphql-rest-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 2.6 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
{
"name": "graphql-rest-proxy",
"version": "0.5.5",
"description": "Turn your REST API into GraphQL - A Proxy Server that pipes request from GraphQL to REST with GraphQL DSL, performant nested children, mutations, input types, and more.",
"main": "dist/index.js",
"repository": "[email protected]:acro5piano/graphql-rest-proxy",
"author": "gosho-kazuya <[email protected]>",
"license": "MIT",
"bin": {
"graphql-rest-proxy": "./bin/graphql-rest-proxy.js"
},
"keywords": [
"cli-app",
"expressjs",
"graphql",
"graphql-server",
"javascript",
"proxy",
"rest",
"rest-api",
"typescript"
],
"scripts": {
"start": "npm run ts-run ./src/index.ts",
"ts-run": "ts-node -T -r tsconfig-paths/register --project tsconfig.dev.json",
"dev": "nodemon",
"mock": "npm run ts-run src/__tests__/run-mock-server.ts",
"prepublish": "npm-run-all clean build",
"clean": "rm -rf dist/*",
"build": "rollup -c",
"try": "npm-run-all --parallel mock try:proxy",
"try:proxy": "npm run ts-run ./src/index.ts -c examples/proxy.config.js examples/schema.graphql",
"test": "cross-env NODE_ENV=testing jest",
"test:coverage": "cross-env NODE_ENV=testing jest --coverage"
},
"dependencies": {
"body-parser": "^1.18.3",
"chalk": "^4.1.0",
"commander": "^7.1.0",
"cors": "^2.8.5",
"express": "^4.16.4",
"graphql": "^15.3.0",
"graphql-tag": "^2.10.1",
"request": "^2.88.0",
"request-promise": "^4.2.4",
"uuid": "^8.3.0",
"yargs": "^16.0.3"
},
"devDependencies": {
"@types/body-parser": "^1.17.0",
"@types/chalk": "^2.2.0",
"@types/express": "^4.16.1",
"@types/get-port": "^4.0.1",
"@types/graphql": "^14.0.7",
"@types/jest": "^26.0.10",
"@types/node": "^14.0.27",
"@types/request": "^2.48.1",
"@types/request-promise": "^4.1.42",
"@types/supertest": "^2.0.7",
"@types/uuid": "^8.3.0",
"codecov": "^3.2.0",
"cross-env": "^7.0.2",
"get-port": "^5.1.1",
"jest": "^24.5.0",
"nodemon": "^2.0.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"rollup": "^2.23.0",
"rollup-plugin-typescript2": "^0.30.0",
"supertest": "^6.1.3",
"ts-jest": "^24.0.0",
"ts-node": "^9.0.0",
"tsconfig-paths": "^3.8.0",
"tslib": "^2.0.1",
"typescript": "^4.0.2"
},
"@pika/pack": {
"pipeline": [
[
"@pika/plugin-ts-standard-pkg"
],
[
"@pika/plugin-build-node"
],
[
"@pika/plugin-simple-bin",
{
"bin": "graphql-rest-proxy",
"minNodeVersion": 8
}
]
]
}
}