diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 3d88039c..2b1fece0 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -66,7 +66,7 @@ yarn docs:build To run the performance benchmarks in a browser (opening `./benchmarks/index.html`): ``` -yarn benchmarks +yarn benchmark ``` ## Compile and build diff --git a/benchmarks/package.json b/benchmarks/package.json index d6bff6a2..d960485a 100644 --- a/benchmarks/package.json +++ b/benchmarks/package.json @@ -1,5 +1,5 @@ { - "name": "performance", + "name": "benchmarks", "private": true, "dependencies": { "aphrodite": "^1.2.3", diff --git a/benchmarks/src/components/Box/radium.js b/benchmarks/src/components/Box/radium.js index 31b6540a..f3e7f8f7 100644 --- a/benchmarks/src/components/Box/radium.js +++ b/benchmarks/src/components/Box/radium.js @@ -1,5 +1,5 @@ /* eslint-disable react/prop-types */ -import Radium from 'radium' +import Radium from 'radium'; import React from 'react'; import View from '../View/radium'; diff --git a/benchmarks/src/components/View/radium.js b/benchmarks/src/components/View/radium.js index 552f50f9..19ffe06e 100644 --- a/benchmarks/src/components/View/radium.js +++ b/benchmarks/src/components/View/radium.js @@ -1,11 +1,11 @@ /* eslint-disable react/prop-types */ -import Radium from 'radium' +import Radium from 'radium'; import React from 'react'; class View extends React.Component { render() { const { style, ...other } = this.props; - return
+ return
; } } diff --git a/package.json b/package.json index 8db48708..ee2ed94d 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "!**/__tests__" ], "scripts": { - "benchmarks": "cd benchmarks && yarn && webpack && open index.html", + "benchmark": "cd benchmarks && yarn && webpack && open index.html", "build": "webpack --config webpack.config.js --sort-assets-by --progress", "compile": "del ./dist && mkdir dist && babel src -d dist --ignore **/__tests__", "docs:build": "build-storybook -o ./docs/dist -c ./docs/storybook/.storybook",