diff --git a/index.js b/index.js index 0a45902..d700b0d 100644 --- a/index.js +++ b/index.js @@ -69,3 +69,8 @@ render(( ), document.getElementById('app')); + +import actionWrapper from 'redux-action-wrapper'; +import * as actions from './src/actions/index.js'; +window.actions = actionWrapper(actions, store.dispatch); + diff --git a/package-lock.json b/package-lock.json index 4f9ea0e..d31e29e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6983,6 +6983,12 @@ "symbol-observable": "1.0.4" } }, + "redux-action-wrapper": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/redux-action-wrapper/-/redux-action-wrapper-1.0.1.tgz", + "integrity": "sha1-ZvYnxrNQ/mu7McYve+lKXkeLnj4=", + "dev": true + }, "redux-form": { "version": "7.1.2", "resolved": "https://registry.npmjs.org/redux-form/-/redux-form-7.1.2.tgz", @@ -7770,9 +7776,7 @@ "integrity": "sha1-O3+UeQrz4CHawfRKJhdWnKIDKws=" }, "three-js-csg": { - "version": "72.0.0", - "resolved": "https://registry.npmjs.org/three-js-csg/-/three-js-csg-72.0.0.tgz", - "integrity": "sha1-aeauRB8/AQiebxPIfHKI4cQ4C7w=" + "version": "github:Doodle3D/three-js-csg#a36f23da6e9be2405a9094de5709cb0ae8f58045" }, "through2": { "version": "2.0.3", diff --git a/package.json b/package.json index fa99aad..3bec2e4 100755 --- a/package.json +++ b/package.json @@ -42,29 +42,13 @@ "semver": "^5.4.1", "shortid": "^2.2.8", "three": "^0.83.0", - "three-js-csg": "^72.0.0", + "three-js-csg": "github:Doodle3D/three-js-csg", "valid-url": "^1.0.9" }, "devDependencies": { - "redux-logger": "^3.0.6", - "raw-loader": "^0.5.1", - "react-svg-inline": "^2.0.1", - "react-router-redux": "^4.0.8", - "redux-promise-middleware": "^4.4.2", - "redux-thunk": "^2.2.0", - "redux": "^3.7.2", - "file-loader": "^1.1.5", - "webpack-dev-server": "^2.9.4", - "babel-plugin-transform-runtime": "^6.23.0", - "html-webpack-plugin": "^2.30.1", - "html-webpack-template": "^6.0.2", - "react-dom": "^16.1.1", - "webpack": "^3.8.1", - "worker-loader": "^1.1.0", - "yml-loader": "^2.1.0", "babel-cli": "6.24.1", "babel-core": "6.24.1", - "babel-loader": "7.0.0", + "babel-loader": "^7.0.0", "babel-plugin-add-module-exports": "0.2.1", "babel-plugin-inline-import": "^2.0.6", "babel-plugin-ramda": "^1.4.3", @@ -73,11 +57,28 @@ "babel-plugin-transform-es2015-classes": "^6.24.1", "babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-plugin-transform-regenerator": "^6.26.0", + "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-env": "^1.6.1", "babel-preset-es2015": "6.24.1", "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", - "react-tap-event-plugin": "^3.0.2" + "file-loader": "^1.1.5", + "html-webpack-plugin": "^2.30.1", + "html-webpack-template": "^6.0.2", + "raw-loader": "^0.5.1", + "react-dom": "^16.1.1", + "react-router-redux": "^4.0.8", + "react-svg-inline": "^2.0.1", + "react-tap-event-plugin": "^3.0.2", + "redux": "^3.7.2", + "redux-action-wrapper": "^1.0.1", + "redux-logger": "^3.0.6", + "redux-promise-middleware": "^4.4.2", + "redux-thunk": "^2.2.0", + "webpack": "^3.8.1", + "webpack-dev-server": "^2.9.4", + "worker-loader": "^1.1.0", + "yml-loader": "^2.1.0" }, "repository": { "type": "git",