Skip to content

Commit

Permalink
add Chromatic into Storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Kordonets authored and DaleMcGrew committed Dec 12, 2023
1 parent 4c5add9 commit 92dab10
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 295 deletions.
40 changes: 27 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 11 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/wevote/WebApp.git"
"url": "git+https://github.com/wevote/WebApp.git"
},
"commentMay2021": "'production' forces minified libraries (especially react), and 'MINIFIED' passes all our code through the Terser minifier/mangler/compressor tool.",
"scripts": {
Expand Down Expand Up @@ -36,7 +36,8 @@
"snyk-protect": "snyk-protect",
"prepare": "npm run snyk-protect",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
"build-storybook": "storybook build",
"chromatic": "npx chromatic --project-token=chpt_89afc2af23dd1fd"
},
"devDependencies": {
"@babel/core": "^7.13.16",
Expand Down Expand Up @@ -71,6 +72,7 @@
"babel-loader": "^9.1.0",
"babel-plugin-styled-components": "^2.0.6",
"chai": "^4.3.7",
"chromatic": "^10.1.0",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^11.0.0",
"cordova-plugin-contacts-x": "^2.0.3",
Expand Down Expand Up @@ -166,5 +168,11 @@
"extends": [
"plugin:storybook/recommended"
]
}
},
"bugs": {
"url": "https://github.com/wevote/WebApp/issues"
},
"readme": "ERROR: No README data found!",
"homepage": "https://github.com/wevote/WebApp#readme",
"_id": "wevoteusa@1.0.0"
}
59 changes: 0 additions & 59 deletions src/js/common/stories/Header.jsx

This file was deleted.

22 changes: 0 additions & 22 deletions src/js/common/stories/Header.stories.js

This file was deleted.

69 changes: 0 additions & 69 deletions src/js/common/stories/Page.jsx

This file was deleted.

28 changes: 0 additions & 28 deletions src/js/common/stories/Page.stories.js

This file was deleted.

32 changes: 0 additions & 32 deletions src/js/common/stories/header.css

This file was deleted.

Loading

0 comments on commit 92dab10

Please sign in to comment.