{"_id":"@accelbooks-react/accel-ledger","name":"@accelbooks-react/accel-ledger","dist-tags":{"latest":"1.0.11"},"versions":{"1.0.11":{"name":"@accelbooks-react/accel-ledger","version":"1.0.11","main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.umd.js","scripts":{"build":"rollup -c","dev":"rollup -c -w","test":"jest","pretest":"npm run build","prepack":"npm run build","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"dependencies":{"axios":"^1.6.7","decimal.js":"^10.4.3","luxon":"^3.5.0"},"devDependencies":{"@babel/core":"^7.23.9","@babel/preset-env":"^7.23.9","@babel/preset-react":"^7.23.3","@babel/preset-typescript":"^7.23.3","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-json":"^6.1.0","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-typescript":"^11.1.6","@rollup/pluginutils":"^5.1.0","@types/axios":"^0.14.0","@types/fs-extra":"^11.0.4","@types/lodash":"^4.17.10","@types/luxon":"^3.4.2","fs-extra":"^11.2.0","jest":"^29.7.0","rollup":"^3.29.5","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-json":"^4.0.0","rollup-plugin-license":"^3.5.3","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-typescript":"^1.0.1","rollup-plugin-typescript2":"^0.36.0","semantic-release":"^24.1.1","ts-node":"^10.9.2","tslib":"^2.6.3","tsx":"^4.16.2","typescript":"^5.5.3","upath":"^2.0.1"},"types":"dist/index.d.ts","publishConfig":{"access":"public"},"_id":"@accelbooks-react/accel-ledger@1.0.11","gitHead":"ba510b119f7baadd7221a6f9e81405c0fbcb7ea6","description":"This repo contains a bare-bones example of how to create a library using Rollup, including importing a module from `node_modules` and converting it from CommonJS.","_nodeVersion":"18.20.2","_npmVersion":"10.8.1","dist":{"integrity":"sha512-oYbINcfDRVUVkw0os5kZP6nnLFUC7E4mbyyIJf6yopsZK9ARW/3a9r2wl0x5z8ANbeqIIvCdEOZGUmoOCPyhkQ==","shasum":"3d10f56edff2bec4e281bf867a8f94c3032c02c0","tarball":"https://registry.npmjs.org/@accelbooks-react/accel-ledger/-/accel-ledger-1.0.11.tgz","fileCount":9,"unpackedSize":64394,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPrx+urybI+ipUfiZwhHT2AvjrUZFs3mVmf01V/b2Q5QIhAM95qZ3PeZs29JLlRRZ0C/7u2QK+9Urq/w5NuEBQp8Mx"}]},"_npmUser":{"name":"accelbooks","email":"pryce@accelbooks.ai"},"directories":{},"maintainers":[{"name":"accelbooks","email":"pryce@accelbooks.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/accel-ledger_1.0.11_1728946233126_0.5795559392241656"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-14T22:50:33.049Z","1.0.11":"2024-10-14T22:50:33.323Z","modified":"2024-10-14T22:50:33.577Z"},"maintainers":[{"name":"accelbooks","email":"pryce@accelbooks.ai"}],"description":"This repo contains a bare-bones example of how to create a library using Rollup, including importing a module from `node_modules` and converting it from CommonJS.","readme":"# rollup-typescript-starter-lib\n\nThis repo contains a bare-bones example of how to create a library using Rollup, including importing a module from `node_modules` and converting it from CommonJS.\n\nWe're creating a library called `how-long-till-lunch`, which usefully tells us how long we have to wait until lunch, using the [ms](https://github.com/zeit/ms) package:\n\n```js\nconsole.log('it will be lunchtime in ' + howLongTillLunch());\n```\n\n## Getting started\n\nClone this repository and install its dependencies:\n\n```bash\ngit clone https://github.com/zollero/rollup-typescript-starter-lib.git\ncd rollup-typescript-starter-lib\nnpm install\n```\n\n`npm run build` builds the library to `dist`, generating three files:\n\n* `dist/how-long-till-lunch.cjs.js`\n    A CommonJS bundle, suitable for use in Node.js, that `require`s the external dependency. This corresponds to the `\"main\"` field in package.json\n* `dist/how-long-till-lunch.esm.js`\n    an ES module bundle, suitable for use in other people's libraries and applications, that `import`s the external dependency. This corresponds to the `\"module\"` field in package.json\n* `dist/how-long-till-lunch.umd.js`\n    a UMD build, suitable for use in any environment (including the browser, as a `<script>` tag), that includes the external dependency. This corresponds to the `\"browser\"` field in package.json\n\n`npm run dev` builds the library, then keeps rebuilding it whenever the source files change using [rollup-watch](https://github.com/rollup/rollup-watch).\n\n`npm test` builds the library, then tests it.\n","readmeFilename":"README.md"}