diff --git a/.eslintignore b/.eslintignore index 398ff439977d..f55dae391395 100644 --- a/.eslintignore +++ b/.eslintignore @@ -2,3 +2,4 @@ dist build coverage node_modules +docs/public diff --git a/.gitignore b/.gitignore index 0c0590513766..3b78d318d47d 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ build packages/examples/automated-* yarn.lock /**/LICENSE +docs/public diff --git a/docs/.storybook/webpack.config.js b/docs/.storybook/webpack.config.js index 65dcd69a274d..339f3962fe3f 100644 --- a/docs/.storybook/webpack.config.js +++ b/docs/.storybook/webpack.config.js @@ -11,7 +11,7 @@ module.exports = { { test: /\.yml$/, loader: 'json!yaml', - include: path.resolve(__dirname, '../') + include: path.resolve(__dirname, '../'), }, { test: /\.(jpg|png|gif|eot|svg|ttf|woff|woff2)$/, diff --git a/docs/package.json b/docs/package.json index 4dd511ee8748..db02fc55d498 100644 --- a/docs/package.json +++ b/docs/package.json @@ -44,9 +44,9 @@ "main": "n/a", "scripts": { "build-storybook": "build-storybook", - "build": "gatsby build && cp static/* .travis.yml ./dist", - "deploy:manual": "gh-pages -t -r git@github.com:storybooks/storybook.git -d dist -o origin -b gh-pages-test", - "deploy:ci": "gh-pages -t -r https://${GH_TOKEN}@github.com/storybooks/storybook.git -d dist -o origin -b gh-pages-test", + "build": "gatsby build && cp static/* .travis.yml ./public", + "deploy:manual": "gh-pages -t -r git@github.com:storybooks/storybook.git -d public -o origin -b gh-pages-test", + "deploy:ci": "gh-pages -t -r https://${GH_TOKEN}@github.com/storybooks/storybook.git -d public -o origin -b gh-pages-test", "dev": "gatsby develop", "storybook": "start-storybook -p 9009 -s pages" }