{"_id":"@codiechanel/svelte-lib","_rev":"2-ea8a386ebc2669d4c3e30a6aea43a57a","name":"@codiechanel/svelte-lib","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@codiechanel/svelte-lib","description":"Personal Library","author":{"name":"codiechanel"},"license":"MIT","version":"0.0.1","repository":{"type":"git","url":"git+https://github.com/codiechanel/solid-library.git"},"svelte":"src/index.js","module":"dist/index.mjs","main":"dist/index.js","scripts":{"build":"rollup -c","prepublishOnly":"npm run build"},"devDependencies":{"@rollup/plugin-node-resolve":"^9.0.0","rollup":"^2.0.0","rollup-plugin-svelte":"^7.0.0","svelte":"^3.5.0"},"keywords":["svelte"],"gitHead":"9ce0ab3646f89b5a8a44871971b3c12d2e8d0d36","bugs":{"url":"https://github.com/codiechanel/solid-library/issues"},"homepage":"https://github.com/codiechanel/solid-library#readme","_id":"@codiechanel/svelte-lib@0.0.1","_nodeVersion":"14.17.1","_npmVersion":"7.24.0","dist":{"integrity":"sha512-GI/3sTFV0KLblouTvHQv9qvfJ8T79IocSaUkDBMJN4F/aYw5yPOM/tzQUvn92rFMDxuFgsF2DeKlluJJ0WCIxg==","shasum":"9cab9b07d2db26f4b91e5f457e3e4d39268c6d8a","tarball":"https://registry.npmjs.org/@codiechanel/svelte-lib/-/svelte-lib-0.0.1.tgz","fileCount":6,"unpackedSize":19504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2DCRCRA9TVsSAnZWagAAVBgP/Rl4GjmhNA3G5zyxez4r\nr+fmsXgnUPYi6h+naKw+Yjjr9l9lfxcE8Uolyv0DQ+J5DCsI3R8aO9p/nor9\nC3ONrpUO54fRPY4jUBNtnDkL/tevhHDc7KtxiAIEippiSgYItvfb4uCOF6t/\nSj+p0n13nOgV1Itlt2+VfVF1zi7zIpw2N+nrjEvDgvGNiWaQGPcYYGud9X+f\neUsxwWTumaTXv1ssfYZrc/pvhvRH8lVfA5EiMt043htIiR0iHCewPYUeXFwV\nNg945TCmyn3D9b9CPpvIpGokDjKcnt2ynXdRsXFQGyFjpjd6aUfZXzAQU0Tq\nPAWkltwLn2hkwPQ4Tr9SMlMk8gHtLpzQYWjvxjIIbZwWNSR/GGEUPYsUxxJs\nZIxg6bdTr3Y/eQ76xJy2hr5VL52DwYOJ+41tnv7ng/Im3tVYMKttjHWloGcq\nf3ApbkCZH6fqdL/ahUbgB+uDPt5YGv1Mzegv+xFePLyrvOHLIbLbNpipwb/b\nPguhuTjfXlzA/3C0ltXwRalL1xn/vR2DAA/u+1NQRXgrgmPa73A0Me7EUBgR\nXitrNEyU6/rhvPzyoecp105ffJemUtfP7R0UiAl7eykXlv9QJZ00C1LKbVm9\n2gbHcLlEYO9pRjQgGoY6LNG3uJ2UKSBb6/cKgSG6KYK5OILQ16xh/xvKdZg0\nVNk+\r\n=7QF+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA3XK8oGFaVPrernfbZXecxwSMVmGQJ+wJ/FmRdVi/3uAiB7AOz57C81hVNqQwTiDFv9OAhoU1c3o8B2UT1b/dMzGQ=="}]},"_npmUser":{"name":"codiechanel","email":"codiechanel@gmail.com"},"directories":{},"maintainers":[{"name":"codiechanel","email":"codiechanel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-lib_0.0.1_1637002924246_0.8223081359592594"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-15T19:02:04.189Z","0.0.1":"2021-11-15T19:02:04.483Z","modified":"2022-04-05T00:08:56.586Z"},"maintainers":[{"name":"codiechanel","email":"codiechanel@gmail.com"}],"description":"Personal Library","homepage":"https://github.com/codiechanel/solid-library#readme","keywords":["svelte"],"repository":{"type":"git","url":"git+https://github.com/codiechanel/solid-library.git"},"author":{"name":"codiechanel"},"bugs":{"url":"https://github.com/codiechanel/solid-library/issues"},"license":"MIT","readme":"*Psst — looking for a more complete solution? Check out [SvelteKit](https://kit.svelte.dev) and its [package command](https://kit.svelte.dev/docs#packaging) which gives you more built-in features like TypeScript transpilation, type definition generation and a built-in playground to test your library.*\r\n\r\n*Looking for an app template instead? Go here --> [sveltejs/template](https://github.com/sveltejs/template)*\r\n\r\n---\r\n\r\n# component-template\r\n\r\nA base for building shareable Svelte components. Clone it with [degit](https://github.com/Rich-Harris/degit):\r\n\r\n```bash\r\nnpx degit sveltejs/component-template my-new-component\r\ncd my-new-component\r\nnpm install # or yarn\r\n```\r\n\r\nYour component's source code lives in `src/Component.svelte`.\r\n\r\nYou can create a package that exports multiple components by adding them to the `src` directory and editing `src/index.js` to reexport them as named exports.\r\n\r\nTODO\r\n\r\n* [ ] some firm opinions about the best way to test components\r\n* [ ] update `degit` so that it automates some of the setup work\r\n\r\n\r\n## Setting up\r\n\r\n* Run `npm init` (or `yarn init`)\r\n* Replace this README with your own\r\n\r\n\r\n## Consuming components\r\n\r\nYour package.json has a `\"svelte\"` field pointing to `src/index.js`, which allows Svelte apps to import the source code directly, if they are using a bundler plugin like [rollup-plugin-svelte](https://github.com/sveltejs/rollup-plugin-svelte) or [svelte-loader](https://github.com/sveltejs/svelte-loader) (where [`resolve.mainFields`](https://webpack.js.org/configuration/resolve/#resolve-mainfields) in your webpack config includes `\"svelte\"`). **This is recommended.**\r\n\r\nFor everyone else, `npm run build` will bundle your component's source code into a plain JavaScript module (`dist/index.mjs`) and a UMD script (`dist/index.js`). This will happen automatically when you publish your component to npm, courtesy of the `prepublishOnly` hook in package.json.\r\n","readmeFilename":"README.md"}