chore: improve monorepo architecture

This commit is contained in:
Pedro Nauck
2018-04-24 15:10:27 -03:00
parent 8d10aa79ed
commit addebcc5d9
79 changed files with 265 additions and 235 deletions

View File

@@ -3,7 +3,7 @@
"version": "0.0.0",
"license": "MIT",
"scripts": {
"start": "docz start"
"dev": "docz dev"
},
"dependencies": {
"docz": "^0.0.1",

View File

@@ -1,5 +1,5 @@
import React, { Fragment } from 'react'
import { doc } from 'docz-react'
import { doc } from 'docz'
import { Alert } from './Alert'

View File

@@ -1,5 +1,5 @@
import React from 'react'
import { doc } from 'docz-react'
import { doc } from 'docz'
import { Button } from './Button'

View File

@@ -1,5 +1,5 @@
import React from 'react'
import { doc } from 'docz-react'
import { doc } from 'docz'
doc('withProps')
.category('Hocs')

View File

@@ -1,5 +1,5 @@
import React from 'react'
import { doc } from 'docz-react'
import { doc } from 'docz'
import Markdown from 'react-markdown'
const description = `
@@ -17,4 +17,4 @@ A design system can help establish a common vocabulary between everyone in an or
doc('Overview')
.route('/')
.order(1)
.description(<Markdown source={description} />)
.description(description)