build: add `prepack` script in `packages/(components|colors/icons)` (#526)
This commit is contained in:
parent
fa4c451c8a
commit
3b1a686f99
|
@ -28,7 +28,8 @@
|
||||||
"lint": "eslint src",
|
"lint": "eslint src",
|
||||||
"lint:fix": "yarn lint --fix",
|
"lint:fix": "yarn lint --fix",
|
||||||
"format": "prettier --write src",
|
"format": "prettier --write src",
|
||||||
"clean": "rimraf dist node_modules .turbo"
|
"clean": "rimraf dist node_modules .turbo",
|
||||||
|
"prepack": "yarn build"
|
||||||
},
|
},
|
||||||
"peerDependencies": {},
|
"peerDependencies": {},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
@ -21,7 +21,8 @@
|
||||||
"storybook": "node ./scripts/storybook.js",
|
"storybook": "node ./scripts/storybook.js",
|
||||||
"storybook:dev": "storybook dev -p 3001",
|
"storybook:dev": "storybook dev -p 3001",
|
||||||
"storybook:build": "storybook build",
|
"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": {
|
"peerDependencies": {
|
||||||
"react": "^18.2.0"
|
"react": "^18.2.0"
|
||||||
|
|
|
@ -31,7 +31,8 @@
|
||||||
"lint": "eslint 'src/**/*.{ts,tsx}'",
|
"lint": "eslint 'src/**/*.{ts,tsx}'",
|
||||||
"lint:fix": "yarn lint --fix",
|
"lint:fix": "yarn lint --fix",
|
||||||
"format": "prettier --write 'src/**/*.{ts,tsx}'",
|
"format": "prettier --write 'src/**/*.{ts,tsx}'",
|
||||||
"clean": "rimraf dist node_modules .turbo"
|
"clean": "rimraf dist node_modules .turbo",
|
||||||
|
"prepack": "yarn build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tamagui/core": "1.74.21",
|
"@tamagui/core": "1.74.21",
|
||||||
|
|
Loading…
Reference in New Issue