{"id":15643014,"url":"https://github.com/julon/vue-cli-template-library","last_synced_at":"2025-04-16T05:57:39.311Z","repository":{"id":57395239,"uuid":"116424276","full_name":"julon/vue-cli-template-library","owner":"julon","description":"Template for developing open-source vue.js libraries with Rollup + Jest + Babel + Storybook + TravisCI + SemanticRelease","archived":false,"fork":false,"pushed_at":"2020-05-24T19:49:08.000Z","size":3663,"stargazers_count":61,"open_issues_count":17,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T05:05:41.308Z","etag":null,"topics":["babel","jest","linter","rollup","semantic-release","storybook","vue","vue-cli","vue-components","vuejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/julon.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-05T20:32:23.000Z","updated_at":"2024-09-09T07:24:32.000Z","dependencies_parsed_at":"2022-09-02T15:23:23.334Z","dependency_job_id":null,"html_url":"https://github.com/julon/vue-cli-template-library","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julon%2Fvue-cli-template-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julon%2Fvue-cli-template-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julon%2Fvue-cli-template-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julon%2Fvue-cli-template-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/julon","download_url":"https://codeload.github.com/julon/vue-cli-template-library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249205790,"owners_count":21229993,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["babel","jest","linter","rollup","semantic-release","storybook","vue","vue-cli","vue-components","vuejs"],"created_at":"2024-10-03T11:58:37.504Z","updated_at":"2025-04-16T05:57:39.291Z","avatar_url":"https://github.com/julon.png","language":"JavaScript","funding_links":[],"categories":["脚手架","Components \u0026 Libraries","Scaffold [🔝](#readme)","Scaffold"],"sub_categories":["顾客","Scaffold","Client"],"readme":"# vue-cli-template-library\n![Commitizen](https://img.shields.io/badge/Commitizen-enabled-brightgreen.svg)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n![Npm badge](https://img.shields.io/npm/v/vue-cli-template-library.svg)\n![Travis badge](https://img.shields.io/travis/julon/vue-cli-template-library.svg)\n[![Greenkeeper badge](https://badges.greenkeeper.io/julon/vue-cli-template-library.svg)](https://greenkeeper.io/)\n\n\u003e Template for developing open-source vue.js libraries\n\n\u003e 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.\n\n\u003e Rollup + Jest + Babel + Storybook + TravisCI + SemanticRelease + ❤️\n\n## Usage\n\n```bash\n$ npm install -g vue-cli\n$ vue init julon/vue-cli-template-library my-project\n$ cd my-project\n$ npm install\n$ npm run storybook\n```\n\n## What's included\n\n* `npm run build` : Production-ready build.\n  * Export to CommonJS, ES Modules, UMD(dev \u0026 minified)\n  * CSS is embedded in the JS by default\n  * Using Rollup to compute Vue, ES6 js files\n  * Pugjs and Stylus supported in vue files\n* `npm run storybook` : The UI Development Environment\n  * Based on webpack\n  * Pre-configured to work out of the box\n* `npm run test` : eslint \u0026 Unit-test with Jest\n  * Supports ES2015+ in test files\n  * Use `npm run test:watch` to start Jest in watch-mode\n  * Use `npm run test:update` to start Jest and update component snapshot\n* `npm run lint`\n  * Rules based on prettier:recommended, vue:recommended\n  * Import errors and warning detection\n  * Use `npm run lint:fix` to fix eslint errors\n* `npm run cz` : Commitizen support\n  * Loaded with Conventional-changelog rules\n  * Entrypoint to semantic-release automation\n* Semantic-release auto-deployment configuration\n  * Auto-generate changelog\n  * Auto-commit computed package version in git\n  * Auto-release in github\n  * Auto-publish to npm\n  * Enable this features by using the semantic-release-cli\n\n\n## Fork It And Make Your Own\nYou can fork this repo to create your own boilerplate, and use it with vue-cli:\n```bash\nvue init username/repo my-project\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulon%2Fvue-cli-template-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulon%2Fvue-cli-template-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulon%2Fvue-cli-template-library/lists"}