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

@@ -25,11 +25,11 @@
"scripts": {
"start": "nodemon --watch plugins/ --watch src/ --exec babel-node src/app.js",
"prepare": "cross-env NODE_ENV=production yarn run build",
"watch": "babel -w src --out-dir dist/ --extensions \".ts,.js\"",
"build": "babel src -d dist --extensions \".ts,.js\"",
"watch": "babel -w src --out-dir dist/ --extensions \".ts,.js\" --ignore '**/__tests__','**/__mocks__'",
"build": "babel src -d dist --extensions \".ts,.js\" --ignore '**/__tests__','**/__mocks__'",
"serve": "node dist/app.js",
"postinstall": "node dist/postinstall.js || true",
"test": "jest --passWithNoTests"
"test": "jest --passWithNoTests src"
},
"dependencies": {
"axios": "^0.21.1",