node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

nytd-archetype-react-component

Builder

http://formidable.com/open-source/builder

Builder-init

https://github.com/FormidableLabs/builder-init

React Storybook

https://github.com/kadirahq/react-storybook

Usage

$ npm install builder-init -g
$ git clone https://github.com/antoinegrant/nytd-archetype-react-component.git
$ cd nytd-archetype-react-component
$ npm install
$ cd ..
$ pwd
/Users/207005/projects/Experiments/universal-components/nytd-archetype-react-component
$ builder-init /Users/207005/projects/Experiments/universal-components/nytd-archetype-react-component
$ ... answer the prompts
$ cd nytd-[NAME OF COMPONENT]
$ npm install (You'll have to npm link the nytd-archetype-react-component and nytd-archetype-react-component-dev, which is in the nytd-archetype-react-component/dev)
$ builder run dev