This repository has been archived by the owner on Apr 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 390
/
package.json
97 lines (97 loc) · 2.41 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
{
"name": "@shopify/graphql-client",
"version": "0.10.3",
"description": "Shopify GraphQL Client - A lightweight generic GraphQL JS client to interact with Shopify GraphQL APIs",
"repository": {
"type": "git",
"url": "git+https://github.com/Shopify/shopify-api-js.git"
},
"author": "Shopify",
"license": "MIT",
"main": "./dist/umd/graphql-client.min.js",
"browser": "./dist/umd/graphql-client.min.js",
"module": "./dist/index.mjs",
"types": "./dist/graphql-client.d.ts",
"exports": {
".": {
"module": {
"types": "./dist/ts/index.d.ts",
"default": "./dist/index.mjs"
},
"import": {
"types": "./dist/ts/index.d.ts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/ts/index.d.ts",
"default": "./dist/index.js"
},
"default": "./dist/index.mjs"
}
},
"scripts": {
"lint": "eslint . --ext .js,.ts",
"build": "yarn run rollup",
"test": "jest",
"test:ci": "yarn test",
"rollup": "rollup -c --bundleConfigAsCjs",
"clean": "rimraf dist/*",
"changeset": "changeset",
"version": "changeset version",
"release": "yarn build && changeset publish"
},
"jest": {
"projects": [
{
"displayName": {
"name": "test:browser",
"color": "blue"
},
"testEnvironment": "jsdom",
"testPathIgnorePatterns": [
"(/__tests__/.*|(\\.|/)server(\\.|/)(test|spec))\\.[jt]sx?$"
]
},
{
"displayName": {
"name": "test:server",
"color": "yellow"
},
"testPathIgnorePatterns": [
"(/__tests__/.*|(\\.|/)browser(\\.|/)(test|spec))\\.[jt]sx?$"
]
}
],
"setupFilesAfterEnv": [
"./src/tests/setupTests.ts"
],
"transform": {
".*": "babel-jest"
}
},
"publishConfig": {
"access": "public"
},
"keywords": [
"shopify",
"node",
"graphql",
"Admin API",
"Storefront API"
],
"files": [
"dist/**/*.*",
"!node_modules"
],
"dependencies": {},
"devDependencies": {
"jest-environment-jsdom": "^29.5.0",
"jest-fetch-mock": "^3.0.3",
"regenerator-runtime": "^0.14.1",
"web-streams-polyfill": "^4.0.0"
},
"bugs": {
"url": "https://github.com/Shopify/shopify-api-js/issues"
},
"homepage": "https://github.com/Shopify/shopify-api-js/tree/main/packages/graphql-client#readme"
}