Files
medusa-store/packages/medusa/package.json
Harminder Virk 69e2a6d695 Feat/plugin develop (#10926)
Fixes: FRMW-2865

In this PR we add support for developing a plugin in watch mode. During the file change, we re-compile the source code (incrementally), publishes the package, and updates the installations of the plugin. 

We are using `yalc` under the hood and it must be installed as a dev dependency in the plugin project and the main Medusa app.
2025-01-13 13:08:02 +00:00

144 lines
4.3 KiB
JSON

{
"name": "@medusajs/medusa",
"version": "2.2.0",
"description": "Building blocks for digital commerce",
"main": "dist/index.js",
"exports": {
"./package.json": "./package.json",
".": "./dist/index.js",
"./types": "./dist/types/index.js",
"./utils": "./dist/utils/index.js",
"./api/*": "./dist/api/*.js",
"./subscribers/*": "./dist/subscribers/*.js",
"./jobs/*": "./dist/jobs/*.js",
"./core-flows": "./dist/core-flows/index.js",
"./loaders/*": "./dist/loaders/*.js",
"./commands/*": "./dist/commands/*.js",
"./*": "./dist/modules/*.js"
},
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa"
},
"publishConfig": {
"access": "public"
},
"files": [
"dist",
"oas",
"!dist/**/__tests__",
"!dist/**/__mocks__",
"!dist/**/__fixtures__"
],
"engines": {
"node": ">=20"
},
"author": "Sebastian Rindom",
"license": "MIT",
"scripts": {
"watch": "tsc --build --watch",
"build": "rimraf dist && tsc --build",
"serve": "node dist/app.js",
"test": "jest --silent=false --bail --maxWorkers=50% --forceExit"
},
"devDependencies": {
"@medusajs/framework": "^2.2.0",
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/instrumentation": "^0.53.0",
"@opentelemetry/instrumentation-pg": "^0.44.0",
"@opentelemetry/resources": "^1.26.0",
"@opentelemetry/sdk-node": "^0.53.0",
"@opentelemetry/sdk-trace-node": "^1.26.0",
"@swc/core": "^1.7.28",
"@swc/jest": "^0.2.36",
"@types/jsonwebtoken": "^8.5.9",
"@types/lodash": "^4.14.191",
"@types/multer": "^1.4.7",
"jest": "^29.7.0",
"rimraf": "^5.0.1",
"typescript": "^5.6.2",
"yalc": "1.0.0-pre.53"
},
"dependencies": {
"@inquirer/checkbox": "^2.3.11",
"@inquirer/input": "^2.2.9",
"@medusajs/admin-bundler": "^2.2.0",
"@medusajs/api-key": "^2.2.0",
"@medusajs/auth": "^2.2.0",
"@medusajs/auth-emailpass": "^2.2.0",
"@medusajs/auth-github": "^2.2.0",
"@medusajs/auth-google": "^2.2.0",
"@medusajs/cache-inmemory": "^2.2.0",
"@medusajs/cache-redis": "^2.2.0",
"@medusajs/cart": "^2.2.0",
"@medusajs/core-flows": "^2.2.0",
"@medusajs/currency": "^2.2.0",
"@medusajs/customer": "^2.2.0",
"@medusajs/event-bus-local": "^2.2.0",
"@medusajs/event-bus-redis": "^2.2.0",
"@medusajs/file": "^2.2.0",
"@medusajs/file-local": "^2.2.0",
"@medusajs/file-s3": "^2.2.0",
"@medusajs/fulfillment": "^2.2.0",
"@medusajs/fulfillment-manual": "^2.2.0",
"@medusajs/index": "^2.2.0",
"@medusajs/inventory": "^2.2.0",
"@medusajs/link-modules": "^2.2.0",
"@medusajs/locking": "^2.2.0",
"@medusajs/locking-postgres": "^2.2.0",
"@medusajs/locking-redis": "^2.2.0",
"@medusajs/notification": "^2.2.0",
"@medusajs/notification-local": "^2.2.0",
"@medusajs/notification-sendgrid": "^2.2.0",
"@medusajs/order": "^2.2.0",
"@medusajs/payment": "^2.2.0",
"@medusajs/payment-stripe": "^2.2.0",
"@medusajs/pricing": "^2.2.0",
"@medusajs/product": "^2.2.0",
"@medusajs/promotion": "^2.2.0",
"@medusajs/region": "^2.2.0",
"@medusajs/sales-channel": "^2.2.0",
"@medusajs/stock-location": "^2.2.0",
"@medusajs/store": "^2.2.0",
"@medusajs/tax": "^2.2.0",
"@medusajs/telemetry": "^2.2.0",
"@medusajs/user": "^2.2.0",
"@medusajs/workflow-engine-inmemory": "^2.2.0",
"@medusajs/workflow-engine-redis": "^2.2.0",
"@swc/core": "1.5.7",
"@swc/helpers": "^0.5.11",
"@types/express": "^4.17.17",
"boxen": "^5.0.1",
"chalk": "^4.0.0",
"chokidar": "^3.4.2",
"compression": "^1.7.4",
"express": "^4.21.0",
"fs-exists-cached": "^1.0.0",
"jsonwebtoken": "^9.0.2",
"lodash": "^4.17.21",
"multer": "^1.4.5-lts.1",
"node-schedule": "^2.1.1",
"qs": "^6.11.2",
"request-ip": "^3.3.0",
"slugify": "^1.6.6",
"uuid": "^9.0.0",
"zod": "3.22.4"
},
"peerDependencies": {
"@medusajs/framework": "^2.0.0",
"@mikro-orm/core": "5.9.7",
"@mikro-orm/knex": "5.9.7",
"@mikro-orm/migrations": "5.9.7",
"@mikro-orm/postgresql": "5.9.7",
"awilix": "^8.0.1",
"yalc": "1.0.0-pre.53"
},
"peerDependenciesMeta": {
"yalc": {
"optional": true
}
},
"gitHead": "cd1f5afa5aa8c0b15ea957008ee19f1d695cbd2e"
}