Install docs dependencies separately

This commit is contained in:
Nicolas Gallagher
2017-07-22 10:47:40 -07:00
parent 1364b1dfdf
commit 9e863d5402
4 changed files with 3938 additions and 1709 deletions
+13
View File
@@ -0,0 +1,13 @@
{
"name": "docs",
"private": true,
"scripts": {
"build": "yarn && build-storybook -o ./dist -c ./storybook/.storybook",
"start": "start-storybook -p 9001 -c ./storybook/.storybook --dont-track",
"publish": "yarn build && git checkout gh-pages && rm -rf ./storybook && mv docs/dist storybook && git add -A && git commit -m \"Storybook deploy\" && git push origin gh-pages && git checkout -"
},
"dependencies": {
"@kadira/storybook": "^2.35.3",
"@kadira/storybook-addon-options": "^1.0.2"
}
}
+3854
View File
File diff suppressed because it is too large Load Diff
+3 -5
View File
@@ -12,9 +12,9 @@
"benchmark": "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": "cd docs && yarn build",
"docs:start": "start-storybook -p 9001 -c ./docs/storybook/.storybook --dont-track", "docs:start": "cd docs && yarn && yarn start",
"docs:publish": "yarn docs:build && git checkout gh-pages && rm -rf ./storybook && mv docs/dist storybook && git add -A && git commit -m \"Storybook deploy\" && git push origin gh-pages && git checkout -", "docs:publish": "cd docs && yarn publish",
"flow": "flow", "flow": "flow",
"fmt": "find benchmarks docs src -name '*.js' | grep -v -E '(node_modules|dist)' | xargs yarn fmt:cmd", "fmt": "find benchmarks docs src -name '*.js' | grep -v -E '(node_modules|dist)' | xargs yarn fmt:cmd",
"fmt:cmd": "prettier --print-width=100 --single-quote --write", "fmt:cmd": "prettier --print-width=100 --single-quote --write",
@@ -68,8 +68,6 @@
"react-timer-mixin": "^0.13.3" "react-timer-mixin": "^0.13.3"
}, },
"devDependencies": { "devDependencies": {
"@kadira/storybook": "^2.35.3",
"@kadira/storybook-addon-options": "^1.0.2",
"babel-cli": "^6.24.1", "babel-cli": "^6.24.1",
"babel-core": "^6.25.0", "babel-core": "^6.25.0",
"babel-eslint": "^7.2.3", "babel-eslint": "^7.2.3",
+68 -1704
View File
File diff suppressed because it is too large Load Diff