{"_id":"@alya-mirror/asm-date-time","_rev":"3-f168104a7cdc6207677bb44d45c5fe8a","name":"@alya-mirror/asm-date-time","dist-tags":{"latest":"0.0.4"},"versions":{"0.0.2":{"name":"@alya-mirror/asm-date-time","version":"0.0.2","description":"A react component that shows date/time for alya-smart-mirror","engines":{"node":">=6.0.0"},"main":"public/electron.js","module":"es/component/index.js","files":["es","lib"],"scripts":{"build":"nwb build-react-component --copy-files","clean":"nwb clean-module","test":"react-scripts test --env=jsdom","electron-start":"react-scripts start","dev":"concurrently \"cross-env BROWSER=none yarn electron-start\" \"wait-on http://localhost:3000 && electron .\""},"dependencies":{"electron-is-dev":"^0.3.0","electron-log":"^2.2.13","electron-updater":"^2.17.8","moment":"^2.20.1","node-notifier":"^5.1.2","socket.io-client":"^2.1.1","w3-css":"^4.1.0"},"peerDependencies":{"react":"16.x"},"devDependencies":{"concurrently":"^3.5.1","cross-env":"^5.1.3","electron":"^1.7.10","electron-builder":"^19.49.4","nwb":"0.20.x","react":"^16.2.0","react-dom":"^16.2.0","react-scripts":"1.0.17","wait-on":"^2.0.2"},"author":"","homepage":"","license":"MIT","repository":"","keywords":["react-component","alya-smart-mirror"],"gitHead":"6352e25a1f897129fea8550e0d6178240b242525","_id":"@alya-mirror/asm-date-time@0.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"alialsaeedi","email":"alialsaeedi19@gmail.com"},"dist":{"integrity":"sha512-tgAvWzv7P7IGgs0jxSN2Sbcqun0ts3XHhIHLomPsvoBDiFygs1ViuuHYFpys6JNEQ7TdzdXu/EugU4/8nUQZdw==","shasum":"ff926fd24de5e13ebee56bf6689f8f1c3f7106cc","tarball":"https://registry.npmjs.org/@alya-mirror/asm-date-time/-/asm-date-time-0.0.2.tgz","fileCount":14,"unpackedSize":13820,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbPQXXCRA9TVsSAnZWagAAa+0P/RhkhK8joVBwHx9b61DK\n+ve2Lw3Bm0nCW6Rbr6vPnwiHoSumyo5HKF2EVSeUyri0idULnBsOUiPJN4+M\nDOHoXS3O5z20eBXeRTNNaZctOhwg5Dl4JG4MO6u4P6zWYrmEE3m+qhEAMRBW\nDEpvkN9ME6TmagedpH6XueIMungbb3J5SL0JOVgMAIfT4GKiG4F2J61f2iO7\nJC3LHV0KJ922JrMJsEouQpqIXe62x4tGD2BkKdcAnxW8ZFF8uuvglFBazj2/\nC0yD2NhmCdiHpSzF+Q0kDvTSZXoymoljFzHR53H4Zj8qYGF92+cTbfyhKLJd\nP4SsqWyGRvRmPj4gZbPiCMtrwPfCarDSFFlFy57HzIZQ0/vn1RNNXGh8/hQU\nxwz4pEPda8yitlJqYLwVXBN+v4uRg1nDuK6RTQgUgGQRe7iG+9Vd4DiLQnQt\n9NAETCPaz5pOIxVxo5UuvQJaVGe9bPijDwwCe9tiKjzfg4nJ2QIeyFXY6dkC\nokW9YcGA3vAGqaXVTDK0zvgzIbocxKpml7UJ+pqD4tLIBFxGZ84OY4OAUQWo\nfEE2IeRVs/DK2XbcVoXhy1mmSz+NPhEDMC1bNTua5whAiJc/vy21ZX2mkKD+\n/WzYXcoPQ79CPAf7wy5nFRD7oLyXDalbk3KwE5v6EgoGWqhk5DFzYgkyOUPm\nmgnd\r\n=J1+E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnB25glxTBWVrbQH/cfE6JcV5BOqmZiWd2i7EoBuMLjAIgHRbW678wyD4+73pVtqK1VxyziIUTQBIhCC0pJ3Bjiw8="}]},"maintainers":[{"name":"alialsaeedi","email":"alialsaeedi19@gmail.com"},{"name":"alronz","email":"bilal_alsaidi@yahoo.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/asm-date-time_0.0.2_1530725847777_0.8498962271651707"},"_hasShrinkwrap":false},"0.0.3":{"name":"@alya-mirror/asm-date-time","version":"0.0.3","description":"A react component that shows date/time for alya-smart-mirror","engines":{"node":">=6.0.0"},"main":"public/electron.js","module":"es/component/index.js","scripts":{"build":"nwb build-react-component --copy-files","clean":"nwb clean-module","test":"react-scripts test --env=jsdom","electron-start":"react-scripts start","dev":"concurrently \"cross-env BROWSER=none yarn electron-start\" \"wait-on http://localhost:3000 && electron .\""},"dependencies":{"electron-is-dev":"^0.3.0","electron-log":"^2.2.13","electron-updater":"^2.17.8","moment":"^2.20.1","node-notifier":"^5.1.2","socket.io-client":"^2.1.1","w3-css":"^4.1.0"},"peerDependencies":{"react":"16.x"},"devDependencies":{"concurrently":"^3.5.1","cross-env":"^5.1.3","electron":"^1.7.10","electron-builder":"^19.49.4","nwb":"0.20.x","react":"^16.2.0","react-dom":"^16.2.0","react-scripts":"1.0.17","wait-on":"^2.0.2"},"author":{},"homepage":"http:","license":"MIT","repository":{"type":"git","url":""},"keywords":["react-component","alya-smart-mirror"],"licenseText":"MIT License\n\nCopyright (c) 2017 Bilal Al-Saeedi\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@alya-mirror/asm-date-time@0.0.3","dist":{"shasum":"45c04251f8a72a0f9d1deb2d8cfdf9faeccf5454","tarball":"https://registry.npmjs.org/@alya-mirror/asm-date-time/-/asm-date-time-0.0.3.tgz","integrity":"sha512-4Hi0a6YwX3kdIBMB/IeZMC6AQf5UHq99NfMZ4SlWoygMFwE5QwDY/SacNAFS3Plk252F41STf3Me0jxEF8+Z3A==","fileCount":22,"unpackedSize":13397,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbz8PKCRA9TVsSAnZWagAAAucP/2BegTYlSVKOsnZARKSS\nHG88hY+LtR5wUk5QqH9n6xy8tobk+PGoZ6pYgApywsBuwJhCxRGSdkl5xEsX\nvW0iIPr6R9NEoyTUQYI3Q4SDxwjaqPXLNK/3obGYSjzM4MqaAUvdfMjW/IMt\n+u6joh7ER6Qbffza7eZgYXyfzlKDrD1D4ULD+aNq9XuRvYwAHcZeyzDLgIeo\nq/Hu4cxinGG0HDtrEUZayOR3Jpc9sB6mdC7U4MWDMi63d4KzEuHFy6zRkRBA\n+8/UYRiieBDKOIamo60oxPxb/bN09czBvryEuoYagg3oHVmPp9fQpsybpv29\nPmGYS3dQNduCVxdFzhFQqRgP/bEbcl4mxyjsFIE9oGxrGWhVic9DiVWEHDnS\nTTDg/GLpDEVVZomyeHr67+mzVrehqtlEwj2TpbrSDCZAm7eZ0lppACXOFB7O\nGnhL9B3qAmCXG44oPCyTG8ePn+5UrczEmNOAm0LLGuix7Vm6ILIH3YfTPkwn\npE957HMS5pvIcaR43hNhccs91Us8AdvNCDu4esa6dZCrsNBdYcKPQlOL4hYQ\nbYB6Kt3/Fg3L7MxQEZGHjaybn5H9t3Nrr73oi20gPYjfukQwA/ll0zYHksGu\nQ/zpXyxoa/Pg4emX0loDhQQAQwso5ZWcvq1sxatF97iGDslQnWdASQSerX4x\n6Jy1\r\n=erJn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGCe6irEkHeLUuI4KRfxkqcWXO6iJHfmbx4fkQlwlxCrAiEA0uL3oFRO/hp1YenihDb7ttWiMWOU6uJgDV0JK/cENfo="}]},"maintainers":[{"name":"alialsaeedi","email":"alialsaeedi19@gmail.com"},{"name":"alronz","email":"bilal_alsaidi@yahoo.com"}],"_npmUser":{"name":"alialsaeedi","email":"alialsaeedi19@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/asm-date-time_0.0.3_1540342729033_0.8642238918391318"},"_hasShrinkwrap":false},"0.0.4":{"name":"@alya-mirror/asm-date-time","version":"0.0.4","description":"A react component that shows date/time for alya-smart-mirror","engines":{"node":">=6.0.0"},"main":"public/electron.js","module":"es/component/index.js","scripts":{"build":"nwb build-react-component --copy-files","clean":"nwb clean-module","test":"react-scripts test --env=jsdom","electron-start":"react-scripts start","publish":"npm publish --access public","dev":"concurrently \"cross-env BROWSER=none yarn electron-start\" \"wait-on http://localhost:3000 && electron .\""},"dependencies":{"electron-is-dev":"^0.3.0","electron-log":"^2.2.13","electron-updater":"^2.17.8","moment":"^2.20.1","node-notifier":"^5.1.2","socket.io-client":"^2.1.1"},"peerDependencies":{"react":"16.x"},"devDependencies":{"concurrently":"^3.5.1","cross-env":"^5.1.3","electron":"^1.7.10","electron-builder":"^19.49.4","nwb":"0.20.x","react":"^16.2.0","react-dom":"^16.2.0","react-scripts":"1.0.17","wait-on":"^2.0.2"},"author":{},"homepage":"http:","license":"MIT","repository":{"type":"git","url":""},"keywords":["react-component","alya-smart-mirror"],"licenseText":"MIT License\n\nCopyright (c) 2017 Bilal Al-Saeedi\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@alya-mirror/asm-date-time@0.0.4","dist":{"shasum":"01417be422d43aa4758fe672514bc76923a68452","tarball":"https://registry.npmjs.org/@alya-mirror/asm-date-time/-/asm-date-time-0.0.4.tgz","integrity":"sha512-gfpb8RUPLASgQO6blcmX9yChbKiV10FX/tctTlmzmVgRAAoTTzVUwb/YscrCxmuc5rnq6yU+oLFmNEgNzwC6/w==","fileCount":22,"unpackedSize":13429,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb8yrICRA9TVsSAnZWagAA/P4P+gKe8XUCWMxfvQhGupYc\nIWFc4kS5MuGpWfbiNWxSnnC3lSauqNDgRvtYfq9EmU9VT/jN55NyL4ht1FlA\nnbgs5X7PEFGFOGNvTrBTjViGHFLqT0/m8bK5S5zfFoZguQs0kubHcuyzNn5v\ns5pZgZg7e0eY5+DHtnRYecFrmU6AnArxujq63bCio700umf/DENABhYovRyR\nS4AVTP03tNSwdQSFmFKnhSgOyfvxRvVBd1t1T3uEFzSVbSdMBi3IP3GxXQ9f\n52J3fhEo6TwMWBPa8Nam6QWwdelyFhfsdrp7r0CpCoNYTHcdT7D1OVgVJiMT\nd4Sfb1RnU+vL+5f+ylenzTYaCkTLGvzaovCclzcwphTdBcUL+uEGStqb0xAg\n0Bk/qp+CUQ0BDPMhCPXKhxGxnewxPvy6lqlVjbN9S/5RFDcZ6cGbQpGxg8F9\nUPWRUnraV0mUaBWx5cniBOJPi4AjHJuDle+cYeZ8W+aMir/j/NMk3+FSJnwX\nXsNKVAOTro6D6XpoqkL2VF2UCqlFsJi0PzKq/Kw/IcIEBG1BqSxg6j0pEGdB\nJeFKIDC5588xoldkPCu7MtwK00w3bYubGhgYPHKhRJOsLZp4SCYjH+4NnDWI\nu0Yq1x/XraKVg0DCW9sDheB9bO0tfh4zBFrrVvYw/4Fc/uqZxXNGwz0gLLUm\n7b7a\r\n=1caH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFEHM5Zd7HZog+ZXHsoMSSjsFRf3ploPZ42xnYko/6pWAiAnhYiiQWelUO06FK2gnBoZSl+ZAGg8DHRC3a+2pTQJHA=="}]},"maintainers":[{"name":"alialsaeedi","email":"alialsaeedi19@gmail.com"},{"name":"alronz","email":"bilal_alsaidi@yahoo.com"}],"_npmUser":{"name":"alialsaeedi","email":"alialsaeedi19@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/asm-date-time_0.0.4_1542662855684_0.4258374935728375"},"_hasShrinkwrap":false}},"time":{"created":"2018-07-04T17:37:27.724Z","0.0.2":"2018-07-04T17:37:27.837Z","modified":"2022-04-04T13:42:14.019Z","0.0.3":"2018-10-24T00:58:49.606Z","0.0.4":"2018-11-19T21:27:35.787Z"},"maintainers":[{"name":"alialsaeedi","email":"alialsaeedi19@gmail.com"},{"name":"alronz","email":"bilal_alsaidi@yahoo.com"}],"description":"A react component that shows date/time for alya-smart-mirror","keywords":["react-component","alya-smart-mirror"],"license":"MIT","readme":"# ASM-time\n\n[![Travis][build-badge]][build]\n[![npm package][npm-badge]][npm]\n[![Coveralls][coveralls-badge]][coveralls]\n\nA react component that shows date/time for [alya-smart-mirror](https://github.com/alronz/alya-smart-mirror).\n\n[build-badge]: https://img.shields.io/travis/user/repo/master.png?style=flat-square\n[build]: https://travis-ci.org/user/repo\n\n[npm-badge]: https://img.shields.io/npm/v/npm-package.png?style=flat-square\n[npm]: https://www.npmjs.org/package/npm-package\n\n[coveralls-badge]: https://img.shields.io/coveralls/user/repo/master.png?style=flat-square\n[coveralls]: https://coveralls.io/github/user/repo\n\n\n## development\nTo run the component as an electron react component:\n\n```\nyarn dev\n```\n\n\n## building\n\n\n```\nyarn build\n```\n\n## cleaning\n\n\n```\nyarn clean\n```\n\n\n## testing\n\n\n```\nyarn test\n```\n\n## publishing\n\n\n```\nnpm publish\n```\n\n## known issues\n- Directory path will always resolve relative to the electron.js file. A workaround is to use path.resolve. Example below:\n\n```\nconst path = window.require('path')\n// I search for a file inside src/component/utils/certs , then use below code:\nconst certsFolderPath = path.resolve('src/component/utils/certs');\nconsole.log(certsFolderPath) // /Users/xxxxx/alya/asm-date-time/src/component/utils/certs\n```\n\n- To require an npm module from a react component, do like:\n\n```\nconst path = window.require('path')\n```\n ","readmeFilename":"README.md","homepage":"http:","repository":{"type":"git","url":""},"author":{}}