-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
96 lines (96 loc) · 3.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "gatsby-starter-ts",
"description": "A TypeScript starter for Gatsby that includes all you need to build amazing projects",
"version": "1.0.0",
"private": true,
"author": "João Pedro Schmitz <[email protected]> (https://joaopedro.dev)",
"license": "MIT",
"keywords": [
"gatsby",
"starter",
"typescript"
],
"scripts": {
"start": "gatsby develop",
"start:gql": "graphql-faker --open ./schema.sdl",
"build": "gatsby build",
"serve": "gatsby serve",
"clean": "gatsby clean",
"test:unit": "jest",
"gql:fetch": "apollo schema:download --endpoint=https://api.milli.link/graphql graphql-schema.json",
"gql:update": "apollo codegen:generate --localSchemaFile=graphql-schema.json --target=typescript --config apollo.config.js --tagName=gql --addTypename --useReadOnlyTypes --globalTypesFile=src/types/graphql-global-types.ts types",
"lint": "eslint --ignore-path .gitignore \"src/**/*.+(ts|js|tsx)\"",
"lint:fix": "eslint --fix --ignore-path .gitignore \"src/**/*.+(ts|js|tsx)\"",
"lint:format": "prettier --ignore-path .gitignore \"src/**/*.+(ts|js|tsx|css)\" --check",
"lint:format:fix": "prettier --ignore-path .gitignore \"src/**/*.+(ts|js|tsx|css)\" --write",
"lint:types": "tsc",
"postinstall": "husky install && yarn gql:update"
},
"lint-staged": {
"./src/**/*.{ts,jsx,tsx}": [
"yarn lint:format",
"yarn lint"
]
},
"dependencies": {
"@ant-design/icons": "^4.6.2",
"@apollo/client": "^3.3.15",
"@apollo/react-hooks": "^4.0.0",
"@fontsource/roboto": "^4.2.3",
"@fontsource/rufina": "^4.2.2",
"antd": "^4.16.0",
"antd-mobile": "^2.3.4",
"apollo-boost": "^0.4.9",
"babel-preset-gatsby": "^1.4.0",
"gatsby": "3.1.2",
"gatsby-plugin-antd-mobile": "^1.0.9",
"gatsby-plugin-react-helmet": "^4.2.0",
"graphql": "^15.5.0",
"isomorphic-fetch": "^3.0.0",
"prop-types": "^15.7.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-helmet": "^6.1.0",
"tsconfig-paths-webpack-plugin": "3.5.1",
"tslib": "^2.2.0"
},
"devDependencies": {
"@commitlint/cli": "12.0.1",
"@commitlint/config-conventional": "12.0.1",
"@types/chai": "^4.2.17",
"@types/isomorphic-fetch": "^0.0.35",
"@types/jest": "^26.0.23",
"@types/node": "^14.14.37",
"@types/react": "17.0.3",
"@types/react-dom": "17.0.3",
"@types/react-helmet": "^6.1.1",
"@typescript-eslint/eslint-plugin": "4.19.0",
"@typescript-eslint/parser": "4.19.0",
"apollo": "^2.32.11",
"babel-plugin-root-import": "6.6.0",
"chai": "^4.3.4",
"commitizen": "4.2.3",
"cz-conventional-changelog": "3.3.0",
"eslint": "7.23.0",
"eslint-config-airbnb": "18.2.1",
"eslint-config-prettier": "8.1.0",
"eslint-import-resolver-root-import": "1.0.4",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-prettier": "3.3.1",
"eslint-plugin-react": "7.23.1",
"eslint-plugin-react-hooks": "^4.2.0",
"graphql-faker": "^2.0.0-rc.23",
"husky": "5.2.0",
"jest": "^26.6.3",
"lint-staged": "10.5.4",
"prettier": "2.2.1",
"ts-jest": "^26.5.5",
"typescript": "4.2.3"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
}
}