Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 2.2 KB
/
Copy pathpackage.json
File metadata and controls
91 lines (91 loc) · 2.2 KB
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
{
"version": "1.0.4",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=10"
},
"keywords": [
"graphql",
"react",
"apollo",
"client",
"lightweight",
"fast",
"typescript"
],
"repository": {
"type": "git",
"url": "https://github.com/manu2manu/graphql-react-client.git"
},
"homepage": "https://github.com/manu2manu/graphql-react-client",
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test --passWithNoTests",
"lint": "tsdx lint",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why",
"format": "git diff --diff-filter=d --name-only HEAD | grep -E '(\\.tsx?|\\.json|\\.md)$' | xargs prettier --write ",
"precheck": "yarn format && yarn lint",
"commit": "yarn precheck && git add . && git-cz",
"semver": "semantic-release"
},
"peerDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"prettier": {
"semi": true,
"bracketSpacing": true,
"trailingComma": "none",
"singleQuote": true,
"printWidth": 80,
"tabWidth": 2,
"arrowParens": "avoid",
"endOfLine": "auto"
},
"name": "graphql-react-client",
"author": "manu",
"module": "dist/graphql-react-client.esm.js",
"size-limit": [
{
"path": "dist/graphql-react-client.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/graphql-react-client.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@semantic-release/changelog": "^6.0.0",
"@semantic-release/git": "^10.0.0",
"@size-limit/preset-small-lib": "^6.0.3",
"@types/apollo-upload-client": "^14.1.0",
"@types/react": "^17.0.31",
"@types/react-dom": "^17.0.10",
"cz-conventional-changelog": "^3.3.0",
"semantic-release": "^18.0.0",
"size-limit": "^6.0.3",
"tsdx": "^0.14.1",
"tslib": "^2.3.1",
"typescript": "^4.4.4"
},
"dependencies": {
"@apollo/client": "^3.4.16",
"apollo-upload-client": "^16.0.0",
"graphql": "^15.6.1"
}
}