forked from OneGraph/graphiql-code-exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
70 lines (70 loc) · 1.87 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
{
"name": "@stepzen/graphiql-code-exporter",
"version": "4.1.0",
"description": "Export working code snippets from GraphiQL queries",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.js",
"files": [
"dist",
"src",
"CodeExporter.css"
],
"scripts": {
"build:clean": "rm -rf ./dist",
"build:esm": "tsc --project tsconfig.json",
"build:cjs": "tsc --project tsconfig.cjs.json",
"build": "npm run build:clean && npm run build:cjs && npm run build:esm",
"prettier": "prettier --write \"src/**/*.ts\" \"docs/**/*.md\" README.md",
"release": "npm run build && npm publish",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/stepzen-dev/graphiql-code-exporter.git"
},
"keywords": [
"graphql",
"graphiql",
"tools",
"devTools",
"DX"
],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/stepzen-dev/graphiql-code-exporter/issues"
},
"homepage": "https://github.com/stepzen-dev/graphiql-code-exporter#readme",
"peerDependencies": {
"graphql": "^16",
"react": "^17 || ^18",
"react-dom": "^17 || ^18"
},
"dependencies": {
"@codemirror/lang-javascript": "^6.1.1",
"@uiw/react-codemirror": "^4.17.1",
"copy-to-clipboard": "^3.3.3"
},
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.20.5",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@types/jest": "^29.2.3",
"@types/react": "^18.0.25",
"babel-jest": "^29.3.1",
"cross-env": "^5.2.1",
"graphql": "^16.6.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"prettier": "^1.19.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^4.9.3"
},
"jest": {
"testEnvironment": "jsdom"
}
}