Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Commit d83bc4e

Browse files
committed
Updated dependencies
1 parent 0343283 commit d83bc4e

File tree

3 files changed

+23
-22
lines changed

3 files changed

+23
-22
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ logs
1717
npm-debug.log*
1818

1919
/lib
20+
/yarn.lock

package.json

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -35,26 +35,27 @@
3535
"test": "./node_modules/.bin/mocha test"
3636
},
3737
"peerDependencies": {
38-
"react": "^15.0.0",
39-
"react-dom": "^15.0.0"
38+
"prop-types": "^15.0 || ^16.0",
39+
"react": "^15.0 || ^16.0",
40+
"react-dom": "^15.0 || ^16.0"
4041
},
4142
"devDependencies": {
42-
"babel-core": "^6.14.0",
43-
"babel-eslint": "^6.1.2",
44-
"babel-loader": "^6.2.5",
43+
"babel-core": "^6.24.1",
44+
"babel-eslint": "^7.2.2",
45+
"babel-loader": "^6.4.1",
4546
"babel-plugin-transform-decorators-legacy": "^1.3.4",
46-
"babel-preset-es2015": "^6.14.0",
47-
"babel-preset-react": "^6.11.1",
48-
"babel-preset-stage-0": "^6.5.0",
47+
"babel-preset-es2015": "^6.24.1",
48+
"babel-preset-react": "^6.24.1",
49+
"babel-preset-stage-0": "^6.24.1",
4950
"chai": "^3.5.0",
50-
"eslint": "^3.5.0",
51-
"eslint-plugin-react": "^6.3.0",
52-
"html-webpack-plugin": "^2.22.0",
53-
"mocha": "^3.0.2",
54-
"react": "^15.3.2",
55-
"react-dom": "^15.3.2",
56-
"react-hot-loader": "^3.0.0-beta.5",
57-
"webpack": "^1.13.2",
58-
"webpack-dev-server": "^1.16.1"
51+
"eslint": "^3.19.0",
52+
"eslint-plugin-react": "^6.10.3",
53+
"html-webpack-plugin": "^2.28.0",
54+
"mocha": "^3.2.0",
55+
"prop-types": "^15.5.8",
56+
"react": "^15.5.4",
57+
"react-dom": "^15.5.4",
58+
"webpack": "^2.4.1",
59+
"webpack-dev-server": "^2.4.2"
5960
}
6061
}

playground/webpack.config.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,31 @@ module.exports = {
55
entry: path.join(__dirname, 'index.js'),
66

77
output: {
8-
path: './playground',
8+
path: path.join(__dirname),
99
filename: 'bundle.js',
1010
publicPath: '/'
1111
},
1212

1313
devServer: {
1414
filename: 'index.js',
15-
contentBase: './playground'
15+
contentBase: path.join(__dirname)
1616
},
1717

1818
devtool: 'source-map',
1919

2020
resolve: {
21-
root: path.join(__dirname, '..'),
2221
alias: {
2322
'react-aim/lib/corners': path.join(__dirname, '..', 'src', 'corners'),
2423
'react-aim': path.join(__dirname, '..', 'src', 'index')
2524
}
2625
},
2726

2827
module: {
29-
loaders: [
28+
rules: [
3029
{
3130
test: /\.(js)$/,
3231
exclude: /node_modules/,
33-
loader: 'babel'
32+
use: 'babel-loader'
3433
}
3534
]
3635
},

0 commit comments

Comments
 (0)