UNPKG

@shopify/shopify-api

Version:

Shopify API Library for Node - accelerate development with support for authentication, graphql proxy, webhooks

123 lines 3.85 kB
{ "name": "@shopify/shopify-api", "version": "13.0.0", "description": "Shopify API Library for Node - accelerate development with support for authentication, graphql proxy, webhooks", "types": "./dist/ts/lib/index.d.ts", "module": "./dist/esm/lib/index.mjs", "main": "./dist/cjs/lib/index.js", "engines": { "node": ">=20.0.0" }, "exports": { ".": { "types": "./dist/ts/lib/index.d.ts", "import": "./dist/esm/lib/index.mjs", "require": "./dist/cjs/lib/index.js", "default": "./dist/cjs/lib/index.js" }, "./rest/admin/*": { "types": "./dist/ts/rest/admin/*/index.d.ts", "import": "./dist/esm/rest/admin/*/index.mjs", "require": "./dist/cjs/rest/admin/*/index.js", "default": "./dist/cjs/rest/admin/*/index.js" }, "./runtime": { "types": "./dist/ts/runtime/index.d.ts", "import": "./dist/esm/runtime/index.mjs", "require": "./dist/cjs/runtime/index.js", "default": "./dist/cjs/runtime/index.js" }, "./adapters/*": { "types": "./dist/ts/adapters/*/index.d.ts", "import": "./dist/esm/adapters/*/index.mjs", "require": "./dist/cjs/adapters/*/index.js", "default": "./dist/cjs/adapters/*/index.js" }, "./test-helpers": { "types": "./dist/ts/test-helpers/index.d.ts", "import": "./dist/esm/test-helpers/index.mjs", "require": "./dist/cjs/test-helpers/index.js", "default": "./dist/cjs/test-helpers/index.js" } }, "prettier": "@shopify/prettier-config", "sideEffects": [ "./dist/esm/adapters/*/index.mjs", "./dist/cjs/adapters/*/index.js" ], "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "git+https://github.com/Shopify/shopify-app-js.git", "directory": "packages/apps/shopify-api" }, "bugs": { "url": "https://github.com/Shopify/shopify-app-js/issues" }, "homepage": "https://github.com/Shopify/shopify-app-js/tree/main/packages/apps/shopify-api", "author": "Shopify Inc.", "license": "MIT", "keywords": [ "shopify", "node", "jwt", "app", "graphql", "rest", "webhook", "Admin API", "Storefront API" ], "dependencies": { "@shopify/admin-api-client": "^1.1.2", "@shopify/graphql-client": "^1.4.2", "@shopify/storefront-api-client": "^1.0.10", "compare-versions": "^6.1.1", "isbot": "^5.1.34", "jose": "^5.9.6", "lossless-json": "^4.3.0", "tslib": "^2.8.1" }, "devDependencies": { "@cloudflare/workers-types": "^4.20260124.0", "@types/express": "^5.0.6", "express": "^5.2.1", "jest-environment-miniflare": "^2.14.4", "miniflare": "^4.20260120.0", "rollup": "^4.57.0", "supertest": "^7.2.2", "wrangler": "^4.60.0" }, "files": [ "dist/*", "lib", "runtime", "adapters", "rest", "test-helpers", "future", "!bundle/*", "!node_modules", "!adapters/__e2etests__/*", "!**/__tests__", "!**/__test-helpers", "!**/*.test.ts" ], "scripts": { "test:all": "pnpm pretest:adapters && jest && pnpm posttest:adapters", "test:ci": "pnpm test && pnpm test:rest_resources && pnpm test:adapters", "test": "jest --selectProjects library", "pretest:adapters": "pnpm rollup -c adapters/__e2etests__/rollup.test-apps.config.js", "test:adapters": "jest --selectProjects adapters:mock adapters:node adapters:cf-worker adapters:web-api", "test:rest_resources": "jest --selectProjects rest_resources", "lint": "eslint .", "test:dev": "jest --selectProjects library", "build": "pnpm rollup -c rollup.config.js && pnpm tsc -p ./tsconfig.build.json", "tsc": "tsc", "rollup": "rollup --bundleConfigAsCjs", "clean": "rimraf .rollup.cache dist bundle", "release": "pnpm build && changeset publish" } }