{"_id":"178me-v-ui","name":"178me-v-ui","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"178me-v-ui","version":"1.0.0","description":"Quickly create a component library for Vue 3","sideEffects":false,"type":"module","main":"es/index.js","module":"es/index.js","types":"es/index.d.ts","packageManager":"pnpm@7.8.0","exports":{".":{"import":"./es/index.js","require":"./dist/v-ui.cjs"},"./dist/*":"./dist/*","./es":"./es/index.js","./es/*":"./es/*","./src":"./src/index.ts","./src/*":"./src/*"},"repository":{"type":"git","url":"git+https://github.com/ckpack/v-ui.git"},"homepage":"https://ckpack.github.io/v-ui","author":{"name":"ckvv"},"license":"ISC","keywords":["vue","v-ui","vue-ui"],"scripts":{"husky":"husky install","link:npm":"npm link ./ && npm link @ckpack/v-ui","link:pnpm":"pnpm link ./","lint":"eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore","release":"standard-version","dev":"vite -c ./dev/vite.config.ts","build":"npm run build:es && npm run build:dist","build:es":"vite build  -c scripts/vite.es.ts","build:dist":"vite build -c scripts/vite.dist.ts","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:serve":"vitepress serve docs","gen":"vite-node ./scripts/gen.ts","postgen":"vite-node ./scripts/gen-compoents.ts"},"devDependencies":{"@antfu/eslint-config":"0.26.1","@commitlint/cli":"^17.0.3","@commitlint/config-conventional":"^17.0.3","@vitejs/plugin-vue":"^3.0.3","@vue/tsconfig":"^0.1.3","eslint":"^8.22.0","fast-glob":"^3.2.11","husky":"^8.0.1","lint-staged":"^13.0.3","sass":"^1.54.4","standard-version":"^9.5.0","typescript":"^4.7.4","unplugin-vue-define-options":"0.10.0","vite":"^3.0.8","vite-node":"^0.22.0","vite-plugin-dts":"^1.4.1","vitepress":"^1.0.0-alpha.8","vue":"^3.2.37"},"peerDependencies":{"vue":"^3.2.x"},"engines":{"node":">=16"},"lint-staged":{"*.{js,ts,mjs,cjs,tsx,jsx,vue}":["eslint --fix"]},"gitHead":"2a7a4f6f26d3fe20da0a1a610604a82ba587df71","bugs":{"url":"https://github.com/ckpack/v-ui/issues"},"_id":"178me-v-ui@1.0.0","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-q5h/BM280RFkoeq7vtCKVPvLLzT2YPtP59BoKh6Ea/l5uGnvVWrklg2nTMDSHNuhkm0P3dvxVA2xf4zy1+GGlg==","shasum":"58b8011916e0ac0257a242894ee31cbc72d6b9ce","tarball":"https://registry.npmjs.org/178me-v-ui/-/178me-v-ui-1.0.0.tgz","fileCount":76,"unpackedSize":44304,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBPZuf0JWVdolZ9kDXYEBFQwpKWow3TZ+scanyVc1k9OAiAeWMyxEbJ42iaAJj3uazeiUAnbz+MZVL+lOOCkpH2nVQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBYeTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmogbg//fYdRpMute75KhLm3Lnj4GuJdfDiLRk3lQIbiaoT/IJm5Vli3\r\nACZwdotfDlQzvP9mDHKMcdXHEbkqg2DymuhFk3h9zY/yDTXMO+LYofuxzboa\r\nSayoeTVbuoXDO7m1r+ie0Lm9yKvRtAFsBat84O/nXhu1503ohq1jr8fQsBw/\r\n7P46zyqwq8WsphYy3nywnIZypNkL8ZLSPYq9tg22GtAWKBO/Qvp+euY/7dqO\r\njS1kNVN8bMcq2HdeD/zet7CGuqG2SFLu7BpobHJnYiR7uwCkTZQ1fL+ouxgV\r\ndvPhVAtU86FsDI+ksFpem118MlDHwZm9z5oCXavX2f94UlpQWEmbyx6x4NMx\r\nF1xdzlK+S3M7w3Nn7z5eHEr6piMGrSMQkhaQxcqozAiR/RIayOSlj4/luagH\r\nCV6k0ehnqCaPKDO7qZlLrHo2XfRAHxx7HCHDkehMKhhM3lfuJOK1hB0eS6M6\r\nX6b9t2IwfiduEde+AKb6i030LrInkAJ6y19eDN3SVtkk9uk/fiJFzQjju4u/\r\nJASKFMfBuI0GnikpIMO+oNDFai7xQ8UkOn0xBALmbrzpb5qZ/zujKuRzs2sE\r\n0pd/tAcng938Kq3veUAkXNlwOBFO+6zwFOCIoBRMODBep+eYkKzCoxQ8323x\r\ngQI2xF+69cPEQwfuUdhaJibQyR8m/CNvBSI=\r\n=6KHX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"178me","email":"1403341393@qq.com"},"directories":{},"maintainers":[{"name":"178me","email":"1403341393@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/178me-v-ui_1.0.0_1661306771479_0.45877754719491604"},"_hasShrinkwrap":false}},"time":{"created":"2022-08-24T02:06:11.479Z","1.0.0":"2022-08-24T02:06:11.734Z","modified":"2022-08-24T02:06:11.870Z"},"maintainers":[{"name":"178me","email":"1403341393@qq.com"}],"description":"Quickly create a component library for Vue 3","homepage":"https://ckpack.github.io/v-ui","keywords":["vue","v-ui","vue-ui"],"repository":{"type":"git","url":"git+https://github.com/ckpack/v-ui.git"},"author":{"name":"ckvv"},"bugs":{"url":"https://github.com/ckpack/v-ui/issues"},"license":"ISC","readme":"<h1 align=\"center\">v-ui</h1>\n\n<h4 align=\"center\">\n  <a href=\"https://ckpack.github.io/v-ui/\">中文</a>\n  |\n  <a href=\"https://ckpack.github.io/v-ui/en/\">ENGLISH</a>\n</h4>\n\nYou can use this project to quickly create a component library based on vue 3.0. This is a super fast and super simple way to generate vue component library!\n\n## [Documentation](https://ckpack.github.io/v-ui/)\n\n## Features\n\n- Quickly add new components via commands\n- All components support on-demand loading by default\n- Customizable component prefix to avoid component name and style conflicts\n- Support component library document generation\n\n## Script commands\n\nFor detailed commands, refer to the `scripts` part of `package.json`\n\n```bash\n# Installation dependencies\nnpm install\n\n# Add new component\nnpm run gen component-name\n\n# Package your component library\nnpm run build\n\n# Check the code specification\nnpm run lint\n\n# Generate log file to release new version\nnpm run release\n\n# Generate documentation related commands\nnpm run docs:build\n```\n\n## download\n\n```bash\n# git clone\ngit clone https://github.com/ckpack/v-ui.git\n\n# download zip\nhttps://github.com/ckpack/v-ui/archive/refs/heads/main.zip\n```\n\n## Global replacement variables\n\n- `v-ui` is `you-project-name` such as `b-ui`\n- `ckpack` is `you-github-username` such as `my-github-username`\n\n## Modify component prefix\n\nThe default component prefix is ​​`V`, you can choose to modify the component prefix\nModify the file `src/defaultConfig.js`\n\n```js\n// modify the ouput when iife format, such as `TUI`\nexport const NAME = \"TUI\";\n// Modify the default component prefix, such as `B`\nexport const COMPONENT_PREFIX = \"B\";\n```\n\nThe default component class prefix is ​​`v-`, you can choose to modify the component class prefix\nModify the file `src/styles/config.scss`\n\n```scss\n// Modify the default component class prefix such as `t`\n$namespace: t !default;\n```\n\n## Start creating components\n\nUse `npm run gen component-name` to add new components. For example, execute the `npm run gen select` command, which will generate the `select` file directory under the `src/components/` directory, and edit the `select` under the folder. vue`file and`index.scss` file\n\n#### Preview the newly generated components\n\nIntroduce new components in the file `dev/app.vue`, execute `npm run dev` to preview the new components\n\n```diff\n<template>\n  <div id=\"app\">\n    <ConfigProvider>\n+ <Select></Select>\n    </ConfigProvider>\n  </div>\n</template>\n<script setup>\nimport {\n+ ConfigProvider, Select,\n} from'../src';\n</script>\n\n```\n\n#### Add new component document\n\nAdd the document corresponding to the component name in the `docs/guide/compoents` folder, execute `npm run docs:dev` to preview the document\n\n```md\n<!-- docs/guide/compoents/select.md -->\n\n# Select\n\nTest component\n\n<v-select></v-select>\n```\n","readmeFilename":"README.md"}