Skip to content

Commit 0399ccf

Browse files
authored
Merge pull request #58 from slvstr-dev/bugfix/fix-chromatic-config
Fix chromatic setup
2 parents a64f2c8 + 4f3110a commit 0399ccf

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

chromatic.config.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"buildScriptName": "storybook:build",
3+
"projectId": "Project:660689eb0af2434fcaa69098",
4+
"zip": true
5+
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"check": "pnpm types && pnpm lint && pnpm format",
2222
"storybook": "sb dev -p 6006 --no-open",
2323
"storybook:build": "sb build",
24-
"chromatic": "npx chromatic --build-script-name=storybook:build",
24+
"chromatic": "npx chromatic",
2525
"upgrade": "pnpm upgrade --interactive",
2626
"upgrade:latest": "pnpm upgrade --interactive --latest"
2727
},

0 commit comments

Comments
 (0)