Skip to content

Commit 94b6a68

Browse files
author
Asbjørn Hegdahl
committed
Upgrades devDependencies
1 parent 9200407 commit 94b6a68

File tree

4 files changed

+3899
-2438
lines changed

4 files changed

+3899
-2438
lines changed

.babelrc

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2-
"presets": ["es2015", "react"],
3-
"plugins": ["transform-class-properties", "transform-object-rest-spread"]
2+
"presets": ["@babel/preset-env", "@babel/preset-react"],
3+
"plugins": [
4+
"@babel/plugin-proposal-class-properties",
5+
"@babel/plugin-proposal-object-rest-spread"
6+
]
47
}

package.json

+24-22
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
"README.md"
1010
],
1111
"scripts": {
12-
"start": "rm -fr lib/ && babel src --out-dir lib --ignore='__tests__'",
12+
"build": "rm -fr lib/ && babel src --out-dir lib --ignore='__tests__'",
1313
"test": "jest --verbose",
14-
"pub": "npm test && npm start && npm publish",
14+
"pub": "npm test && npm build && npm publish",
1515
"dev": "webpack-dev-server --content-base dist/ --inline"
1616
},
1717
"readme": "README.md",
@@ -39,31 +39,33 @@
3939
},
4040
"homepage": "https://github.com/asbjornh/react-tiny-transition#readme",
4141
"devDependencies": {
42-
"babel-cli": "^6.26.0",
43-
"babel-core": "^6.9.1",
44-
"babel-eslint": "^8.0.2",
45-
"babel-jest": "^22.4.3",
46-
"babel-loader": "^7.1.2",
47-
"babel-plugin-transform-class-properties": "^6.9.0",
48-
"babel-plugin-transform-object-rest-spread": "^6.8.0",
49-
"babel-preset-es2015": "^6.9.0",
50-
"babel-preset-react": "^6.5.0",
51-
"eslint": "^4.12.0",
52-
"eslint-loader": "^2.0.0",
53-
"eslint-plugin-jest": "^21.3.2",
54-
"eslint-plugin-react": "^7.5.1",
42+
"@babel/cli": "^7.2.3",
43+
"@babel/core": "^7.2.2",
44+
"@babel/plugin-proposal-class-properties": "^7.2.3",
45+
"@babel/preset-env": "^7.2.3",
46+
"@babel/preset-react": "^7.0.0",
47+
"babel-core": "^7.0.0-bridge.0",
48+
"babel-eslint": "^10.0.1",
49+
"babel-jest": "^23.6.0",
50+
"babel-loader": "^8.0.5",
51+
"eslint": "^5.12.0",
52+
"eslint-loader": "^2.1.1",
53+
"eslint-plugin-jest": "^22.1.2",
54+
"eslint-plugin-react": "^7.12.3",
5555
"expose-loader": "^0.7.4",
5656
"html-webpack-plugin": "^3.1.0",
57-
"jest-cli": "^22.4.3",
57+
"jest-cli": "^23.6.0",
5858
"prop-types": "^15.6.0",
59-
"react": "^16.3.0",
60-
"react-dom": "^16.3.0",
61-
"webpack": "^3.8.1",
62-
"webpack-dev-server": "^2.9.5"
59+
"react": "^16.7.0",
60+
"react-dom": "^16.7.0",
61+
"webpack": "^4.28.3",
62+
"webpack-cli": "^3.2.0",
63+
"webpack-dev-server": "^3.1.14"
6364
},
6465
"peerDependencies": {
65-
"react": "^16.3.0",
66-
"react-dom": "^16.3.0"
66+
"prop-types": "^15.6.0",
67+
"react": "^16.7.0",
68+
"react-dom": "^16.7.0"
6769
},
6870
"jest": {
6971
"rootDir": "",

webpack.config.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ module.exports = () => {
1313
devServer: {
1414
stats: "minimal"
1515
},
16-
node: {
17-
fs: "empty"
18-
},
16+
mode: "development",
1917
module: {
2018
rules: [
2119
{

0 commit comments

Comments
 (0)