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
@@ -23,10 +23,10 @@
"ulid": "^2.3.0"
},
"scripts": {
"build": "babel src -d . --ignore **/__tests__ --extensions \".ts,.js\"",
"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": {
"@medusajs/medusa": "^1.7.1",