forked from saleor/saleor-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
118 lines (118 loc) · 3.53 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "@saleor/sdk",
"version": "0.3.0-8",
"description": "This package contains all queries and mutations that are used in our sample storefront. It can be used for semi-custom or fully-custom (with ability to extend existing queries) storefront solutions.",
"homepage": "https://getsaleor.com/",
"main": "./lib/index.js",
"license": "BSD-3-Clause",
"engines": {
"node": ">=12.16.3"
},
"repository": {
"type": "git",
"url": "git://github.com/mirumee/saleor-sdk.git"
},
"scripts": {
"build": "tsc",
"build-types": "apollo codegen:generate --target=typescript gqlTypes && rm -rf src/gqlTypes && move-file gqlTypes src/gqlTypes && jscodeshift -t scripts/fixImportPaths.ts src/**/gqlTypes/* --parser=tsx",
"clean": "rimraf lib",
"lint": "eslint \"src/**/*.@(tsx|ts|jsx|js)\" --fix && prettier --check \"src/**/*.@(tsx|ts|jsx|js)\" --write",
"prepare": "npm run clean && npm run build",
"release": "np",
"start": "tsc --watch",
"test": "jest"
},
"keywords": [
"saleor",
"sdk",
"storefront",
"shop",
"typescript",
"apollo",
"graphql"
],
"author": "Mirumee",
"dependencies": {
"apollo-cache": "^1.3.5",
"apollo-cache-inmemory": "^1.6.6",
"apollo-cache-persist": "^0.1.1",
"apollo-link-batch-http": "^1.2.14",
"apollo-link-context": "^1.0.20",
"apollo-link-error": "^1.1.13",
"apollo-link-retry": "^2.2.16",
"apollo-utilities": "^1.3.4",
"lodash": "^4.17.21",
"lodash-es": "^4.17.15"
},
"devDependencies": {
"@pollyjs/adapter-node-http": "^4.3.0",
"@pollyjs/core": "^4.3.0",
"@pollyjs/persister-fs": "^4.3.0",
"@testing-library/react-hooks": "^3.4.1",
"@types/jest": "^25.2.3",
"@types/jscodeshift": "^0.7.1",
"@types/lodash": "^4.14.155",
"@types/pollyjs__adapter-node-http": "^2.0.0",
"@types/pollyjs__persister-fs": "^2.0.0",
"@types/react": "^16.9.35",
"@types/react-dom": "^16.9.8",
"@types/setup-polly-jest": "^0.5.0",
"@types/webappsec-credential-management": "^0.5.1",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"apollo": "^2.27.4",
"apollo-client": "^2.6.10",
"apollo-link": "^1.2.14",
"eslint": "^7.0.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-airbnb-typescript": "^7.2.1",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-react-hooks": "^4.0.2",
"graphql": "^14.5.8",
"graphql-tag": "^2.10.3",
"husky": "^4.2.5",
"jest": "^26.0.1",
"jscodeshift": "^0.9.0",
"lint-staged": "^10.2.4",
"move-file-cli": "^1.0.0",
"node-fetch": "^2.6.0",
"np": "^7.0.0",
"prettier": "^2.0.5",
"react": "^16.9.9",
"react-apollo": "^3.1.5",
"react-test-renderer": "^16.13.1",
"react-dom": "^16.12.0",
"rimraf": "^3.0.2",
"setup-polly-jest": "^0.8.0",
"ts-jest": "^26.0.0",
"typescript": "^3.9.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run build"
}
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix",
"prettier --write",
"git add"
]
},
"peerDependencies": {
"apollo-client": "^2.6.10",
"apollo-link": "^1.2.14",
"graphql": "^14.5.8",
"graphql-tag": "^2.10.3",
"react": "^16.9.9",
"react-dom": "^16.9.0",
"react-apollo": "^3.1.5"
},
"type": "commonjs",
"typings": "./lib/index.d.ts"
}