Skip to content

Commit 0cd268d

Browse files
author
Mitchel Severe
committed
update react and react-konva versioning
1 parent 9125afd commit 0cd268d

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

.babelrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
],
99
"react",
1010
"stage-0"
11-
// "@babel/preset-typescript"
1211
],
1312
"plugins": ["transform-es2015-modules-commonjs"]
1413
}

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"d3": "^5.9.2",
9595
"electron-reload": "^1.4.0",
9696
"enzyme": "^3.4.1",
97-
"konva": "^2.1.7",
97+
"konva": "^4.1.4",
9898
"localforage": "^1.7.2",
9999
"lodash.throttle": "^4.1.1",
100100
"prettier": "^1.14.2",
@@ -103,15 +103,17 @@
103103
"react-d3-tree": "^1.12.3",
104104
"react-dom": "^16.4.1",
105105
"react-draggable": "^3.0.5",
106-
"react-konva": "^1.7.12",
106+
"react-konva": "^16.12.0-0",
107107
"react-redux": "^5.0.7",
108108
"react-sortable-tree": "^2.2.0",
109109
"react-syntax-highlighter": "^10.2.1",
110110
"redux": "^4.0.0",
111111
"redux-devtools-extension": "^2.13.5",
112112
"redux-logger": "^3.0.6",
113113
"redux-thunk": "^2.3.0",
114-
"ts-loader": "^6.2.1"
114+
"ts-loader": "^6.2.1",
115+
"webpack": "^4.41.6",
116+
"webpack-cli": "^3.3.11"
115117
},
116118
"devDependencies": {
117119
"@babel/preset-typescript": "^7.3.3",
@@ -146,8 +148,6 @@
146148
"postcss-loader": "^2.1.6",
147149
"sass-loader": "^7.0.3",
148150
"style-loader": "^0.20.3",
149-
"typescript": "^3.4.4",
150-
"webpack": "^4.4.0",
151-
"webpack-cli": "^2.0.13"
151+
"typescript": "^3.4.4"
152152
}
153153
}

tsconfig.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,14 @@
33
"outDir": "./build/",
44
"sourceMap": true,
55
"noImplicitAny": true,
6-
"module": "commonjs",
7-
"target": "es6",
86
"jsx": "react",
9-
"lib": ["es6", "dom", "es2017"],
7+
"lib": ["dom", "esnext"],
8+
"module": "esnext",
9+
"esModuleInterop": true,
1010
"allowSyntheticDefaultImports": true
1111
},
12-
"include": ["./src/**/*"]
12+
"include": ["./src/**/*"],
13+
"exclude": ["node_modules"]
1314
}
15+
16+

0 commit comments

Comments
 (0)