Browse Source

Montée de version React

Benjamin Gaudé 1 year ago
parent
commit
32c474969d
2 changed files with 9 additions and 8 deletions
  1. 8 7
      package.json
  2. 1 1
      src/components/edit/edit-view.js

+ 8 - 7
package.json

@@ -4,7 +4,7 @@
4 4
   "private": "true",
5 5
   "main": "main.js",
6 6
   "devDependencies": {
7
-    "electron": "^1.6.5",
7
+    "electron": "^1.6.7",
8 8
     "electron-packager": "^8.6.0",
9 9
     "node-jsx": "^0.13.3",
10 10
     "nodeunit": "^0.9.1",
@@ -15,7 +15,7 @@
15 15
     "start": "./node_modules/.bin/electron .",
16 16
     "compile": "./node_modules/.bin/jsx -x js --no-cache-dir src dist",
17 17
     "clean": "rm -rf dist/* build/*",
18
-    "package": "./node_modules/.bin/electron-packager ./ pitaya --out=./build --app-version 0.0.0 --version=1.6.5 --prune --ignore='/res(/|$)' --ignore='/debian(/|$)' --ignore='/scripts(/|$)' --ignore='/build(/|$)' --ignore='/test(/|$)' --ignore='/electron-packager(/|$)' --ignore='/electron-tmp-.+(/|$)' --platform=linux --overwrite",
18
+    "package": "./node_modules/.bin/electron-packager ./ pitaya --out=./build --app-version 0.0.0 --version=1.6.7 --prune --ignore='/res(/|$)' --ignore='/debian(/|$)' --ignore='/scripts(/|$)' --ignore='/build(/|$)' --ignore='/test(/|$)' --ignore='/electron-packager(/|$)' --ignore='/electron-tmp-.+(/|$)' --platform=linux --overwrite",
19 19
     "build": "npm run clean && npm run compile && npm run package -- --arch=$ARCH"
20 20
   },
21 21
   "dependencies": {
@@ -25,11 +25,12 @@
25 25
     "glob": "^5.0.14",
26 26
     "ini": "^1.3.4",
27 27
     "lodash": "^3.10.1",
28
-    "react": "^0.14.0",
29
-    "react-addons-css-transition-group": "^0.14.0",
30
-    "react-addons-update": "^0.14.2",
31
-    "react-dnd": "^1.1.5",
32
-    "react-dom": "^0.14.0",
28
+    "react": "^15.5.0",
29
+    "react-addons-css-transition-group": "^15.5.2",
30
+    "react-addons-update": "^15.5.2",
31
+    "react-dnd": "^2.3.0",
32
+    "react-dnd-html5-backend": "^2.3.0",
33
+    "react-dom": "^15.5.4",
33 34
     "react-redux": "^2.0.0",
34 35
     "recursive-iterator": "^2.0.0",
35 36
     "redux": "^2.0.0",

+ 1 - 1
src/components/edit/edit-view.js

@@ -8,7 +8,7 @@ var ProfileMenu = require('./profile-menu.js');
8 8
 
9 9
 var actions = require('../../store/actions');
10 10
 var DragDropContext = require('react-dnd').DragDropContext;
11
-var HTML5Backend = require('react-dnd/modules/backends/HTML5');
11
+var HTML5Backend = require('react-dnd-html5-backend');
12 12
 
13 13
 var EditView = React.createClass({
14 14