SeedComponent [](https://travis-ci.org/hourliert/react-component-seed)
April 20, 2016 ยท View on GitHub
This project is a generic react component. It comes with a playground where you can test it. All the build process is handled by builder-react-comp.
Getting started
To start the playground, simply run:
npm install
npm start
The playground has react-hot-reload so you can edit your component in real time.
Project structure
./src: Source code./src/__tests__/: Test code./playground: Playground source code./types: Additionnal typescript definition files
Tasks
npm start: Start the playground and compile the component on file changenpm test: Run all component tests in jestnpm run lint: Lint the code of the componentnpm run tdd: Run all component tests in watch modenpm run release -- -- semverComptaibleString: Create a new component version. Check here to see how it works