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 388
/
package.json
95 lines (95 loc) · 2.36 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
{
"name": "@shopify/storefront-api-client",
"version": "0.3.3",
"description": "Shopify Storefront API Client - A lightweight JS client to interact with Shopify's Storefront API",
"repository": {
"type": "git",
"url": "git+https://github.com/Shopify/shopify-api-js.git"
},
"author": "Shopify",
"license": "MIT",
"main": "./dist/umd/storefront-api-client.min.js",
"browser": "./dist/umd/storefront-api-client.min.js",
"module": "./dist/index.mjs",
"types": "./dist/storefront-api-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",
"Storefront API"
],
"files": [
"dist/**/*.*",
"!node_modules"
],
"dependencies": {
"@shopify/graphql-client": "^0.10.3"
},
"devDependencies": {
"jest-environment-jsdom": "^29.5.0"
},
"bugs": {
"url": "https://github.com/Shopify/shopify-api-js/issues"
},
"homepage": "https://github.com/Shopify/shopify-api-js/tree/main/packages/storefront-api-client#readme"
}