-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
45 lines (45 loc) · 1.57 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
{
"name": "graphql-user-search-sample",
"version": "1.0.0",
"main": "index.js",
"author": "Chris Toomey <chris@ctoomey.com>",
"license": "MIT",
"scripts": {
"start": "export $(cat .env) && parcel src/index.html",
"lint": "eslint src",
"gql:schema": "apollo-codegen introspect-schema https://api.github.com/graphql --output src/gqlSchema.json --header \"Authorization: Bearer $(cat .env | grep GITHUB_TOKEN | cut -d '=' -f 2)\"",
"gql:types": "apollo-codegen generate src/**/*.js --schema src/gqlSchema.json --target typescript --output src/gqlTypes.ts",
"gql:full": "yarn run gql:schema && yarn run gql:types"
},
"devDependencies": {
"apollo-codegen": "^0.19.1",
"babel-eslint": "^8.2.2",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-react-app": "^3.1.1",
"babel-runtime": "^6.26.0",
"eslint": "^4.18.2",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-filenames": "^1.2.0",
"eslint-plugin-graphql": "^1.5.0",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.7.0",
"eslint_d": "^5.2.2",
"parcel-bundler": "^1.6.2",
"prettier": "^1.11.1"
},
"dependencies": {
"apollo-boost": "^0.1.4",
"apollo-client": "^2.2.7",
"graphql": "^0.13.1",
"graphql-tag": "^2.8.0",
"query-string": "^6.1.0",
"react": "^16.2.0",
"react-apollo": "^2.1.0",
"react-dom": "^16.2.0",
"react-octicons": "^0.2.0",
"react-router-dom": "^4.2.2",
"styled-components": "^3.2.5"
}
}