spx-siae-react-components
v1.0.0
Published
To create a new component you need to use [nwb](https://github.com/insin/nwb).
Readme
siae-react-components
To create a new component you need to use nwb.
Either install it: npm install -g nwb
then run: nwb new react-component @spindox/my-component
or use npx (to run nwb without installing it):
npx nwb new react-component @spindox/my-component
You'll get a boilerplate component named @spindox/my-component
created under the folder:@spindox/my-component
Move the componenent folder 1 level up (at the same level of all the other components)
and then delete the now empty @spindox folder.
Place your component sources under the src folder,
and eventually fix the demo in demo/src.
Commit your component on its own branch that will be eventually merged to develop (through a pull request most likely) and to finally to master.
Once it gets to master you can publish the component: npm publish,
and tag it with my-component/version.
Also remember to delete the component branch once merged to develop
