mirror of
https://github.com/gurnec/removeddit.git
synced 2026-03-11 08:54:27 +00:00
Update dependencies
This commit is contained in:
parent
0b639f2340
commit
ffb0e4b5b7
5 changed files with 3836 additions and 8012 deletions
8
.babelrc
8
.babelrc
|
|
@ -1,10 +1,14 @@
|
|||
{
|
||||
"presets": [
|
||||
"@babel/preset-env",
|
||||
["@babel/preset-env",
|
||||
{
|
||||
useBuiltIns: 'usage',
|
||||
corejs: 3
|
||||
}],
|
||||
"@babel/preset-react"
|
||||
],
|
||||
"plugins": [
|
||||
"@babel/plugin-proposal-object-rest-spread",
|
||||
"@babel/plugin-proposal-class-properties"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
11796
package-lock.json
generated
11796
package-lock.json
generated
File diff suppressed because it is too large
Load diff
38
package.json
38
package.json
|
|
@ -28,27 +28,27 @@
|
|||
"css": "node-sass --style compressed src/sass/index.sass dist/main.css"
|
||||
},
|
||||
"dependencies": {
|
||||
"babel-polyfill": "^6.26.0",
|
||||
"react": "^16.12.0",
|
||||
"react-dom": "^16.12.0",
|
||||
"react-router-dom": "^5.1.2",
|
||||
"core-js": "^3.18.2",
|
||||
"react": "^16.14.0",
|
||||
"react-dom": "^16.14.0",
|
||||
"react-router-dom": "^5.3.0",
|
||||
"snuownd": "git+https://github.com/JordanMilne/snuownd.git",
|
||||
"unstated": "^2.1.1",
|
||||
"whatwg-fetch": "^3.0.0"
|
||||
"whatwg-fetch": "^3.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.7.4",
|
||||
"@babel/core": "^7.7.4",
|
||||
"@babel/plugin-proposal-class-properties": "^7.7.4",
|
||||
"@babel/plugin-proposal-object-rest-spread": "^7.7.4",
|
||||
"@babel/preset-env": "^7.7.4",
|
||||
"@babel/preset-react": "^7.7.4",
|
||||
"babel-eslint": "^10.0.3",
|
||||
"babel-loader": "^8.0.6",
|
||||
"node-sass": "^4.13.0",
|
||||
"standard": "^14.3.1",
|
||||
"webpack": "^4.41.2",
|
||||
"webpack-cli": "^3.3.10",
|
||||
"webpack-dev-server": "^3.9.0"
|
||||
"@babel/cli": "^7.15.7",
|
||||
"@babel/core": "^7.15.8",
|
||||
"@babel/eslint-parser": "^7.15.8",
|
||||
"@babel/plugin-proposal-class-properties": "^7.14.5",
|
||||
"@babel/plugin-proposal-object-rest-spread": "^7.15.6",
|
||||
"@babel/preset-env": "^7.15.8",
|
||||
"@babel/preset-react": "^7.14.5",
|
||||
"babel-loader": "^8.2.2",
|
||||
"node-sass": "^6.0.1",
|
||||
"standard": "^16.0.4",
|
||||
"webpack": "^5.57.1",
|
||||
"webpack-cli": "^4.9.0",
|
||||
"webpack-dev-server": "^4.3.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
import 'babel-polyfill'
|
||||
import React from 'react'
|
||||
import ReactDOM from 'react-dom'
|
||||
import { BrowserRouter, Switch, Route, Redirect } from 'react-router-dom'
|
||||
|
|
|
|||
|
|
@ -2,15 +2,14 @@ const path = require('path')
|
|||
|
||||
module.exports = (env, argv) => ({
|
||||
entry: [
|
||||
'babel-polyfill',
|
||||
'whatwg-fetch',
|
||||
'./src/index.js'
|
||||
],
|
||||
devServer: {
|
||||
contentBase: path.resolve(__dirname, 'dist'),
|
||||
static: path.resolve(__dirname, 'dist'),
|
||||
historyApiFallback: true
|
||||
},
|
||||
devtool: argv.mode !== 'production' ? 'cheap-module-eval-source-map' : false,
|
||||
devtool: argv.mode !== 'production' ? 'eval-cheap-module-source-map' : false,
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue