react-component-publisher
v1.0.5
Published
Boilerplate component publisher for React
Readme
React Component Publisher Playground
Boilerplate starter kit for creating and publishing React components
Easily create, export and publish React.js components. Unit tests and a basic development environment are already configured and ready to run via npm scripts.
Get Started
- Create components within
/src/componentsfolder. Export them from/src/index.jsx. - Write unit tests within
/srcfolder which follow this naming convention:<filename>.spec.jsx. - Build a playground browser application using your library of custom components within the
/playgroundfolder.
NPM Scripts
npm run serve: serve local static files from/playgroundfoldernpm run test: run unit tests in/srcfoldernpm run build: build production bundlenpm run build:dev: build development bundle onlynpm run watch: build development bundle in watch modenpm publish: publish package.buildandtestscripts will automatically run first.
