diff --git a/SUMMARY.md b/SUMMARY.md new file mode 100644 index 0000000000..281089a5a4 --- /dev/null +++ b/SUMMARY.md @@ -0,0 +1,45 @@ +# Summary +* Basics + * [Core Ideas](docs/Basics/Core Ideas.md) + * [Getting Started](docs/Basics/Getting Started.md) + * [Migrating to Redux](docs/Basics/Migrating to Redux.md) + * [Relation to Other Libraries](docs/Basics/Relation to Other Libraries.md) + * [The Redux Flow](docs/Basics/The Redux Flow.md) + * [Userland and Core](docs/Basics/Userland and Core.md) + * [Why Redux](docs/Basics/Why Redux.md) +* Recipes + * [Anti-Patterns](docs/Recipes/Anti-Patterns.md) + * [Asynchronous Data Fetching](docs/Recipes/Asynchronous Data Fetching.md) + * [Authentication](docs/Recipes/Authentication.md) + * [Code Splitting](docs/Recipes/Code Splitting.md) + * [Connecting UI](docs/Recipes/Connecting UI.md) + * [Derived Data](docs/Recipes/Derived Data.md) + * [Developer Tools](docs/Recipes/Developer Tools.md) + * [Expressing Dependencies](docs/Recipes/Expressing Dependencies.md) + * [Hot Reloading](docs/Recipes/Hot Reloading.md) + * [Immutability](docs/Recipes/Immutability.md) + * [Logging](docs/Recipes/Logging.md) + * [Middleware](docs/Recipes/Middleware.md) + * [Optimistic Updates](docs/Recipes/Optimistic Updates.md) + * [Optimizing Performance](docs/Recipes/Optimizing Performance.md) + * [Pagination](docs/Recipes/Pagination.md) + * [React Native](docs/Recipes/React Native.md) + * [React Router](docs/Recipes/React Router.md) + * [React](docs/Recipes/React.md) + * [Recording and Replaying](docs/Recipes/Recording and Replaying.md) + * [Relay and GraphQL](docs/Recipes/Relay and GraphQL.md) + * [Side Effects](docs/Recipes/Side Effects.md) + * [Stores Enhancers](docs/Recipes/Stores Enhancers.md) + * [Thunks, Promises and Observables](docs/Recipes/Thunks, Promises and Observables.md) + * [Time Travel](docs/Recipes/Time Travel.md) + * [Undo and Redo](docs/Recipes/Undo and Redo.md) + * [Unit Testing](docs/Recipes/Unit Testing.md) + * [Universal Apps](docs/Recipes/Universal Apps.md) +* Reference + * [API](docs/Reference/API.md) + * [Glossary](docs/Reference/Glossary.md) +* Resources + * [Articles](docs/Resources/Articles.md) + * [Examples](docs/Resources/Examples.md) + * [Getting Help](docs/Resources/Getting Help.md) + * [Utilities](docs/Resources/Utilities.md) diff --git a/package.json b/package.json index d79bf317a6..189952898b 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "lint": "eslint src test examples", "test": "NODE_ENV=test mocha --compilers js:babel/register --recursive", "test:watch": "npm test -- --watch", - "test:cov": "babel-node ./node_modules/.bin/isparta cover ./node_modules/.bin/_mocha -- --recursive", + "test:cov": "babel-node $(npm bin)/isparta cover $(npm bin)/_mocha -- --recursive", "check": "npm run lint && npm run test", "build:lib": "babel src --out-dir lib", "build:umd": "webpack src/index.js dist/redux.js && NODE_ENV=production webpack src/index.js dist/redux.min.js", @@ -16,7 +16,8 @@ "preversion": "npm run clean && npm run check", "version": "npm run build", "postversion": "git push && git push --tags && npm run clean", - "prepublish": "npm run clean && npm run build" + "prepublish": "npm run clean && npm run build", + "docs:build": "$(npm bin)/gitbook build" }, "repository": { "type": "git", @@ -50,6 +51,7 @@ "eslint-config-airbnb": "0.0.6", "eslint-plugin-react": "^2.3.0", "expect": "^1.6.0", + "gitbook-cli": "^0.3.4", "isparta": "^3.0.3", "mocha": "^2.2.5", "rimraf": "^2.3.4",