Skip to content

Commit

Permalink
fix(storybook): generate Storybook site in _site intead of site (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond authored Nov 23, 2022
1 parent 0c794ba commit 532e9d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@
/js/tests/integration/
/site/static/sw.js
/site/layouts/
/site/storybook/
/stories/auto/
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,3 @@ Thumbs.db

# Storybook
/stories/auto
/site/storybook
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"release-zip-examples": "node build/zip-examples.js",
"dist": "npm-run-all --aggregate-output --parallel css js fonts",
"test": "npm-run-all lint dist js-test docs-build docs-lint",
"netlify": "cross-env-shell HUGO_BASEURL=$DEPLOY_PRIME_URL npm-run-all dist release-sri storybook-build docs-build",
"netlify": "cross-env-shell HUGO_BASEURL=$DEPLOY_PRIME_URL npm-run-all dist release-sri storybook-build-netlify docs-build",
"watch": "npm-run-all --parallel watch-*",
"watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm-run-all css-lint css-compile css-prefix\"",
"watch-css-dist": "nodemon --watch dist/css/ --ext css --ignore \"dist/css/*.rtl.*\" --exec \"npm run css-rtl\"",
Expand All @@ -96,7 +96,8 @@
"watch-js-docs": "nodemon --watch site/assets/js/ --ext js --exec \"npm run js-lint\"",
"storybook": "npm run storybook-generate && start-storybook -p 6006 --no-manager-cache",
"storybook-generate": "npm run docs && node stories/create-stories-from-doc.js",
"storybook-build": "npm run storybook-generate && build-storybook -o ./site/storybook"
"storybook-build": "npm run storybook-generate && build-storybook -o ./_site/storybook",
"storybook-build-netlify": "npm run storybook-generate && build-storybook -o ./site/storybook"
},
"peerDependencies": {
"@popperjs/core": "^2.11.6"
Expand Down

0 comments on commit 532e9d4

Please sign in to comment.