From 8cb249c4ee8a96051dea6f1d6dbb5bddb193c08c Mon Sep 17 00:00:00 2001 From: Pornchai Date: Wed, 25 Dec 2024 16:55:58 +0700 Subject: [PATCH] adding prepare command --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6318e01..78874e3 100644 --- a/package.json +++ b/package.json @@ -40,10 +40,11 @@ "scripts": { "build": "run-s clean build:tsc", "build:tsc:watch": "tsc --build ./tsconfig.json --watch", - "build:tsc": "tsc -b", + "build:tsc": "tsc -p tsconfig.json", "clean": "rimraf api services utils types loaders auth-strategies coverage tsconfig.tsbuildinfo", "test": "jest", - "test:ci": "yarn add -D @medusajs/medusa@${MEDUSAJS_VERSION} && yarn run test" + "test:ci": "yarn add -D @medusajs/medusa@${MEDUSAJS_VERSION} && yarn run test", + "prepare": "yarn build" }, "peerDependencies": { "passport": "^0.6.0",