diff --git a/packages/colors/package.json b/packages/colors/package.json index a22c1944..ecf18335 100644 --- a/packages/colors/package.json +++ b/packages/colors/package.json @@ -28,7 +28,8 @@ "lint": "eslint src", "lint:fix": "yarn lint --fix", "format": "prettier --write src", - "clean": "rimraf dist node_modules .turbo" + "clean": "rimraf dist node_modules .turbo", + "prepack": "yarn build" }, "peerDependencies": {}, "devDependencies": { diff --git a/packages/components/package.json b/packages/components/package.json index d36c3766..73bf069f 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -21,7 +21,8 @@ "storybook": "node ./scripts/storybook.js", "storybook:dev": "storybook dev -p 3001", "storybook:build": "storybook build", - "clean": "rimraf node_modules dist .turbo storybook-static .tamagui" + "clean": "rimraf node_modules dist .turbo storybook-static .tamagui", + "prepack": "yarn build" }, "peerDependencies": { "react": "^18.2.0" diff --git a/packages/icons/package.json b/packages/icons/package.json index d2988160..7c302893 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -31,7 +31,8 @@ "lint": "eslint 'src/**/*.{ts,tsx}'", "lint:fix": "yarn lint --fix", "format": "prettier --write 'src/**/*.{ts,tsx}'", - "clean": "rimraf dist node_modules .turbo" + "clean": "rimraf dist node_modules .turbo", + "prepack": "yarn build" }, "dependencies": { "@tamagui/core": "1.74.21",