diff --git a/packages/lighthouse/package.json b/packages/lighthouse/package.json index 634174bbe8..6f3fdf3240 100644 --- a/packages/lighthouse/package.json +++ b/packages/lighthouse/package.json @@ -19,8 +19,8 @@ "src" ], "scripts": { - "develop": "tsdx watch", - "build": "tsdx build", + "develop": "tsc --watch", + "build": "tsc", "lint": "eslint src/**/*.ts", "test": "tsdx test --passWithNoTests" }, diff --git a/packages/lighthouse/tsconfig.json b/packages/lighthouse/tsconfig.json index 720b4f8a5e..8c0380af5f 100644 --- a/packages/lighthouse/tsconfig.json +++ b/packages/lighthouse/tsconfig.json @@ -1,5 +1,8 @@ { "extends": "@vtex/tsconfig", "include": ["src"], - "exclude": ["node_modules", "dist"] + "exclude": ["node_modules", "dist"], + "compilerOptions": { + "outDir": "dist" + } } diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 41f30dd0c7..ad3053dd9e 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -21,8 +21,8 @@ "src" ], "scripts": { - "develop": "tsdx watch", - "build": "tsdx build", + "develop": "tsc --watch", + "build": "tsc", "lint": "eslint src/**/*.{ts,tsx}", "test": "tsdx test", "size": "size-limit", diff --git a/packages/ui/package.json b/packages/ui/package.json index 1cd43d84f9..cde6ca4478 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -22,8 +22,8 @@ "src" ], "scripts": { - "develop": "tsdx watch", - "build": "tsdx build", + "develop": "tsc --watch", + "build": "tsc", "lint": "eslint src/**/*.{ts,tsx}", "test": "tsdx test --passWithNoTests", "storybook": "start-storybook -p 6006 --no-manager-cache",