Skip to content

Commit

Permalink
Merge pull request #391 from rdjpalmer/temp-remove-storybook
Browse files Browse the repository at this point in the history
Disable storybook and prevent access in production
  • Loading branch information
rdjpalmer committed Oct 25, 2017
2 parents 535648e + b214e55 commit d1b88aa
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,11 @@
},
"scripts": {
"build": "node scripts/build.js",
"build-storybook": "build-storybook",
"heroku-postbuild": "yarn build && yarn run build-storybook;",
"heroku-postbuild": "yarn build",
"lint": "esw -c ./config/eslint.js ./components",
"lint:watch": "esw -w -c ./config/eslint.js ./components",
"serve": "node ./server",
"start": "node scripts/start.js",
"storybook": "start-storybook -p 9009",
"test": "jest --env=jsdom",
"test:travis": "jest --env=jsdom --coverage",
"test:watch": "jest --watch --notify --env=jsdom"
Expand Down
1 change: 0 additions & 1 deletion server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import path from 'path';

const app = express();

app.use('/storybook', express.static(path.join(__dirname, '../storybook-static')));
app.use('/static', express.static(path.join(__dirname, '../build/static')));
app.use('*', (req, res) => {
res.sendFile('index.html', { root: path.join(__dirname, '../build') });
Expand Down
4 changes: 0 additions & 4 deletions styleguide/screens/Overview/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,3 @@ What this does mean however is it must be protected. Changes to Bloom must be ju
### Usage

See [README.md](https://github.com/appearhere/bloom/blob/master/README.md).

### Storybook

To aide development, we also [maintain a set of stories](/storybook) using [Storybook](https://github.com/storybooks/storybook).

0 comments on commit d1b88aa

Please sign in to comment.