summaryrefslogtreecommitdiff
path: root/backend/package.json
diff options
context:
space:
mode:
authorertopogo <erwin.t.pombett@gmail.com>2026-01-24 14:23:03 +0100
committerertopogo <erwin.t.pombett@gmail.com>2026-01-24 14:23:03 +0100
commit19c3d267fad7a29d779dda810ca5801de9e5312c (patch)
treec1764167c1fe1ea11f8d8d64454692fca53d444f /backend/package.json
parente0c9c32c60b67dc34a18f5a93209393e7abc8660 (diff)
corrections du backend
Diffstat (limited to 'backend/package.json')
-rw-r--r--backend/package.json10
1 files changed, 6 insertions, 4 deletions
diff --git a/backend/package.json b/backend/package.json
index 5a4c902..caf9258 100644
--- a/backend/package.json
+++ b/backend/package.json
@@ -15,11 +15,12 @@
"scripts": {
"clean": "cross-env ./node_modules/.bin/rimraf dist",
"build": "cross-env ./node_modules/.bin/rimraf dist && tsc -p tsconfig.json",
- "start": "cross-env npm run build && medusa start",
- "start:custom": "cross-env npm run build && node --preserve-symlinks index.js",
- "dev": "cross-env npm run build && medusa develop",
+ "start": "sh -c \"if [ -d src ]; then npm run build; else echo 'Skipping build: no src/ directory'; fi && medusa start\"",
+ "start:custom": "sh -c \"if [ -d src ]; then npm run build; else echo 'Skipping build: no src/ directory'; fi && node --preserve-symlinks index.js\"",
+ "dev": "sh -c \"if [ -d src ]; then npm run build; else echo 'Skipping build: no src/ directory'; fi && medusa develop\"",
"seed": "medusa seed -f ./data/seed.json",
- "install:cli": "npm install -g @medusajs/medusa-cli"
+ "install:cli": "npm install -g @medusajs/medusa-cli",
+ "postinstall": "node scripts/patch-medusa.js"
},
"dependencies": {
"@medusajs/medusa": "^1.20.0",
@@ -34,6 +35,7 @@
"cors": "^2.8.5",
"dotenv": "16.3.1",
"express": "^4.17.1",
+ "medusa-fulfillment-manual": "^1.1.0",
"medusa-interfaces": "^1.3.7",
"medusa-payment-manual": "^1.0.24",
"medusa-payment-stripe": "^6.0.7",