Rename 'performance' to 'benchmarks'

This commit is contained in:
Nicolas Gallagher
2017-05-25 21:44:01 -07:00
parent 54af7e9da2
commit a84ecefa5d
57 changed files with 4 additions and 4 deletions

View File

@@ -192,7 +192,7 @@ inline styles.
All this allows React Native for Web to support the rich functionality of React
Native styles (including RTL layouts and `setNativeProps`) while providing one
of the [fastest](https://github.com/necolas/react-native-web/blob/master/performance/README.md),
of the [fastest](https://github.com/necolas/react-native-web/blob/master/benchmarks/README.md),
safest, and most efficient styles-in-JavaScript solutions.
## FAQs

View File

@@ -9,16 +9,16 @@
"!**/__tests__"
],
"scripts": {
"benchmarks": "cd benchmarks && yarn && webpack && open index.html",
"build": "del ./dist && mkdir dist && babel src -d dist --ignore **/__tests__",
"build:examples": "build-storybook -o dist-examples -c ./examples/.storybook",
"build:performance": "cd performance && yarn && webpack",
"build:umd": "webpack --config webpack.config.js --sort-assets-by --progress",
"deploy:examples": "git checkout gh-pages && rm -rf ./storybook && mv dist-examples storybook && git add -A && git commit -m \"Storybook deploy\" && git push origin gh-pages && git checkout -",
"examples": "start-storybook -p 9001 -c ./examples/.storybook --dont-track",
"flow": "flow",
"fmt": "find examples performance src -name '*.js' | grep -v -E '(node_modules|dist)' | xargs npm run fmt:cmd",
"fmt": "find benchmarks examples src -name '*.js' | grep -v -E '(node_modules|dist)' | xargs npm run fmt:cmd",
"fmt:cmd": "prettier --print-width=100 --single-quote --write",
"lint": "npm run lint:cmd -- examples performance src",
"lint": "npm run lint:cmd -- benchmarks examples src",
"lint:cmd": "eslint --fix --ignore-path .gitignore",
"precommit": "lint-staged",
"release": "npm run build && npm run build:umd && npm publish",