Rename benchmark script

This commit is contained in:
Nicolas Gallagher
2017-07-22 10:45:04 -07:00
parent 7f81e313ed
commit 1364b1dfdf
5 changed files with 6 additions and 6 deletions

View File

@@ -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

View File

@@ -1,5 +1,5 @@
{
"name": "performance",
"name": "benchmarks",
"private": true,
"dependencies": {
"aphrodite": "^1.2.3",

View File

@@ -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';

View File

@@ -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 <div {...other} style={[styles.root, style]} />
return <div {...other} style={[styles.root, style]} />;
}
}

View File

@@ -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",