Boilerplate for creating Doz components
$ git clone https://github.com/dozjs/doz-component-starter.git your-component-folder
Install dev dependencies
$ npm install
- Change tag name in
index.js
anddist/index.html
- Write your component inside
src/
folder - Edit package.json with your info
- Set your remote repo
- Development:
- run script
start
- run script
- Production:
- run script
build:production
- run script
- Testing:
- run script
test
- run script
- Publish on NPM, you can run scripts below (automatically build for production)
release:major
(publish a major)release:minor
(publish a minor)release:patch
(publish a patch)
- Replace README.md content with README.md.sample
You can view the changelog here
doz-component-starter is open-sourced software licensed under the MIT license