2.7.0 • Published 8 years ago

react-isolate v2.7.0

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

WIP

v2.. requires babel v6+

wercker status

React Component Isolate

All-in-one development, documentation, testing environment for React components

Getting started

Install

npm install -g react-isolate

Configuring

There are 2 ways to configure the runner. From the command-line or with a config file

CLI

$ react-isolate --componentsPath=demo/components --fixturesPath=demo/fixtures

isolate.config.js

Create a file in your project root directory named isolate.config.js and export the needed variables

module.exports = {
	fixturesPath: 'demo/fixtures',
	componentsPath: 'demo/components'
};

Folder structure

If components have their own folder I suggest having the fixture for that in the same manner

/components
	/MyList
    	MyList.js
/fixtures
	/MyList
    	simple.js
    	alternative.js

The system will pick up and match if the component is in a top-level folder but the fixture need to have a folder with the same name

/components
	/MyList.js
    /Menu.js
/fixtures
	/MyList
    	simple.js
        alternative.js
    /Menu
    	vertical.js

Todo / Ideas

https://github.com/eisisig/react-isolate/issues

2.7.0

8 years ago

2.6.5

8 years ago

2.6.4

8 years ago

2.6.3

8 years ago

2.6.2

8 years ago

2.6.1

8 years ago

2.6.0

8 years ago

2.5.1

8 years ago

2.4.21

8 years ago

2.4.19

8 years ago

2.4.3

8 years ago

2.4.2

8 years ago

2.4.0

8 years ago

2.3.1

8 years ago

2.2.0

8 years ago

2.1.0

8 years ago

2.0.12

8 years ago

2.0.11

8 years ago

2.0.10

8 years ago

2.0.9

8 years ago

2.0.8

8 years ago

2.0.7

8 years ago

2.0.6

8 years ago

2.0.5

8 years ago

2.0.4

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.0

8 years ago

1.12.7

8 years ago

1.11.7

8 years ago

1.12.6

8 years ago

1.12.5

8 years ago

1.12.4

8 years ago

1.12.2

8 years ago

1.12.1

8 years ago

1.12.0

8 years ago

1.11.6

8 years ago

1.11.5

8 years ago

1.11.4

8 years ago

1.11.3

8 years ago

1.11.2

8 years ago

1.11.1

8 years ago

1.11.0

8 years ago

1.10.3

8 years ago

1.10.2

8 years ago

1.10.1

8 years ago

1.10.0

8 years ago

1.9.6

8 years ago

1.9.5

8 years ago

1.9.4

8 years ago

1.9.3

8 years ago

1.9.2

8 years ago

1.9.1

8 years ago

1.9.0

8 years ago

1.8.0

8 years ago

1.7.14

8 years ago

1.7.13

8 years ago

1.7.12

8 years ago

1.7.11

8 years ago

1.7.10

8 years ago

1.7.9

8 years ago

1.7.8

8 years ago

1.7.6

8 years ago

1.7.5

8 years ago

1.7.4

8 years ago

1.7.3

8 years ago

1.7.2

8 years ago

1.7.1

8 years ago

1.7.0

8 years ago

1.5.0

8 years ago