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

@@ -15,10 +15,10 @@
"access": "public"
},
"scripts": {
"test": "jest",
"build": "babel src --out-dir dist/ --ignore **/__tests__",
"prepare": "cross-env NODE_ENV=production yarn run build",
"watch": "babel -w src --out-dir dist/ --ignore **/__tests__"
"test": "jest --passWithNoTests src",
"build": "babel src --out-dir dist/ --ignore '**/__tests__','**/__mocks__'",
"watch": "babel -w src --out-dir dist/ --ignore '**/__tests__','**/__mocks__'",
"prepare": "cross-env NODE_ENV=production yarn run build"
},
"author": "Sebastian Rindom",
"license": "MIT",