Skip to content

Commit

Permalink
fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
solkimicreb committed Jun 14, 2018
1 parent d46f1d6 commit 4357b72
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 29 deletions.
9 changes: 7 additions & 2 deletions examples/beer-finder/src/Beer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ class Beer extends Component {
toggleDetails = () => (this.store.details = !this.store.details);

render () {
const { name, image_url: imageUrl, food_pairing, description } = this.props
const {
name,
image_url: imageUrl,
food_pairing: foodPairing,
description
} = this.props
const { details } = this.store

return (
Expand All @@ -19,7 +24,7 @@ class Beer extends Component {
{details ? (
<p>{description}</p>
) : (
<ul>{food_pairing.map(food => <li key={food}>{food}</li>)}</ul>
<ul>{foodPairing.map(food => <li key={food}>{food}</li>)}</ul>
)}
</CardContent>
</Card>
Expand Down
Empty file removed package-lock.json.1407275068
Empty file.
48 changes: 24 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,43 +46,43 @@
"routing"
],
"dependencies": {
"@nx-js/observer-util": "^4.1.1",
"@nx-js/queue-util": "^1.0.0"
"@nx-js/observer-util": "^4.2.0",
"@nx-js/queue-util": "^1.1.1"
},
"devDependencies": {
"babel-core": "6.25.0",
"babel-eslint": "^7.2.3",
"babel-loader": "^7.1.2",
"babel-minify": "^0.2.0",
"babel-core": "6.26.3",
"babel-eslint": "^8.2.3",
"babel-loader": "^7.1.4",
"babel-minify": "^0.4.3",
"babel-plugin-array-includes": "^2.0.3",
"babel-preset-es2016": "^6.24.1",
"babel-preset-es2017": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"buble": "^0.15.2",
"chai": "^4.1.1",
"coveralls": "^2.13.1",
"karma": "^1.7.0",
"buble": "^0.19.3",
"chai": "^4.1.2",
"coveralls": "^3.0.1",
"karma": "^2.0.2",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.2.0",
"karma-coverage": "^1.1.1",
"karma-coverage": "^1.1.2",
"karma-mocha": "^1.3.0",
"karma-rollup-preprocessor": "^5.0.1",
"karma-source-map-support": "^1.2.0",
"markdown-toc": "^1.1.0",
"mocha": "^3.5.0",
"nyc": "11.1.0",
"karma-rollup-preprocessor": "^6.0.0",
"karma-source-map-support": "^1.3.0",
"markdown-toc": "^1.2.0",
"mocha": "^5.2.0",
"nyc": "12.0.2",
"pre-push": "^0.1.1",
"prettier": "^1.6.1",
"rollup": "^0.49.0",
"rollup-plugin-alias": "^1.3.1",
"rollup-plugin-auto-external": "^1.0.0",
"rollup-plugin-babel": "^3.0.2",
"rollup-plugin-commonjs": "^8.2.0",
"prettier": "^1.13.5",
"rollup": "^0.60.7",
"rollup-plugin-alias": "^1.4.0",
"rollup-plugin-auto-external": "^1.2.0",
"rollup-plugin-babel": "^3.0.4",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-coverage": "^0.1.4",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-replace": "^2.0.0",
"standard": "^10.0.3"
"standard": "^11.0.1"
},
"standard": {
"parser": "babel-eslint",
Expand Down
8 changes: 5 additions & 3 deletions scripts/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ const config = {
'process.env.NODE_ENV': JSON.stringify('development')
})
],
format: 'iife',
name: 'reactEasyParams',
sourcemap: 'inline'
output: {
format: 'iife',
name: 'reactEasyParams',
sourcemap: 'inline'
}
},
coverageReporter: {
dir: 'coverage',
Expand Down

0 comments on commit 4357b72

Please sign in to comment.