Skip to content

Commit 850a4b4

Browse files
committed
install chromatic and add as script
1 parent eaa1a1b commit 850a4b4

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

package-lock.json

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@
5555
"eject": "react-scripts eject",
5656
"storybook": "storybook dev -p 6006",
5757
"build-storybook": "storybook build",
58-
"build:npm": "webpack"
58+
"build:npm": "webpack",
59+
"chromatic": "npx chromatic --project-token=chpt_1a37400c93f70b5"
5960
},
6061
"eslintConfig": {
6162
"extends": [
@@ -87,6 +88,7 @@
8788
"@storybook/react": "^8.0.8",
8889
"@storybook/react-webpack5": "^8.0.8",
8990
"@storybook/test": "^8.0.8",
91+
"chromatic": "^11.4.1",
9092
"compression-webpack-plugin": "^11.1.0",
9193
"eslint-plugin-storybook": "^0.8.0",
9294
"prop-types": "^15.8.1",

0 commit comments

Comments
 (0)