-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
79 lines (79 loc) · 2.25 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
{
"name": "graphiql-code-exporter",
"version": "3.0.2",
"description": "Export working code snippets from GraphiQL queries",
"main": "lib/index.js",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"files": [
"lib",
"src",
"es",
"CodeExporter.css"
],
"scripts": {
"build:es": "babel -d es src --ignore __tests__",
"build:lib": "cross-env BABEL_ENV=commonjs babel -d lib src --ignore __tests__",
"build": "yarn build:es && yarn build:lib && yarn build:flow:es && yarn build:flow:lib",
"build:clean": "rm -r ./lib && mkdir ./lib && rm -r ./es && mkdir ./es",
"build:flow:es": "flow-copy-source -v -i '**/__tests__/**' src es",
"build:flow:lib": "flow-copy-source -v -i '**/__tests__/**' src lib",
"prettier": "prettier --write \"src/**/*.js\" \"docs/**/*.md\" README.md",
"release": "yarn build && npm publish",
"test": "yarn flow && cross-env BABEL_ENV=commonjs jest",
"flow": "flow"
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": false,
"jsxBracketSameLine": true,
"printWidth": 80
},
"repository": {
"type": "git",
"url": "git+https://github.com/OneGraph/graphiql-code-exporter.git"
},
"keywords": [
"onegraph",
"graphql",
"graphiql",
"tools",
"devTools",
"DX"
],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/OneGraph/graphiql-code-exporter/issues"
},
"homepage": "https://github.com/OneGraph/graphiql-code-exporter#readme",
"peerDependencies": {
"codemirror": "^5.26.0",
"graphql": "^14.1.1",
"react": "^15.6.0 || ^16.0.0",
"react-dom": "^16.2.0"
},
"dependencies": {
"copy-to-clipboard": "^3.0.8"
},
"devDependencies": {
"babel": "^6.5.2",
"babel-cli": "^6.6.0",
"babel-core": "^6.6.0",
"babel-jest": "^19.0.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-0": "^6.5.0",
"codemirror": "^5.44.0",
"cross-env": "^5.2.0",
"flow-bin": "^0.94.0",
"flow-copy-source": "^2.0.3",
"graphql": "^14.1.1",
"jest": "^19.0.0",
"prettier": "^1.16.4",
"react": "^16.7.0",
"react-dom": "^16.2.0"
}
}