|
1 | 1 | { |
2 | 2 | "name": "graphql-codegen-golang", |
3 | 3 | "description": "Graphql Code Generator plugin for generating Golang", |
| 4 | + "keywords": [ |
| 5 | + "graphql-codegen", |
| 6 | + "graphql", |
| 7 | + "golang" |
| 8 | + ], |
| 9 | + "repository": { |
| 10 | + "type": "git", |
| 11 | + "url": "https://github.com/ctison/graphql-codegen-golang.git" |
| 12 | + }, |
| 13 | + "license": "MIT", |
| 14 | + "main": "dist/index.js", |
| 15 | + "files": [ |
| 16 | + "README.md", |
| 17 | + "dist/" |
| 18 | + ], |
4 | 19 | "scripts": { |
5 | | - "dev": "yarn run build && yarn run codegen", |
6 | 20 | "build": "tsc", |
7 | | - "codegen": "yarn run graphql-codegen", |
8 | | - "test": "go test -v ./pkg/rickandmorty/", |
9 | | - "mock": "graphql-inspector serve graphql/schema.graphql", |
10 | | - "format": "prettier --write '**/*.{js,jsx,ts,tsx,json,yaml,gql,md,html,css}'", |
| 21 | + "format": "prettier --write .", |
| 22 | + "gen": "graphql-codegen", |
11 | 23 | "lint": "eslint --ext .js,.jsx,.ts,.tsx .", |
12 | | - "build:precommit": "yarn run dev && :" |
13 | | - }, |
14 | | - "dependencies": { |
15 | | - "@graphql-codegen/plugin-helpers": "1.17.8", |
16 | | - "graphql": "15.3.0", |
17 | | - "liquidjs": "9.15.0" |
18 | | - }, |
19 | | - "devDependencies": { |
20 | | - "@graphql-codegen/cli": "1.17.8", |
21 | | - "@graphql-inspector/cli": "2.2.0", |
22 | | - "@graphql-tools/utils": "6.1.0", |
23 | | - "@typescript-eslint/eslint-plugin": "3.10.1", |
24 | | - "@typescript-eslint/parser": "3.10.1", |
25 | | - "eslint": "7.7.0", |
26 | | - "eslint-plugin-import": "2.22.0", |
27 | | - "husky": "4.2.5", |
28 | | - "lint-staged": "10.2.12", |
29 | | - "prettier": "2.1.0", |
30 | | - "typescript": "4.0.2" |
| 24 | + "mock": "graphql-inspector serve pkg/graphql/schema.graphql", |
| 25 | + "test": "go test -v ./pkg/rickandmorty/" |
31 | 26 | }, |
32 | 27 | "husky": { |
33 | 28 | "hooks": { |
|
41 | 36 | "*.{js,jsx,ts,tsx}": [ |
42 | 37 | "eslint" |
43 | 38 | ], |
44 | | - "*": [ |
45 | | - "yarn run build:precommit" |
| 39 | + "package.json": [ |
| 40 | + "sort-package-json" |
46 | 41 | ] |
47 | 42 | }, |
48 | 43 | "prettier": { |
49 | 44 | "arrowParens": "avoid", |
50 | 45 | "semi": false, |
51 | 46 | "singleQuote": true |
52 | 47 | }, |
53 | | - "eslintConfig": { |
54 | | - "parser": "@typescript-eslint/parser", |
55 | | - "extends": [ |
56 | | - "eslint:recommended", |
57 | | - "plugin:import/errors", |
58 | | - "plugin:import/warnings", |
59 | | - "plugin:import/typescript", |
60 | | - "plugin:@typescript-eslint/recommended" |
61 | | - ], |
62 | | - "ignorePatterns": [ |
63 | | - "dist/" |
64 | | - ] |
| 48 | + "dependencies": { |
| 49 | + "@graphql-codegen/plugin-helpers": "1.17.8", |
| 50 | + "graphql": "15.3.0", |
| 51 | + "liquidjs": "9.15.0" |
| 52 | + }, |
| 53 | + "devDependencies": { |
| 54 | + "@graphql-codegen/cli": "1.17.8", |
| 55 | + "@graphql-inspector/cli": "2.2.0", |
| 56 | + "@graphql-tools/utils": "6.1.0", |
| 57 | + "@rushstack/eslint-config": "2.5.2", |
| 58 | + "@typescript-eslint/eslint-plugin": "3.10.1", |
| 59 | + "@typescript-eslint/parser": "3.10.1", |
| 60 | + "eslint": "7.7.0", |
| 61 | + "eslint-plugin-import": "2.22.0", |
| 62 | + "husky": "4.2.5", |
| 63 | + "lint-staged": "10.2.12", |
| 64 | + "prettier": "2.1.0", |
| 65 | + "sort-package-json": "1.54.0", |
| 66 | + "typescript": "4.0.2" |
65 | 67 | }, |
66 | 68 | "renovate": { |
67 | 69 | "extends": [ |
68 | 70 | "github>ctison/renovate" |
69 | 71 | ] |
70 | | - }, |
71 | | - "main": "dist/index.js", |
72 | | - "files": [ |
73 | | - "README.md", |
74 | | - "dist/" |
75 | | - ], |
76 | | - "repository": { |
77 | | - "url": "https://github.com/ctison/graphql-codegen-golang.git", |
78 | | - "type": "git" |
79 | | - }, |
80 | | - "license": "MIT", |
81 | | - "keywords": [ |
82 | | - "graphql-codegen", |
83 | | - "graphql", |
84 | | - "golang" |
85 | | - ] |
| 72 | + } |
86 | 73 | } |
0 commit comments