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
+1 -1
View File
@@ -66,7 +66,7 @@ yarn docs:build
To run the performance benchmarks in a browser (opening `./benchmarks/index.html`): To run the performance benchmarks in a browser (opening `./benchmarks/index.html`):
``` ```
yarn benchmarks yarn benchmark
``` ```
## Compile and build ## Compile and build
+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"name": "performance", "name": "benchmarks",
"private": true, "private": true,
"dependencies": { "dependencies": {
"aphrodite": "^1.2.3", "aphrodite": "^1.2.3",
+1 -1
View File
@@ -1,5 +1,5 @@
/* eslint-disable react/prop-types */ /* eslint-disable react/prop-types */
import Radium from 'radium' import Radium from 'radium';
import React from 'react'; import React from 'react';
import View from '../View/radium'; import View from '../View/radium';
+2 -2
View File
@@ -1,11 +1,11 @@
/* eslint-disable react/prop-types */ /* eslint-disable react/prop-types */
import Radium from 'radium' import Radium from 'radium';
import React from 'react'; import React from 'react';
class View extends React.Component { class View extends React.Component {
render() { render() {
const { style, ...other } = this.props; const { style, ...other } = this.props;
return <div {...other} style={[styles.root, style]} /> return <div {...other} style={[styles.root, style]} />;
} }
} }
+1 -1
View File
@@ -9,7 +9,7 @@
"!**/__tests__" "!**/__tests__"
], ],
"scripts": { "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", "build": "webpack --config webpack.config.js --sort-assets-by --progress",
"compile": "del ./dist && mkdir dist && babel src -d dist --ignore **/__tests__", "compile": "del ./dist && mkdir dist && babel src -d dist --ignore **/__tests__",
"docs:build": "build-storybook -o ./docs/dist -c ./docs/storybook/.storybook", "docs:build": "build-storybook -o ./docs/dist -c ./docs/storybook/.storybook",