Skip to content

Commit

Permalink
fix(package): move lodash to dependencies and upgrade to react 16
Browse files Browse the repository at this point in the history
  • Loading branch information
ofirdagan committed Dec 30, 2017
1 parent 5be11e7 commit ae1cc3b
Show file tree
Hide file tree
Showing 3 changed files with 344 additions and 429 deletions.
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -22,7 +22,7 @@
"lint": "eslint src/"
},
"peerDependencies": {
"react": "react@16.0.0-alpha.12"
"react": "16.0.0"
},
"author": "Monte Thakkar",
"license": "MIT",
Expand All @@ -31,11 +31,11 @@
},
"homepage": "https://github.com/Monte9/react-native-ratings#readme",
"devDependencies": {
"lodash.times": "^4.3.2",
"react": "react@16.0.0-alpha.12",
"react-native": "^0.47.0"
"react": "16.0.0",
"react-native": "^0.51.0"
},
"dependencies": {
"lodash": "^4.17.4",
"prop-types": "^15.5.10"
}
}
2 changes: 1 addition & 1 deletion src/rating.js
@@ -1,4 +1,4 @@
import times from 'lodash.times';
import times from 'lodash/times';

import React, { Component } from 'react';
import PropTypes from 'prop-types';
Expand Down

0 comments on commit ae1cc3b

Please sign in to comment.