-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
49 lines (49 loc) · 1.39 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
{
"name": "remix-graphql",
"version": "0.2.1",
"description": "Utilities for using GraphQL with a Remix app",
"keywords": [
"remix",
"graphql"
],
"repository": {
"type": "git",
"url": "https://github.com/thomasheyenbrock/remix-graphql.git"
},
"main": "index.js",
"types": "dist/index.d.ts",
"author": "Thomas Heyenbrock <[email protected]>",
"license": "MIT",
"files": [
"dist",
"index.js",
"index.server.js",
"index.server.d.ts"
],
"scripts": {
"build": "yarn build:clean && yarn build:code && yarn build:types",
"build:clean": "rm -rf dist && rm -f index.server.d.ts",
"build:code": "esbuild src/index.ts --bundle --platform=node --external:graphql --external:graphql-helix --external:remix --outfile=dist/index.js",
"build:types": "tsc && echo 'export * from \"./dist\";' > index.server.d.ts",
"format": "prettier --write .",
"prepare": "install-peers && remix setup node"
},
"dependencies": {
"graphql-helix": "^1.11.0"
},
"devDependencies": {
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"esbuild": "^0.14.10",
"install-peers-cli": "^2.2.0",
"prettier": "^2.5.1",
"typescript": "^4.1.2"
},
"peerDependencies": {
"@remix-run/dev": "^1.0.0",
"@remix-run/react": "^1.0.0",
"@remix-run/serve": "^1.0.0",
"graphql": "^16.2.0",
"remix": "^1.0.0"
}
}