{"id":19003306,"url":"https://github.com/verywow/vue-simple-rollup-lib-starter","last_synced_at":"2025-10-13T00:14:02.353Z","repository":{"id":135375279,"uuid":"128943311","full_name":"VeryWow/vue-simple-rollup-lib-starter","owner":"VeryWow","description":"A simple vue lib starter with rollup","archived":false,"fork":false,"pushed_at":"2018-04-10T15:59:11.000Z","size":19,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-13T00:14:01.868Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/VeryWow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-10T14:08:26.000Z","updated_at":"2018-04-10T15:59:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"5258dded-3139-4b30-ae56-a64d1ff2d565","html_url":"https://github.com/VeryWow/vue-simple-rollup-lib-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/VeryWow/vue-simple-rollup-lib-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VeryWow%2Fvue-simple-rollup-lib-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VeryWow%2Fvue-simple-rollup-lib-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VeryWow%2Fvue-simple-rollup-lib-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VeryWow%2Fvue-simple-rollup-lib-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VeryWow","download_url":"https://codeload.github.com/VeryWow/vue-simple-rollup-lib-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VeryWow%2Fvue-simple-rollup-lib-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013618,"owners_count":26085298,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-08T18:18:39.385Z","updated_at":"2025-10-13T00:14:02.334Z","avatar_url":"https://github.com/VeryWow.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-simple-rollup-lib-starter\nA simple vue lib starter with rollup\n\n## Usage\n\nJust download as ZIP or clone, delete `.git` folder and edit `package.json` to suit your project.\n\n## NPM scripts\n\n```bash\n# Runs example \u0026 docs with hot-reload\nnpm run dev\n\n# Builds a lib for different ES versions and browsers\nnpm run build\n\n# Builds docs for gitpages\nnpm run docs\n\n# Build docs and lib, increment version, commit everything, publish to npm and push to git\nnpm run patch # increment patch version\nnpm run minor # increment minor version\nnpm run major # increment major version\n```\n\n## Project directory outline\n\n```bash\n./ # Root\n ├── build/\n │    ├── bundles.js # A bundle config, defines polyfills and etc.\n │    ├── rollup.config.js # Rollup config.\n │    └── index.js\n ├── example/\n │    ├── src/\n │    ├── webpack.config.js # Webpack config for the example.\n │    └── .babelrc # Babel config for the example.\n ├── lib/\n │    ├── YourComponent.vue\n │    └── index.js\n └── config.js\n```\n\n## Configuration\n\n### `./config.js`\n\n```js\nmodule.exports = {\n  // Lib main entry\n  entry: 'lib/index.js',\n\n  // Lib entry with auto-install to window.Vue\n  entryWithAutoDefine: 'lib/index.auto.js',\n\n  // Lib compiled output\n  output: 'dist',\n\n  // Lib name\n  name: ''\n}\n```\n\n### `./build/bundles.js`\n\nA bundle config, defines polyfills and etc.\n\n```js\nmodule.exports = exports = {\n  // Key - rollup build format\n  ['cjs' || 'es6' || 'es7' || 'umd' || 'iife']: {\n    // Whether to minify the output\n    compress: true/false,\n\n    // Whether to auto-install the lib in this build\n    autoDefine: true/false,\n\n    // Define polyfills for the build\n    polyfills: {\n      // Polyfill arrow functions\n      arrows: true/false,\n\n      // Polyfill Object.assign and friends\n      assign: true/false,\n\n      // Polyfill async/await with promises\n      async: true/false,\n\n      // Polyfill promises \u0026 fetch\n      promise: true/false\n    },\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverywow%2Fvue-simple-rollup-lib-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fverywow%2Fvue-simple-rollup-lib-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverywow%2Fvue-simple-rollup-lib-starter/lists"}