Demo React Component from POI boilerplate generator
yarn add generator-poi-boilerplate-demo
# or
npm install generator-poi-boilerplate-demo
For more details, see src/js/components/generator-poi-boilerplate-demo.js
Check out the generator-poi@2.1.1
docs
for info on the repo layout, structure and meaning.
This project is using np
as publisher helper. For more information, please check np
documentation
npm run start
: start component page example usingreact-storybook
;npm run watch
: start component page in watch mode example usingreact-storybook
,npm run demo:deploy
: Publishing your component page in your Github Pagenpm run build:page
: Creates your page bundle;npm run build:library
: Creates your component bundle to be published in your NPM repository (public or private). This bundle will NOT includereact-storybook
and other development dependencies;npm run serve:dist
: Creates a server based on the component page that will be deployed in your Github Page. This command is used to check the results locally before you deploy your component example page;npm run test
: Running unit tests using MochaJSnpm run tdd
: Running unit tests using MochaJS in watch mode. It will help you to create a component usingTest Driven Development
approach
See CHANGELOG.md.