|
6 | 6 | "build": "gatsby build",
|
7 | 7 | "clean": "rm -rf .cache && yarn start",
|
8 | 8 | "develop": "nodemon --exec \"gatsby develop\"",
|
9 |
| - "debug": "nodemon --exec \"node --inspect-brk --no-lazy node_modules/.bin/gatsby develop\" ", |
10 |
| - "emit-graphql-types": "apollo codegen:generate --tagName=graphql --target=typescript __generated__", |
| 9 | + "debug": "nodemon --exec \"node --inspect-brk --no-lazy node_modules/.bin/gatsby develop\"", |
11 | 10 | "lint": "eslint . --ext ts --ext tsx",
|
12 | 11 | "prettier-write": "prettier --write \"src/**/*.js\"",
|
13 | 12 | "release": "auto shipit",
|
14 | 13 | "start": "yarn develop",
|
15 | 14 | "test": "echo \"Write tests! -> https://gatsby.app/unit-testing\"",
|
16 | 15 | "type-check": "tsc --pretty --noEmit"
|
17 | 16 | },
|
18 |
| - "apollo": { |
19 |
| - "client": { |
20 |
| - "service": { |
21 |
| - "name": "gatsby", |
22 |
| - "url": "http://localhost:8000/___graphql" |
23 |
| - } |
24 |
| - } |
25 |
| - }, |
26 | 17 | "husky": {
|
27 | 18 | "hooks": {
|
28 | 19 | "pre-commit": "lint-staged",
|
|
40 | 31 | "ignore": [
|
41 | 32 | ".cache/*",
|
42 | 33 | "public/*",
|
| 34 | + "schema.json", |
43 | 35 | "src/*"
|
44 | 36 | ],
|
45 | 37 | "delay": "1500"
|
|
59 | 51 | "@types/rebass": "^0.3.4",
|
60 | 52 | "@types/styled-components": "^4.1.6",
|
61 | 53 | "@typescript-eslint/eslint-plugin": "^1.1.0",
|
62 |
| - "apollo": "^2.1.9", |
63 | 54 | "auto-release-cli": "2.3.0",
|
64 | 55 | "babel-eslint": "^10.0.1",
|
65 | 56 | "eslint": "^5.12.1",
|
66 | 57 | "eslint-config-prettier": "^3.6.0",
|
| 58 | + "eslint-plugin-graphql": "^3.0.1", |
67 | 59 | "eslint-plugin-react": "^7.12.4",
|
68 | 60 | "gatsby-plugin-typescript": "^2.0.3",
|
| 61 | + "graphql-typescript-definitions": "^0.15.0", |
69 | 62 | "husky": "^1.3.1",
|
70 | 63 | "jest": "^24.0.0",
|
71 | 64 | "lint-staged": "^8.1.0",
|
|
111 | 104 | "rebass": "^3.0.1",
|
112 | 105 | "styled-components": "^4.1.3",
|
113 | 106 | "styled-system": "^3.2.1",
|
114 |
| - "unstated": "^2.1.1" |
| 107 | + "unstated": "^2.1.1", |
| 108 | + "write": "^1.0.3" |
115 | 109 | },
|
116 | 110 | "license": "MIT",
|
117 | 111 | "publishConfig": {
|
|
0 commit comments