Template for developing open-source vue.js libraries
You fell in love with Vue.js and want to create your own unit-tested and documented library to share with everyone but you don't want to spend the whole time set things up? This template is for you! It will take care of managing versioning and publishing to github and npm automatically, so you just need to focus on commiting your pieces of code. Packed with best-practices stuff(linters, preprocessors..) and publishable skeleton.
Rollup + Jest + Babel + Storybook + TravisCI + SemanticRelease + ❤️
$ npm install -g vue-cli $ vue init julon/vue-cli-template-library my-project $ cd my-project $ npm install $ npm run storybook
npm run build: Production-ready build.
npm run storybook: The UI Development Environment
npm run test: eslint & Unit-test with Jest
npm run test:watchto start Jest in watch-mode
npm run test:updateto start Jest and update component snapshot
npm run lint
npm run lint:fixto fix eslint errors
npm run cz: Commitizen support
You can fork this repo to create your own boilerplate, and use it with vue-cli:
vue init username/repo my-project