{"id":18244667,"url":"https://github.com/devdevi/npm_library","last_synced_at":"2026-01-22T17:02:53.741Z","repository":{"id":38251353,"uuid":"269478805","full_name":"devdevi/npm_library","owner":"devdevi","description":"\"Components library based on vue-cli-4 POC\",","archived":false,"fork":false,"pushed_at":"2023-01-06T07:57:13.000Z","size":3328,"stargazers_count":0,"open_issues_count":24,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T18:52:30.097Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devdevi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-04T22:31:15.000Z","updated_at":"2020-06-04T22:33:17.000Z","dependencies_parsed_at":"2023-02-05T16:10:10.567Z","dependency_job_id":null,"html_url":"https://github.com/devdevi/npm_library","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devdevi/npm_library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devdevi%2Fnpm_library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devdevi%2Fnpm_library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devdevi%2Fnpm_library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devdevi%2Fnpm_library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devdevi","download_url":"https://codeload.github.com/devdevi/npm_library/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devdevi%2Fnpm_library/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28667310,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T14:01:31.714Z","status":"ssl_error","status_checked_at":"2026-01-22T13:59:23.143Z","response_time":144,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-05T09:17:17.592Z","updated_at":"2026-01-22T17:02:53.705Z","avatar_url":"https://github.com/devdevi.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# base\n\n## Project setup\n```\nnpm install\n```\n\n### Compiles and hot-reloads for development\n```\nnpm run serve\n```\n\n### Compiles and minifies for production\n```\nnpm run build\n```\n\n### Lints and fixes files\n```\nnpm run lint\nnpx vue-cli-service build --target lib --name buttons src/index.js\n```\n### Bulid as npm lib\n```\nnpx vue-cli-service build --target lib --name buttons src/index.js\n```\n### Bulid as npm lib\n```\nnpm publish --access=public\n\nnpm install --save @dscns/buttons\n\n```\nimport Vue from 'vue'\nimport App from './App.vue'\nimport '@company_name/components-lib/components-lib.css';\nimport * as ComponentsLib from '@company_name/components-lib';\n\nVue.config.productionTip = false\n\nVue.use({install: ComponentsLib.install});\n\nnew Vue({\n  render: h =\u003e h(App)\n}).$mount('#app')\n\n\u003ctemplate\u003e\n  \u003cdiv id=\"app\"\u003e\n    \u003cimg alt=\"Vue logo\" src=\"./assets/logo.png\"\u003e\n    \u003csection\u003e\n      \u003cbutton-component buttonText=\"Ejemplo de botón\"/\u003e\n      \u003cother-button-component buttonText=\"Ejemplo de botón\"/\u003e\n      \u003cbutton-group-component /\u003e\n    \u003c/section\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\n\n```\n  \"publishConfig\": {\n    \"registry\": \"https://npm.pkg.github.com\"\n  },\n   npm login --registry=https://npm.pkg.github.com --scope=@company_name\n   crea token en github\n   crear repo mismo nombre\n   npm publish\n\n```\n\n\u003cscript\u003e\nexport default {\n  name: 'app'\n}\n\u003c/script\u003e\n\nSee [Configuration Reference](https://www.paradigmadigital.com/dev/como-crear-libreria-componentes-vuejs/).\n### Customize configuration\nSee [Configuration Reference](https://cli.vuejs.org/config/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevdevi%2Fnpm_library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevdevi%2Fnpm_library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevdevi%2Fnpm_library/lists"}