From 7e703d2ce3804aa241288d64a97802ca996bf866 Mon Sep 17 00:00:00 2001 From: thurt Date: Tue, 17 Jan 2017 19:09:57 -0500 Subject: [PATCH] fixes #18; installs babel-preset-stage-2; corrects path to stories; --- package.json | 7 ++++--- web/.storybook/config.js | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 4061db9..e0136de 100644 --- a/package.json +++ b/package.json @@ -23,11 +23,12 @@ "babel-eslint": "^6.1.2", "babel-loader": "^6.2.5", "babel-preset-react-native": "^1.9.0", - "webpack": "1.13.2", - "webpack-dev-server": "1.14.1", + "babel-preset-stage-2": "^6.18.0", "eslint": "^3.4.0", "eslint-plugin-jsx-a11y": "^2.2.0", "eslint-plugin-promise": "^2.0.1", - "eslint-plugin-react": "^6.1.2" + "eslint-plugin-react": "^6.1.2", + "webpack": "1.13.2", + "webpack-dev-server": "1.14.1" } } diff --git a/web/.storybook/config.js b/web/.storybook/config.js index ec0b869..be46b66 100644 --- a/web/.storybook/config.js +++ b/web/.storybook/config.js @@ -1,6 +1,6 @@ import { configure } from '@kadira/storybook'; -const req = require.context('../../app/stories', true); +const req = require.context('../../src/stories', true); function loadStories() { req.keys().forEach(req);