0.3.20 • Published 8 years ago

member-berries-react v0.3.20

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

:grapes: Member Berries v0.3.10 :grapes:

A module for scaffolding out your React App's Components & Store files. Inspired by the "Member Berries" of SouthPark.

Installation.

Using npm:

$ npm install react-member-berries --save

Usage in Terminal: make sure you've created your member.berry file, look below for explanation.

$ member-berries 

To force a rebuild:

$ member-berries-rebuild

Create your member.berry config file (a JSON file with the following keys: settings, components, stores, and constants):

{
	"settings" : {
		"directory" : "./app"
	},
	"components": [
		{
			"name" : "Nav",
			"type" : "pure"
		},
		"Layout",
		"TestScreen"
	],
	"stores": [
		"MainStore"
	],
	"constants" : [
		"App"
	]
}

This member.berry config file would create an './app' directory with the following folder structure:

/app/
|
|--- components/
|--- constants/
|--- stores/
|--- utils/

Sections

Components:

Each component you list can have the following options:

{
	"name" : "", // The Name of the Component
	"type" : "", // default|pure
	"dependencies" : [
		{ "name" : "", "dependency" : "" }, // Dependency with alias.
		"Layout" // Default dependency, no alias
	],
	"methods" : [""], // A list of method names to include in the component.
	"store" : {} // 
}

Licensed under MIT License.

0.3.20

8 years ago

0.3.19

8 years ago

0.3.18

8 years ago

0.3.17

8 years ago

0.3.16

8 years ago

0.3.15

8 years ago

0.3.14

8 years ago

0.3.13

8 years ago

0.3.11

8 years ago

0.3.10

8 years ago

0.3.9

8 years ago

0.3.8

8 years ago

0.3.7

8 years ago

0.3.6

8 years ago

0.3.5

8 years ago

0.3.4

8 years ago

0.3.3

8 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.1.4

8 years ago

0.1.0

8 years ago

0.0.24

8 years ago

0.0.22

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.0.21

8 years ago