├── .babelrc ├── .gitignore ├── LICENSE ├── Makefile ├── Readme.md ├── example ├── index.html ├── index.js └── style.css ├── index.js └── package.json /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "react", "stage-0"], 3 | "plugins": [], 4 | "env": { 5 | "development": { 6 | "plugins": [ 7 | ["react-transform", { 8 | "transforms": [{ 9 | "transform": "react-transform-hmr", 10 | "imports": ["react"], 11 | "locals": ["module"] 12 | }] 13 | }] 14 | ] 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | example/bundle.js 3 | .DS_Store 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2016 TJ Holowaychuk tj@tjholowaychuk.com 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | 'Software'), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | 2 | include node_modules/react-fatigue-dev/Makefile 3 | -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- 1 | 2 | # react-fatigue-dev-boiler 3 | 4 | Clone this repo if you want to start prototyping a component and then run: 5 | 6 | ``` 7 | $ npm install 8 | $ make start 9 | ``` 10 | 11 | Note you'll probably want to pin react-fatigue-dev to a specific GIT SHA. 12 | 13 | ## Badges 14 | 15 | ![](https://img.shields.io/badge/license-MIT-blue.svg) 16 | ![](https://img.shields.io/badge/status-stable-green.svg) 17 | [![](http://apex.sh/images/badge.svg)](https://apex.sh/ping/) 18 | 19 | --- 20 | 21 | > [tjholowaychuk.com](http://tjholowaychuk.com)  ·  22 | > GitHub [@tj](https://github.com/tj)  ·  23 | > Twitter [@tjholowaychuk](https://twitter.com/tjholowaychuk) 24 | -------------------------------------------------------------------------------- /example/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Example 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /example/index.js: -------------------------------------------------------------------------------- 1 | 2 | import React, { Component } from 'react' 3 | import ReactDOM from 'react-dom' 4 | import Hello from '..' 5 | 6 | class App extends Component { 7 | render() { 8 | return
9 | 10 |
11 | } 12 | } 13 | 14 | ReactDOM.render(, document.querySelector('#app')) 15 | -------------------------------------------------------------------------------- /example/style.css: -------------------------------------------------------------------------------- 1 | 2 | * { 3 | box-sizing: border-box; 4 | } 5 | 6 | body { 7 | margin: 0; 8 | padding: 50px; 9 | font: 15px/1.6 Helvetica, Arial, sans-serif; 10 | } 11 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | 2 | import React from 'react' 3 | 4 | export default function() { 5 | return

Hello

6 | } 7 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react-fatigue-dev-boiler", 3 | "version": "0.0.1", 4 | "browserify": { 5 | "transform": [ 6 | "babelify" 7 | ] 8 | }, 9 | "dependencies": { 10 | "react-fatigue-dev": "github:tj/react-fatigue-dev" 11 | } 12 | } 13 | --------------------------------------------------------------------------------