{"_id":"@auturge/expect-cwd","_rev":"2-2ffde5e75049a21aa301687c38920206","name":"@auturge/expect-cwd","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@auturge/expect-cwd","description":"Terminates the process if the user is acting from the wrong working directory.","version":"0.1.0","author":{"name":"auturge"},"license":"MIT","bugs":{"url":"https://github.com/auturge/expect-cwd/issues"},"homepage":"https://github.com/auturge/expect-cwd","repository":{"type":"git","url":"git+https://github.com/auturge/expect-cwd.git"},"engines":{"node":">=12.8.1"},"bin":{"expect-cwd":"bin/cli.js"},"main":"./lib/expect-cwd.js","dependencies":{"is-valid-path":"^0.1.1"},"_id":"@auturge/expect-cwd@0.1.0","_nodeVersion":"14.16.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-qnoSBhGMhCF5rMCa1k3JYswXfGUGVHMBWXZh6mRtR/Pgpv685ZX4mdn+WvMdrSVQMBVSYZI1OPOJy9zOuVbECg==","shasum":"2f8b495c5157fae5e3ca10cd9d6d0c0ef857f73d","tarball":"https://registry.npmjs.org/@auturge/expect-cwd/-/expect-cwd-0.1.0.tgz","fileCount":10,"unpackedSize":6466,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgqXRXCRA9TVsSAnZWagAAbi0P/1iE2ucDibvvr0XrDD8J\nwGsYj9xr0vUaPVVVUkdcexdGCR06zv+re50EJg+3yuT+oRdAcz9QMlkpGeqW\nL0x6hmjHMdHjh6jgZAmoTOQwM1tMUlGORII+pYv03cOrdCcYSeAwlDADu0rV\nLGNgLpJLHb5egFpVYNjX5gtFAtPfbHzyWiasQq48lJCN37btyOOKXlhxSvrh\nH0OBsmcPwPCQ450wmokFTTcItyqc8nohAIgw+53GSu8TTECR3fEwvd28i4sk\nq5GpVH5DYJ+LxqKKLOboIekAQ66bOTphmGC6voUPBJo9Qm7J9Tl6fC5x5A0Q\nYvqo+kJBikyMxQbYmBQHq5cFPW6RYHL/srxD3vsQL8aDNwJPzCurlCBo2yb8\nJTzUvg0gRI9UAMDzFatCfUboVv6I3I8oc0dM2C+6E+v9GcpfcVgHjlq+Bhis\nWP9f74VHOrsOJOlLynqWmgWU4B3qBDEDqC1fdVStsXl9ax2Uya5hXv5tsmIa\nbIP5O9yt5m3bNKw7OkkGe4BqP7wlKmD9NUlCLzsPTcuLlTZ6cbX9bf0KtnNX\nOm6JU/JELjP2FKkqvfeRCPKlKZfJdiKAzkTNiPnbDwQ5UV8KWXWCw+1rbbb8\n9f3If5TMNUCCNJNb8KqmElm//IOinb8xJCKeWAtyD52a7EBcxCFpVxgitfmN\nhqH6\r\n=KnIT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgXjrWpvAN5oKZ9BLFqk+cQ2LEFqHgT/D0gAZx+DbVAgIgbu4WAZM1/CEXHyOgBdI3IIAV+qtv1qBhFDLAnqZvAvo="}]},"_npmUser":{"name":"curtis.kaler","email":"curt.kaler@gmail.com"},"directories":{},"maintainers":[{"name":"curtis.kaler","email":"curt.kaler@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/expect-cwd_0.1.0_1621718103188_0.01915270219987253"},"_hasShrinkwrap":false},"0.1.1":{"name":"@auturge/expect-cwd","description":"Terminates the process if the user is acting from the wrong working directory.","version":"0.1.1","author":{"name":"auturge"},"license":"MIT","bugs":{"url":"https://github.com/auturge/expect-cwd/issues"},"homepage":"https://github.com/auturge/expect-cwd","repository":{"type":"git","url":"git+https://github.com/auturge/expect-cwd.git"},"engines":{"node":">=12.8.1"},"bin":{"expect-cwd":"bin/cli.js"},"main":"./lib/expect-cwd.js","dependencies":{"is-valid-path":"^0.1.1"},"_id":"@auturge/expect-cwd@0.1.1","_nodeVersion":"14.16.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-43B0Sfc/Q4DdW/AAf7R9T7lhPHlmUx+RHKQ3M6Mn9Yldmhcw6VEWAs3LdnlkMM0ePFuekyWaFo4MVFu0H9vkpA==","shasum":"2a307ce26f0617706a0401644a1ec34c504e806b","tarball":"https://registry.npmjs.org/@auturge/expect-cwd/-/expect-cwd-0.1.1.tgz","fileCount":10,"unpackedSize":6596,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgqXyhCRA9TVsSAnZWagAAphQP/jrYu4hfNdcBwdycuvu1\nFM8zzV3MVmuN1tFfNW80YnrhM6dqPYcVj9PNodzdy7k3N9zK5Zf129iZT4N0\nR2oAHLiCYNEkHSNsIShvP9LJpW0jHLMHvjyKMs9+S/WmRQA+DkV8WnGQeBj9\nNMvBoeXRyarTUoqwART3U0nKLIt7Obk/u7++cFcM9KDjdcMW6ZdzRK+cW3aP\nr0os5URoOlgX7fyJQ0TenRzL/WW0oO8zil1/ll+0CCfXsvSAWNgd8vjUk5ZQ\nzVgHqQDED/KiZocUlf6r3qzVWL6BZ1K+nDH6wniih4eivFRZQird5vmr6L0j\nRjsQ2y53G88UHEtY5TVKdddsDx9++SL9JTRE6NCMha7u7BeUXQqDoQLqehWb\nds+flnKD2Ik946HdcFUk+cEncaqwqsdEL24hMUQ0l5Q1hNov7GPZC+99mOzM\ndQ5QWryYOlKE5+vU+8q5GfIPQ+KKezRAcp3zVG21bd8DZO84/RE60ckdIrvJ\nUpaObikfXf7JH+i04z7d3t4EWBRLbVvHu8p4GFhNqPRAL/VNWwn9/tsSGt/p\nmA+lUnHZSisNUvtZ6N1oHgxFoMaaUjJmaNWJ3ZQzySaKOrP9Thp3lEw+mOjI\n5UOXKK8ATqKbwMKwgrvOxapt/nuh3ooxab25upX564lN6aTtz23byN8ZSRL9\naQKk\r\n=bqgJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFYVwr1Y06jQpv3HFR9hvUkz1O1Hd9LG3xnD4yZhBXacAiAHDeV9JwL5Ctk7yINefv1J5Iyh7qxJVFsmFbiGbf085A=="}]},"_npmUser":{"name":"curtis.kaler","email":"curt.kaler@gmail.com"},"directories":{},"maintainers":[{"name":"curtis.kaler","email":"curt.kaler@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/expect-cwd_0.1.1_1621720224437_0.9928532890158945"},"_hasShrinkwrap":false}},"time":{"created":"2021-05-22T21:15:02.924Z","0.1.0":"2021-05-22T21:15:03.334Z","modified":"2022-04-04T16:41:24.623Z","0.1.1":"2021-05-22T21:50:24.679Z"},"maintainers":[{"name":"curtis.kaler","email":"curt.kaler@gmail.com"}],"description":"Terminates the process if the user is acting from the wrong working directory.","homepage":"https://github.com/auturge/expect-cwd","repository":{"type":"git","url":"git+https://github.com/auturge/expect-cwd.git"},"author":{"name":"auturge"},"bugs":{"url":"https://github.com/auturge/expect-cwd/issues"},"license":"MIT","readme":"# <h1 id=\"top\" align=\"center\">auturge/expect-cwd</h1> #\r\n\r\n<p align=\"center\">\r\n  Terminates the process if the user is acting from the wrong working directory.\r\n</p>\r\n\r\n[![License][license-image]][license-url]\r\n[![NPM Version][npm-image]][npm-url]\r\n[![Build Status][travis-image]][travis-url]\r\n[![Coverage Status][coveralls-image]][coveralls-url]\r\n\r\n<br>\r\n\r\n## Getting Started ##\r\n\r\n@auturge/expect-cwd is available as source code from [GitHub][github-url], or as a package on [npm][npm-url].\r\n\r\nInstall it using the follow terminal command:\r\n\r\n> ```shell\r\n> $ npm install @auturge/expect-cwd\r\n> ```\r\n\r\n<br>\r\n\r\n----\r\n\r\n## Using expect-cwd ##\r\n\r\nPlace the command in your npm script. For example:\r\n\r\n```json\r\n{\r\n    \"scripts\": {\r\n        \"prepublishOnly\": \"expect-cwd ./dist\"\r\n    }\r\n}\r\n```\r\n\r\nIn this example, if I try to run ```npm publish``` from the project root, `expect-cwd` will tell me to change to the `./dist` folder, and then terminate the process.\r\n\r\n> NOTE: This does NOT make node aware of your scripts from different folders.\r\n>\r\n> That is, if you put `expect-cwd` in a `package.json` script, you'll need to either be able to run that command from the target folder natively, or you'll need a `package.json` in the target folder.\r\n\r\n<br>\r\n\r\n----\r\n\r\n## Contributing and Internal Documentation ##\r\n\r\nThe auturge family welcomes any contributor, small or big. We are happy to elaborate, guide you through the source code and find issues you might want to work on! To get started have a look at our [documentation on contributing][contributing].\r\n\r\n<br>\r\n\r\n----\r\n\r\n## License ##\r\n\r\nDistributed under the MIT license. See [`LICENSE`][license] for more information.\r\n\r\n<br>\r\n\r\n[home]: https://github.com/auturge/expect-cwd#top\r\n[discussions]: https://github.com/auturge/expect-cwd/discussions/\r\n[github-url]: https://github.com/auturge/expect-cwd\r\n\r\n[auturge-github-homepage]: https://github.com/auturge/auturge#top\r\n[contributing]: https://github.com/auturge/auturge/blob/master/docs/CONTRIBUTING.md#top\r\n\r\n[license]: https://github.com/auturge/auturge/blob/master/LICENSE\r\n[license-image]: http://img.shields.io/:license-mit-blue.svg?style=flat-square\r\n[license-url]: http://badges.mit-license.org\r\n[npm-image]: https://img.shields.io/npm/v/@auturge/expect-cwd.svg\r\n[npm-url]: https://www.npmjs.com/package/@auturge/expect-cwd\r\n[travis-image]: https://travis-ci.com/auturge/expect-cwd.svg?branch=master\r\n[travis-url]: https://travis-ci.com/github/auturge/expect-cwd\r\n[coveralls-image]: https://coveralls.io/repos/github/auturge/expect-cwd/badge.svg?branch=master\r\n[coveralls-url]: https://coveralls.io/github/auturge/expect-cwd?branch=master\r\n","readmeFilename":"README.md"}