UNPKG

@shopify/storefront-api-client

Version:

Shopify Storefront API Client - A lightweight JS client to interact with Shopify's Storefront API

97 lines 2.54 kB
{ "name": "@shopify/storefront-api-client", "version": "1.0.7", "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-app-js.git", "directory": "packages/api-clients/storefront-api-client" }, "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" } }, "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": "^1.3.2" }, "devDependencies": { "jest-environment-jsdom": "^29.5.0" }, "bugs": { "url": "https://github.com/Shopify/shopify-app-js/issues" }, "homepage": "https://github.com/Shopify/shopify-app-js/tree/main/packages/api-clients/storefront-api-client#readme", "scripts": { "lint": "eslint . --ext .js,.ts", "build": "pnpm tsc -p ./tsconfig.build.json && pnpm rollup", "tsc": "tsc", "test": "jest", "test:ci": "pnpm test", "rollup": "rollup -c --bundleConfigAsCjs", "clean": "rimraf dist/*", "changeset": "changeset", "version": "changeset version", "release": "pnpm build && changeset publish" } }