-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathpackage.json
116 lines (116 loc) · 2.84 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
{
"version": "0.7.0",
"license": "MIT",
"homepage": "https://saleor.io/",
"repository": {
"type": "git",
"url": "git://github.com/mirumee/saleor-sdk.git"
},
"bugs": {
"url": "https://github.com/mirumee/saleor-sdk/issues"
},
"keywords": [
"saleor",
"sdk",
"@saleor/sdk",
"react",
"typescript"
],
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=10"
},
"scripts": {
"start": "npm run build-types && tsdx watch",
"build": "npm run build-types && tsdx build",
"test": "tsdx test",
"test:watch": "tsdx test --watch",
"lint": "tsdx lint src test",
"prepare": "npm run build && husky install",
"size": "size-limit",
"analyze": "size-limit --why",
"build-types": "graphql-codegen --config codegen.yml",
"download-schema": "graphql-codegen --config codegen-introspection.yml",
"release": "np"
},
"peerDependencies": {
"@apollo/client": "^3.3.19",
"graphql": "^15.5.0",
"react": "^17.0.0 || ^18.0.0"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": false,
"trailingComma": "es5"
},
"np": {
"yarn": false
},
"name": "@saleor/sdk",
"author": "Saleor Commerce",
"description": "Saleor TS SDK",
"module": "dist/sdk.esm.js",
"private": false,
"publishConfig": {
"access": "public"
},
"size-limit": [
{
"path": "dist/sdk.cjs.production.min.js",
"limit": "11 KB"
},
{
"path": "dist/sdk.esm.js",
"limit": "11 KB"
}
],
"devDependencies": {
"@apollo/client": "^3.3.19",
"@graphql-codegen/cli": "1.21.5",
"@graphql-codegen/introspection": "^1.18.2",
"@graphql-codegen/typescript": "^1.22.3",
"@graphql-codegen/typescript-apollo-client-helpers": "^1.1.9",
"@graphql-codegen/typescript-operations": "^1.18.2",
"@pollyjs/adapter-node-http": "^5.1.1",
"@pollyjs/core": "^5.1.1",
"@pollyjs/persister-fs": "^5.1.1",
"@size-limit/preset-small-lib": "^4.10.2",
"@types/omit-deep-lodash": "^1.1.1",
"@types/pollyjs__adapter-node-http": "^2.0.1",
"@types/pollyjs__core": "^4.3.2",
"@types/pollyjs__persister-fs": "^2.0.1",
"@types/react": "^18.2.7",
"@types/setup-polly-jest": "^0.5.1",
"eslint-plugin-tsdoc": "^0.2.14",
"graphql": "^15.5.1",
"husky": "^6.0.0",
"jest": "^27.0.5",
"jsonwebtoken": "^8.5.1",
"msw": "^0.35.0",
"np": "^7.5.0",
"omit-deep-lodash": "^1.1.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"setup-polly-jest": "^0.9.1",
"size-limit": "^4.10.2",
"ts-jest": "^27.0.3",
"tsdx": "^0.14.1",
"tslib": "^2.3.1",
"typescript": "^4.2.4"
},
"dependencies": {
"cross-fetch": "^3.1.4",
"jwt-decode": "^3.1.2"
}
}