{"_id":"@siroc/cli","_rev":"5-0f26c635280f908e5efe06779fdf733e","name":"@siroc/cli","dist-tags":{"latest":"0.2.0"},"versions":{"0.0.1":{"name":"@siroc/cli","version":"0.0.1","description":"Build tooling","keywords":["node","nodejs","typescript","javascript"],"repository":{"type":"git","url":"git+https://github.com/nuxt-contrib/siroc.git"},"license":"MIT","sideEffects":false,"bin":{"siroc":"bin/cli.js","siroc-runner":"bin/runtime.js"},"scripts":{"build":"siroc build","lint":"run-s lint:all:*","lint:all:eslint":"yarn lint:eslint --ext .js,.ts,.vue .","lint:all:prettier":"yarn lint:prettier \"**/*.{js,json,ts,vue}\"","lint:eslint":"eslint --fix","lint:prettier":"prettier --write --loglevel warn","prepare":"yarn build","prepublishOnly":"yarn lint && yarn test","release":"release-it","test":"run-s test:*","test:unit":"jest","watch":"yarn build -w"},"dependencies":{"@siroc/core":"0.0.1","cac":"^6.5.10","chalk":"^4.0.0","consola":"^2.12.2","fs-extra":"^9.0.1","v8-compile-cache":"^2.1.1"},"devDependencies":{"@types/fs-extra":"^9.0.1"},"tsd":{"directory":"test/tsd","compilerOptions":{"rootDir":"."}},"bugs":{"url":"https://github.com/nuxt-contrib/siroc/issues"},"homepage":"https://github.com/nuxt-contrib/siroc#readme","_id":"@siroc/cli@0.0.1","_nodeVersion":"13.12.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-Jl8W8ebm3cIgCsGXwkTQiVyP0/DbFK5T5/LLOPzQEpSyN8JNe4zaCLHlWJaxrn9bEFvJnye7YD7GFPWo4pk+Og==","shasum":"00d4a9f4a4fb343021aac3f3bf00b632294cf581","tarball":"https://registry.npmjs.org/@siroc/cli/-/cli-0.0.1.tgz","fileCount":4,"unpackedSize":6879,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3/khCRA9TVsSAnZWagAAG0gQAKOT2BLMxiPRagYmVTJ2\nPjQkKPE3vxhHQHVSqQPfumsyDdd+oyxMll/OGjAFBnVEm+uER48A7LAssLG1\nO07TBADKOxalW04TYAvbJ/NuvgweL1E/y9SrJxxhuCX0jgFbCdlJw9LtSqc9\nXs/ooqUg9hM9W0d4IPeHev4zFOlj7KPJLpLbT67FMPHxjkLs9GXCgzNepHry\nk3GEANAH3gPvtQTlEk2DUxyg1n8m5KXGF1ZgSVTg0tfo6iRJV1Gf8tueADwn\nvuIKF5XsnedvpcXhANRScISxFjGcEj4Qo358xzLv0PTiNW4at3OFIvhOH3Xq\nrtC9kvhOiMVR95u35zt41Ld/E+G1vtxCeQQVxG2vpKN+6iu7JkxNLie4uZEP\nZ5k8oamRZyqwtzfBHy9iCfIvuEZ6fIhhK8iJBdSgnuPfGFjC0BcfqqZG0I1p\nW/A+BkBQqNJEos5h5rOWLTqQMwC/DmNaxyHlIZSxaAuRwHtQsMVZH2DQXBXZ\nQeHZB6C/MwJe/dGA+ANwr5durppQjtLC6kfKXeN0O0VyjzcUv1dVZRwjRDMB\nQn0TEX43J0sv2MDLRyNzUJRjDYlt/wOj/0rMKULwAG0Vr/FGC3CRbcLJoyCq\nD3zvrYDkCNcM7nBq8PcUeTcwQ6/cZBmzrps2Sze+j69h5I3B+poJTDD6DvMN\nDSEq\r\n=AfYG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZXEP8q+j95238Iqpl8arZfZw9VcB+G4hcDVIy3ojo4gIgInK2HE8IPkmgv4BVr9gTgz1JVlQOX6L7zr6UJlh4edM="}]},"maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_0.0.1_1591736609412_0.2136104801403873"},"_hasShrinkwrap":false},"0.1.0":{"name":"@siroc/cli","version":"0.1.0","description":"Zero-config build tooling for Node","keywords":["node","nodejs","typescript","javascript"],"repository":{"type":"git","url":"git+https://github.com/nuxt-contrib/siroc.git"},"license":"MIT","sideEffects":false,"bin":{"siroc":"bin/cli.js","siroc-runner":"bin/runtime.js"},"scripts":{"build":"siroc build","prepare":"yarn build","prepublishOnly":"yarn test","test":"run-s test:*","test:unit":"siroc test","watch":"yarn build -w"},"dependencies":{"@siroc/core":"0.1.0","@siroc/jest-preset":"0.1.0","cac":"^6.5.10","chalk":"^4.1.0","consola":"^2.13.0","fs-extra":"^9.0.1","jiti":"^0.1.9","v8-compile-cache":"^2.1.1"},"devDependencies":{"@types/fs-extra":"^9.0.1"},"tsd":{"directory":"test/tsd","compilerOptions":{"rootDir":"."}},"bugs":{"url":"https://github.com/nuxt-contrib/siroc/issues"},"homepage":"https://github.com/nuxt-contrib/siroc#readme","_id":"@siroc/cli@0.1.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-hGDvovyLdPoAlUkXYZbMPL/D8aCwQS8zBlzsKXemjfTHsZXeVXjLsU9GBYG7PpP5joDOOxbxHksrght3XqQivg==","shasum":"2796651fc09d14d469434729bf4871f5936974af","tarball":"https://registry.npmjs.org/@siroc/cli/-/cli-0.1.0.tgz","fileCount":4,"unpackedSize":9867,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6JxhCRA9TVsSAnZWagAA9GAP/jEimnNr9Y0wVVbw6ja8\noUmu2ntIuUaa4Xgwa/ygVNwPVWTW5vWJwftmSJ4iNCPdPQJ9GJLR7a7D3+wO\nYie9CuPcQgDdHl/mLrzCMuLlPTDR98xRTs+wjT58fe5Th7oCv50a5bfa559b\nGd+lOc/NJEoOUtFYlxysSwHtyTdMA0UDcNfI1i4i3lpo9F23z54VoM3AJUEu\niVzW6oxnPL1Wsmjd6XdHtggToHIW9DfHyI1Y4HUhRC+XHoydgb6D2PD/9BlN\n984mXSYKTDNnQ4vk1iKim7IAGraL0/XgM6c6HNErfgx3mGoCURBXOIoJQBzq\nHaiMTGaJQjW2cH7kOf7pO4Je+3cRWkjf+2nLeUTaNXd+/krB7+Z1cff56ghY\n4KGwgMSjMSAGORNZNDdn8h9ZGtwqkfAok25xYG6hTjCuf/jx4+eyzlHRgSQp\n1a765bDIToRcPUpfUlu7DNhWiR2Chz5OoPCb94vrKlf3KqPnuPnQjl46AU0z\nt7JK5dvSOgjoHRxhJcEhvs6dZ7WlZV9qBCcokAkVDNw3PPN1Di5SqszCwoh9\n5pdnTQ/VRke0Ngpd9zLtmbHpSfc6s4j0yD3VPePQYM+hKmwBld5SlcfLQXx/\nsw9lp3H1j4enkCQh+VNNqW4Oqaf7ru6OJfB4W+udw+RhDX+Qhp1SqxvUjYHO\nphMH\r\n=ACWa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDveQinLbbuOLgvHryyAxzlU+bo6w6L431OZQRV6rBwLgIgHstP2YSzp9D9aebLkuJaHqJNFDtLyr+5SdomOTmR/MM="}]},"maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_0.1.0_1592302689244_0.12943033143360116"},"_hasShrinkwrap":false},"0.1.1":{"name":"@siroc/cli","version":"0.1.1","description":"Zero-config build tooling for Node","keywords":["node","nodejs","typescript","javascript"],"repository":{"type":"git","url":"git+https://github.com/nuxt-contrib/siroc.git"},"license":"MIT","sideEffects":false,"bin":{"siroc":"bin/cli.js","siroc-runner":"bin/runtime.js"},"scripts":{"build":"siroc build","prepare":"yarn build","prepublishOnly":"yarn test","test":"run-s test:*","test:unit":"siroc test","watch":"yarn build -w"},"dependencies":{"@siroc/core":"0.1.1","@siroc/eslint-config":"0.1.1","@siroc/jest-preset":"0.1.1","cac":"^6.5.10","chalk":"^4.1.0","consola":"^2.14.0","fs-extra":"^9.0.1","jiti":"^0.1.11","v8-compile-cache":"^2.1.1"},"devDependencies":{"@types/fs-extra":"^9.0.1"},"tsd":{"directory":"test/tsd","compilerOptions":{"rootDir":"."}},"bugs":{"url":"https://github.com/nuxt-contrib/siroc/issues"},"homepage":"https://github.com/nuxt-contrib/siroc#readme","_id":"@siroc/cli@0.1.1","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-dzsJDSrv3ScYrjG/7qUhsCmlqvW5XlgbXIzuIASryo7+c0vqZojTyAsRlMnz1kSwlVgrtFM//z5qs4js5/YS2w==","shasum":"ef321e19d7777c2087534becb18f8cce0a3c3e20","tarball":"https://registry.npmjs.org/@siroc/cli/-/cli-0.1.1.tgz","fileCount":4,"unpackedSize":13998,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe95j2CRA9TVsSAnZWagAA77wP/246zZpj6ctW5Ov3SXnt\nq4wx4NImThIciN2FXvEnzeZd88bV2n0SrS31TWjngkCCHZ8tmo5uVrN9gjSl\nUaK1kUYxHAiRSsBrI2pP6vG6zuARDxlHwxTBUETlye3qQ6P0veHFjW5Nrr5I\ngR4RP6jmMz4aUFP1NEf/g30NrVNFZ12+hsJcxpKD8Hi53QHld+g2RUo6BuDC\nOmWsUXeGZSqUgSN8MAKogoG4vZgU3ba411q8/aD6d8PsHfKvgy0bII8TZy7F\nd8Pe7dybEZcAhENJIE1EbnETY3FQ4e8TPY+4XtVYgpjLqISgJrwDvGIpTY1S\nzGCpmStWIjtaQZElVue9bUGt4jLUWxsbefcK9KbjQZ2g1y+RMhwdSfqS9WKY\nyeGnuvFNpgDKOzdFk0j/JwIZaDfzaZFFihOR8zqvtiAh1gzZ6l/DD40bRq3C\n0dDf+Xs1IelFT1pYrwWjre5RePM4IoBMe74nLO621uJTJLYfDxJYOUqVCtxb\nYg4mEJPgW+bxDIs3FWq2/f2NHakFOfcurZQ+mCAWPB5DYnmBYi5ZfUR+Wb+Y\nzBB309QFHd0L5d+HwCTMBRdpY9+CJJO0GnWBykaSzjuUavA9vc3JP1BpGOKd\nzCQ2ot2eU3hH6dz8d0yWRL8mpOkfP03pUz8U9Ce6olRQhkQFqO25d6s+K3kL\nYIW3\r\n=1FiP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmoDb6WzcIm6a9ZN+rP+ub9yx6VJDPtHKhuDh9RqHkvgIgcJJOm2kX3YAosXtkYAz/cv6/xJazoUpY0FOHo8XlA6Y="}]},"maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_0.1.1_1593284853925_0.773191508753388"},"_hasShrinkwrap":false},"0.1.2":{"name":"@siroc/cli","version":"0.1.2","description":"Zero-config build tooling for Node","keywords":["node","nodejs","typescript","javascript"],"repository":{"type":"git","url":"git+https://github.com/nuxt-contrib/siroc.git"},"license":"MIT","sideEffects":false,"bin":{"siroc":"bin/cli.js","siroc-runner":"bin/runtime.js"},"scripts":{"build":"siroc build","prepare":"yarn build","prepublishOnly":"yarn test","test":"run-s test:*","test:unit":"siroc test","watch":"yarn build -w"},"dependencies":{"@siroc/core":"0.1.2","@siroc/eslint-config":"0.1.2","@siroc/jest-preset":"0.1.2","cac":"^6.5.10","chalk":"^4.1.0","consola":"^2.14.0","fs-extra":"^9.0.1","jiti":"^0.1.11","v8-compile-cache":"^2.1.1"},"devDependencies":{"@types/fs-extra":"^9.0.1"},"tsd":{"directory":"test/tsd","compilerOptions":{"rootDir":"."}},"bugs":{"url":"https://github.com/nuxt-contrib/siroc/issues"},"homepage":"https://github.com/nuxt-contrib/siroc#readme","_id":"@siroc/cli@0.1.2","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-vk17zeHR9Rojd0uj2oipYQ6H0vBL5yZjCgyxYahvvRnDvTD8pYjBbwnUOHDFqODUxNwSdZaomn5zufR9k//9Lw==","shasum":"aafbd5727b8d088854b84a8df3e2304b6412cce4","tarball":"https://registry.npmjs.org/@siroc/cli/-/cli-0.1.2.tgz","fileCount":4,"unpackedSize":13998,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe956pCRA9TVsSAnZWagAABBMP/0G0K3h5k0CcSqBsA5bY\nnITofYl8T4D495m3ClG/dWbM5EcT7lRgc1xc3P0Brr/5lEFlbdn/oEWRjact\nDPPa+UYS7JHrj2vR5/aBabKeC5bC/29Pv0KDl0Ug+WrIhrjMUxXwC+0tzuOe\n3tFPWNu4nYsRVlApV3VYYFojZMhKUzNIoaj47yZYnqIkw6oZ0lbBJkdUopMB\n7JpJ2hqfzKfTNteh3SnVndqc0J8ckojBx3L39RfdI6wx1lmDQnpndXQ9u5bX\nZP6DQ7a3vUt7zWylyAdiCnM889VMc8RZhZont95uR8fJyKkdUVYLuxaU3MWr\neIYy7zerYc/nqYpXfBRkA1yDf0U7+fNAxUSeoz3DV6p8vkZBpK/SLgzi4ogu\nlhLG2nEVEOIjJEYg2t3Pq4E/FV2QiUk1FJPuimM8X3TcMz9cJVeWs8rLjVHa\n+6YMHhU9Z7m2/eFTca22xL4XNjAInNuDKP+serW5r9nNlIeklvgSabjWUIcC\nzOf4y1aaZt2yEzUm8NiMKqmj1JW8j7Q5Fg6WT2WY4wwMwJzlj43uEREdPVql\nC8RudiQlrAgl2jATK6ypTPsHZBoFbRW1P/xC+YzmamZn/+xjjuLsGjUUcFrH\nkcCajDk7sknx17ukIk3a93PmHkhrTc5AxSewCRf9zE4EKAP+IjVGgatV8HCz\nSpDk\r\n=+W5J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzRxT3iKG7L2VcWdtWvcR1zEpAMgUXunGyqOC/+9td1QIhAOP/ti/uOZy5LCNm5v6Sh9ZpO3LnuirWwLrKVueYnsvk"}]},"maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_0.1.2_1593286313113_0.504426924505311"},"_hasShrinkwrap":false},"0.2.0":{"name":"@siroc/cli","version":"0.2.0","description":"Zero-config build tooling for Node","keywords":["node","nodejs","typescript","javascript"],"repository":{"type":"git","url":"git+https://github.com/nuxt-contrib/siroc.git"},"license":"MIT","sideEffects":false,"bin":{"siroc":"bin/cli.js","siroc-runner":"bin/runtime.js"},"scripts":{"build":"siroc build","prepare":"yarn build","prepublishOnly":"yarn test","test":"run-s test:*","test:unit":"siroc test","watch":"yarn build -w"},"dependencies":{"@siroc/core":"0.2.0","@siroc/eslint-config":"0.2.0","@siroc/jest-preset":"0.2.0","cac":"^6.6.1","chalk":"^4.1.0","consola":"^2.14.0","fs-extra":"^9.0.1","jiti":"^0.1.11","v8-compile-cache":"^2.1.1"},"devDependencies":{"@types/fs-extra":"^9.0.1"},"tsd":{"directory":"test/tsd","compilerOptions":{"rootDir":"."}},"bugs":{"url":"https://github.com/nuxt-contrib/siroc/issues"},"homepage":"https://github.com/nuxt-contrib/siroc#readme","_id":"@siroc/cli@0.2.0","_nodeVersion":"10.21.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-bkEGj38RYeynz5cvotT8HDU3yc2Oh7gXn16/y/eUSwXSm02QJ2OTyFr1pLapgyIssRZ+3valgMRMw1SEcwpOig==","shasum":"b73c9f675211f77f0e8060723cd1b64208908908","tarball":"https://registry.npmjs.org/@siroc/cli/-/cli-0.2.0.tgz","fileCount":4,"unpackedSize":13997,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfHfB9CRA9TVsSAnZWagAAdMwP/19UQ8BsphFmBHvYnMMW\ngEXwLEAhYwy0ZXAopSXQ2ZB5u1z/2eIkYQ/ShoI4qMWR/SlIASLuXOg9o0QK\nUYF84HdR9KTIEnmtpUC6Um+7DhcnvVtDUb8Ekq4TSKBVOCm1ncqMTX5L++X9\nH6SOnwKCYq8JPqck8aaxYUoJd85y9jcWdJgtD+tA7mzuo06HM09l7Yx3OHHj\nSoIzl1VUnwgeFCMiSm0YObWaVkglHf3Ijpy813nieLa6r4besLLFSJpcGtEj\nZmYHvzksVOo5+MJSymseI7GwbU2mhuNs1M/AWeX5BTlWTRrBags2U0ozsNKM\nB7W4cFwfOHj9j1DSLn+RMulZOkQriuAfCJ21Q7CNoJ9OyRAxyLM1LOy+xwqG\nVzfqxy3NPIveHItR5rFoManqzdmZd+A/gleZWI5ZmKdfPKD2GtQKfkmdz6F2\nKegaPdBa7bHFUbnw9g7l+vlNV05MlrgmTPZIJxefKrkqQ8s0COqdJTHsRw+R\njGQp2ySbKG9vA4mYiK/9rIdQ5xmruMgi+cVPOnYo+UfN8+6fTf3s3LnGmb0G\nqY8BVMOnvKb6KYkiwiYT+N+K/0vwJSqJGLi3KFefm4kHVTEeq9SqhUJlHzjC\n0ydHiAea0N/tr5Pe2VwG6o/yhopi1M0yRLhIf3kARuKjAsOENa1wLgA75nzY\n2eMg\r\n=CHvE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDv50k3xIv9qzYyn3QIehYZ/SjeMJ1WKdqyLEk0XgxpLAiBQf0zh/Eh3YrJjAC/+ph5mBYDgzsQqrup9f+16TAvENA=="}]},"maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_0.2.0_1595797629444_0.2231727661052072"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-09T21:03:29.121Z","0.0.1":"2020-06-09T21:03:29.515Z","modified":"2022-04-06T23:45:41.112Z","0.1.0":"2020-06-16T10:18:09.384Z","0.1.1":"2020-06-27T19:07:34.057Z","0.1.2":"2020-06-27T19:31:53.303Z","0.2.0":"2020-07-26T21:07:09.582Z"},"maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"description":"Zero-config build tooling for Node","homepage":"https://github.com/nuxt-contrib/siroc#readme","keywords":["node","nodejs","typescript","javascript"],"repository":{"type":"git","url":"git+https://github.com/nuxt-contrib/siroc.git"},"bugs":{"url":"https://github.com/nuxt-contrib/siroc/issues"},"license":"MIT","readme":"<h1 align=\"center\">🌬️ siroc</h1>\n<p align=\"center\">Zero-config build tooling for Node</p>\n\n<p align=\"center\">\n<a href=\"https://npmjs.com/package/siroc\">\n    <img alt=\"\" src=\"https://img.shields.io/npm/v/siroc/latest.svg?style=flat-square\">\n</a>\n<a href=\"https://npmjs.com/package/siroc\">\n    <img alt=\"\" src=\"https://img.shields.io/npm/dt/siroc.svg?style=flat-square\">\n</a>\n<a href=\"https://lgtm.com/projects/g/nuxt-contrib/siroc\">\n    <img alt=\"\" src=\"https://img.shields.io/lgtm/alerts/github/nuxt-contrib/siroc?style=flat-square\">\n</a>\n<a href=\"https://lgtm.com/projects/g/nuxt-contrib/siroc\">\n    <img alt=\"\" src=\"https://img.shields.io/lgtm/grade/javascript/github/nuxt-contrib/siroc?style=flat-square\">\n</a>\n</p>\n\n> `siroc` is a zero-config but extensible framework for developing Node applications and libraries\n\n## Features\n\n- 💯 **Zero-config required**: Intelligent support for your package\n  - Supports running and compiling TypeScript and the latest JavaScript syntax\n  - Autoconfigured `jest` and `eslint`\n- ⚒️ **Extensible**: Write your own commands and build hooks\n- 💪 **Typescript**: Fully typed and self-documenting\n\n**`siroc` is still a work in progress. Feedback is welcome, and changes will be frequent.**\n\n## Quick start\n\nJust install `siroc`.\n\n```bash\n# You can install siroc as a development dependency\nyarn add siroc --dev\n\n# ... or install globally\nyarn global add siroc\n```\n\n## Configuration\n\nYou can configure `siroc` by creating a `siroc.config.ts`, `siroc.config.js` or `siroc.config.json` file at the same level as your `package.json`.\n\nIn a monorepo, any configuration options at the root level are inherited by your workspaces, though of course you can override them.\n\n### TypeScript\n\n```ts\nimport type { PackageOptions } from 'siroc'\n\nconst config: PackageOptions = {\n  // fully typed options\n}\n\nexport default config\n```\n\n### JavaScript\n\n```js\n/**\n * @type {import('siroc').PackageOptions} config\n */\nconst config = {\n  // fully typed options\n}\n\nexport default config\n```\n\n## Commands\n\n### `siroc build`\n\n`siroc` knows what to build based on your `package.json`.\n\nBy default, `siroc` will build your `src/index.js` or `src/index.ts` file into whatever output file is specified in your package.json's `main` field.\n\nIf you have specified additional binaries, `siroc` will look for input files matching their names.\n\nUnder the hood, `siroc` uses `rollup` and `esbuild` to build and produce type definitions for your files.\n\n#### Monorepos\n\nIf you have enabled yarn workspaces, siroc will build each of your workspaces. You can choose to build only some of these by specifying what to build.\n\n```bash\nyarn siroc build @mypackage/cli\n```\n\n#### Watch mode\n\nYou can build in watch mode, which will rebuild as necessary when source files change:\n\n```\nyarn siroc build --watch\n```\n\n#### Configuration\n\nAt the most basic level, your entrypoints are configured in your `package.json`:\n\n- `bin` (see [npm docs](https://docs.npmjs.com/files/package.json#bin))\n- `main` and `module` (see [npm docs](https://docs.npmjs.com/files/package.json#main))\n\n#### Build hooks\n\n`siroc` makes available three hooks for customising your build, if you need it.\n\n1. `build:extend`\n1. `build:extendRollup`\n1. `build:done`\n\n### `siroc dev`\n\nIf you're working in a monorepo, it can be helpful to have accurate and up-to-date intellisense when importing from other libraries in a monorepo, without having to rebuild every time you make changes.\n\nRunning `siroc dev` will replace your package entrypoints with stubs that point to your source files. Your binaries will run your source files directly using `jiti`.\n\n### `siroc eslint`\n\nRather than configure `eslint`, you can run it directly using `siroc eslint`, with support for TypeScript (and prettier, if you have it installed within your package dev dependencies).\n\nIf you would like to extend or modify the siroc base config you can do so with the following `.eslintrc.js`\n\n```js\nmodule.exports = {\n  extends: ['@siroc'],\n  // Your rules/plugins here\n}\n```\n\n### `siroc jest`\n\nRather than configure `jest`, you can run it directly using `siroc jest`, with support for TypeScript test and source files. By default it will include any settings from a local `jest.config.js`.\n\nIf you would like to extend or modify the siroc base config (for example, to run jest directly with `yarn jest`) you can do so with the following `jest.config.js`\n\n```js\nmodule.exports = {\n  preset: '@siroc/jest-preset',\n  // Your customisations here\n}\n```\n\n### `siroc run`\n\nYou can run arbitrary shell commands or node scripts using the power of [the `jiti` runtime](https://github.com/nuxt-contrib/jiti).\n\nFor example:\n\n```bash\n# You can run a node script written in TypeScript\nyarn siroc run myfile.ts\n\n# You can run a command in all your workspaces\nyarn siroc run ls --workspaces\n```\n\n## Contributors\n\nContributions are very welcome.\n\n1. Clone this repo\n\n   ```bash\n   git clone git@github.com:nuxt-contrib/siroc.git\n   ```\n\n2. Install dependencies and build project\n\n   ```bash\n   yarn\n\n   # Stub modules for rapid development\n   yarn siroc dev\n\n   # Test (on changes)\n   yarn siroc jest\n   ```\n\n**Tip:** You can also run `yarn link` within a package directory to test the module locally with another project.\n\n## License\n\n[MIT License](./LICENCE) - Made with 💖\n","readmeFilename":"README.md"}