Dev chromatic (#931)
Showing
.github/workflows/chromatic.yml
0 → 100644
.storybook/main.js
0 → 100644
.storybook/preview-head.html
0 → 100644
.storybook/preview.js
0 → 100644
... | ... | @@ -11,7 +11,10 @@ |
"release": "release-it", | ||
"svg-icons": "gulp svg-icons", | ||
"percy": "gulp build && npx percy snapshot demo", | ||
"bundlewatch": "bundlewatch --config .bundlewatch.config.json" | ||
"bundlewatch": "bundlewatch --config .bundlewatch.config.json", | ||
"chromatic": "chromatic --project-token=CHROMATIC_PROJECT_TOKEN", | ||
"storybook": "start-storybook -p 6006", | ||
"build-storybook": "build-storybook" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
... | ... | @@ -58,9 +61,13 @@ |
"@rollup/plugin-node-resolve": "^13.0.6", | ||
"@rollup/plugin-replace": "^3.0.0", | ||
"@rollup/stream": "^2.0.0", | ||
"@storybook/addon-essentials": "^6.3.12", | ||
"@storybook/addon-links": "^6.3.12", | ||
"@storybook/html": "^6.3.12", | ||
"autoprefixer": "^10.3.7", | ||
"browser-sync": "^2.27.5", | ||
"bundlewatch": "^0.3.2", | ||
"chromatic": "^6.0.5", | ||
"critical": "^4.0.1", | ||
"cross-spawn": "^7.0.3", | ||
"gulp": "^4.0.2", | ||
... | ... | @@ -96,6 +103,7 @@ |
"imask": "^6.2.2", | ||
"litepicker": "^2.0.11", | ||
"nouislider": "^15.5.0", | ||
"storybook-addon-outline": "^1.4.1", | ||
"tom-select": "^1.7.8" | ||
}, | ||
"resolutions": { | ||
... | ... |
src/stories/Button.stories.js
0 → 100644
想要评论请 注册 或 登录