/
package.json
149 lines (149 loc) 路 4.52 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
"name": "magiql",
"version": "0.0.9",
"description": "",
"repository": {
"url": "https://github.com/nksaraf/magiql.git",
"branch": "main"
},
"license": "MIT",
"author": "Nikhil Saraf <nsaraf98@gmail.com>",
"types": "dist/index.d.ts",
"scripts": {
"prepublishOnly": "yarn clean && run-p build:node build:common",
"clean": "rm -rf dist",
"build:node": "yarn tsup src/babel.ts src/cli.ts --format cjs",
"build:common": "yarn tsup src/index.ts src/node.ts src/subscriptions.ts src/index.native.ts src/devtools.native.ts src/devtools.ts --minify --format esm,cjs --legacy-output --dts --external react --external react-dom --external react-native",
"watch:node": "yarn build:node --watch",
"watch:common": "yarn build:common --watch",
"build": "run-p build:node build:common && dumi build",
"pub": "bump && yarn publish --access public --non-interactive",
"watch": "yarn clean && run-p watch:*",
"demo": "yarn next",
"dev": "dumi dev"
},
"homepage": "https://github.com/nksaraf/magiql",
"devDependencies": {
"@types/node": "^14.11.2",
"@types/prismjs": "^1.16.1",
"@types/querystringify": "^2.0.0",
"@types/react": "^16.9.49",
"@types/react-dom": "^16.9.8",
"@types/react-native": "^0.63.22",
"@types/relay-runtime": "^10.0.7",
"babel-plugin-macros": "^2.8.0",
"bluebird": "^3.7.2",
"deepmerge": "^4.2.2",
"docs-ts": "^0.5.1",
"dumi": "^1.1.0-rc.7",
"graphiql-playground": "https://gist.github.com/nksaraf/02f2e67cdd500bd4c92a6a30674f55ba.git",
"graphql": "^15.4.0",
"graphql-parse": "^0.1.3",
"match-sorter": "^4.2.1",
"meow": "^7.1.1",
"mkdirp": "^1.0.4",
"next": "^9.5.3",
"npm-run-all": "^4.1.5",
"oceanwind": "^0.10.0",
"omdb": "^0.8.0",
"omdbapi": "^3.0.0",
"prismjs": "^1.21.0",
"querystringify": "^2.2.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-draggable": "^4.4.3",
"react-notion": "^0.8.1",
"react-query-devtools": "^2.5.1",
"subscriptions-transport-ws": "^0.9.18",
"tsup": "^3.7.0",
"typescript": "^4.0.3"
},
"dependencies": {
"@nexus/schema": "^0.19.2",
"babel-plugin-relay": "^10.0.1",
"cosmiconfig": "^7.0.0",
"graphql-faker": "^2.0.0-rc.23",
"graphql-helix": "^1.2.0",
"hash-sum": "^2.0.0",
"isomorphic-unfetch": "^3.0.0",
"react-query": "^2.25.2",
"relay-compiler": "^10.0.1",
"relay-runtime": "npm:@nksaraf/relay-runtime"
},
"peerDependencies": {
"prettier": "*",
"react": "*",
"react-dom": "*",
"react-native": "*"
},
"bin": {
"magiql": "dist/cli.js"
},
"module": "dist/esm/index.js",
"main": "dist/index.js",
"react-native": "dist/esm/index.native.js",
"exports": {
".": {
"import": "./dist/esm/index.js",
"browser": "./dist/esm/index.js",
"require": "./dist/index.js",
"node": "./dist/index.js",
"default": "./dist/esm/index.js"
},
"./babel": {
"require": "./dist/babel.js",
"node": "./dist/babel.js",
"default": "./dist/babel.js"
},
"./macro": {
"require": "./dist/macro.js",
"node": "./dist/macro.js",
"default": "./dist/macro.js"
},
"./devtools": {
"import": "./dist/esm/devtools.js",
"browser": "./dist/esm/devtools.js",
"require": "./dist/devtools.js",
"node": "./dist/devtools.js",
"default": "./dist/esm/devtools.js"
},
"./devtools.native": {
"import": "./dist/esm/devtools.native.js",
"browser": "./dist/esm/devtools.native.js",
"require": "./dist/devtools.native.js",
"node": "./dist/devtools.native.js",
"default": "./dist/esm/devtools.native.js"
},
"./node": {
"import": "./dist/esm/node.js",
"browser": "./dist/esm/node.js",
"require": "./dist/node.js",
"node": "./dist/node.js",
"default": "./dist/esm/node.js"
},
"./subscriptions": {
"import": "./dist/esm/subscriptions.js",
"browser": "./dist/esm/subscriptions.js",
"require": "./dist/subscriptions.js",
"node": "./dist/subscriptions.js",
"default": "./dist/esm/subscriptions.js"
},
"./index.native": {
"import": "./dist/esm/index.native.js",
"browser": "./dist/esm/index.native.js",
"require": "./dist/index.native.js",
"node": "./dist/index.native.js",
"default": "./dist/esm/index.native.js"
},
"./package.json": "./package.json",
"./": "./"
},
"files": [
"dist",
"devtools",
"babel",
"subscriptions",
"node",
"README.md"
]
}