Skip to content

Commit

Permalink
update deps. lint. update example style.
Browse files Browse the repository at this point in the history
  • Loading branch information
meriadec committed Apr 20, 2017
1 parent 45342aa commit 2665ef7
Show file tree
Hide file tree
Showing 5 changed files with 1,257 additions and 695 deletions.
2 changes: 1 addition & 1 deletion examples/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ button + button {
}

.container {
max-width: 600px;
max-width: 800px;
margin: 0 auto;
}

Expand Down
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-mortal",
"version": "2.1.0",
"version": "2.2.0",
"description": "An animated react-portal powered by react-motion",
"main": "lib/Mortal.js",
"scripts": {
Expand Down Expand Up @@ -40,24 +40,24 @@
},
"dependencies": {
"prop-types": "^15.5.8",
"react-motion": "^0.4.7",
"react-motion": "^0.4.8",
"react-portal": "^3.0.0"
},
"devDependencies": {
"babel-cli": "^6.18.0",
"babel-core": "^6.20.0",
"babel-eslint": "^7.1.1",
"babel-loader": "^6.2.10",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react": "^6.16.0",
"babel-preset-stage-0": "^6.16.0",
"eslint": "^3.12.2",
"eslint-config-zavatta": "^4.2.0",
"babel-cli": "^6.24.1",
"babel-core": "^6.24.1",
"babel-eslint": "^7.2.2",
"babel-loader": "^6.4.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"eslint": "^3.19.0",
"eslint-config-zavatta": "^4.3.0",
"eslint-config-zavatta-react": "^2.1.1",
"eslint-plugin-react": "^6.8.0",
"react": "^15.4.1",
"react-dom": "^15.4.1",
"webpack": "^1.14.0",
"webpack-dev-server": "^1.16.2"
"eslint-plugin-react": "^6.10.3",
"react": "^15.5.4",
"react-dom": "^15.5.4",
"webpack": "^2.4.1",
"webpack-dev-server": "^2.4.2"
}
}
5 changes: 2 additions & 3 deletions src/Mortal.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { Motion, spring } from 'react-motion'
import React, { Component } from 'react'

import Portal from 'react-portal'
import PropTypes from 'prop-types'
import Portal from 'react-portal'
import { Motion, spring } from 'react-motion'

class Mortal extends Component {

Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const config = {
loaders: [{
test: /\.js$/,
exclude: /node_modules/,
loaders: ['babel'],
loaders: ['babel-loader'],
}],
},
plugins: [],
Expand Down
Loading

0 comments on commit 2665ef7

Please sign in to comment.