fix(medusa): test, build and watch scripts (#3025)

This commit is contained in:
Adrien de Peretti
2023-01-15 17:10:26 +01:00
committed by GitHub
parent f6ec05f3f9
commit 93d0dc1bdc
32 changed files with 130 additions and 90 deletions

View File

@@ -27,10 +27,10 @@
"medusa-interfaces": "^1.3.3"
},
"scripts": {
"build": "babel src -d .",
"prepare": "cross-env NODE_ENV=production yarn run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__",
"test": "jest"
"test": "jest --passWithNoTests src",
"build": "babel src --out-dir . --ignore '**/__tests__','**/__mocks__'",
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
},
"peerDependencies": {
"medusa-interfaces": "1.x"