1 {
2 "name": "@medusajs/js-sdk",
3 "version": "2.21.2",
4 "description": "SDK for the Medusa API",
5 "main": "dist/index.js",
6 "module": "dist/esm/index.js",
7 "types": "dist/index.d.ts",
8 "exports": {
9 "import": "./dist/esm/index.js",
10 "require": "./dist/index.js"
11 },
12 "repository": {
13 "type": "git",
14 "url": "git+https://github.com/medusajs/medusa.git",
15 "directory": "packages/core/js-sdk"
16 },
17 "bugs": {
18 "url": "https://github.com/medusajs/medusa/issues"
19 },
20 "engines": {
21 "node": ">=22.22.0"
22 },
23 "publishConfig": {
24 "access": "public"
25 },
26 "files": [
27 "dist",
28 "!dist/**/__tests__",
29 "!dist/**/__mocks__",
30 "!dist/**/__fixtures__"
31 ],
32 "author": "Medusa",
33 "license": "SEE LICENSE IN LICENSE",
34 "devDependencies": {
35 "@medusajs/types": "2.21.2"
36 },
37 "dependencies": {
38 "fetch-event-stream": "^0.1.5",
39 "qs": "^6.15.2"
40 },
41 "scripts": {
42 "build": "yarn run -T rimraf dist && yarn run -T tsc -p tsconfig.json && yarn run -T tsc -p tsconfig.esm.json",
43 "test": "../../../node_modules/.bin/jest --passWithNoTests --bail --forceExit --detectOpenHandles",
44 "watch": "yarn run -T tsc --build --watch"
45 }
46 }