Skip to content

Commit

Permalink
Add es6 shim
Browse files Browse the repository at this point in the history
  • Loading branch information
thani-sh committed Jun 7, 2016
1 parent f6bec8d commit c57396b
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 24 deletions.
2 changes: 2 additions & 0 deletions dist/client/preview/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
});
exports.configure = exports.linkTo = exports.action = exports.storiesOf = undefined;

require('es6-shim');

var _story_store = require('./story_store');

var _story_store2 = _interopRequireDefault(_story_store);
Expand Down
32 changes: 21 additions & 11 deletions dist/manager.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/manager.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file modified dist/server/build.js
100755 → 100644
Empty file.
25 changes: 13 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,29 @@
"dependencies": {
"@kadira/storybook-core": "^1.26.0",
"airbnb-js-shims": "^1.0.0",
"babel-core": "^6.3.15",
"babel-loader": "^6.2.0",
"babel-polyfill": "^6.3.15",
"babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.3.13",
"babel-preset-stage-0": "^6.3.13",
"babel-runtime": "^6.3.14",
"cjson": "^0.4.0",
"commander": "^2.9.0",
"es6-shim": "^0.35.1",
"express": "^4.13.3",
"json-stringify-safe": "^5.0.1",
"keycode": "^2.1.1",
"page-bus": "^3.0.1",
"qs": "^6.1.0",
"redbox-react": "^1.2.2",
"uuid": "^2.0.1",
"shelljs": "^0.6.0",
"redux": "^3.5.2",
"shelljs": "^0.6.0",
"stack-source-map": "^1.0.5",
"uuid": "^2.0.1",
"webpack": "^1.12.11",
"keycode": "^2.1.1",
"webpack-dev-middleware": "^1.6.0",
"webpack-hot-middleware": "^2.10.0",
"stack-source-map": "^1.0.5",
"babel-core": "^6.3.15",
"babel-loader": "^6.2.0",
"babel-polyfill": "^6.3.15",
"babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.3.13",
"babel-preset-stage-0": "^6.3.13",
"qs": "^6.1.0"
"webpack-hot-middleware": "^2.10.0"
},
"peerDependencies": {
"react": "^0.14.7 || ^15.0.0",
Expand Down
1 change: 1 addition & 0 deletions src/client/manager/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'es6-shim';
import { createStore, combineReducers } from 'redux';
import { createApp } from 'mantra-core';
import buildContext from './configs/context.js';
Expand Down
1 change: 1 addition & 0 deletions src/client/preview/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'es6-shim';
import StoryStore from './story_store';
import PageBus from './page_bus';
import ClientApi from './client_api';
Expand Down

0 comments on commit c57396b

Please sign in to comment.