-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #749 from storybooks/switch-to-monorepo
Switch to monorepo
- Loading branch information
Showing
603 changed files
with
45,544 additions
and
4,043 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
dist | ||
build | ||
coverage | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
module.exports = { | ||
extends: [ | ||
'./node_modules/eslint-config-airbnb-base/rules/es6.js', | ||
], | ||
plugins: [ | ||
'prettier', | ||
], | ||
parser: 'babel-eslint', | ||
parserOptions: { | ||
sourceType: 'module', | ||
}, | ||
env: { | ||
es6: true, | ||
node: true, | ||
}, | ||
rules: { | ||
strict: 0, | ||
'prettier/prettier': ['warn', { | ||
printWidth: 100, | ||
tabWidth: 2, | ||
bracketSpacing: true, | ||
trailingComma: 'all', | ||
singleQuote: true, | ||
}], | ||
quotes: ['warn', 'single'], | ||
'arrow-parens': ['warn', 'as-needed'], | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,8 @@ node_modules | |
.idea | ||
npm-shrinkwrap.json | ||
dist | ||
.tern-port | ||
*.DS_Store | ||
*.lerna_backup | ||
build | ||
yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
docs | ||
src | ||
.babelrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
language: node_js | ||
cache: | ||
yarn: true | ||
directories: | ||
- node_modules | ||
notifications: | ||
email: false | ||
node_js: | ||
- "5" | ||
- "node" | ||
before_install: ./scripts/travis/before_install.sh | ||
after_success: ./scripts/travis/after_success.sh | ||
script: npm run lint && npm run test | ||
git: | ||
depth: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,8 @@ | ||
# React Storybook [![Build Status](https://travis-ci.org/storybooks/react-storybook.svg?branch=master)](https://travis-ci.org/storybooks/react-storybook) [![npm version](https://badge.fury.io/js/%40kadira%2Fstorybook.svg)](https://badge.fury.io/js/%40kadira%2Fstorybook) [![Storybook Slack](https://storybooks-slackin.herokuapp.com/badge.svg)](https://storybooks-slackin.herokuapp.com/) | ||
# storybooks mono repo | ||
|
||
React Storybook is a UI development environment for your React components. With it, you can visualize different states of your UI components and develop them interactively. | ||
[![Greenkeeper badge](https://badges.greenkeeper.io/storybooks/mono.svg)](https://greenkeeper.io/) | ||
[![Build Status](https://travis-ci.org/storybooks/mono.svg?branch=master)](https://travis-ci.org/storybooks/mono) | ||
[![CodeFactor](https://www.codefactor.io/repository/github/storybooks/mono/badge)](https://www.codefactor.io/repository/github/storybooks/mono) | ||
[![BCH compliance](https://bettercodehub.com/edge/badge/storybooks/mono)](https://bettercodehub.com/results/storybooks/mono) | ||
|
||
![React Storybook Screenshot](docs/demo.gif) | ||
|
||
React Storybook runs outside of your app. So you can develop UI components in isolation without worrying about app specific dependencies and requirements. | ||
|
||
## Getting Started | ||
|
||
```js | ||
npm i -g getstorybook | ||
cd my-react-app | ||
getstorybook | ||
``` | ||
|
||
For more information visit: https://getstorybook.io | ||
|
||
--- | ||
|
||
React Storybook also comes with a lot of [addons](https://getstorybook.io/docs/addons/introduction) and a great API to customize as you wish. You can also build a [static version](https://getstorybook.io/docs/basics/exporting-storybook) of your storybook and deploy it anywhere you want. | ||
|
||
Here are some featured storybooks that you can reference to see how Storybook works: | ||
|
||
* [Demo of React Dates](http://airbnb.io/react-dates/) - [source](https://github.com/airbnb/react-dates) | ||
* [Demo of React Native Web](http://necolas.github.io/react-native-web/storybook/) - [source](https://github.com/necolas/react-native-web) | ||
|
||
## Docs | ||
|
||
* [Basics](https://getstorybook.io/docs/basics/introduction) | ||
* [Configurations](https://getstorybook.io/docs/configurations/default-config) | ||
* [Addons](https://getstorybook.io/docs/addons/introduction) | ||
experiment of a mono repo |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.