update dependencies

This commit is contained in:
Robin Appelman 2018-09-03 22:22:40 +02:00
parent 0055574c2b
commit d0367531a6
8 changed files with 477 additions and 398 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -6,7 +6,7 @@ import React from 'react';
import ReactDom from 'react-dom';
// Enable React devtools
window.React = React;
window['React'] = React;
const render = (Component) => {
ReactDom.render(

834
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,13 +1,15 @@
{
"devDependencies": {
"@babel/core": "^7.0.0",
"@types/bootstrap": "^4.1.2",
"@types/jquery": "^3.3.6",
"@types/react": "^16.4.12",
"@types/react": "^16.4.13",
"@types/react-dom": "^16.0.7",
"@types/webpack": "^4.4.11",
"@types/webpack-env": "^1.13.6",
"autoprefixer-loader": "^3.2.0",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.5",
"babel-loader": "^8.0.2",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-polyfill": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
@ -22,13 +24,13 @@
"postcss-loader": "^3.0.0",
"postcss-nested": "^3.0.0",
"react-hot-loader": "4.3.5",
"style-loader": "^0.22.1",
"ts-loader": "^4.5.0",
"typescript": "^3.0.1",
"style-loader": "^0.23.0",
"ts-loader": "^5.0.0",
"typescript": "^3.0.3",
"url-loader": "^1.1.1",
"webpack": "^4.17.1",
"webpack": "^4.17.2",
"webpack-cli": "^3.1.0",
"webpack-dev-server": "^3.1.6"
"webpack-dev-server": "^3.1.7"
},
"dependencies": {
"less": "^3.8.1",

View File

@ -8,7 +8,6 @@
"module": "ES6",
"moduleResolution": "node",
"target": "ES6",
"declaration": true,
"strictNullChecks": true,
"sourceMap": true,
"jsx": "react",

View File

@ -8,7 +8,7 @@ module.exports = {
entry: {
app: [
'webpack/hot/only-dev-server',
'./js/index.js'
'./js/index.tsx'
]
},
output: {
@ -40,10 +40,6 @@ module.exports = {
'url-loader?limit=5000&hash=sha512&digest=hex&name=[hash].[ext]'
]
},
{
test: /\.js$/,
use: ['babel-loader']
},
{
test: /\.css$/,
use: ['style-loader', 'css-loader', 'postcss-loader']

View File

@ -11,7 +11,7 @@ module.exports = {
app: [
`babel-polyfill`,
`whatwg-fetch`,
'./js/index.js'
'./js/index.tsx'
],
},
output: {
@ -51,10 +51,6 @@ module.exports = {
'url-loader?limit=5000&hash=sha512&digest=hex&name=[hash].[ext]'
]
},
{
test: /\.js$/,
use: ['babel-loader']
},
{
test: /\.css$/,
use: [