|
| 1 | +{ |
| 2 | + "name": "cra-subgraph-boilerplate", |
| 3 | + "version": "0.1.0", |
| 4 | + "private": true, |
| 5 | + "dependencies": { |
| 6 | + "@apollo/react-hooks": "^3.0.1", |
| 7 | + "@protofire/subgraph-toolkit": "0.1.1", |
| 8 | + "@types/jest": "^24.0.18", |
| 9 | + "@types/node": "^12.7.3", |
| 10 | + "@types/react": "^16.9.2", |
| 11 | + "@types/react-dom": "^16.9.0", |
| 12 | + "apollo-cache-inmemory": "^1.6.3", |
| 13 | + "apollo-client": "^2.6.4", |
| 14 | + "apollo-link": "^1.2.12", |
| 15 | + "apollo-link-error": "^1.1.11", |
| 16 | + "apollo-link-http": "^1.5.15", |
| 17 | + "apollo-link-ws": "^1.0.18", |
| 18 | + "dotenv-flow": "^3.1.0", |
| 19 | + "graphql": "^14.5.4", |
| 20 | + "graphql-tag": "^2.10.1", |
| 21 | + "react": "^16.9.0", |
| 22 | + "react-dom": "^16.9.0", |
| 23 | + "react-scripts": "3.1.1", |
| 24 | + "subscriptions-transport-ws": "^0.9.16", |
| 25 | + "typescript": "^3.6.2" |
| 26 | + }, |
| 27 | + "scripts": { |
| 28 | + "start": "react-scripts start", |
| 29 | + "build": "react-scripts build", |
| 30 | + "test": "react-scripts test", |
| 31 | + "eject": "react-scripts eject", |
| 32 | + "generateGQLTypes": "node scripts/generateGQLTypes.js" |
| 33 | + }, |
| 34 | + "eslintConfig": { |
| 35 | + "extends": "react-app" |
| 36 | + }, |
| 37 | + "browserslist": { |
| 38 | + "production": [ |
| 39 | + ">0.2%", |
| 40 | + "not dead", |
| 41 | + "not op_mini all" |
| 42 | + ], |
| 43 | + "development": [ |
| 44 | + "last 1 chrome version", |
| 45 | + "last 1 firefox version", |
| 46 | + "last 1 safari version" |
| 47 | + ] |
| 48 | + }, |
| 49 | + "husky": { |
| 50 | + "hooks": { |
| 51 | + "pre-commit": "yarn generateGQLTypes && git add ./src/types/generatedGQL.ts && yarn tsc && lint-staged" |
| 52 | + } |
| 53 | + }, |
| 54 | + "lint-staged": { |
| 55 | + "**/*.{ts,tsx,json,graphql,md}": [ |
| 56 | + "prettier --write", |
| 57 | + "git add" |
| 58 | + ], |
| 59 | + "scr/**/*.{ts, tsx}": [ |
| 60 | + "eslint --fix", |
| 61 | + "git add" |
| 62 | + ] |
| 63 | + }, |
| 64 | + "devDependencies": { |
| 65 | + "apollo": "^2.18.0", |
| 66 | + "eslint-config-prettier": "^6.0.0", |
| 67 | + "eslint-plugin-import": "^2.14.0", |
| 68 | + "eslint-plugin-prettier": "^3.0.0", |
| 69 | + "eslint-plugin-react": "^7.11.1", |
| 70 | + "husky": "^3.0.4", |
| 71 | + "lint-staged": "^9.2.5", |
| 72 | + "prettier": "^2.2.1", |
| 73 | + "yaml": "^1.10.0" |
| 74 | + } |
| 75 | +} |
0 commit comments