{"_id":"@djplaner/university-date-calendar","_rev":"2-15df67929731865f3cd18b9ebd360414","name":"@djplaner/university-date-calendar","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.1":{"name":"@djplaner/university-date-calendar","version":"0.0.1","description":"Singelton helper for university-date component","main":"university-date-calendar.js","module":"university-date-calendar.js","type":"module","repository":{"type":"git","url":"git+https://github.com/djplaner/university-date-calendar.git"},"scripts":{"build":"echo \"This is not a TypeScript project, so no need to build.\"","lint":"npm run lint:lit-analyzer && npm run lint:eslint","lint:eslint":"eslint '**/*.js'","lint:lit-analyzer":"lit-analyzer my-element.js","format":"prettier \"**/*.{cjs,html,js,json,md,ts}\" --ignore-path ./.eslintignore --write","docs":"npm run docs:clean && npm run analyze && npm run docs:build && npm run docs:assets && npm run docs:gen","docs:clean":"rimraf docs","docs:gen":"eleventy --config=.eleventy.cjs","docs:gen:watch":"eleventy --config=.eleventy.cjs --watch","docs:build":"rollup -c --file docs/my-element.bundled.js","docs:assets":"cp node_modules/prismjs/themes/prism-okaidia.css docs/","docs:serve":"wds --root-dir=docs --node-resolve --watch","analyze":"wca analyze \"**/*.js\" --outFile custom-elements.json","serve":"wds --watch","test":"wtr","test:watch":"npm run test -- --watch","checksize":"rollup -c ; cat my-element.bundled.js | gzip -9 | wc -c ; rm my-element.bundled.js"},"keywords":["web-components","lit-element","javascript","lit"],"author":{"name":"Google LLC"},"license":"BSD-3-Clause","dependencies":{"lit":"^2.0.0-rc.1","lit-element":"^3.0.0-rc.1"},"devDependencies":{"@11ty/eleventy":"^0.12.1","@11ty/eleventy-plugin-syntaxhighlight":"^3.0.1","@esm-bundle/chai":"^4.1.5","@open-wc/testing":"^2.5.32","@open-wc/testing-karma":"^4.0.9","@rollup/plugin-node-resolve":"^9.0.0","@rollup/plugin-replace":"^2.3.3","@types/mocha":"^7.0.2","@web/dev-server":"0.0.29","@web/dev-server-legacy":"^0.1.4","@web/dev-server-rollup":"^0.2.7","@web/test-runner":"^0.12.15","@web/test-runner-mocha":"^0.3.5","@web/test-runner-playwright":"^0.8.4","@webcomponents/webcomponentsjs":"^2.5.0","babel-eslint":"^10.1.0","deepmerge":"^4.2.2","eslint":"^6.8.0","lit-analyzer":"^1.1.10","mocha":"^7.1.1","prettier":"^2.0.4","rimraf":"^3.0.2","rollup":"^2.28.2","rollup-plugin-summary":"^1.2.3","rollup-plugin-terser":"^7.0.2","web-component-analyzer":"^1.0.3"},"gitHead":"0d6cdcdced0f123041bd5cdb016e3aa9f5a5c6b6","bugs":{"url":"https://github.com/djplaner/university-date-calendar/issues"},"homepage":"https://github.com/djplaner/university-date-calendar#readme","_id":"@djplaner/university-date-calendar@0.0.1","_nodeVersion":"14.17.0","_npmVersion":"7.17.0","dist":{"integrity":"sha512-lZuRPlVVtyDES2X5T6XEqMwhfIo+I6xUIeLDfObLlBC0ToWAc+qJDUBNzKfCMpFnTJMKWF+DZc/VOhUTXTxfEQ==","shasum":"b938bb2d22ad6702accf9ee9baade64fc221429b","tarball":"https://registry.npmjs.org/@djplaner/university-date-calendar/-/university-date-calendar-0.0.1.tgz","fileCount":40,"unpackedSize":70442,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgzYFACRA9TVsSAnZWagAA+cIP/ReUajDohXkPRj5GhRWO\nlLaHQe1CNTquc+ftPkF2rslZExNcIgpux9PKxixD3d0qTVIVb6Ocrb1QDysx\n1Q7BQhLhrfzsQWAimcdHihn5Cb2xXNNcqnXT8+JZwDL8UWJwEo9yXTN9t4Om\ntydgbyJdRgp+FAGaW0b4930bswXa+F4Lq+z49taJhNEllmtXNk6+Gq+dNlV7\nYTUGF/+8Bq/kkfT1v1JAUt5k/G55aJfrw7OGmerFgpRPtJVkCuNg5IM5KgKA\ntVEor1MVLXISgsEVkl8RYmMhIiG1iXTxvAL4s+UKeoNgv1s2PWDXCwtT002A\n5spnRxVthdyrWRE7/0Rvq5YDjsiFwl2NfVioQ5REuXmipIfzk0LcryTQ6nAx\nr49DbGwNLmStnAOxoZFnerkQVqPws8uG+sOYkvGtG84Tsr5JJgU11QeG/ePg\nopza4i2BsWFx0gUF5QwK82OCH3UmjyvcEYkRjLV20pYh1f7vEAMdcdDn1ZQZ\n4tUUF8jYoCBK6uSu6rDfW8zHk3gSi57fDRz29HDJkO0YIKHwGrJqLrpGlO7T\nLvfeF+5Aa6+9JvZsjMAp15Cs/qmlsgJzoog3kSS5ihZbcRwVWU5CaQT7Mlep\n5S/2ceW1HiRh9MWot3NGjO1bTWsQHkaOFgq9jk69tE4HwYokH2GMr67YKP/T\nniVV\r\n=LjHV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXqsoI5ubD8ZQwwUaVpDqGuWtAH7mDJM6Sc0gxPla3ZAIhAPy6d8XHmcyHhxm4CiRak/REs0Ss0R2CpEi0EYkY73c7"}]},"_npmUser":{"name":"djplaner","email":"davidthomjones@gmail.com"},"directories":{},"maintainers":[{"name":"djplaner","email":"davidthomjones@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/university-date-calendar_0.0.1_1624080703863_0.6956329024732"},"_hasShrinkwrap":false},"0.1.0":{"name":"@djplaner/university-date-calendar","version":"0.1.0","description":"Singelton helper for university-date component","main":"university-date-calendar.js","module":"university-date-calendar.js","type":"module","repository":{"type":"git","url":"git+https://github.com/djplaner/university-date-calendar.git"},"scripts":{"build":"echo \"This is not a TypeScript project, so no need to build.\"","lint":"npm run lint:lit-analyzer && npm run lint:eslint","lint:eslint":"eslint '**/*.js'","lint:lit-analyzer":"lit-analyzer my-element.js","format":"prettier \"**/*.{cjs,html,js,json,md,ts}\" --ignore-path ./.eslintignore --write","docs":"npm run docs:clean && npm run analyze && npm run docs:build && npm run docs:assets && npm run docs:gen","docs:clean":"rimraf docs","docs:gen":"eleventy --config=.eleventy.cjs","docs:gen:watch":"eleventy --config=.eleventy.cjs --watch","docs:build":"rollup -c --file docs/my-element.bundled.js","docs:assets":"cp node_modules/prismjs/themes/prism-okaidia.css docs/","docs:serve":"wds --root-dir=docs --node-resolve --watch","analyze":"wca analyze \"**/*.js\" --outFile custom-elements.json","serve":"wds --watch","test":"wtr","test:watch":"npm run test -- --watch","checksize":"rollup -c ; cat my-element.bundled.js | gzip -9 | wc -c ; rm my-element.bundled.js"},"keywords":["web-components","lit-element","javascript","lit"],"author":{"name":"Google LLC"},"license":"BSD-3-Clause","dependencies":{"lit":"^2.0.0-rc.1","lit-element":"^3.0.0-rc.1"},"devDependencies":{"@11ty/eleventy":"^0.12.1","@11ty/eleventy-plugin-syntaxhighlight":"^3.0.1","@esm-bundle/chai":"^4.1.5","@open-wc/testing":"^2.5.32","@open-wc/testing-karma":"^4.0.9","@rollup/plugin-node-resolve":"^9.0.0","@rollup/plugin-replace":"^2.3.3","@types/mocha":"^7.0.2","@web/dev-server":"0.0.29","@web/dev-server-legacy":"^0.1.4","@web/dev-server-rollup":"^0.2.7","@web/test-runner":"^0.12.15","@web/test-runner-mocha":"^0.3.5","@web/test-runner-playwright":"^0.8.4","@webcomponents/webcomponentsjs":"^2.5.0","babel-eslint":"^10.1.0","deepmerge":"^4.2.2","eslint":"^6.8.0","lit-analyzer":"^1.1.10","mocha":"^7.1.1","prettier":"^2.0.4","rimraf":"^3.0.2","rollup":"^2.28.2","rollup-plugin-summary":"^1.2.3","rollup-plugin-terser":"^7.0.2","web-component-analyzer":"^1.0.3"},"gitHead":"cd789b07bc61587486943dbea9025dd33606c6ff","bugs":{"url":"https://github.com/djplaner/university-date-calendar/issues"},"homepage":"https://github.com/djplaner/university-date-calendar#readme","_id":"@djplaner/university-date-calendar@0.1.0","_nodeVersion":"14.17.0","_npmVersion":"7.17.0","dist":{"integrity":"sha512-4sQqxSNkdmWxHiPqnKOnekJaXDsasI0F7HTWc5ZPPBJtE54uuFl6sYkG0DHYzdKzEB0gPVOAizPDBTHRvD8Urw==","shasum":"1d54e33ad76cf7156efbf803ff74c5be8fbc320b","tarball":"https://registry.npmjs.org/@djplaner/university-date-calendar/-/university-date-calendar-0.1.0.tgz","fileCount":40,"unpackedSize":71279,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgzoKgCRA9TVsSAnZWagAAOy0P/3aD18gTZYJdQbHpHKE1\nYk1EI3TUHgdZ/yCEwTeyFcwtuJ/Rb/cg1WJadw4dQ/rYjiInxsJke264jxB8\nJiVGiojyYXs53yNAdaQyXswyohf+5/PPsy1c8ll+BeiIkX7o99sXW/nhicMH\njpwY2i+R2fOpQAMjdC/wZakqG0IIwCUOufFqt1Rvikux4wUtVZVw9/HYerZk\nrVSxySPOFfNoSbTTnCOMTSbxfSEZEZLexPHSoz4/nEpqNSkKAtt5Uhe1CZUq\nJUrWq+GS54oKUcQshHu6qLW1p/2gNR/ASWlaPdmvCNIMy58My3KEVrseK0Gd\nQwDtd2k8rLNw16p1XNQ5C0YLYAXeSG2wvTb8rQwTVZlOoefhtWKJfEXRIyfF\n5iIIdnl2TFe1dzZXzzjThCigjIvlrO/f1k9u7K6uLRcLx60VMPD/jOvDzyXV\nyq+uBYlFCMLwiMT0TXT/9bgcatqlWlUK+YlD9HVLRSkUqEDJ0qpf3gEq0RIa\nZPvyHUvAoocmkxxPqLn2K0zrnypOAp6vCbsyCURVP6ZZx3/QWwGLugpEJ9X2\nB6PiHsU4ys93IZOI1agioSznsUC76eKC7rCMAsOY5zkoWHAF8r1ir58wNuXU\nzt5pRDPo0doAep/+P8+oMf8u2lHTdVFbxhjtEYcbkkVAUMsjV0y2UrHu4ZjE\nfvU6\r\n=jkiM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAuHhcgWET8LriImBUANocnsM5Wak7RG0s+hdfy7Aw3+AiEAwVxAAfFu6hTfgPr3aiUckv6w7cAjImG0q9zgbxSLhPo="}]},"_npmUser":{"name":"djplaner","email":"davidthomjones@gmail.com"},"directories":{},"maintainers":[{"name":"djplaner","email":"davidthomjones@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/university-date-calendar_0.1.0_1624146590366_0.49441950992055883"},"_hasShrinkwrap":false}},"time":{"created":"2021-06-19T05:31:43.791Z","0.0.1":"2021-06-19T05:31:44.002Z","modified":"2022-04-05T04:50:34.690Z","0.1.0":"2021-06-19T23:49:50.484Z"},"maintainers":[{"name":"djplaner","email":"davidthomjones@gmail.com"}],"description":"Singelton helper for university-date component","homepage":"https://github.com/djplaner/university-date-calendar#readme","keywords":["web-components","lit-element","javascript","lit"],"repository":{"type":"git","url":"git+https://github.com/djplaner/university-date-calendar.git"},"author":{"name":"Google LLC"},"bugs":{"url":"https://github.com/djplaner/university-date-calendar/issues"},"license":"BSD-3-Clause","readme":"# university-date-calendar\n\nExperiment with singleton web component (based on [example](https://github.com/elmsln/lrnwebcomponents/tree/master/elements/file-system-broker#readme) from [@bto-pro](https://twitter.com/btopro))\n\nIntent is to allow different universities to provide institution specific date information and methods for use with the [university-date component](https://github.com/djplaner/university-date)\n\n## Current institution specific data/methods\n\nCALENDAR\n- Specifies the start/stop dates for the weeks for all periods (e.g. semesters) for an institution\n- Object of objects (hash of hashs for Perl folk)\n\ngetCurrentPeriod\n- Function that figures out what the current period based on content in the current web page.\n- The example looks for the period within a specific element\n\n## Setup\n\nInstall dependencies:\n\n```bash\nnpm i\n```\n\n## Example\n\nThere is an example HTML file located at `/dev/index.html` \n","readmeFilename":"README.md"}