Skip to content

Commit

Permalink
build: add prepack script in packages/(components|colors/icons) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilIvanichkovv authored Feb 23, 2024
1 parent fa4c451 commit 3b1a686
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/colors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
3 changes: 2 additions & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion packages/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 3b1a686

Please sign in to comment.