1 {
2 "name": "root",
3 "private": true,
4 "workspaces": {
5 "packages": [
6 "packages/medusa",
7 "packages/medusa-test-utils",
8 "packages/modules/*",
9 "packages/modules/providers/*",
10 "packages/plugins/*",
11 "packages/core/*",
12 "packages/framework/*",
13 "packages/cli/*",
14 "packages/cli/oas/*",
15 "packages/*",
16 "packages/admin/*",
17 "packages/design-system/*",
18 "packages/generated/*",
19 "integration-tests/**/*"
20 ]
21 },
22 "devDependencies": {
23 "@atomico/rollup-plugin-sizes": "^1.1.4",
24 "@faker-js/faker": "^9.2.0",
25 "@medusajs/eslint-plugin": "workspace:^",
26 "@rollup/plugin-node-resolve": "^15.1.0",
27 "@rollup/plugin-replace": "^5.0.2",
28 "@storybook/addon-themes": "^10.5.6",
29 "@storybook/react": "^10.5.6",
30 "@storybook/react-vite": "^10.5.6",
31 "@swc/core": "^1.7.28",
32 "@swc/helpers": "^0.5.11",
33 "@swc/jest": "^0.2.36",
34 "@testing-library/dom": "^9.3.1",
35 "@testing-library/jest-dom": "^5.16.5",
36 "@testing-library/react": "^14.0.0",
37 "@testing-library/user-event": "^14.4.3",
38 "@types/autocannon": "^7.12.5",
39 "@types/chalk": "^2.2.0",
40 "@types/commander": "^2.12.2",
41 "@types/compression": "^1.7.5",
42 "@types/configstore": "^6.0.0",
43 "@types/cors": "^2.8.17",
44 "@types/express": "^4.17.21",
45 "@types/fs-extra": "11.0.1",
46 "@types/inquirer": "^9.0.3",
47 "@types/js-yaml": "^4.0.9",
48 "@types/jsdom": "^27.0.0",
49 "@types/jsonwebtoken": "^8.5.9",
50 "@types/lodash": "^4.17.15",
51 "@types/lodash.debounce": "^4.0.9",
52 "@types/lodash.isequal": "^4.5.8",
53 "@types/lodash.mergewith": "^4.6.9",
54 "@types/multer": "^2.0.0",
55 "@types/node": "^20.12.11",
56 "@types/node-emoji": "^1.8.2",
57 "@types/react": "^18.3.2",
58 "@types/react-dom": "^18.2.25",
59 "@types/validator": "^13.7.17",
60 "@types/wait-on": "^5.3.1",
61 "@types/yargs": "^15.0.15",
62 "@typescript-eslint/eslint-plugin": "^6.19.0",
63 "@typescript-eslint/parser": "^6.19.0",
64 "@typescript-eslint/rule-tester": "^8.0.0",
65 "@vitejs/plugin-react": "^5.2.0",
66 "@vitest/coverage-v8": "^4.1.10",
67 "ajv": "^8.18.0",
68 "autocannon": "^8.0.0",
69 "autoprefixer": "^10.4.19",
70 "awilix": "^8.0.1",
71 "axios": "^1.13.1",
72 "axios-mock-adapter": "^1.19.0",
73 "configstore": "^5.0.1",
74 "cross-env": "^5.2.1",
75 "esbuild": "^0.27.7",
76 "eslint": "^8.40.0",
77 "eslint-config-google": "^0.14.0",
78 "eslint-config-prettier": "^8.8.0",
79 "eslint-plugin-prettier": "^4.2.1",
80 "eslint-plugin-react": "^7.31.11",
81 "eslint-plugin-react-hooks": "^4.6.0",
82 "eslint-plugin-react-refresh": "^0.4.5",
83 "eslint-plugin-unused-imports": "^2.0.0",
84 "expect-type": "^0.20.0",
85 "express": "^4.21.0",
86 "faker": "^5.5.3",
87 "get-port": "^5.1.1",
88 "glob": "13.0.6",
89 "import-from": "^3.0.0",
90 "ioredis": "^5.4.1",
91 "jest": "^29.7.0",
92 "js-yaml": "^5.3.0",
93 "jsdom": "^27.1.0",
94 "lint-staged": "^11.2.6",
95 "msw": "^2.3.0",
96 "node-notifier": "^10.0.1",
97 "nodemon": "^2.0.20",
98 "pg-god": "^1.0.12",
99 "postcss": "^8.5.10",
100 "posthog-node": "^5.11.0",
101 "prettier": "^2.8.8",
102 "prettier-plugin-tailwindcss": "^0.2.3",
103 "prop-types": "^15.8.1",
104 "react": "^18.3.1",
105 "react-dom": "^18.3.1",
106 "react-router-dom": "7.18.2",
107 "resize-observer-polyfill": "^1.5.1",
108 "resolve-cwd": "^3.0.0",
109 "rimraf": "^5.0.1",
110 "rollup": "^4.62.4",
111 "rollup-plugin-esbuild": "^5.0.0",
112 "rollup-plugin-ts": "^3.2.0",
113 "rollup-plugin-visualizer": "^5.9.2",
114 "storybook": "^10.5.6",
115 "supertest": "^7.1.4",
116 "tailwindcss": "^3.4.3",
117 "ts-jest": "^29.1.0",
118 "ts-node": "^10.9.2",
119 "tsc-alias": "^1.8.7",
120 "tsup": "^8.4.0",
121 "turbo": "^1.6.3",
122 "typescript": "^5.6.2",
123 "uuid": "^9.0.0",
124 "vite": "^7.3.6",
125 "vite-plugin-inspect": "^11.4.1",
126 "vitest": "^4.1.10",
127 "yalc": "^1.0.0-pre.53",
128 "zod": "4.2.0",
129 "zod-validation-error": "5.0.0"
130 },
131 "lint-staged": {
132 "*.{js,jsx,ts,tsx}": "yarn run lint",
133 "*.{md,yaml,yml}": "prettier --write"
134 },
135 "scripts": {
136 "build": "turbo run build build:plugin --concurrency=100% --no-daemon",
137 "lint": "eslint --ignore-path .eslintignore --ext .js,.ts,.tsx .",
138 "lint:medusa": "eslint --no-eslintrc --config eslint.medusa.cjs --ignore-path .eslintignore --ext .js,.ts,.tsx .",
139 "lint:path": "eslint --ignore-path .eslintignore --ext .js,.ts,.tsx",
140 "prettier": "prettier",
141 "jest": "jest",
142 "test": "turbo run test --no-daemon --no-cache --force",
143 "test:chunk": "./scripts/run-workspace-unit-tests-in-chunks.sh",
144 "test:integration:packages:fast": "turbo run test:integration --concurrency=1 --no-daemon --no-cache --force --filter='./packages/core/*' --filter='./packages/medusa' --filter='./packages/modules/*' --filter='./packages/modules/providers/*' --filter='!./packages/modules/{workflow-engine-redis,index,product,order,cart}'",
145 "test:integration:packages:slow": "turbo run test:integration --concurrency=1 --no-daemon --no-cache --force --filter='./packages/modules/{workflow-engine-redis,index,product,order,cart}'",
146 "test:integration:packages": "turbo run test:integration --concurrency=1 --no-daemon --no-cache --force --filter='./packages/core/*' --filter='./packages/medusa' --filter='./packages/modules/*' --filter='./packages/modules/providers/*'",
147 "test:integration:http": "turbo run test:integration:chunk --no-daemon --no-cache --force --filter=integration-tests-http",
148 "test:integration:modules": "turbo run test:integration:chunk --no-daemon --no-cache --force --filter=integration-tests-modules",
149 "generate:http-types": "yarn workspace @medusajs/http-types-generator generate:http-types",
150 "validate:http-types": "yarn workspace @medusajs/http-types-generator validate:http-types",
151 "openapi:generate": "yarn ./packages/cli/oas/oas-github-ci run ci --with-full-file",
152 "medusa-oas": "yarn ./packages/cli/oas/medusa-oas-cli run medusa-oas",
153 "release:snapshot": "changeset publish --no-git-tags --snapshot --tag snapshot",
154 "release:next": "chgstangeset publish --no-git-tags --snapshot --tag next",
155 "version:next": "changeset version --snapshot next",
156 "release": "changeset publish",
157 "version": "changeset version && yarn install --no-immutable"
158 },
159 "dependencies": {
160 "@changesets/changelog-github": "^0.4.8",
161 "@changesets/cli": "^2.26.0",
162 "import-from": "^3.0.0"
163 },
164 "resolutions": {
165 "@redocly/cli/react": "^17.0.1",
166 "@redocly/cli/react-dom": "^17.0.1",
167 "lodash": "^4.18.1",
168 "pg": "8.16.3",
169 "@changesets/get-github-info@^0.5.2": "patch:@changesets/get-github-info@npm:^0.5.2#.yarn/patches/changesets-github-info.patch",
170 "@types/react": "^18.3.2",
171 "@types/react-dom": "^18.2.25",
172 "semver": "^7.5.2",
173 "axios": "^1.13.1",
174 "esbuild": "^0.27.7",
175 "on-headers": "^1.1.0",
176 "postcss": "^8.5.10",
177 "validator": "^13.15.20",
178 "@opentelemetry/core": "^2.7.0",
179 "@rushstack/node-core-library/ajv": "^8.18.0",
180 "@changesets/assemble-release-plan@^6.0.9": "patch:@changesets/assemble-release-plan@npm:^6.0.9#.yarn/patches/@changesets-assemble-release-plan-npm-6.0.9-e01af97ef4.patch",
181 "vite": "^7.3.6"
182 },
183 "packageManager": "yarn@3.2.1"
184 }