-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
78 lines (78 loc) · 2.12 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
{
"name": "graphql-rest-proxy",
"version": "0.7.0",
"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"
],
"files": [
"bin/**/*.js",
"dist/**/*.js",
"dist/**/*.map",
"dist/**/*.ts",
"package.json",
"LICENSE",
"README.md"
],
"scripts": {
"start": "npm run ts-run ./src/index.ts",
"ts-run": "node -r esbuild-register",
"dev": "nodemon",
"prepublish": "npm-run-all clean build",
"clean": "rimraf dist/*",
"build": "tsc -p tsconfig.prod.json",
"try": "npm-run-all --parallel mock try:proxy",
"try:proxy": "yarn ts-run ./src/cli-runner.ts -- -c examples/proxy.config.js examples/schema.graphql",
"mock": "npm run ts-run tests/run-mock-server.ts",
"test": "ava",
"test:coverage": "c8 ava"
},
"dependencies": {
"chalk": "^4.1.2",
"cors": "^2.8.5",
"express": "^4.18.2",
"graphql": "^15.8.0",
"graphql-tag": "^2.12.6",
"request": "^2.88.0",
"request-promise": "^4.2.4",
"uuid": "^9.0.0",
"yargs": "^17.6.2"
},
"devDependencies": {
"@types/chalk": "^2.2.0",
"@types/express": "^4.16.1",
"@types/graphql": "^14.0.7",
"@types/node": "^15.6.1",
"@types/request": "^2.48.1",
"@types/request-promise": "^4.1.42",
"@types/supertest": "^2.0.7",
"@types/uuid": "^8.3.4",
"@types/yargs": "^17.0.13",
"ava": "^5.1.0",
"c8": "^7.12.0",
"codecov": "^3.2.0",
"esbuild": "^0.15.15",
"esbuild-register": "^3.4.1",
"get-port": "^6.1.2",
"nodemon": "^2.0.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"supertest": "^6.1.3",
"typescript": "^4.0.2"
}
}