From 71e7537330596adbaa5521c0515e03f701ec7ef9 Mon Sep 17 00:00:00 2001 From: Kai Schaper <303@posteo.de> Date: Tue, 11 Oct 2016 03:21:06 +0200 Subject: setup React Storybook; add example story for LoadingIndicator component --- package.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 1ea514e1f..12efbcf8c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,11 @@ { "name": "mastodon", + "scripts": { + "storybook": "start-storybook -p 9001 -c storybook" + }, "devDependencies": { + "@kadira/storybook": "^2.24.0", + "axios": "^0.14.0", "babel-plugin-react-transform": "^2.0.2", "babel-plugin-transform-object-rest-spread": "^6.8.0", "babel-preset-es2015": "^6.13.2", @@ -8,17 +13,16 @@ "babelify": "^7.3.0", "browserify": "^13.1.0", "browserify-incremental": "^3.1.1", - "react": "^15.3.0", - "react-dom": "^15.3.0", - "react-proxy": "^1.1.8", - "axios": "^0.14.0", "es6-promise": "^3.2.1", "immutable": "^3.8.1", "moment": "^2.14.1", + "react": "^15.3.0", "react-addons-perf": "^15.3.2", "react-addons-pure-render-mixin": "^15.3.1", + "react-dom": "^15.3.0", "react-immutable-proptypes": "^2.1.0", "react-notification": "^6.1.1", + "react-proxy": "^1.1.8", "react-redux": "^5.0.0-beta.3", "react-redux-loading-bar": "^2.3.3", "react-router": "^2.8.0", -- cgit