{"_id":"@cobre-forked/v-calendar","_rev":"1-1f86a73ac9ca545f8d9b86ad2b7ca844","name":"@cobre-forked/v-calendar","dist-tags":{"latest":"3.0.0-alpha.7"},"versions":{"3.0.0-alpha.7":{"name":"@cobre-forked/v-calendar","version":"3.0.0-alpha.7","private":false,"description":"A clean and extendable plugin for building simple attributed calendars in Vue.js.","author":{"name":"Nathan Reyes","email":"nathanreyes@me.com"},"contributors":[{"name":"Leon Plata","email":"pcg.leon@outlook.com"}],"main":"lib/cjs/index.js","module":"lib/esm/index.js","unpkg":"lib/vcalendar.min.js","types":"types/index.d.ts","license":"MIT","homepage":"https://vcalendar.io","keywords":["vue","vuejs","plugin","calendar","datepicker","date picker","highlights","dots","bars","indicators"],"repository":{"type":"git","url":"git+https://github.com/leonplata-barbri/v-calendar.git"},"scripts":{"serve":"vue-cli-service serve","dev":"vuepress dev docs","build":"vue-cli-service build","build:es":"rimraf lib && cross-env NODE_ENV=production rollup --config rollup.config.js --format es","build:lib":"rimraf lib && cross-env NODE_ENV=production rollup --config rollup.config.js","build:lib_css":"rimraf lib && cross-env NODE_ENV=production SEP_CSS=true rollup --config rollup.config.js","deploy:docs":"vuepress build docs && netlify deploy","lint":"vue-cli-service lint","test":"vue-cli-service test:unit --watch"},"dependencies":{"@types/lodash":"^4.14.165","core-js":"^3.7.0","date-fns":"^2.16.1","date-fns-tz":"^1.0.12","lodash":"^4.17.20"},"devDependencies":{"@babel/preset-env":"^7.12.1","@babel/preset-typescript":"7.12.0","@popperjs/core":"2.4.0","@rollup/plugin-alias":"^3.1.1","@rollup/plugin-babel":"^5.2.1","@rollup/plugin-commonjs":"^14.0.0","@rollup/plugin-image":"^2.0.5","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^9.0.0","@rollup/plugin-replace":"^2.3.3","@rollup/plugin-url":"^5.0.1","@typescript-eslint/eslint-plugin":"2.33.0","@typescript-eslint/parser":"2.33.0","@vue/cli-plugin-babel":"4.5.0","@vue/cli-plugin-eslint":"4.5.0","@vue/cli-plugin-typescript":"4.5.0","@vue/cli-plugin-unit-jest":"~4.5.4","@vue/cli-service":"~4.5.0","@vue/compiler-sfc":"^3.0.0","@vue/eslint-config-airbnb":"^5.0.2","@vue/eslint-config-prettier":"6.0.0","@vue/eslint-config-typescript":"5.0.2","@vue/test-utils":"1.0.3","autoprefixer":"^9.7.8","babel-eslint":"^10.1.0","babel-jest":"^22.0.4","cross-env":"^7.0.2","eslint":"^6.8.0","eslint-plugin-prettier":"3.1.3","eslint-plugin-vue":"^7.1.0","husky":"^4.3.0","lint-staged":"^10.4.2","postcss":"^8.0.0","postcss-import":"12.0.1","postcss-inline-svg":"^4.1.0","postcss-loader":"^4.0.4","postcss-nested":"^4.2.1","postcss-simple-vars":"5.0.2","postcss-url":"^8.0.0","rimraf":"^3.0.2","rollup":"^2.30.0","rollup-plugin-css-only":"^2.1.0","rollup-plugin-postcss":"^4.0.0","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"0.28.0","rollup-plugin-vue":"^6.0.0","typescript":"3.9.3","vue":"^3.0.0","vue-cli-plugin-webpack-bundle-analyzer":"^2.0.0"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/vue3-essential","eslint:recommended"],"parserOptions":{"parser":"babel-eslint"},"rules":{}},"browserslist":["> 1%","last 2 versions","not dead"],"peerDependencies":{"@popperjs/core":"^2.4.0","vue":"^3.0.0"},"gitHead":"b45b63853db46d23bfe2c86fd264643b76f22450","bugs":{"url":"https://github.com/leonplata-barbri/v-calendar/issues"},"_id":"@cobre-forked/v-calendar@3.0.0-alpha.7","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-dWP3Zstyp52iJbvbp+SoL6a2z55IPcg92lHfd71scB6mB/5X2tiFvskV7+SyRxeTJfV5O/P5Wyz7qMs6F7xVyA==","shasum":"9c4d75057d4321662bbb0b736edf6990afaea76a","tarball":"https://registry.npmjs.org/@cobre-forked/v-calendar/-/v-calendar-3.0.0-alpha.7.tgz","fileCount":114,"unpackedSize":3924496,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhxIxjCRA9TVsSAnZWagAAao8P/2A68dZHpMOpXwMAd1FC\nMthRJHCRIQTTIvfoio1Bhn7RbR5qqkWtl4o2pzkrIx63Zd5JPNNzx27HEu6W\nQuy0ynnQQ030AqVIeAwfCq5QC2QCUxP8Qe8xpNZgtWbuUtgny/go/pwLmVUW\naWoAPfSW5+lernDtSH7jqxr4hJ0ZnTgzJbb3bofSPwgHIxHe/CQfya/WrCqj\nmjmNUin2lV0dunJk2JPxWq/Za17z2hOzbESjuc7ABkKuJ6ulvj/ev8VO62iC\nHT1+DK+NXG7m6TAwjKq5ONgBgTUsUDXaP2+jWhJ+NxnVWcX2gYTPXvnu3rc/\nxGO87Aoz/tXsCFcxOW3vbNJ/6zcmQroOvoPQSlO0a8t0ViZBN2+9n17Idtz1\ntzU8U1hinmUp95BzLkYwUirWjcKqT9pYAZCExCLwnjcY2ZRXXgDL6BURZrSg\nrwdlxr+WIbkicIgU3Fa5UyGeXh8hyciFMko02yRPd7pktXD316M1/GiP/q79\nVsWORGuYOx3dXXpI5FT/4UHAl6lPO2uzudX/PZU9jhoiGCjE4lJfs8xu89+f\nU66XzDu1WU2ClqQ0zLgGK6/wgtCBfDjFfnS/RcCPG815CowDuawa4sj1zq8W\n9G7W9W1iNNMYFZLbqx6OqBbhaWTY5Gta7XAqd+j/6DVil0HtLG+lqM+i/LlU\nPGN6\r\n=DkTn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFp+OtRS8dJarDydphRJx1jaP6Wo7I8lfNgDiT8MUBlFAiEA8lV4S8HjwrqFPVFO3mCLXQcCJ9kdCx3BtQu2cOMJ9D8="}]},"_npmUser":{"name":"leonplata","email":"pcg.leon@outlook.com"},"directories":{},"maintainers":[{"name":"leonplata","email":"pcg.leon@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v-calendar_3.0.0-alpha.7_1640270946900_0.36370345000147"},"_hasShrinkwrap":false}},"time":{"created":"2021-12-23T14:49:06.822Z","3.0.0-alpha.7":"2021-12-23T14:49:07.124Z","modified":"2022-04-04T23:54:06.364Z"},"maintainers":[{"name":"leonplata","email":"pcg.leon@outlook.com"}],"description":"A clean and extendable plugin for building simple attributed calendars in Vue.js.","homepage":"https://vcalendar.io","keywords":["vue","vuejs","plugin","calendar","datepicker","date picker","highlights","dots","bars","indicators"],"repository":{"type":"git","url":"git+https://github.com/leonplata-barbri/v-calendar.git"},"contributors":[{"name":"Leon Plata","email":"pcg.leon@outlook.com"}],"author":{"name":"Nathan Reyes","email":"nathanreyes@me.com"},"bugs":{"url":"https://github.com/leonplata-barbri/v-calendar/issues"},"license":"MIT","readme":"# WARNING\r\nThis repository was forked from https://github.com/nathanreyes/v-calendar to add patches\r\nfor specific scenarios and make experiments, please consider to check the original repository first.\r\n\r\n# VCalendar Plugin for Vue 3\r\n\r\nA Vue plugin for for attributed calendars date pickers using Vue 3, Typescript and Rollup.\r\n\r\n### Install Plugin\r\n\r\n```shell\r\nyarn add v-calendar@next\r\n```\r\n\r\n### Use Plugin\r\n#### Method 1: Use Globally\r\n\r\n```js\r\nimport { createApp } from 'vue';\r\nimport VCalendar from 'v-calendar';\r\n\r\n// Method 1\r\nimport VCalendar from 'v-calendar';\r\n// Create the app\r\ncreateApp(App)\r\n  // Use the plugin with optional defaults\r\n  .use(VCalendar, {})\r\n  // Mount the app\r\n  .mount('#app');\r\n```\r\n\r\n```html\r\n<template>\r\n  <v-calendar />\r\n  <v-date-picker v-model=\"date\" />\r\n</template>\r\n```\r\n\r\n### Method 2: Use Components Globally\r\n\r\n```js\r\nimport { createApp } from 'vue';\r\nimport { SetupCalendar, Calendar, DatePicker } from 'v-calendar';\r\n\r\n// Create the app\r\ncreateApp(App)\r\n  // Setup the plugin with optional defaults\r\n  .use(SetupCalendar, {})\r\n  // Use the components\r\n  .component('Calendar', Calendar)\r\n  .component('DatePicker', DatePicker)\r\n  // Mount the app\r\n  .mount('#app');\r\n```\r\n\r\n```html\r\n<template>\r\n  <Calendar />\r\n  <DatePicker v-model=\"date\" />\r\n</template>\r\n```\r\n\r\n### Method 3: Use Components As Needed\r\n\r\n```html\r\n<template>\r\n  <Calendar />\r\n  <DatePicker v-model=\"date\">\r\n</template>\r\n```\r\n\r\n```js\r\nimport { Calendar, DatePicker } from 'v-calendar';\r\n\r\nexport default {\r\n  components: {\r\n    Calendar,\r\n    DatePicker,\r\n  },\r\n  data() {\r\n    return {\r\n      date: new Date(),\r\n    };\r\n  },\r\n}\r\n```\r\n\r\n## Source setup\r\n\r\nPlease follow below mentioned step to run this project:\r\n\r\n### Clone the repo\r\n\r\n```shell\r\ngit clone https://github.com/nathanreyes/v-calendar\r\n\r\n# Move to directory\r\ncd v-calendar\r\n```\r\n\r\n### Install dependencies\r\n\r\n```shell\r\nyarn\r\n```\r\n\r\n### Switch to `/next` branch\r\n\r\n```shell\r\ngit checkout next\r\n```\r\n\r\n### Compile and hot-reload for development\r\n\r\n```shell\r\nyarn serve\r\n```\r\n\r\n### Compile and minify for production\r\n\r\n```shell\r\nyarn build\r\n```\r\n\r\n### Build Library\r\n\r\n```shell\r\n# ES\r\nyarn build:es\r\n\r\n# ES, CommonJS and IIFE\r\nyarn build:lib\r\n\r\n# ES, CommonJS, IIFE and CSS\r\nyarn:build:lib_css\r\n```\r\n\r\n### Lint and fix files\r\n\r\n```shell\r\nyarn lint\r\n```\r\n","readmeFilename":"README.md"}