WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 3fbc6c5

Browse files
committed
fix: tests and add chromatic
1 parent 1915624 commit 3fbc6c5

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"check": "biome check .",
2626
"check:fix": "biome check --write .",
2727
"storybook": "pnpm run build && storybook dev",
28-
"build-storybook": "storybook build",
28+
"chromatic": "cross-env npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN",
29+
"build-storybook": "pnpm run build && storybook build",
2930
"prepare": "husky"
3031
},
3132
"author": "Pawan Kolhe (https://pawankolhe.com/)",
@@ -46,6 +47,8 @@
4647
"@storybook/html-vite": "9.1.9",
4748
"@tsconfig/recommended": "^1.0.10",
4849
"autoprefixer": "^10.4.21",
50+
"chromatic": "^13.3.0",
51+
"cross-env": "^10.1.0",
4952
"del": "^8.0.1",
5053
"gulp": "^5.0.1",
5154
"gulp-postcss": "^10.0.0",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)