build: add `prepack` script in `packages/(components|colors/icons)` (#526)

This commit is contained in:
Emil Ivanichkov 2024-02-23 16:13:29 +02:00 committed by GitHub
parent fa4c451c8a
commit 3b1a686f99
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 3 deletions

View File

@ -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": {

View File

@ -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"

View File

@ -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",