{"_id":"@dealmore/craco-plugin-babel-include","_rev":"925691","name":"@dealmore/craco-plugin-babel-include","description":"Craco plugin which allows to import uncompiled modules from outside the src directory","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"ofhouse","email":"felixhaus@gmail.com"}],"time":{"modified":"2024-07-30T05:54:00.000Z","created":"2020-10-08T16:18:04.433Z","1.0.0":"2020-10-08T16:18:04.433Z"},"users":{},"author":{"name":"Felix Haus","url":"https://dealmore.de"},"repository":{"type":"git","url":"git+https://github.com/dealmore/craco-plugins.git","directory":"plugins/craco-plugin-babel-include"},"versions":{"1.0.0":{"name":"@dealmore/craco-plugin-babel-include","version":"1.0.0","description":"Craco plugin which allows to import uncompiled modules from outside the src directory","keywords":["craco","craco-plugin","create-react-app","babel"],"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/dealmore/craco-plugins.git","directory":"plugins/craco-plugin-babel-include"},"author":{"name":"Felix Haus","url":"https://dealmore.de"},"main":"dist/index.js","scripts":{"build":"tsdx build --entry index.ts --target node --format cjs","prepack":"cp ../../LICENSE ./","postpack":"rm ./LICENSE"},"peerDependencies":{"@craco/craco":"^5.0.0"},"dependencies":{},"devDependencies":{},"bugs":{"url":"https://github.com/dealmore/craco-plugins/issues"},"homepage":"https://github.com/dealmore/craco-plugins#readme","_id":"@dealmore/craco-plugin-babel-include@1.0.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-9GQH+eOnTP+T9bUvcLH/h04LNSsZqzLofs8arGj4jXIPXaGEBzwp1/5rqRBWOxZvrhJ4id7dbFQbAlTtPBiitA==","shasum":"cee0bcb09a0d7f302014e116cc47b38f1e99299e","tarball":"http://registry-npm.ywwl.com/@dealmore/craco-plugin-babel-include/download/@dealmore/craco-plugin-babel-include-1.0.0.tgz","fileCount":8,"unpackedSize":18765,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJffzu8CRA9TVsSAnZWagAA4qgP/23Q0MPAuxleiBUz7nSI\nvVERqtYqTUojIRe9ht6XDunW3DXbnhwaydBooZ+fmQegqVYl3WyPYin0Qk3j\nceMAc7WQdHvuGkYh/+7rOxOWAOs+arMG9Frl/+MiRBapoJT+prG90LmqXg3K\nvbWjlimgrpRpltYNJxss4ZI39MsHD6q4GRzat4vJdEdk97efTBZb2BK4ojc7\n+eiyaRES11ul07sapOX+/HqkUuR/V15z99JsUFzMydvwfCGUm2Uy/1bo3zb5\nydNsxMSOTv8rXKOGGLXu7KNldpyUh5mezC+8t5xyB34oJXrWCLwKXLEoLEc8\nDv3yoUPD4InCcrsLPQj86QL72oO4wcxKBOooEZ/fzDWemBJKE+kurT4g7+cu\nSM+XPrbPEoBzG3RqCtlPYa/zOG3t1Rfhrtr5+TviPi9GCSudEkgdm8wdcZCe\nM64VW0ipgHcH8oTrpvgEoeUpcB1yR1NNX8LOllW4Tfkqst8HFt3MaRYZ2TJe\nS9dEhpxJEb6uUEUkG7kYCR0idhPZ2cD+oA5HHUpC9b4NcN9aPsk9otItCWXc\nFqM+nn12l48KE2It/eh4sFNoadwBotaj1wCv7XoOXeG28wIP9j7Qhltxwz4n\nyeGNwbDuMWlIta5YnYKrxpuWXviPDvG/1qh48MGmE9XgnQBmZixruAry7Bk3\n3mDQ\r\n=gLR1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFh2RlNzwvrVfXerm4G+Cfpb9mjvrRRGIBOHHbop+PE/AiEAmXI/zaV4Vq0kPnp52G05uZ/ASyXfC+1pPpyRHSEfOP8="}],"size":6710,"noattachment":false,"key":"/@dealmore/craco-plugin-babel-include/-/@dealmore/craco-plugin-babel-include-1.0.0.tgz"},"maintainers":[{"name":"ofhouse","email":"felixhaus@gmail.com"}],"_npmUser":{"name":"ofhouse","email":"felixhaus@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/craco-plugin-babel-include_1.0.0_1602173884304_0.4345715344430985"},"_hasShrinkwrap":false,"publish_time":1602173884433,"_cnpm_publish_time":1602173884433}},"readme":"# craco-plugin-babel-include\n\n[![Current npm version](https://img.shields.io/npm/v/@dealmore/craco-plugin-babel-include.svg)](https://www.npmjs.com/package/@dealmore/craco-plugin-babel-include)\n\n[Craco](https://github.com/gsoft-inc/craco) plugin which allows to import uncompiled modules from outside the `src` directory.\n\n## Usage\n\n```sh\nnpm i --save-dev @dealmore/craco-plugin-babel-include  # npm or\nyarn add -D @dealmore/craco-plugin-babel-include       # yarn\n```\n\n```js\n// craco.config.js\nconst babelInclude = require('@dealmore/craco-plugin-babel-include');\n\nmodule.exports = {\n  plugins: [\n    {\n      plugin: babelInclude,\n      options: {\n        include: ['@workspace/shared', '../ui-components'],\n      },\n    },\n  ],\n};\n```\n\n## Options\n\n| Option    | Type                | Description                               |\n| --------- | ------------------- | ----------------------------------------- |\n| `include` | `string | string[]` | npm-package name or directory to include. |\n\n## Example\n\n- [babel-include example](https://github.com/dealmore/craco-plugins/tree/main/examples/babel-include)\n\n## License\n\nApache-2.0 - see [LICENSE](./LICENSE) for details.\n","_attachments":{},"homepage":"https://github.com/dealmore/craco-plugins#readme","bugs":{"url":"https://github.com/dealmore/craco-plugins/issues"},"license":"Apache-2.0"}