{"_id":"@swissquote/crafty-runner-rollup","_rev":"156-d507f9f156a060a38443f3fab460b2d1","name":"@swissquote/crafty-runner-rollup","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","dist-tags":{"canary":"1.22.0-alpha.6","latest":"1.22.3","webpack4":"1.14.0-beta.7"},"versions":{"1.0.0-alpha.626ce2a1":{"name":"@swissquote/crafty-runner-rollup","version":"1.0.0-alpha.626ce2a1","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"2.3.0","debug":"^3.0.1","pretty-hrtime":"1.0.3","rollup":"0.52.1","rollup-plugin-commonjs":"8.2.6","rollup-plugin-json":"2.3.0","rollup-plugin-node-resolve":"3.0.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"2.0.1","uglify-es":"3.2.2"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=6.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.0.0-alpha.626ce2a1","_npmVersion":"5.5.1","_nodeVersion":"8.9.2","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-2dEbR0JCzJTgmTAdV/ZFr4Rj+sra6Kic9B3QE3Qt+JWRLGYNLchn/r8NzdEpXVWlY0WhYXGPRsL2GWBiBGPrng==","shasum":"d7186e2bda33d1e8a4705129996c11ab32d60d6e","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.0.0-alpha.626ce2a1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUqBkN2rMeODV9dQI0ch+kLPFBpORf9dEIKCwyRj/r+wIgfEOR0WUXFWqXbRtsOQzFOOvApj4mzU3dh+7AoWKY/fA="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup-1.0.0-alpha.626ce2a1.tgz_1513872784129_0.5953462990000844"},"directories":{}},"1.0.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.0.0","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"2.3.0","debug":"^3.0.1","pretty-hrtime":"1.0.3","rollup":"0.52.1","rollup-plugin-commonjs":"8.2.6","rollup-plugin-json":"2.3.0","rollup-plugin-node-resolve":"3.0.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"2.0.1","uglify-es":"3.2.2"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=6.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.2","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-5NZnnFZ7Miva87I69Sz1qK2XOzuKvqzwMeEjIRR59LcCRaBAt+b6TmeX5pDwUifJT4YFAMQ5B77RZ6dpt9bB6A==","shasum":"18cfaf24503e9b367c51e1dfd2f94c0240b880f6","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICW/vCRachcxIjx9znpjgOsv2dv+9kiz98YX/UuGvRDRAiEAz3TT7uTf9QlR5lxTdNKW2aobEcn4mjWjSc4SPVkA4Ig="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup-1.0.0.tgz_1513872941181_0.8387311580590904"},"directories":{}},"1.0.1":{"name":"@swissquote/crafty-runner-rollup","version":"1.0.1","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"2.3.0","debug":"^3.0.1","pretty-hrtime":"1.0.3","rollup":"0.54.0","rollup-plugin-commonjs":"8.2.6","rollup-plugin-json":"2.3.0","rollup-plugin-node-resolve":"3.0.2","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"2.0.1","uglify-es":"3.3.7"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=6.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.0.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.2","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-QpJ3zkrhGclFKFcjYWBQj3JFwLQaWldO+hMijQ3pMvuJG1pEsq02PO+Jmk/1Qqi3Z8kIx/yNCdn+Zx37/T7xbA==","shasum":"dd8eee1c89898048e7fba51c8a39130e89a15710","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDI6oMT6iyC/Ns5sHck+eNXXyhMmLAG8HVk4tcghyAZxgIgUmQtNd9N0WrrRSF2lKJ//kPeaQQhJn8UC9dIYfEoKZc="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup-1.0.1.tgz_1516116194810_0.5877987418789417"},"directories":{}},"1.1.0-alpha.b912b41d":{"name":"@swissquote/crafty-runner-rollup","version":"1.1.0-alpha.b912b41d","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"2.3.2","debug":"^3.0.1","pretty-hrtime":"1.0.3","rollup":"0.57.1","rollup-plugin-commonjs":"9.1.0","rollup-plugin-json":"2.3.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","uglify-es":"3.3.9"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=6.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n* Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n* Your code is Uglified after compilation.\n* Configurable output formats\n* Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n* If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n* ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.1.0-alpha.b912b41d","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-vSWYtSMFPoiUyivu82sh33cRBC8XXVX4mekHblV0UBSU5GqYOWa2aisSsmlxpP2I+hV+Q5mYu496n18/Ok8r7w==","shasum":"4de2c7f67036f16ca19b6c9e29a986760a645cbb","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.1.0-alpha.b912b41d.tgz","fileCount":8,"unpackedSize":23651,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCmWiNykZE4EC9ZeoSMRw5xotVo8sV+fi9VAH8M6q6cAIgbeT3i71Pzhf4rmJwkzCpk4Hs7lEb228iOctnBmKw9b8="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.1.0-alpha.b912b41d_1522264264063_0.0380127693563026"},"_hasShrinkwrap":false},"1.0.2":{"name":"@swissquote/crafty-runner-rollup","version":"1.0.2","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"2.3.2","debug":"^3.0.1","pretty-hrtime":"1.0.3","rollup":"0.57.1","rollup-plugin-commonjs":"9.1.0","rollup-plugin-json":"2.3.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","uglify-es":"3.3.9"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=6.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-SNrSjmzZLRCCxg016zGgEJCIW4El75WBxk34jy/BH+9lNNHAVboz+m/ptyi2tCSI1EAbt01H/INomiNFRF85DQ==","shasum":"a306a21aa4c691f46e2d34ff52b384d543afc692","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.0.2.tgz","fileCount":8,"unpackedSize":23636,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKr+ti0YiZTt+eQtGG0eiGCfUOWLBvOT8f8iQc8HqM1gIgTdji8CaPR5r7VNXJyTRus2vcdxJYZ7FdAw/LZon8pzo="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.0.2_1522264484624_0.5751039585785465"},"_hasShrinkwrap":false},"1.1.0-alpha.38983486":{"name":"@swissquote/crafty-runner-rollup","version":"1.1.0-alpha.38983486","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"2.4.0","debug":"^3.0.1","pretty-hrtime":"1.0.3","rollup":"0.58.2","rollup-plugin-commonjs":"9.1.0","rollup-plugin-json":"2.3.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","uglify-es":"3.3.9"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=6.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n* Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n* Your code is Uglified after compilation.\n* Configurable output formats\n* Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n* If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n* ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.1.0-alpha.38983486","_npmVersion":"6.0.0","_nodeVersion":"8.9.2","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-J3P/R5frSG+eozu3nNpuSHCQFj9xax6f/qJcSpptlLoeMl949AmUSGbgJIk30IKCegLf3u6Q9HFtUROQw3eBKw==","shasum":"04e1ae25e3feb4fcd4960a6df64f187430b634e9","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.1.0-alpha.38983486.tgz","fileCount":8,"unpackedSize":23724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4fkxCRA9TVsSAnZWagAAsjEP/0kpduf9e3lqLlOQeF0F\nzMNo49zekZOvGRCBlMy8z8KZoaL5vY7BM245BkdB6qFz29dGOlUt24P3pH3T\nVoSKfEc/zxWw9t8vkUu9HQA8ElZ9vPfgVdI/AXPBE6dP3WN2AKPgvpjRr4ES\nDAjLqzw3XqAumptbGLfyv0OZRhJAh4PjGQtXUJ0WVIenuKEHHa1B4xNssw1G\nxLOVKN6Ptkien9uzVkbwgqZccVpk6PnhxrQQInNeOOrK+uruVCVgg34RQrC8\nQu0+8COHMOO2pc+RXh4YKEbqA+3VrYoNkia2V1+XCN21lw2QhUIvxEsBNlET\n+APDwM4RwhH0/NqJBpUoCGQabP4n6QTmcO04pKhcX8rPIoOls2tMckO9VbI8\nGtdMqyDkXycHtr8JTMIUXISxeVyvlwCtVrdffNFFKkPX89pvAmp0VQB6FSaV\nDxblWi1i6xiGzvS7rzUeSrPYpnvpLhRx84WQH5A23jJ56ux2TJKsRbc2Uctd\n5SIyt1OW9ZZSSN1iU/6TTu+wnV+7lEKd56aEVEYP1YPHPlkfxBz83/dOHBUz\nIxTgwYN/DOAXRGkqHL1sl2J9KLQbvJMuMVHni4z2QgxN0PXQzCsiL3h94dBm\nl8kyaxFGobEHGNYawzSa3WnRybB9vIysxgw8RU7Sj6dbSYNEhMB17QX8Tccs\nSkPk\r\n=QKm4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB55WhIqxMR61CtjDQZ9jFqbv3tgyXcAAwXzpTQ27if8AiEAlS/HqQ+1w83h6og02F43oi35ODUs60bQYF8J52aMx4E="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.1.0-alpha.38983486_1524758832792_0.4533547631214945"},"_hasShrinkwrap":false},"1.1.0-alpha.1269ff8b":{"name":"@swissquote/crafty-runner-rollup","version":"1.1.0-alpha.1269ff8b","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"^2.4.1","debug":"^3.0.1","pretty-hrtime":"1.0.3","rollup":"0.58.2","rollup-plugin-commonjs":"9.1.3","rollup-plugin-json":"2.3.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","uglify-es":"3.3.9"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=6.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n* Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n* Your code is Uglified after compilation.\n* Configurable output formats\n* Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n* If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n* ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.1.0-alpha.1269ff8b","_npmVersion":"6.0.0","_nodeVersion":"8.9.2","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-8LQXFhlZ2tWF1UPYuOa0+d2YbAYJrg70OClVzE78E8JtaWhB9d+cwLKabInGRjlXZiB6Bp6woDEkMIcv1lkYLg==","shasum":"6ecf2e58d60df2071ef3b21bb8cd0c9829a0b70a","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.1.0-alpha.1269ff8b.tgz","fileCount":8,"unpackedSize":23725,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa6vvfCRA9TVsSAnZWagAAy8wP/34pccBxh4HmMwZtYt2I\nE+lWdpW8QXJ2iDkKQJM1/SvcFDKmjiK/DyKQ9urhrZn8WUR3GNafPwUbOFrC\n6pxIOZe0oMGj9ifS3N3/E+B9AXKboS4ruWMNv+1UCkGPkVhIQ+NkfFRbbHyK\nMeqWGmg49lt/UbyVs2Wjx30lybLkZ8ffdmDACoVsoyZp00CEXe/K/ox7VbJs\nAvToXWzfvYA7LjDkNi+fZcBKavi3DLlF7+FW5kvbxvtawfkWTETX9qR0m4tb\nWbHgrRHdtWVOji/T25FaWK3YuFrXV14q7JbH8mhCxzmT8iWmAUwExcaNWL49\noLpBL2ILHlGLx+LSjf/x1QP9Q/EA5TPeGKr7xblqYRHFJ3Sd1bktcd3E8zqN\nGkdnTPMgGcSvX7xGAs0e1kv4Y2kZftzYxNLOXN7JG7o2UxbscjL2tNSr6QfR\nc628/5rO3o5iuQ6itkA139sd0gLLKTNmVDCE/Xy7GnXrYPY6mz6meVeVQWL2\n1UDxHhpTs2IH5gsuhC9iCEGHpPFKHNriQ0dokIlyp9DePUXf34StkQXJMd00\nU/CIu6lobAA1fd+of83vvnTUQ4BbjMfUVOJky5+zeE/jwWRoLECPLGSG4tVG\nP+a9XW6lrRbAh4ZUQoRHwJb8JfKIw26FV5cSwSPGWX0kcB6lcK9E9JAemlpD\nbWbm\r\n=3OEB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC67cZi2d7rMHLtSbk7uTd0ZEcZdaZBKcJwo4fS3vUASQIgXU9VlRYzcv9xoXmgsfAKPUFLShZbDIUVu9aKngabeUU="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.1.0-alpha.1269ff8b_1525349342517_0.2563272351311525"},"_hasShrinkwrap":false},"1.1.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.1.0","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"^2.4.1","debug":"^3.0.1","pretty-hrtime":"1.0.3","rollup":"0.58.2","rollup-plugin-commonjs":"9.1.3","rollup-plugin-json":"2.3.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","uglify-es":"3.3.9"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=6.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.1.0","_npmVersion":"6.0.0","_nodeVersion":"8.9.2","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-/w0SbSYxoTO53bAHCxXVrSOToiOQ6++HkekiZ9kwvZY2aa0Rn4FWggv5Wrdo6fTXtqjYBpoNve9lNk8k2Xqn5w==","shasum":"8ebbdc5fd5ef54a1c2ec7fd44df0dee10e7f533e","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.1.0.tgz","fileCount":8,"unpackedSize":23710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa6vzQCRA9TVsSAnZWagAAWNQP/R+Ri+lLYfSJD2OVej8I\ncsbut/zjwmdsZk+oopisxc0FyXvWVT5l0OTYjelunE110G/nlWk1eku3n9rZ\nxbu+yeimCOYNKMrKI7PdI9QgCM2Uk16zDEjSSpEmdHwDsuXf8aMjOYIJnXYP\nU2N5BG4x6juT9VIrFNFPQ2ero1BFuplKHKznm5EzYYrI9fcKi/hKDy6VGM5c\nhAmBILulejLuSYZSD0QWC8so7U4uVTpNR1RnDhlYLoSbP2ZBEtmCZ/Q4SKpG\nfit+aQWpW8RJBH0nW14DhKuB4bMGvQIceQYv+hGlIhNUuOVD62921RdLFbXa\njN5iQAP4RxakT2YyngdSzey8wiygZOcRrEybrkAVAlrU4dY1IgIzVxVv+3rK\nK/hrcT5BaBpXVE2ALF3g/24Q3sVyS4U1PjZp1yj1u7Pd0gz/tzFdfRU6Ew8h\nGOJqi1oohrxJkWAJOzUdX2UfpEB5Cmps5VcB97EOdrQc9ss0lpHzRWUQnOPi\nM3FlS0yUB419cdaWqDowYaTmLrQykShlV2hY+uCp987NvYPvzloJ7Lyzo4Fz\nbfZ28U/IqwFWOe/pPeyLVycSQq3vV3Va/by5iEy9iyYrd0LO4ApAsEJyqFZu\n3kDIYX+BZ7MBDgAmMszqgLpSNxn7m8vNjep3V/U08M4FHMcBUZ6AY3maKpPm\n0OQw\r\n=7g0N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAOiyaGeAvL8ChZHsfAalS+qgWeeQwrdfEdMCCRFSzohAiBmZiiFZOVG5gDvm0On56vuTqke+V9+iCE7DiEc1Gpbcw=="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.1.0_1525349583965_0.21447335213250196"},"_hasShrinkwrap":false},"1.2.0-alpha.5f812146":{"name":"@swissquote/crafty-runner-rollup","version":"1.2.0-alpha.5f812146","license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"^2.4.1","debug":"^3.0.1","pretty-hrtime":"1.0.3","rollup":"0.62.0","rollup-plugin-commonjs":"9.1.3","rollup-plugin-json":"3.0.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"4.0.0","uglify-es":"3.3.9"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=6.0.0"},"readmeFilename":"README.md","readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","_id":"@swissquote/crafty-runner-rollup@1.2.0-alpha.5f812146","dist":{"shasum":"07de2bf632fda50b7269017a7c9988dda695d777","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.2.0-alpha.5f812146.tgz","fileCount":11,"unpackedSize":25088,"integrity":"sha512-BTschv4xUIlYrx3tEzP3U2HLyx311WZUXj4EKw1xOv04cGQsOFkVGa693k3LJCp02soYyrEibUxEXRH8YUfVpA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICT8ETpaPV60I6jz+5I+KAYd6llo8bwlVXKI3EywsxavAiB6YcvCkYG7Xh39uvsBWx+nbTpiHqz1pR3kU1MR2vXbBw=="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.2.0-alpha.5f812146_1531127792195_0.5013800862269375"},"_hasShrinkwrap":false},"1.2.0-alpha.da9a46a5":{"name":"@swissquote/crafty-runner-rollup","version":"1.2.0-alpha.da9a46a5","license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"^2.4.1","debug":"^3.0.1","pretty-hrtime":"1.0.3","rollup":"0.62.0","rollup-plugin-commonjs":"9.1.3","rollup-plugin-json":"3.0.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"4.0.0","uglify-es":"3.3.9"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=6.0.0"},"readmeFilename":"README.md","readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","_id":"@swissquote/crafty-runner-rollup@1.2.0-alpha.da9a46a5","dist":{"shasum":"52fce628cdecf46eacac379f3995eb7bd8e87d73","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.2.0-alpha.da9a46a5.tgz","fileCount":11,"unpackedSize":25088,"integrity":"sha512-fKs9pVIR/6Yc59LscR+CHb6TOIDsdcAZFy8OcNPh5aErGuXD60pLW9PQLO7mnmy3eq2eeIuzLg7omfNBtl+Fiw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICnV+/svf5eCRfdjwd7z+abDe8569RsUKPdN/OlYk1WqAiBpsKHvPKCPQTUfMg4XsyvgtslzEQstsFu6j0wPUBvGug=="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.2.0-alpha.da9a46a5_1531136048214_0.7135839063881322"},"_hasShrinkwrap":false},"1.2.0-alpha.fade2d8f":{"name":"@swissquote/crafty-runner-rollup","version":"1.2.0-alpha.fade2d8f","license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"^2.4.1","debug":"^3.0.1","pretty-hrtime":"1.0.3","rollup":"0.62.0","rollup-plugin-commonjs":"9.1.3","rollup-plugin-json":"3.0.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"4.0.0","uglify-es":"3.3.9"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=6.0.0"},"readmeFilename":"README.md","readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","_id":"@swissquote/crafty-runner-rollup@1.2.0-alpha.fade2d8f","dist":{"shasum":"b9105e340616b016e7daceddbe41882e0f257ec0","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.2.0-alpha.fade2d8f.tgz","fileCount":11,"unpackedSize":25088,"integrity":"sha512-XKKt5RC7BnHmQeA9keLK59kWcfrwstxNOT+NPVYueeR7iurd6L7cylmNUHkvjaAXzfzeS6Bc/j2DUY78G1pPnQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDO+lWrf+62w/H0u7Ywa61bydQpRrktCn/4eSyz8g1rEQIhAO1Ha+Yi2YmWHPfR4USARRZgcTKBp67uwZC3x9GpFe7o"}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.2.0-alpha.fade2d8f_1531139122579_0.5007119017354127"},"_hasShrinkwrap":false},"1.2.0-alpha.655f2b0b":{"name":"@swissquote/crafty-runner-rollup","version":"1.2.0-alpha.655f2b0b","license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"^2.4.1","debug":"^3.0.1","pretty-hrtime":"1.0.3","rollup":"0.62.0","rollup-plugin-commonjs":"9.1.3","rollup-plugin-json":"3.0.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"4.0.0","uglify-es":"3.3.9"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=6.0.0"},"readmeFilename":"README.md","readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","_id":"@swissquote/crafty-runner-rollup@1.2.0-alpha.655f2b0b","dist":{"shasum":"a2ead8fe71d9889a4d9de8a98152fcfdbad5d7da","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.2.0-alpha.655f2b0b.tgz","fileCount":11,"unpackedSize":25088,"integrity":"sha512-DcuFt4+h+mN556iOeDVoFm1XOSwE1RSLCJyU9HfTftgjK4AdnLrR2I2vMIRc/l2nJR4VHoxVTXpZJLRumANgSQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGxUhrO6PVhnF1qgUcMXAyYkkBR2KeMmWRgqHybFSSjpAiAnsiCtRS3sMxyolb97KE9RkMx/FgFsLykGBEnQ2x8LjQ=="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.2.0-alpha.655f2b0b_1531207831773_0.2403502790516565"},"_hasShrinkwrap":false},"1.2.0-alpha.e0206f6b":{"name":"@swissquote/crafty-runner-rollup","version":"1.2.0-alpha.e0206f6b","license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"^2.4.1","debug":"^3.0.1","pretty-hrtime":"1.0.3","rollup":"0.62.0","rollup-plugin-commonjs":"9.1.3","rollup-plugin-json":"3.0.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"4.0.0","uglify-es":"3.3.9"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=6.0.0"},"readmeFilename":"README.md","readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","_id":"@swissquote/crafty-runner-rollup@1.2.0-alpha.e0206f6b","dist":{"shasum":"64062485ade6c38c536a6067d9e4e2e09137c972","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.2.0-alpha.e0206f6b.tgz","fileCount":11,"unpackedSize":25088,"integrity":"sha512-/i9TYGepusrUt0qk+kloJM5ZD/OaItAHeWsEy1hPggNA+OxPSEQF9Vd/TPsAUqQcf8qFAqepeYVc/KkEJExosA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFGjKWJkfyJjyQ7NKSY/MkVsPMvpIkSYVegIFkCPxK3NAiBO95VTEJbopIMOfd11DxDWAT/6dyIUNhrUxFiyaIL5fw=="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.2.0-alpha.e0206f6b_1531208012849_0.15440634626267236"},"_hasShrinkwrap":false},"1.2.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.2.0","license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"^2.4.1","debug":"^3.0.1","pretty-hrtime":"1.0.3","rollup":"0.62.0","rollup-plugin-commonjs":"9.1.3","rollup-plugin-json":"3.0.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"4.0.0","uglify-es":"3.3.9"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=6.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","_id":"@swissquote/crafty-runner-rollup@1.2.0","dist":{"shasum":"a50da32f1a3783e64b9bf148a5f3f4d344f851c7","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.2.0.tgz","fileCount":11,"unpackedSize":25073,"integrity":"sha512-ipbahJRbWsrQTy7oCQAzd9nYAjxla019G2gNRfDyAwf3gyPWU2V7yjvnABRmXRryt3vfduOBb463DxaspWT1dg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFsDYr3RoegutY99Z13zYj1ADpljvp7W9pe8KBdKepcoAiBq0NxaPpfv544RY73Q2n+McHYurSB1NsQMeQw/KkFArA=="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.2.0_1531209221842_0.8592855459372868"},"_hasShrinkwrap":false},"1.3.0-alpha.aebf6bcb":{"name":"@swissquote/crafty-runner-rollup","version":"1.3.0-alpha.aebf6bcb","license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"^2.4.1","debug":"^3.0.1","pretty-hrtime":"1.0.3","rollup":"0.63.4","rollup-plugin-commonjs":"9.1.3","rollup-plugin-json":"3.0.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"4.0.0","uglify-es":"3.3.9"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=6.0.0"},"readmeFilename":"README.md","readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","_id":"@swissquote/crafty-runner-rollup@1.3.0-alpha.aebf6bcb","dist":{"shasum":"8f970257f83a80487d7e7170a26c79eec42c4cb6","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.3.0-alpha.aebf6bcb.tgz","fileCount":11,"unpackedSize":25088,"integrity":"sha512-XJD3JyRgBitvPxweNaKvGaLTMI7PEIXQWeQHa8HAkdKNnNjuoGqIuc/JhRZYckrZYoS+iwZg5T0HLuRo09KZrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF1Dz908wmtjrnIe7KtpIyA63m/zry4UlNtHo/VRlOq2AiEAhQ2iahVcLo4hC5xq1gJH2Dxy4ztERj0QHhx3cD49Z0k="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.3.0-alpha.aebf6bcb_1532503953548_0.21159305225744052"},"_hasShrinkwrap":false},"1.2.1":{"name":"@swissquote/crafty-runner-rollup","version":"1.2.1","license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"^2.4.1","debug":"^3.0.1","pretty-hrtime":"1.0.3","rollup":"0.63.4","rollup-plugin-commonjs":"9.1.3","rollup-plugin-json":"3.0.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"4.0.0","uglify-es":"3.3.9"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=6.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","_id":"@swissquote/crafty-runner-rollup@1.2.1","dist":{"shasum":"43ebc0fb9a15d64d3e6a29c560b54e2106fa2479","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.2.1.tgz","fileCount":11,"unpackedSize":25073,"integrity":"sha512-59Jon8c6VEC/igvdDqLVlaaDxUnCg7dHcZd6Vq+lsPXrMRNA1BtTknVTrYX+V0pOYOZrBB36ojaFKkEb0vbBnQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDw7drWsgKeumUcmwv+nFWIT1Qadn2+mcGXNhdDlOVZGgIgd1nxODL8xkL9so2dtVM+QSjRM+mhtyadFl73zqQ7F7s="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.2.1_1532504139284_0.05663495986085065"},"_hasShrinkwrap":false},"1.2.2-alpha.22":{"name":"@swissquote/crafty-runner-rollup","version":"1.2.2-alpha.22","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"^2.4.1","debug":"^4.0.0","pretty-hrtime":"1.0.3","rollup":"0.65.2","rollup-plugin-commonjs":"9.1.6","rollup-plugin-json":"3.0.0","rollup-plugin-node-resolve":"3.4.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"4.0.0","uglify-es":"3.3.9"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=6.0.0"},"gitHead":"240a42f6bf8bdca6483d20df6f4f2c0a80cb467b","readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.2.2-alpha.22","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-VmczNDcr0nOEk0YFHdoEZXIuN//UOyYoLrWbExIV2JuNSXVk3263KGjQetqafh7W+4RgcNYYfsPBygnUHQSH6Q==","shasum":"efa92de3129a81d41f7fa3dfcd6b0fb6b96cfbc3","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.2.2-alpha.22.tgz","fileCount":9,"unpackedSize":36443,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmoEnCRA9TVsSAnZWagAAvQwQAImm2xki6FRrhNt8Mqlb\nc1fYETAb3v3zrITtWwdMI+Bs+HEFDoBRLTp700VPJdvdxzkr/bm7pFn8tX0H\nf6ZetV9NgSaQigADhnNDpcF1CdIjyfJxxaCOBYUsrldDxb09Ij45NaamjI5r\n5MMFXqumV1fe/mhpDnDYk9Qq7pRT1k1pu6CaPdXs0Y2UpiZ8+sVXlUdGGx6U\nL9jnDScB6VGnm6NIDw76kuhsaJDwyFQhcMMmpLII50ABmlpqIcHVg1vbWQec\nCZdzPLZdrE40vhdNAmFKY9OVZJo6hJndHbkcSbjTfug9ltXUQsm9DUi466Ut\nVq6iiil+KVDBr0yKHZ+rUO7TpXkEDOV/lsK7ejiCQprRR73ZuL3ctmGmt5Ko\nl3P+Rrozm6EUlf0aeB04aiXgWdc4vLYagTsY10Wzjbg4qNxplclytEBPxJuL\nvzPDsN/GnhtSBpvIpUmO1hWXPDgxP8R78oZX0ERI903ZdY0OgOkpGwW4net7\nrS6uM0eOS9CroCYGaFR/pBVplBKepluIYpvMmSfqvcx4HdQvAO2TC2O9cCGm\nz4ob/AbkshfVr723EsOb6mpm1192tUbvnQKfH/fpsNRNQ16zHBua1ZbBCm9a\nfioJYpizAo7GvoAPRie0Q3QwKKPu7/mbeG/avFDYsZm1VZMeKXVJfKYLYOtc\nwAVq\r\n=aPPn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAYhFDnHfhdLtBqeb+q4u7CnpNCUnj/me2g0soWF1VtDAiEAn/KZAiQEXSE9biwvIyhiOcE/ivZEuyDPAu4bszlVDlM="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.2.2-alpha.22_1536852263315_0.6310801699337147"},"_hasShrinkwrap":false},"1.3.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.3.0","license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"^2.4.1","debug":"^4.0.0","pretty-hrtime":"1.0.3","rollup":"0.65.2","rollup-plugin-commonjs":"9.1.6","rollup-plugin-json":"3.0.0","rollup-plugin-node-resolve":"3.4.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"4.0.0","uglify-es":"3.3.9"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=6.0.0"},"gitHead":"79b8545bf686776429f5de76cd4e3d77b0e4be88","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","_id":"@swissquote/crafty-runner-rollup@1.3.0","dist":{"shasum":"3a98e4801772fc2d482246c20bc02cbe5e44becf","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.3.0.tgz","integrity":"sha512-VEXwRLrHU/rZ2yAaqFEdR/X4DM/X/6Vq+MUD70EFMZgJRHTX2LZwuVt3azpJgLZOFx97BvPzhB4K64xnHc1ehQ==","fileCount":9,"unpackedSize":36426,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmoHnCRA9TVsSAnZWagAAs6wP/36RZb6hDa9ZdXIoq3ck\nYIdUfrU3Y9glHh6ifWWKNqous8CAzPL3JFm1s15OfHyC0bdRIv5xomWiRxfz\nLchRPAq85jxTtA6JB2y2aiU39oDeHiYl/3UjNxqQl6nKAr9AjM8uq6TFnKey\ni/uBcOHjwz5Ce34HGdVuDmbCkypM37fuKAjiXUzb6hdWu8ubnJANiJpRv99O\nksqQTXRCHdWfVuCiJX8YgViW57wL4muxEc20Tf2r18RAu8coNanexgGIWJUd\nPAEYWcAS8JPIhg+BBYtapb0pLS8AG/92GhODJ2w3eulg+V1UZhSLjcS+qQ3H\nNhW/jQoHJ47op7tSDd9/bTRJBsxIZcIPVkU5J9MVzx03BgMdKP41OCHIDNtM\ntVwr94+AFhUJfZkShJnDOdBkt89qFIw/zd4q4BzcRfnK32XWKRSQvIMBREPJ\nd0MbP5xmRJNYIe3cA8wIgcRpXZnFX7oc7WZikanrbFbsROJddEb/vbPps9gV\nepyRm5pkNmQv75ICdFz2VjPiKi7ruXCXKTeQJkyexlUG/A48askaX3CetzOs\nu1jkwQYDFpLgxD8uy6VHgAUoc/GlXTbUxu0NKB/LotFrg+VurQy46ddEzv3y\n4LjkT700izvEiq1McDT+d96D1MdRqpk78+a00RZqTKX2XmS1/vZhmdJgfGsM\n6TQb\r\n=p55V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYppT8lXkJIO4C9KzoaIwVIJBKK10UTk7QJUVvtKtDtQIhAK6aSzfW7Y42c5bosk/Gpvki0vas+zXXaIKXHnp6CUI6"}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.3.0_1536852454943_0.9580200919491983"},"_hasShrinkwrap":false},"1.3.1-alpha.27":{"name":"@swissquote/crafty-runner-rollup","version":"1.3.1-alpha.27","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"^2.4.1","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"0.66.6","rollup-plugin-commonjs":"9.2.0","rollup-plugin-json":"3.1.0","rollup-plugin-node-resolve":"3.4.0","rollup-plugin-replace":"2.1.0","rollup-plugin-terser":"3.0.0"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=8.0.0"},"gitHead":"fc4cc8a955c9d54628b5fbea2a3ef06b0215bd44","readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.3.1-alpha.27","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-uMHs+rieCXHyY3fsFkzJ1H1PbxHHu/pB9uZAqtEnEcqmfXRgOLc7WwWMAF4DZe/I9lWur3tRFZ8/kI00OHL0wg==","shasum":"bd7101f1aa6f580659b2d3dcb4842e4394a4cea2","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.3.1-alpha.27.tgz","fileCount":9,"unpackedSize":36368,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4Z4/CRA9TVsSAnZWagAAz4sP/1+nBpDykF5iOl9DyctS\nGmwOZysXdPkrzevmNWbTR4Je7Un4dMKwG8FIPu+VNfK110mGdfCcGj4vvGmE\nte4UyHiWMIXFx9fYkicbD4QG8R1TMLc8Vt1Yiv7+r8f74WK4ac4EphSv3TMT\nD0owCaGWGsCoCiSIJG2bTUqnf8mLvW+VQztJ15BkksGVRajaIRIF30YpTSEq\n7sPErPdXfhSdRF4sNaiB/bUXWHsDU5nPk0TRmfYn3ROe56fAKWlRokyaREuT\nROGpqzSxXk/aLtbJZeRBSXsebR7vzmvHTAVx9AJqX3M8VcChG+IOtBaEOn+L\nK0KEBZ3iSy+RWTn4w/0qwWwk+hZipAd8l6CytH6wGxNX4L7nhIZDWAqrljFi\nzR+yy657PKhedXUauNrOiVptrAHwv/SStK2DTd0XcvwNjpfphD6fENZNtQ59\nP+ZycqVXbASj8kJhhlSMC4PCsBjxF0dUvCa/9ntgUw5pOvSUBfhts8m2y0xW\nGHxh4g9NcGro9BmbYdthkKrcdSsTmg23Qlg131mPO3QlNdqNSeMcvlCSdEmJ\ns1il5pzXzunHhj/AtAFgb0dufhHRl3K1Ll7II/PIH40I3uS6tBtYW0RuXmcz\n/PRQ8m5/VVo6zYJa0SbHkyugIlHR6CKIgk42Avkcg9lSGPg2eTKuuVFtXB9p\nSVj6\r\n=IaSn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCR6i4rRbt+dCy+5siHr2pvhB8/mw+NIR62sJ63y1nHfgIgXl7DyWGMv8+lapDz9jPAFIFR8yI5cDSW6bgTDUK6K2o="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.3.1-alpha.27_1541512766445_0.6463178342124798"},"_hasShrinkwrap":false},"1.4.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.4.0","license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"^2.4.1","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"0.66.6","rollup-plugin-commonjs":"9.2.0","rollup-plugin-json":"3.1.0","rollup-plugin-node-resolve":"3.4.0","rollup-plugin-replace":"2.1.0","rollup-plugin-terser":"3.0.0"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=8.0.0"},"gitHead":"e9bdb54542ac10e74ab8393eee04d4e371f6fcd3","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","_id":"@swissquote/crafty-runner-rollup@1.4.0","dist":{"shasum":"a90abc7c780697c2ed723e99b81cbed804a4210d","integrity":"sha512-bnLjpLAHndPvbGxDiXmCoIGhXN5E7ZF3OLUTuj37ZmiWgidKR4gHv4MQ8hxiSARiYgWcfTmwAp/rRsHUgJ9Qbw==","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.4.0.tgz","fileCount":9,"unpackedSize":36351,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4bEOCRA9TVsSAnZWagAAWnUP/iMpcjOv68VrTHQbM5yi\n1rxEJrSoX9+NMetNyRtWSx0S8C0U/KKGIOM2ySGkuySueyXbfBezqAWn1eF+\nNh+TOXBQLCU+/GFARSdcDxjCLAY8+2+Gt4smv4ZRaceO4C3aF6vJhVdVxuqa\njHMLXwLn1w4Cr5ChZBpJSFOfa/XZ3bfoleL0k7mPzoxLjHfy2pNi6KyCjuco\nu2mWlxH1ddEgdUbKbW0h9TuLeUhqKBkl1w5JFsk+nV441vWHRlYQNffMBLeJ\nifoGSvSYNIsKhbNnbQR1K31dMiLTsb1n+/kx7IwfxiUdL1e1JopYsQL7q+Zk\n73Fo1ngO0dBe3ESqTsKUwi8jaZiP6YMpPGf3ESdRF0fEuYI94NOsGBMoneeD\nPupmcQLnHp/6/T3CREGPi+twWsF8s0JbwjKn/aJg2xbyznxn300mrAjEkzi2\nYNAlQ4xBw6fr8mZp4bUSTACKqd0P22nvuhgpvzy2aU1DIEr0SCVnBbNbZeCj\nmZNuW0UPFJhJ2bH42Ezet/rWYU2/Ra8mYJraTzcMNfVqOhouGMAHHZmCbndi\n7ubwQHGgbIHUTbPjh5QlgajWFgjZOmZZ4IuzAoz1mJMbaWVIFWI1/cP8twY1\n5O6p+qQikRTEpazztJkKTa2qyC4XzRbB9YU/xrCQ5MasvSzm6kSFnBGb8tSI\n9WLu\r\n=Wi1w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCduhtdG3fKsXp+v7gMaD9S6ZdseV3eD7L3EfyxIgsWlgIhAJ+WSa68FQnAAW6TbFcIuCQ63zfL6vr37sc6OQgFO5Sx"}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.4.0_1541517581518_0.8434521079043125"},"_hasShrinkwrap":false},"1.4.1-beta.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.4.1-beta.0","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"^2.4.1","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"1.2.2","rollup-plugin-commonjs":"9.2.0","rollup-plugin-json":"3.1.0","rollup-plugin-node-resolve":"4.0.0","rollup-plugin-replace":"2.1.0","rollup-plugin-terser":"4.0.4"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=8.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.4.1-beta.0","_nodeVersion":"11.5.0","_npmVersion":"6.8.0","dist":{"integrity":"sha512-N93F2JzmuFTTBk9iGi6yIJImh8V4iqPuLYbHT5iZOMprm0DMgp+Ot0FQjqpkXn6ECkDzswkOxxd9vW/V8isT0g==","shasum":"e236c0a0de3f1cb785b9b039067e1d07299e41cf","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.4.1-beta.0.tgz","fileCount":8,"unpackedSize":24847,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbHUMCRA9TVsSAnZWagAAkMgP/AkcB4SoS7HC6VFyd4in\nlw1CZTqpo+SmYvYnMzZ5uMzKtvDKiOflgiJ6JXfAd45Fui+GZiEToWOSGYGz\nBBG1rQcxnkLRzH1hXBscnI27Y2MdSA0xa7PhGbmOgUKWOAhSFMrMDcfAlZFS\n2qKoNv1mY59fTu/MtjoV4TQ4Df2xAmDpVMmQf+a7UwqyfeklI4QKSBQbecKi\nWcQXuoRNFmX+JStuf7GVDG2hFzgmoXZin+diZaOLCez4Ww8wrrG7Xd+nYjPk\n2rX7w3SYLyVBZUVVisoHNtFo7TskZF7z5s5HB+jkASPeUJHK75TDl2WEzm8b\nb2JjUdUbXzKJMGWznUJwdNvF3aRMj8y2iQc8hK4iZZgw2d8EqrinHJBm43KU\nhxECA72UFsuLQJrpVfw7/KAIRdL4nV6ls01SOMf4SvPFMnTF9gdVcSOyNFHw\n3AXBkNfjCmYvpKJUWJk3ScEndz+c0CKSwJ8zpqERT4BLQUG3djAqy9KueaPN\nfVOFK48e6E9d0bLpzbgLBlpcnj84Lwd4ITyKJyfSwD/pR65TgxXey2JfFl3M\n5L4Ek3mjUORFupLngz4hjhJ0hGaku396CR1yZ3GJShrIJZSm51Mv4Dq+8gzY\nxQldVmNDuqJGPLY0pfkJ64XZZ++QcZsz6FVKHnFSD62ALLbISGKzRKNWj/RB\nggaf\r\n=gaev\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUhCCUiiczuInMugXtKwy7uFBHA5ieQphs5bFhBFrz5QIhAJoAAak3njA2DXaz+AkzU9QeEUSAL8jaUY5AY8/ufV/Y"}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.4.1-beta.0_1550611724170_0.5412314700602407"},"_hasShrinkwrap":false},"1.5.0-alpha.8e35b1aa":{"name":"@swissquote/crafty-runner-rollup","version":"1.5.0-alpha.8e35b1aa","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"^2.4.1","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"1.2.2","rollup-plugin-commonjs":"9.2.0","rollup-plugin-json":"3.1.0","rollup-plugin-node-resolve":"4.0.0","rollup-plugin-replace":"2.1.0","rollup-plugin-terser":"4.0.4"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=8.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.5.0-alpha.8e35b1aa","_nodeVersion":"11.5.0","_npmVersion":"6.8.0","dist":{"integrity":"sha512-o9Wf6xRSL0wU5Y/3WHBWH7fd92/GhS2S/qJtLLF3MvNHd6dpXnuw6ASIZQudna9b+hil3SRabSMs3vw4ODvIMQ==","shasum":"068e3ffc8724c5c56131eba203716f76cb87cd02","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.5.0-alpha.8e35b1aa.tgz","fileCount":8,"unpackedSize":24855,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbHcGCRA9TVsSAnZWagAAWPoP/3Tt/aF50FlZeavqmNH4\nIM6e3Yu0fFVJ44iZ6rkCTqEzja3altAgrOoV0/3kNp0YPARdfXsuzeBOoDxU\ndTa+uW9OQbLVm5dBT3QxQYip8tXkOPPgBkS3UhgH2BTOMXIPV2YW8brvuhy8\nvHh7zDapXWQmN1+hAf8uRMDI1q3vULfLLxK6fJxP8Vp+sb69xTK19gwMi4nE\nVwJ39lMglZu1Wpb6dE/RGoavJqK92xQFrfxTfX+sI1nDtWXALc6ewcdjPx6k\nQR4YvT7/+TYc+yxq+ilUmmk1qooJtbMDsrBzzqiJN+4G6fDCkO9eF8NmNMQX\nP4+r44B9IKlAbgfiQwi5M9lFjrGwF+ju5VhaHh1B4qncFfApR66EcbKlFwvU\nguVKNbui1hLlofVIjhbxrwrmpTAug2hMhy1E2F4sJd0ojouLRcH6kg0Om2t0\nq99HqmX4TtUmkKBzNSGq467rY8oFDlgxqVZSKwWGn9+hrpfKBo4DgH+prsLT\ns3PHEaT32Bjmj6Nuq/uaq9IcohatGENlFBIUGEjYA+0mos1lslAIc4Wgg7qe\nE+Tj8rmng4LJrVGVNXoX8ahNm7kbOiQpcgZ3obp9JFoGMR3xNibLktfGAK1Q\nrh5P5tsPdTmNyd8Oyuzf+Uujsz+kvxIA6wHPCgUK8RxLP76rQ2ZHDYq0N0v4\nPu2y\r\n=CJ1s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQiQrMnCpaXMQnimubtN0YV2wG+xIPMUXv1ZbEA6Kd2wIgJouA7+F6kj4ymfX+afj7lB075wjDg40N30MxxERjHJw="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.5.0-alpha.8e35b1aa_1550612230068_0.6054921691029675"},"_hasShrinkwrap":false},"1.5.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.5.0","license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"^2.4.1","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"1.2.2","rollup-plugin-commonjs":"9.2.0","rollup-plugin-json":"3.1.0","rollup-plugin-node-resolve":"4.0.0","rollup-plugin-replace":"2.1.0","rollup-plugin-terser":"4.0.4"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=8.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","_id":"@swissquote/crafty-runner-rollup@1.5.0","dist":{"shasum":"12cf44dceec2741ff95d03942c819ab59667ade3","integrity":"sha512-eNzPIa4PJKB+KuACaYnI7pYZgnuI6XrsDfPrProMRVp+zkhSefxnKdV61TGttaCfCBw9h3/NtKtG7Iq/MzWEJw==","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.5.0.tgz","fileCount":11,"unpackedSize":24840,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbSklCRA9TVsSAnZWagAAXTgP/22bTgkOExb3hKUuTizj\nx95zcypn5ghZt7DM/teAMvlyQZy3OZMzt9BqQdBEged45pfyzinU62AnoBHY\n+GCFHZWyhmAVT7Rifj1eOA3gxqC1U2vEb3/366GEtlWFRp5EeNvEGBwlDR8j\nCd25O3c08tEwyA/QOetbIca6ba8KXKNJ0r3/nn2eIM0mzv2yBFKkD9g5W5QI\neaR5qcWkyQMFCz2//gbL0vxRhZYs3lDbEtPvK3VGvZwhs/F8cegCsCVQqTI9\nUhH42JInBlOtDgrchBLxVu8RPmFGCH4FcuVVm+aHZ9nz3vbsXNjvhCFu/IZf\n80lw/kNJo5UciHtbfwHIfsVtMAeaAeFFimr540LSeyKgZ7UVQGnBjDxHau3t\nD1Y4USwZmDhkeX8epC4aQFBgFJlAgMcpA7kB1Reu4FJEVdB2PdlZ1NBgrMg6\nHwnJMhEkL4sjNKCiDOSpFyc4SXXKOOZK/xq7DW4ZtUmex7gVoE1GLCqAOp9p\nKv8A3f3s4WZxcPKb/IjbPEhE4eQNcFbyqmXJYw8asfhoHrW51KZ4i5974nS7\nwviNLaWfR0OaeisS0ul9HusfRRs4UdurKhPybK3YlhsTBwwcoZCM4tLp5s8Z\npCKxOS5LqwykbHXAA/qAOQiuaXxmqdcMtEZskyhXYzW312WR9FiQjdT5MrIZ\nr/Af\r\n=NjLT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIf9xFvjBaoKWN5Kz9xg2AAIRtHvizPT9h9v1A1WjaNAIgJpjYCM9f1h0jBVY0Ag9NwqNzmo0kan7j8cM8bvFRzW8="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.5.0_1550657829243_0.8529117862086344"},"_hasShrinkwrap":false},"1.6.0-alpha.4ca88499":{"name":"@swissquote/crafty-runner-rollup","version":"1.6.0-alpha.4ca88499","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"^2.4.1","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"1.7.3","rollup-plugin-commonjs":"9.2.2","rollup-plugin-json":"4.0.0","rollup-plugin-node-resolve":"4.0.1","rollup-plugin-pnp-resolve":"^1.0.1","rollup-plugin-replace":"2.1.1","rollup-plugin-terser":"4.0.4"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=8.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.6.0-alpha.4ca88499","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-axjXBtDEKQBJfIaY0mrMSI5KlwDUu5BPavDfJcpMXmXYIjJnHlecL9BQ52WcI+TM8KqbXzMpY+daBPkH4o5Eaw==","shasum":"de698879e7ca6f04716ef64f6ac219d023a479c7","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.6.0-alpha.4ca88499.tgz","fileCount":8,"unpackedSize":25096,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmK8iCRA9TVsSAnZWagAA01IP/iaVqkh6dtIQ27yYgQR0\n8F+Ujm27UB/bssSTv7/2GBtd+qmVK6VAK3AKabbFdLl3fwk8fL7AFMJRy8DY\n0zy/mlzXoLli5kPHBXrehigveQHrA0oaKfYaVHBAJWn3BLTxwRSP9MmH7lLz\nVf2BkkNB1jJ/51J1rLtVx1ja0IwS3PapkPf8yjm7U0Kl5X+fJleqoU9q7VSt\ni25yIeUzNi3XMG4iLDjCHXYtkXJqb7w+Q2b7NhXMiOtXlrPIRH+H9996b+ha\nv0O8BeNZjqzXkrJl6lHoni4A46GJ2Xl/+u8uybdWJGEjkJgXz2HHmx+LCJdj\nk4ALpGAhG3LFwx8Xvuenx4ypmhMKEhKlrlOkVG9UIl51xFiS/sieRiChdDN3\neAG09zF/bR7ZwPWQbFU3OVngTWfXOuILnBg1j5Yh1osdrjgkvZHRpXfS1c3o\ndKB2FpQf9SZByqpnoiJBCaiduGjBfSZkp4B1PqOSQRoWvN1JME+Q2PWYL+Dy\nSiPJJ4J8TV7BlSixgsFHbddg2k3g7e54H1VbjL5mSJ61rnf8LFxC0veJF5ot\nR9mQh7xnRr/ysKtr1MxDdwPj8m30QLeikNVjioATTcBiIP/UfgbzoIFIK9ZZ\nu7LnHlu0U+buVHCymbgFUlXm53A3JRbcDTngetHzyLORpSGRtFggqw5d21AL\nTq8z\r\n=RsnW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwL+3WQfOxhzXMixQK1mKAcrxy6oKIsPnEyhutJkHR2AIgFzUDhfl19U4i/nyn9EZkJ90fR0W1NjW1MAoSTrmQqOU="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.6.0-alpha.4ca88499_1553510177417_0.8085878729060714"},"_hasShrinkwrap":false},"1.6.0-alpha.f9068b0c":{"name":"@swissquote/crafty-runner-rollup","version":"1.6.0-alpha.f9068b0c","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"^2.4.1","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"1.8.0","rollup-plugin-commonjs":"9.2.3","rollup-plugin-json":"4.0.0","rollup-plugin-node-resolve":"4.0.1","rollup-plugin-pnp-resolve":"^1.0.1","rollup-plugin-replace":"2.1.1","rollup-plugin-terser":"4.0.4"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=8.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.6.0-alpha.f9068b0c","_nodeVersion":"11.5.0","_npmVersion":"6.8.0","dist":{"integrity":"sha512-WUBzKd7QbFKM40yVVrLfZehHEtoF7Klv0u/32Kf8nk4fr+YaH7zeSRrVoll5Qcux/Co0drUfVy8gHwpltzlAQg==","shasum":"9b3bc6a7d41b1168a706580f01ca99d6f7da097b","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.6.0-alpha.f9068b0c.tgz","fileCount":8,"unpackedSize":25096,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJco72/CRA9TVsSAnZWagAAxpoP/AusR+m4UafWYZxTGP5w\nKH/3Pu+1h6WLT1+scbAAPMEXZQkLSD6e9ayk1L4KVABfJlhfG00pCtlMAgrb\nNDjwxFK6VfnpisYefHU/b+5RV3tTAQSTKQZvLUTyRIZ0ebIipTfv99lYHRhl\nBdrYsetvfe5hSaJPyjv4phnKj8FNXhXp8UkP5r+qLVhV49UUYuVJbiO4RB32\nF3r8dEzL34PgHG2gycwKgV3lk7g4gn6AoFQwkl34mDLiHVqdpFOuY1whNsFZ\n3CBdM7vca0EISkHHoB57cO04fEiTXNCyg3C8WsTbcmN6jPudf/spgxQY/WLD\nMmFL9Tu+BcycoY++GsqEuwpvpK6882LOR9wh6Ci/MBH6r9elpn7jFcyEa3NE\nEcsgQck+m03Jd0zyNAFIHeAcR7bGFZcEoyRT3T+ophN1S4ASJa7HpuGfVCkL\n6oBTqu2RvlNae53T2P+NhmuDlcY4daA7QknRWPAEDM7IWX08jFTAVEcLx4lJ\nIemtgs9Hq4lQs4Ay6jslj7DKOZnIQSSwOtP8q5O5Sy2IMtkdGAU/GUnrguGC\nR/gx7lO3wthW0faHDsFTniYdrhYqYWQbZWaJIzmgBjyuBO1tawCuqsp8o1od\nYHHSiOJKXyHWUA9JQIrPPEjE2GhKEVwyF4O7KplrUa+G03QMGG34os+fDbFI\nUF85\r\n=uCqU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQBzJmjbXBkQaXjoeAByw5Pbwzsa+HN2F5Mbc1wfKtaAIhAJdw/8QSl0O4+8bValFWF5XInvv58kvkbqUcNZK+hc89"}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.6.0-alpha.f9068b0c_1554234814771_0.08718996289697079"},"_hasShrinkwrap":false},"1.6.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.6.0","license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"chalk":"^2.4.1","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"1.8.0","rollup-plugin-commonjs":"9.2.3","rollup-plugin-json":"4.0.0","rollup-plugin-node-resolve":"4.0.1","rollup-plugin-pnp-resolve":"^1.0.1","rollup-plugin-replace":"2.1.1","rollup-plugin-terser":"4.0.4"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=8.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","_id":"@swissquote/crafty-runner-rollup@1.6.0","dist":{"shasum":"24634764fe07453687b4648de347e3b4f7a3471b","integrity":"sha512-p2RZchljXXZG87p7ue3KsB4er0+dx1ZHwN0HwGIXUUmN17e6wi5XRXXiZhZ83rhmHWwxwiQ6m7+JSF7xF+6uug==","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.6.0.tgz","fileCount":11,"unpackedSize":25081,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJco8Y6CRA9TVsSAnZWagAAQb0QAIptAbD/oVV7ZRy/9IOL\nMMqBMMwsEEpxpOvNSMVY6NLSKpAcEYUvgc6DaVlvHyi5sVDQn004ShTSfzct\n65nCIjEoWg9ZDxhpVMv+xeKK801S3TIzxJ2gyuu20E43WHq5ZhUeEPtkNO9q\ny7ugSBmHDHM+FIKn1tDUqPsSL5B1pBCi6xEX1zbEPHcSlqlj4DMCo5aHC/6x\nJj9mFAtIXgCGWSDQI0xj6hO8HwX+JeAs5oe3vMlqdCAffbd3I8GqpcFHFBzK\nNyydbQbVDYUSxHC4d2bSuT3IjnL31sBzc+9GqA5Nos4PJ+305WFghSD2aUbX\neIUAfHaHB5i1cOvcRy6FICDVd3xzSPsGs+2lLDQOp9NnEI4G3oFB4UO5XAEu\ngxZeNW+1GffAH/JwRmwSaOi+nPcrbR0blCF3OOcqEEuAi33FbLzhZGo35jAk\nCeoLztNoDSNIL1j4h/d7yDGWm9zItZLXmKduJiKPyExgiJ9Clcwd7ABZgAF4\nYqsfRzBHx7XYPeR8H6+NfOGqAGsHNMhDVjXF3/xK85rsGvIBvxUutJsPSGOF\nQn1MJNYvj5UWRY7Fs3VqAk2h8JVZVYs5iXrk8L7oX2GIUhlDMQ2RbTpSVXm/\nudIWPkTNpZwAt9x84f81nCWQBg91Uu3GlSPL+eafL26u3eQDIVMOPkJZbM2Q\nJ+sT\r\n=CIhs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHtOL9XaZ2Rv3lWFNTv56xuj69P7JSVSnPCZPeN57rSQIhAJfAXlXUbBgzoTHQZ+lN+mExuDDn6eA4k/qgZNM+Veex"}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.6.0_1554236985755_0.19497383990025474"},"_hasShrinkwrap":false},"1.7.0-alpha.f5ffc7fd":{"name":"@swissquote/crafty-runner-rollup","version":"1.7.0-alpha.f5ffc7fd","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"ansi-colors":"^3.2.4","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"1.12.1","rollup-plugin-commonjs":"10.0.0","rollup-plugin-json":"4.0.0","rollup-plugin-node-resolve":"5.0.0","rollup-plugin-pnp-resolve":"^1.0.1","rollup-plugin-replace":"2.2.0","rollup-plugin-terser":"4.0.4"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=8.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.7.0-alpha.f5ffc7fd","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-gOo6TEkHQFtLKHjmJG1urXkQVTg2sJM3EQOxKTUib5kxzDuKWjdT1VuheyhtV9m6ii5pGuoxpwlh/bWdj7sRbw==","shasum":"9b84364230f057518a4733a75d49f1c4b2111435","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.7.0-alpha.f5ffc7fd.tgz","fileCount":8,"unpackedSize":25051,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3pe5CRA9TVsSAnZWagAArAYP/RT1jPyKJgRxIxSleR0r\nIMG0zP9uwWRT8WsaE2wF3SY93kg70WOO4gV2hKgc5TYqunQmVbjKk6yJo+O8\nSKOPVUb0h1GRzJfzW/EgVQEUS84RX6VzWnFSMx+jlpU6w7R6TF2OgqYxRGna\nZ0uwYA/bKbqnm4LAbi68HgJiEmSzKDIjZ6N5utHv29AXZc61KOYs7E4gLg3B\nQ63cWwDAVhdNtegt4wI7A0RBnQV1kAaSUY8JXxyBDO8Z0QkXuExEw2DDEVh4\nCoCAlM3/51t2mEZ7kLm4YECb6ZYjgyKWg6O9ylBCbP9PFJWiFKQKDEvayjKO\nxne76CX4iasvemKOTL6WXehwJpcbdHBvaCa0+FtQXZ5LXESADAEnNrEbrqbW\n0wgCAu0EYbhMQI7Kr5zWfX0f++OeJDoUxdAXsZaglbIEZ/AexkMq4Ah6z1dU\n3jdcIZ/9jCfcGwAY+8K80xYu5tkmTFbg/l7X0t8TVkyy4gWFOyuV4w0fCgCh\nQG6doRKW4QhKdqSB2CGuXfCK8rQjCn8adaPHYKdAVWy1BH+a0OiWf+t1in1w\n6xvtDBt96G4A4Gsl5RNIyjlxjLmlA55P7S39oxcxr2p7DVDQ7l+mnuBlFxWH\nVLcq+2rPpnmFt4dmT89MvRt4STf1vumV8b2UBLyrnVbcq0cW0DRraXiAN3iZ\n+HnM\r\n=rGMy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTNT/HW/ZYVW3kFKcbxe1bWvHL7siUpRj1MJV3Q5zB5wIgI8FpnEZzPfLP6EUF0pyFTIBk4G4KtdcAuO0wk96YWbQ="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.7.0-alpha.f5ffc7fd_1558091704662_0.819523523432724"},"_hasShrinkwrap":false},"1.7.0-alpha.60d03c09":{"name":"@swissquote/crafty-runner-rollup","version":"1.7.0-alpha.60d03c09","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"ansi-colors":"^3.2.4","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"1.12.1","rollup-plugin-commonjs":"10.0.0","rollup-plugin-json":"4.0.0","rollup-plugin-node-resolve":"5.0.0","rollup-plugin-pnp-resolve":"^1.0.1","rollup-plugin-replace":"2.2.0","rollup-plugin-terser":"4.0.4"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=8.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.7.0-alpha.60d03c09","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-5Pi1HugESdlzeiwAgtGD5AQx0KgMIe0CZnb21jiukEp9vJtJxeYbJImIiwDH+fmo58mQg0MYsJNv3H96aYGY3g==","shasum":"f1a7c563b81f05efc954fde13a07846396a0cda3","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.7.0-alpha.60d03c09.tgz","fileCount":8,"unpackedSize":25051,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3rUaCRA9TVsSAnZWagAAUzwP/iM+PDyVeZLn1+af2/Fe\n1J/B5TQaW4GwBVhlt30uhLb835HkMKad0kKYkw7XWIeNQRZawc1bAK6Y7Kw4\nPRyR3Uks7IwMCx5sjChrjxR8XwKsMmruGkytWlfsPyIRUr05a+lJs6wVqBuR\nrgp5+mVuPyTjqupYwJFZz0uW6MQ8XUC2rYT8KyWbh3ZkNBIIk5p2AFvw6uiz\nZAEkuGeAvarFh9/v/GgK0ahsxWNYZ2FVlAXjfSnAEkKg/eDMJPnmeoSLDvtd\nkIHZS1/1R+C/Y2dNFQbs+lSJru2n8Qn2Zjw0sBG0JKbhUhzDV8ELBGuYuaTX\nBc/Epuq+joS+oqoFH8+Km4Gv6xf3rvrjx0WoxwZIjnIssSNz3QEA3b7KvMJg\nJbLkrSf4mol8+edvzPitGwmeIg6OG0++YLWfuaIhU/04XqQZdWHnKYSiCXgM\nh8KNJlkn7mO1a4pEgirvRDVay2dHhffPK7U35V5+45slW38P/d7isPhE3f7u\neYLaONQFIOUbhd2aNL+EcNMibUMgvBOMWDPYS9pkxIhn/7+jaAvY//gtA6Qo\neRcghXqklubwVwj7QxU5Oddm51xIXiG08Jg73cwaelpAeoyUR8XagRIxv55k\nC2/UUGLdrK4/V95cMS7FFcV7Pwe+wJK8IfQom+zMft99xWAWNvXjDQgsCw+X\n2yX7\r\n=FHaK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG7fdmOXkkeXyho5adZHMxtWbNgivBNWp20RAp9P+qxkAiEAq++3jqq6QiJB7Pf101ei2GoDbQ9Vh1MWjZe3thcWjow="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.7.0-alpha.60d03c09_1558099225435_0.9387448215987884"},"_hasShrinkwrap":false},"1.7.0-alpha.022db3ba":{"name":"@swissquote/crafty-runner-rollup","version":"1.7.0-alpha.022db3ba","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"ansi-colors":"^3.2.4","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"1.12.3","rollup-plugin-commonjs":"10.0.0","rollup-plugin-json":"4.0.0","rollup-plugin-node-resolve":"5.0.0","rollup-plugin-pnp-resolve":"^1.0.1","rollup-plugin-replace":"2.2.0","rollup-plugin-terser":"4.0.4"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=8.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.7.0-alpha.022db3ba","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-UxujV3sqtCjpq2ktgpU846+BvrWXhz9EX22Bs1AzPtj06Vub/09e+sjHFW5EgN3tP9BPinqZPw/qcllFCy0vCw==","shasum":"40a6da43540c9c90f875d63b6f4962ee7f6198d5","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.7.0-alpha.022db3ba.tgz","fileCount":8,"unpackedSize":25051,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc4qCtCRA9TVsSAnZWagAAWOgP/jRiPJhlwfNwThIwHia3\nNTNRGsGBjC3RupZ/VUAxcP/xZa1NYFtLXGCz72l2h5/EzX7ZscfhjRQEu7XI\n1Atd1NrG7d0xf9fNdqVkQdjqZiHf2bMECBhCfaUdCeQ1/gXnjXg+L5shdaLG\n8kp1c7ZWSEMdZiJEAm9/3z6+xdZJA8aCFL0vTZweqWvtks3sgQhNN1nc86ou\n1gt36ak/wFudtDDEDaipAsG+tlC+2bSW1N+0+g83OfhMqK2hPMO1T7+DESS0\nIfvRuNtnqbWpCHeG8rZRhvKWm5+NZY64XP8S85MsJYrt307Dbsm1QC5Ka8Yf\nxeK+IJia1CNEZnle7tJeQHPfXWqJP91jp4lCvQX0Pz4Q0QT7+Leck7lDqlJm\nQcVqKjUWREzxMyXYCXLMxrZNx7RLrPnldSqcT+g7IZ0Hl5+byd0LBWsH69OW\nVaMgLEn3dJk/89gkeE6KRBFA1ZKR+PHHO2ZSCivgxZaITT4OM5O5YeIY+rPI\n8TTMFkLEI8RgMt+QPR/PuYRLDlK1VGS6uOCTl2sKkRC0EPffB0nLh9H/I6l5\nFaDARwAkWbcNlamvAThDnl1lPC9kkfQ5x9EdKx5SRAagRryGVbaqiDBGLXws\nmEpfzUnfbYvAtNc1IGSGDYNG5ugcHHBQIBhHpekpdk+slkiJAJttNB/4Ee8C\n5g2t\r\n=538n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDgicqYJlC3Ipzwdd1fuNaVOYwtUP+rmlcA7caFacP/bAiEA35veiQOHmYzrdSRuhxZ3r+HTUeDz89qbhzE3Y8Ek6AA="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.7.0-alpha.022db3ba_1558356141201_0.9779925402932119"},"_hasShrinkwrap":false},"1.7.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.7.0","license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"ansi-colors":"^3.2.4","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"1.12.3","rollup-plugin-commonjs":"10.0.0","rollup-plugin-json":"4.0.0","rollup-plugin-node-resolve":"5.0.0","rollup-plugin-pnp-resolve":"^1.0.1","rollup-plugin-replace":"2.2.0","rollup-plugin-terser":"4.0.4"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=8.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","_id":"@swissquote/crafty-runner-rollup@1.7.0","dist":{"shasum":"e0df1b253d2728be27aa62ed3316811023bdb193","integrity":"sha512-JJL20Yl8FH30Xkp4v7Pz2EPUW9r6emrxSQFdPn3Hhgv4G55fvLVg4EQpw3FdGPEv9pY9skOt50qwC0Ftg22H8A==","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.7.0.tgz","fileCount":12,"unpackedSize":25036,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc4/6KCRA9TVsSAnZWagAAtfsQAILGnqQzKlhqAkzb7QX/\nb4IJ1TVit7dEjVYS3/IAW621sBEvcC91xqymVt/kDxqDZN3DBnQjFT5cvCIz\nLbNdE9y6Dl9OkLMERFbPFnp09PIM3x3KNvqIc5U+/SikCBwgQSGaoaEPv0Fd\njtmpxE97sxjuFGMqn9/DgdWjHs7wV/NHlQSWo57fVvryarIHjdvftPAu5y5S\ndB/99KoMldkqzyMcKrK7OoP48odSoCTz8ulXpFvArHYf/vqD9YzbGBqLvber\n6Fy3j4WOGqiIANIH0csDlFSwllxG29liOxwygzDa1OvS6Ey5R39If7oEWcBP\n6w+UDoHwsfP5vLKK4oNh/dXRs9BdRVP6aD4Euq6wXOB0HRXUtqDX0swJEO5S\n3KXJXLzh9a2yesCj1l3altRGp6eDIUd31WL7KuT1XfmP2st8xbGjKq++vFLH\nS2Crf2VvZnBpf+h6ElUTYCwq9CBAryFG304Xo9NF2wuqe92glr6J3oupnD9e\n9pr9BuGNypH0KNab4G1WILJmBx/VUjPB1T46w85pRAKSVFGwPZ74GOaN68zF\nUqKtlqqbf3YjblKNoy5ERsWQSlKd79JJ5ifPyue1xQr3vPMX77du9bvxLePl\nZRSZ6AVyNkaAzd+2CnC/8UvJxQvVzeb6vg+R2PnLyTlxdG4S/cXhlXwlJ53D\nYIoR\r\n=Y71e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfKgRx1xSIzBoWT1BYH+ygF+CcrDt+Ye/26aoNZEpA8AIgEhSMSKBmTvUpHQVYcOQkde4BD4FeUELkr9JxMZICUA8="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.7.0_1558445706322_0.5170984727673849"},"_hasShrinkwrap":false},"1.7.1":{"name":"@swissquote/crafty-runner-rollup","version":"1.7.1","license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"ansi-colors":"^3.2.4","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"1.12.3","rollup-plugin-commonjs":"10.0.0","rollup-plugin-json":"4.0.0","rollup-plugin-node-resolve":"5.0.0","rollup-plugin-pnp-resolve":"^1.0.1","rollup-plugin-replace":"2.2.0","rollup-plugin-terser":"4.0.4"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=8.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","_id":"@swissquote/crafty-runner-rollup@1.7.1","dist":{"shasum":"bd2ab1011d8d4dbb98ec3ced85589fd0bce2e172","integrity":"sha512-h4MPZce6KKolhZfV6SoFZo00LX57o/FBKtjhBjHZIPsFuZea+x0QZ++Tf6tAzP9CKiioz2Fivz0pSnRQObraPw==","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.7.1.tgz","fileCount":12,"unpackedSize":25036,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5OO8CRA9TVsSAnZWagAAvA0P/0qeo11qdajEp3AKmdFz\n0XNrHChDXjY47cR32uYS2dzPjvHgtd7YE6HI1yKAYOhZra+cJeG9AL7l/R3U\n/GxDDiod0W1j17oeUdbu8YLBaqyE+wZGTvaUSea0TzZ8VnfnmJ0xinoFgZAB\niJDj/FM4vjAdDMrvuqsPgJRlD+7aW8L3wkXEF59kApQPrs4UEVhFo1VUu9kL\n+XpZK4BvkOKotztVGms3/AKvqvFt6fxLH1LH5Y5gSZ/7Ai6blmCM0fMuO3UV\nphzYrsfrySN5rqy1nJSY6AAZjkoil3voRzoQK7wXco157My45MLL86TJ8fCt\nOztxkwC4+UtkZNVSzK9zyit8P/wqsCBiYIUXLPuSAQ2aXdebX5HL7HRvA5dR\n+glA0fyIPPjYXmR9H8ORR3q/BdIQmYc6U3DqCh6F7fOvFIvcJeBy+Px3yx4x\nfcT0rTr7JoFbObKMOE+U6QwM7qY0BoF8PXFvkJjNfPxW1rZEMB2CEa055mNv\nlKkYNUTO/ce1DnafS01XzNnA9BgCQqHHukgvQdwbctGFS8UnGfsb7pPbDxvt\nQSFqLBv9JxjEXH/0PQO+JG0MSCs8FB/jQvX5rpH3YsddjRDHEu/ZrDv4cJkI\n+PKxNGTACjzqDnyTpzksrfH495M0YLW+wU30/ECtfx++bhGO9l8Mc6E/fJ6z\nE9H7\r\n=OVSx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGmsTfxQ9Ln4cTV2C6Oh10KfWj+DDZoJ3Rr4+QNgqCqwAiBSb9kwVU7xFj8FwX8vr7nSVhAZfNRfUD5qWhhsZdlDzw=="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.7.1_1558504379503_0.5103497304410525"},"_hasShrinkwrap":false},"1.7.2":{"name":"@swissquote/crafty-runner-rollup","version":"1.7.2","license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"ansi-colors":"^3.2.4","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"1.12.3","rollup-plugin-commonjs":"10.0.0","rollup-plugin-json":"4.0.0","rollup-plugin-node-resolve":"5.0.0","rollup-plugin-pnp-resolve":"^1.0.1","rollup-plugin-replace":"2.2.0","rollup-plugin-terser":"5.0.0"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=8.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","_id":"@swissquote/crafty-runner-rollup@1.7.2","dist":{"shasum":"22bfea90736cd0030e2b9792843d4fb90f9a2fe2","integrity":"sha512-62m4VCdDt+1+vyWGX3QaOOWAkwsvu/7r0aMJNROtWdQ1+mOx/h+FAAEMsOLTjddjohbWXz+ZK2ZOTyHCelMlXg==","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.7.2.tgz","fileCount":12,"unpackedSize":25036,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc59tyCRA9TVsSAnZWagAAQTAP/RgmnsdnkZdZeMLakbQV\noq6IYWTP5F45O+29pQ0ZuTqosOnlIk1wnmOy0i5Vcbb5rJCtCVR2YjDksczR\nU78F4rg5d3T6w8qSxarH7OfnE/pDnNsRvfZLorpVSLOuWdI8XpEOtZj0azei\nG3sYFBHlxAwbAOvk919Tl4rx0o+WYTJCve2sZjI0km5V7BwlmVN2LnC9naGd\n5OhMujVWP+hYN5Zc4XqZC+Xo/gkmdTmF6ceU9CCwJgvSELlsyd+obJiamncg\nUczjLIYckljVrg3K4VacnAI3rwWIrJzcxckiXV+xzm91KQGcOj+Hf+je5+0P\nDORzbLII1UOd+eJo+1jc9qZfclkyOEPIEVn8JwEkYmOv7GEIZiCCrn+v/NnZ\nHvFOFjqS24osbasg4mvq7Ip+LmLaxCWEqa4+KhVtF0rv4ZbCChfBFxnhPm8R\nsSE9ZUNK2jskIjGRrF0Khcwt0DKkUW8s4K0GgnXEF4fq/mb/HQm41THCfwUz\njBVvDDWr+jqpl64VI6d1/FKRGPR1CVXI5mrKvQVTU/dxGh0lTUi2BGIRqrAk\nNeey5LNSGM2W91s0L02xbdCvq177BIB44xeGjdPuP6GvCqgCo5ZmosdSA7HZ\n07rBWw7pKpQ4KN1Ck5pfSJX2B9iS5VOP7InfkfO0FKgHJMdKNf9n18vT5XKW\nG5TP\r\n=lQzb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAXKKS7r7RW3uzrL9QMrTk/K9/RGRRxo3FlhleqG9msMAiEAongyIyiOSfCOT4I/HiJU5/qUWhGW9f8N+3Xd3vZTDaI="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.7.2_1558698866145_0.7825531607633722"},"_hasShrinkwrap":false},"1.8.0-alpha.927cda80":{"name":"@swissquote/crafty-runner-rollup","version":"1.8.0-alpha.927cda80","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"1.15.6","rollup-plugin-commonjs":"10.0.0","rollup-plugin-json":"4.0.0","rollup-plugin-node-resolve":"5.0.3","rollup-plugin-pnp-resolve":"^1.0.1","rollup-plugin-replace":"2.2.0","rollup-plugin-terser":"5.0.0"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=8.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.8.0-alpha.927cda80","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-ur8O7ggOyz8ldZ9/sHnIAn3JdtMo31+w+0Le8bqJUpmIQMpFqPMWNnW03Eo57Z6HgXggzojRfTN/bDyC3YtJvQ==","shasum":"f857965ea7a6db4fb80013675e3fcff09b9ea858","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.8.0-alpha.927cda80.tgz","fileCount":8,"unpackedSize":25051,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDMrjCRA9TVsSAnZWagAAVccP/0PFOn1UAkny+7DItMeM\nxJWAl3XGhapYgSyMSMHAe64ZjEpeYui3ECys8WS0TvXNfsd4YnzK3dbxLZ0K\nUXh16M+R4s6TmadBJEJ6nX2y7pm5FaC1n9JFTfFbo0NnePoFX2jbTuSQkpY2\nLntX8jsKFwOudD3qlhFN7P//ImQFqKpg8e44qmem4UnFRt7nedN2jOkdyBsD\nD1enWYvL7Pd0bhNrFnJA4FleQO/RFy10Pyp+EiBc4DFCSxz/Bgb3SwXRIb73\nSnQ5QJKLb+DO9Ks87LX7yP/DwptPbwyy5YZB6fGi8T9lgWVrT6QnFfUm5Cx+\n1d/PBqIuL+aeGkEf4fr/SO43QS97SznDx9tNnkUdrCloXXb48zUpg9KM1L99\nRRq+XelG1Zmu9vo5XyFzfAWt+L7wOimzGfirx9kAexJ/f1IXxVs+t/RfvG/i\n+SiRXw4RUe2EPAaILkwaAlJbN9Rf9m9ngA/YZNMr90YTakwtYSX60aH1nHWv\nFPtkni93u2ssZZoo9/hAGjxLqTnELMBE2jYXHRSec0nkCNreKFjXFWKm+v2n\n7fR5fl2TVTz8t7/ut5zMjK9jxMZHAvtbHrfHtP67BB4YPIUt37u9vpLEWNbN\nuCIZeWhjL7Zk3maVxsOAhPt7xTTJqxuJ/Vl3ug45MW2ny6x7MVSgvTQcjiSc\nPELQ\r\n=nzwT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8r27KWVPXyz9FZONMyCoJe071sygxO/N9EpNiENGkCQIgYozPgqeU4eL/gagwxlWNVGAHJrzZPaSRH0/NRZZ9yNc="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.8.0-alpha.927cda80_1561119459024_0.1709089316612904"},"_hasShrinkwrap":false},"1.7.3":{"name":"@swissquote/crafty-runner-rollup","version":"1.7.3","license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"1.15.6","rollup-plugin-commonjs":"10.0.0","rollup-plugin-json":"4.0.0","rollup-plugin-node-resolve":"5.0.3","rollup-plugin-pnp-resolve":"^1.0.1","rollup-plugin-replace":"2.2.0","rollup-plugin-terser":"5.0.0"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=8.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","_id":"@swissquote/crafty-runner-rollup@1.7.3","dist":{"shasum":"920962b5a7455ff63ac1a9e466092d13b02fdd44","integrity":"sha512-ay46QkfdCwTU0ZtbqIkJ/+SqBQaKiTyfWofyUKn5mYa8noibhRenEZxGJERkWV8ZpS9OWZXmtnUSaykQkWM+rw==","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.7.3.tgz","fileCount":12,"unpackedSize":25036,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDOJcCRA9TVsSAnZWagAAFPsP/j51XAscTHrjOXAA6q6N\nC7JoKiePluESDE0eT1Sr+8LQc64mYVxE78SlkbMYk43Pv3gUzQ5OncVe86BS\nAlHdQ7shQ3tfub/rVeZgArSVg0B8ymKk0xmYY8IoTqZTEFgsbshT03EwbxZY\nUdQEMfMUjzZJj4ssw9qRcEz0ADAS/TmM5eSwBZcm1bE4te7mVIIn33lkKMm/\nLfM2sdfEFYtIRbhrB9PloC17DyVrjEfRt7T88lKxKKPk1bEgJlrlqPPyJ4D9\nem72pcjPnL+G3GtTQkQyGatl2FbADQ208O1EEhTfw5ARKmNc9Z+w6J79YID1\nnPJRRvcvcAzr5OEBmg1LkAoSd8+g7IvAX+GADsuwNt8WxErm9pZ4qqAgaQjY\n6bnq3PW4nEW9xzlGTHbE5/syH8zKj5AReOyQfC5aPQI/vB44V3oBCDFvEn9N\n2Bygf73jBcQBkI0GPOAki8lQGD0UqISfN7s5XxQgOG2GBloq3r0BqdBRzHsU\nBGmJRZ53uyljSOO4y6+KHQd2IvjKu9OcAOAQJbnsb3ZFI7lHEwS9qyge8IVN\nGjTLPQfduJ+T6rAJgY144H4Pf61Up55R2jGKh/25B9H3zWLImSxQluS5kmp4\nzdjT4wVb6yg1gEhJiPlqqakU1Idaui845qNAwE4/HNayOqU305OoF/VeO77J\nU+VC\r\n=LYLD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC1xXGLh2Ys/SHEvBgOGOxBgh5LgUSaMbjUwMQzKih98AiEAoLSpkrlt4+Ami0IlL9P1TQmqg9K4NDrSIavePz0wHY8="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.7.3_1561125467469_0.37852914494278456"},"_hasShrinkwrap":false},"1.8.0-alpha.45d252ad":{"name":"@swissquote/crafty-runner-rollup","version":"1.8.0-alpha.45d252ad","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"1.21.2","rollup-plugin-commonjs":"10.1.0","rollup-plugin-json":"4.0.0","rollup-plugin-node-resolve":"5.2.0","rollup-plugin-pnp-resolve":"^1.0.1","rollup-plugin-replace":"2.2.0","rollup-plugin-terser":"5.1.1"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=8.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.8.0-alpha.45d252ad","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-S/Bdgp1qhC9nUY36DPziZPpBTP8srgwlqp359ENKP09netBUtk3xwnv2iprJ+Dy5T+0dNTaXXR+1h/jKg67K3Q==","shasum":"96c2b199fcade6b4999415a78ad4621119d4878a","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.8.0-alpha.45d252ad.tgz","fileCount":8,"unpackedSize":25027,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdd4X+CRA9TVsSAnZWagAApoUP/2yZE8hvTnSCBXkjn5jU\nq1p9dacgupTkm712u1OhS7lzcijxn+qcWqPi8B8YKenQClYbRJ4MuV/j4ogD\nrn5d6FIIWzzrRYfYk8TPWqSdxGXUyyQnZyvAzEuTRb2jGuskp/7hxbKcQKb8\n5MeXmCkyqObJCVsAinXKQj2KcNzOOxkBRX3ObARDNFniQaeIJx1LbBxaknhF\nHr1EKE+IH4yef+O+cH/thf4zSHy4mNpd3AM/pHBFbhqVGMsVs4/eaVC51mYr\nUWuHQnE+BobaTzvg6or7ILf3MUGdtW/ZoyPqDo9Awt3p2gKqLQmpAUqXLXvJ\nCDMadZqrt4b6t6A96Fj45G8oSyPSDgZVDqCx/UT7uPv7PG9xMMW42ZULouL8\n84PJ/x7dxOnqN1zRaVA+C+31zM2cqqQo/AbHNrhy+L+LZLA9cqav47DBG/dn\nZh+nYrxTcdDTNzlkBaE0eAJgD0l7e7EuLWW1EWRdP4RdUbRiYwjA7xtFk17/\nH+qa7PKwx9oDA0V7iy8l+pJ1BTWPfMQhjK/bHxI59jlwzU7OGdZ17E4Ad+KB\nZNZ9SAoecAKeLIZv1EgABCwx9lzTKS6Xb8G6Fj346/K674DZOGb6UDUCjEe5\nDXubvNWgdUWhXqfdPlNPnoNsCxoXbDywC+IrKuoXdmRxWbr3m0nUsvUjeZ5O\nwaB+\r\n=JyiK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICbtYMi3qwlsKljfiPlOMMmb5x73KMLecbDnSpsRwWduAiAp7cyrQcerz8nQJZZJrWzYDxK9sAJvCw64DJbFEu0jag=="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.8.0-alpha.45d252ad_1568114174328_0.2984894675035501"},"_hasShrinkwrap":false},"1.8.0-alpha.d76f9e77":{"name":"@swissquote/crafty-runner-rollup","version":"1.8.0-alpha.d76f9e77","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"1.21.2","rollup-plugin-commonjs":"10.1.0","rollup-plugin-json":"4.0.0","rollup-plugin-node-resolve":"5.2.0","rollup-plugin-pnp-resolve":"^1.0.1","rollup-plugin-replace":"2.2.0","rollup-plugin-terser":"5.1.1"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=8.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.8.0-alpha.d76f9e77","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-vVAYUuD0Bf2axinl9f8Q0rAh7r958dhFtDPG5vMSICF80bA8ljJR4xCIcGdj38dXcMe5jC2hEYE82qR2L7arJA==","shasum":"572f4b85046d97ed3940695d2a21da6fe2cb5456","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.8.0-alpha.d76f9e77.tgz","fileCount":8,"unpackedSize":25027,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeP6oCRA9TVsSAnZWagAAkR0P/ireHQ+Do9xITBc/ZDxn\nVGiJxemSC8Pi1sdQzTFvFIa3E4f4xrR5U3BzpbZHyM3ZH0hikUfGsPISll9u\n8sbMrlUd44WwIMp9olut/gvqy+97k8YRh1ZI2X5QyNk0idiyJWeyGfcPMF/C\nilPpEn26r2Ou331rXRUFD/oNoKEsn+gpoI9B30mRdaK8Nb5g/Ct/5PAewQQt\n0KZLMlBau5L09eepPrWkie4h/qtsJRzCH9zGX06rtgulZQVtCkNl47Y8e3Es\nuNdj9K3NPRmLtk64R5tCZjAX6sUvRYLbZQk790siB4uJfJyIlb8N7uGxSl5S\nW1nq0rp5U988TenUMhnBbkOHfKZNJui1iGLcUF8GSOTj3cSs9aNY/wSpKG5t\nAtffvHXeWdXOysMkAJmzHZiDgsQ39IjZvyRuK1r4H4SnIs3aaR63BPH9kxqP\nKWeM/tzH3z/ovkp1J4KqKvGfxiuFazpUMPWVWjd2rpfukWGjJzLemvWZmdyp\n4v6SDKBKJCEDn412DtOGwztWtNipq8d8ePf06AcYfVsDHj5DKJzDVMWw9OE+\nqVOhNARPYmnvnHHazvqLrY/DqjwFS+9lQSjO9f6nzX2B9rGca3zZZ2q4sbMg\nXEnGfQwtHCzDLk5IAXMmjIs+tS/PcSvuQaE4SoUP/Glg8Z5TlGuy6lMTbtQU\nBpW1\r\n=693F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCq+t+hx87oKMQTKnNPO3UvIcopwSDtyqORudWpxlKeCAIgfAVkN3r1wcQ8HaVFkJ3abSZs1uT+4gYLBZ+C/K3V5ug="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.8.0-alpha.d76f9e77_1568210593183_0.30006379336966793"},"_hasShrinkwrap":false},"1.8.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.8.0","license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"1.21.2","rollup-plugin-commonjs":"10.1.0","rollup-plugin-json":"4.0.0","rollup-plugin-node-resolve":"5.2.0","rollup-plugin-pnp-resolve":"^1.0.1","rollup-plugin-replace":"2.2.0","rollup-plugin-terser":"5.1.1"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=8.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","_id":"@swissquote/crafty-runner-rollup@1.8.0","dist":{"shasum":"8fc62e3ca1a492adc3a35d3e6b31f2fe68707f7c","integrity":"sha512-vGLcDqblGpubuPSt5UjJ6yOttzx7ilCk11mYznAAE0lonp757LAF/xl/5D8kjeVo/bw2P8BvJK/ZvQa1LDH5qA==","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.8.0.tgz","fileCount":11,"unpackedSize":25012,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeQNZCRA9TVsSAnZWagAA9nkP/i3BpbywlwKAQZ9G7ZoD\nAwbbsI+9DzLziNrPm8tLyLo/ebo/F0vcfbzArtBRx0kCHSawe0zSbzqh2/MZ\npuACDstMqWpXcACEs7yhb2ElaMpmCzwLb4FUaOAeyGUIiTOIUcBKRMfuu2bU\nYuWjqy0esiHWzrF8UkAx8YynC3QWGQfAHacXwlVGBEpRNMIoorsItj2WyIkV\n8KTyt0Jr1v16qSk990/CqI2eklm3SLBXvRgV5ddM+o7nwP6Z972Fidu5Hkt2\nVN8FKm3671SBwNtqnvcGX1yPC1v5vfIWoJ134jXkb6/zW1C0MxxH+ZmN1EmI\nalbY+hiqS2rwf0VC9IuoeKqQieGw5kUV9R2xHTgqRLXFsVSSU9FQkHuvz2MP\nyaIYXPiVVmPlz7zX2Uj5KBPUWgE2W+CGpLphwQ1vVqtX4faujpONf67FeBky\npQJIMH+BYGGapr7mOPiry+t6cl5fDVbnS6VzvhFAS2x4oKW+RwLopbtsdBwF\nB452jn7C0kRPQ7E7anQj6SGUmaV8VMnEd3ES28NdL/UyVtBG5IwdR+fHZsIO\nviAXsD4RCez4NisUgU9BNfIswol4rjdeMSzhVonmW7ZIIUjahwhh1PswqJt6\nrkQO4FwS1qTBMUAYXBMWtnX9RflHq0sbqHhO0sEY6aaSkaWxVCSP/+3lc2QH\ncz6L\r\n=IpqV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFpiPxA48R8YkLIUNI6o5p4KPqnAi3oS5/GmSiMQoL8wIhAPzxBeyS67kfImAFH1mMBX2SrIatJbr2uGXPVfqGL/cX"}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.8.0_1568211800577_0.1571737549828971"},"_hasShrinkwrap":false},"1.9.0-alpha.de6422b2":{"name":"@swissquote/crafty-runner-rollup","version":"1.9.0-alpha.de6422b2","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"1.27.12","rollup-plugin-commonjs":"10.1.0","rollup-plugin-json":"4.0.0","rollup-plugin-node-resolve":"5.2.0","rollup-plugin-pnp-resolve":"^1.0.1","rollup-plugin-replace":"2.2.0","rollup-plugin-terser":"5.1.3"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=8.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.9.0-alpha.de6422b2","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-SBvmUrcOsuOeHN9lmVIJTw6gv/5SlBHg08pyMZ8YQkcgqyyGU9e5MyE87DtaymQFuEkqM63SgkH5OgqgSaXvdg==","shasum":"c4261d62979dc6d811225d30729f89840da75992","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.9.0-alpha.de6422b2.tgz","fileCount":8,"unpackedSize":25028,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd85CJCRA9TVsSAnZWagAA6GAP/j3xuBgCCCBNBlVYmMey\nr8vfeJLl0vbtyfxJ65ca90rZLd1RFKXJYRuATNhagpN8aqkG8Ig0qfysoxW1\njrJp2+kFInTvEAIrf9eE+DIYMHYuid1JUI43MuHvIk0BUlAKsI9CMFrnrqJH\nWjqCzmtyQIBAD3POqNKaM0l113UomVVlxSctbwu9fflkGWa2+pqYtoPI2Zsw\n2R6HvlBnQx2iTiGsQhXOAZ1Os7WxnXADfkXnv5rPHWqgE/+PYhfaMvS/dA4J\n37GIozZVllqe1oS+Oi6mkSWzQ7CvoFCmswMEOGbqoyjTGgGxMwG19k7CITSH\nnqFhfIdFxduENOhLpmFB4FTtMqzMW6JzGfgm36/dpQQboYDVUMbQc6dwkQbf\nns1nCkHBUbPaCP+NkYgGcMTJxn0bY3csyn+ApBhj/DoQN8+CzRrokqn9Fvlp\nTvpmLlIik7V6MjuKxYNurbrxqs2c4Nf0nT9jjqZytZod8Di1oVynyfxMY9oy\njHQ7icLtAtkxMEobyW2O9eWs9uDJetP1jMXn+a7rj74miXBZ692wagijq6fT\nXV/mJHo3ieJYZjQKNRcw/0cXrIgPIV1eTX01sjoKkTo4RLAVcyJbCTp6aFbY\n8EzBj1Xi4X5YtxzZbphVVH6azVFpt1WAHLj0NKMMTwwD0DaHzS1oFiFVrDGz\nt5yn\r\n=ssZ1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEuWir3KMymj3CpqA6wyCS1redhMfJpIArpKTmRe3ya1AiEA7/AV5r95e/UhlZJZClAM8DIkUYunrAUqabGrOuQtFUo="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.9.0-alpha.de6422b2_1576243337653_0.44914209055113363"},"_hasShrinkwrap":false},"1.9.0-alpha.6f01208d":{"name":"@swissquote/crafty-runner-rollup","version":"1.9.0-alpha.6f01208d","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"1.27.12","rollup-plugin-commonjs":"10.1.0","rollup-plugin-json":"4.0.0","rollup-plugin-node-resolve":"5.2.0","rollup-plugin-pnp-resolve":"^1.0.1","rollup-plugin-replace":"2.2.0","rollup-plugin-terser":"5.1.3"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=8.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.9.0-alpha.6f01208d","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-zVlHWq6vP7fQ8sLS6xgMiqVMLIUCC+IIlMI4O7HB+LlK+nXpcXWGbX1yv2uwSNqxK9NtsU9mb5jVJnZTVZUYeA==","shasum":"12476a8d98496ed8d76c0872c74d96e6ba878eec","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.9.0-alpha.6f01208d.tgz","fileCount":8,"unpackedSize":25028,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd85K2CRA9TVsSAnZWagAAGSYP/jY+9suc03owuFCyABhy\nd3EuGJGE564l2zWx1woZVmvypwGpTmjukB/aANFDseEzrTdoTeaujLrToMB0\n8eWwUmJn0EDelXnQWC3XQJwJJzm62mehrUgqBnMZUfvMOBluwF7KmzHVDga6\nbJTWa9Tkv5ujM6fxPqo3bqeFJdGXPD4L24DRwa0K1/BDE2ntEQyO9vaNTAHC\nIZKF1Qlr1ueAL2r524MOPEww74MJKgae9wvu1QmScxmZW0XuVckY1OknwXLF\nbXnYa2dcW/HfKjRT+O+cPbruSWMy1C0K9DV4+1l6+/558cWECyOOJYTLxElf\nSyxbSLNPVu6t6yjKGHtbYlAJ2aCDDzogMBjthTv88wWO/x37eOdAtWw/Lram\nXHuBjY3ePzgyRwjRMWBN+tRCr8q6MfTNmhWVhSJzLch4vc5ElLA8xr8lu5/G\nL0YtYx0CoSqGdY7IEAToIZvgFzi+YyHwpvCUsmb32ZaQXniU6dO6KjmDd5F9\nikpCwolBk0VuJCUmHZEpXmx71Aaxtw1Y3g3NbQ+JlMca2NpeqK+JsFh2KJ1s\nLVlrjVA6Co5yO52jI1DD16+LgAT34Vte+5hR3xdEw1C9F7WgE7yQ/bqvoAXz\n6wg/4Uy7AKK3DZBjJU+ov1jIAn8QRnVYN2YSTRx6SUnbzSHfEhOYQND576SY\nYgfd\r\n=lPVa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE+z8xy4Tf6UZ7NcSIrGEt9/1LIIbsXtase5MUYKxVz4AiEAqNqS7gPQc1l9j96E6pXDOTMRf7BZJeGdS0POxaqQDSY="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.9.0-alpha.6f01208d_1576243894634_0.8711053882415634"},"_hasShrinkwrap":false},"1.9.0-alpha.d01aa8c1":{"name":"@swissquote/crafty-runner-rollup","version":"1.9.0-alpha.d01aa8c1","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"1.27.12","rollup-plugin-commonjs":"10.1.0","rollup-plugin-json":"4.0.0","rollup-plugin-node-resolve":"5.2.0","rollup-plugin-pnp-resolve":"^1.0.1","rollup-plugin-replace":"2.2.0","rollup-plugin-terser":"5.1.3"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=8.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.9.0-alpha.d01aa8c1","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-XvRknxjND51tuygapdKjD3RWIZml5slZ5ja2YJZa8AFZA5wmvA3DXsCseidMeKa8r1UGH/NjcrEkjIhEiYTZtA==","shasum":"24fbae1e3b7a4bdb1ab13a13e8d376c4084ec577","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.9.0-alpha.d01aa8c1.tgz","fileCount":8,"unpackedSize":25028,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd85PrCRA9TVsSAnZWagAAVTwP/1ijYGvejY9ASaVx+ovP\nA7wwmX/dJFF4XwZiLd4RtqhzDHzYQato2Ro/Brflv5HFl/pERRgHKyp4FRDZ\nqAyuPqh3/adldAz/ZpPqdQpfFGsy/ExdLwEaGLv6Y8g0hPjLs7cO4+lhIi0R\nYEIHdFa0M27J2rI7EXVEZF0DDciICDF47GlfNvwmYdjg4B8s6LgrjLNChyA4\nTGoJroHmX0phAGX7WrnqdoqAsi3RmXJpo32r0quk/rzOv60JYmllnaTW3Bl5\ndv4ZwFPBV7W9JWKqkPBJjGLJb9lrhJK26gAgQdik7PQB1PHjdkAT/NwZlKKu\nFsZ2RQ8chyoktw7GODzbEUnuWcY6O2rNzLqnFTln51tD7QcV176TKCNEn8F8\neqNUMv2/qKI8QeFl/6FqipOQMylWp/8nZard2g2vzzyIthNp5UlKpctkB9AA\nsK9EYi1D5SWu60HzxXjov8InPux2L8cxaWAa40WdCsqDDoGl4mRnBk3WyoZi\nVtyK3mCZWipzRE4L0TxmlT0nPkkSKjk0WC2zLyI5wtyDhnvjfIzOnBUJEBDW\nqx2TAd5+xEFv54dOq+pojCN1q5DW3W/nRRuntoF7LU3qAHionA2jCKstT/dq\nXWcAhnEdOwdaClBIdHCMtdUufFXisQ+Oi0U4wZVyb0QHcIObr/DieDfwBqlx\nzVAN\r\n=khgp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDW3+wiNbdZjD688ZcckDhJSaqzSJDyp4yWyumZgiPQuQIhAIaRi8KU+K79sUR7KLcUHqGXQepWdzahWnysuQfq5pSo"}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.9.0-alpha.d01aa8c1_1576244202773_0.23619572393503385"},"_hasShrinkwrap":false},"1.9.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.9.0","license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"1.27.12","rollup-plugin-commonjs":"10.1.0","rollup-plugin-json":"4.0.0","rollup-plugin-node-resolve":"5.2.0","rollup-plugin-pnp-resolve":"^1.0.1","rollup-plugin-replace":"2.2.0","rollup-plugin-terser":"5.1.3"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=8.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","_id":"@swissquote/crafty-runner-rollup@1.9.0","dist":{"shasum":"9a2db18817011bced4963e1cab85bedb239fc72a","integrity":"sha512-LIVcfx2u24VFHXj5zvCEaTDw6ByLSHvlP3PkBpUWF7UzeShz3boa/87W9lW9hvL2BLrKCH4JHz9ZsY8P1Iihmg==","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.9.0.tgz","fileCount":11,"unpackedSize":25013,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd85YdCRA9TVsSAnZWagAAGyUP/1Fo6vQG5or1ZTXUhYIW\n2qd0uHdaiSzssoyBBCxjun8V1MzF7OfhoYs5x0QpTk9RYCk4JPi47yBE/wjj\ntDkiDoG8MzoKxirptW6K3S+OIetnjydi8ut6wrvtLQc8I1cbOt16Bjbjgerc\nNRjk3fV/OS7yUn/pTKe8ETyw5cfq8D9MHBxzrnq//Q+lltHLnwSJwNzbFNX0\nIwN7giQE23UqM0W56HksBdMzeCzObwOrLOkNjHA0m0fg92O+4sRAVOKVtLzg\nV7hAn1NpO35j6rC6nJ73/cafVmOTooSvnhaKpk2f0S0wHW7UyxOG5TT8oXiS\nmjuRxFHpqG7WRMltPuc4NP5jkNqeogSTwX3QL+8uRY0rGhT4NHwgdCuPdSCS\n4QILZguAaYA8Q+xtLWarzxpozsRQS1fhyGdlomTXR2YQiJqaa0E0+efOpYMv\nkGpnRVJ96DnkK4aifyRYNipcQWNmZolOMOvK7EZ0/ROg8/rZkqDr521jGcVx\naQrO/jLFkITF8+/3JW5N9IRbyl/zdDWrprtPyiLskgOzqO6afxHF3Va3ZXve\nXPJtM21OeLfdE6RXe2TkHkMsgZLimcOvvyOhBdRT3jUZJjRSbiXGF9dXE9iw\nUczdAPZr3+Red/9uD9XfmWkluOsuVPTStPcjU+4syTUUdtX+EAOJbFKFCzNu\ngF5s\r\n=dff3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHIcASvcTvS74xV0B7bo5+beP45Vt4evWRURvTYNp15KAiB4qYcV1TKlQ/Oc2MUs0MJ7OAk1SgA1R4yUWDx8X02zwQ=="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.9.0_1576244765407_0.07684983604672646"},"_hasShrinkwrap":false},"1.10.0-alpha.08fb11ff":{"name":"@swissquote/crafty-runner-rollup","version":"1.10.0-alpha.08fb11ff","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"1.27.12","rollup-plugin-commonjs":"10.1.0","rollup-plugin-json":"4.0.0","rollup-plugin-node-resolve":"5.2.0","rollup-plugin-pnp-resolve":"^1.0.1","rollup-plugin-replace":"2.2.0","rollup-plugin-terser":"5.1.3"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=8.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.10.0-alpha.08fb11ff","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-Y2iMfPYVPjvMXNO2M4ll6SHitJLGyNPg5Vp5Oh5ihm89FBRICkjjYPkQDFUqYqjLtqziiwjD37Qdnf91dfWmkA==","shasum":"241ffb20f43c96875a7978239be21ce1bc492c25","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.10.0-alpha.08fb11ff.tgz","fileCount":8,"unpackedSize":25029,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd86ZCCRA9TVsSAnZWagAAbBEQAJj47xLaxgfLtRX/kJuM\ne1dVfpsUtvjiKH7cdClZeSzm0vSAkxB16Qoj9otbVQiYJtaVt1grBA/Jmuo6\nG/oUoZ3cAjXDk9TfbncJN8bFWylCwkflg3idrt7qhU+ngAgRviElSwKlnM36\n+pcH8prXqo1EfH3OkNFD6EMvfLso/M/sZ9IeizDQJBIt9JKWxaiPTlhI8k2k\nN8ZWMEw6SUuyzlS9+QaKcJnLlthpBjTgnS/s+tcHAmk66YWWIGmwkqURoGHx\nooGbsR2jUO0k9BH0Rig3tLQAnf63et3x9Wz5OIvACCY/nHzm6NsIP4exQ/dA\nEmyYRR+xZ78WKd+yZVvADtB9yJOdSZHk9MpiUYXK2LFQ3EKt0+w8SNFK6Ez+\n887kJ/G1ik7JMk6eJ2HfoMY6ZodPIhHP6/67djPRa9T4CYOyuYsNnLiAe06W\n5XF4oz1Ldi7Yil46yZ2HaFS+6iMIHTVsH+DVzPogksaLC0rMak5BbNnPD5xY\nTwzCyBG2W9CoipCFvYjt+Oeed9xU+sVXWKHGq8tq06UVkBPjy0tbeazbA2Ik\npirwwxk+zoUFQeCNSguHLppzdNmT1JV5GrEU6pjv+gjsEdBU+bd0D0hjQf11\nOeess+r4w0Aihf9gHXr2ZySx7VDiyN4uw2ttcF1B52i8DH5tIeVo+IgM4XxY\nLiyj\r\n=To3o\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXxKKDw7EzV3z+OaSHTYgJlwjMj0lSA/oe0t2t99tjBAIhAK7HYLbq66ZcbezKqoCSRbxp118sijz3m0+yOGJqvAlm"}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.10.0-alpha.08fb11ff_1576248898081_0.6071513679789435"},"_hasShrinkwrap":false},"1.9.1":{"name":"@swissquote/crafty-runner-rollup","version":"1.9.1","license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"1.27.12","rollup-plugin-commonjs":"10.1.0","rollup-plugin-json":"4.0.0","rollup-plugin-node-resolve":"5.2.0","rollup-plugin-pnp-resolve":"^1.0.1","rollup-plugin-replace":"2.2.0","rollup-plugin-terser":"5.1.3"},"peerDependencies":{"crafty":"1.0.0"},"engines":{"node":">=8.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","_id":"@swissquote/crafty-runner-rollup@1.9.1","dist":{"shasum":"d44fd7c578d3dca4126e159652b703118b363390","integrity":"sha512-ww+brgLKw44Ej3xyYFeiTtp+ayH6brPiOz8xlHBr76cdJUwF6knHLfhYl28ZN21/aUL+/57YdSKKy0Sl2/f6XQ==","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.9.1.tgz","fileCount":11,"unpackedSize":25013,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd86bOCRA9TVsSAnZWagAAr2YP/3uQ23AHLeAz4GQh3vTm\numWO3nZsf5Wysai9znmtjf9CAHCiaQAk+InNJnQ2YqJWP/EW8oC8TPXgZ9ID\n5+Mi6G1WPRYjgXndj45gmlaqJ52la6JozY7Mhn8fNiwRiS7WqsoPHhtVm2fx\nAnd7E6nfqaQXZjs1Jc4UWhQybTYk4r5+VEr2InJm9fA9HtJiDRVqQor0ckuL\nmUafZ3XLHQgHhBHj2QLvQaBIZXNxdINQuQip98usfPwhV6cirJOAhGnq7XxE\njw3kPuplaYi0J1swu5A4RRGB0Fj+L1fOrD3itwQz+l80U3AoWj0mOdhJbpbp\n8XlDyyFPZ7N0FGtOXn9iF5tIwuFI9wmZLOxrztRQvTzQW/yzDBwl8sFY9rnN\nNSx3J0i3g8anvpylAf1TVi3qENo0+FPNp/qHvGyxtkCoyjZloG27vYnK2nnw\nfyGy4gBfmB0j7DRKQCp0VD+L0CfrL/xuJ2lz5EIXFUcU2cnmH3QzEFWXirLR\n0PUynRjHOxZXbKNLT90fa4NwTJLUB+0/4RHSMEDwhBVX0oryH8z3CvnAKTLd\n9yujssjdWHprAB+IPoYyD2+veQFyj+RGK9twtALkV9TLIL9nP26+c0g6sMub\nGM+mkJAqZG12qw8pUWCZhNOsf/nuucZs78GYXNxYAr3f6tBtA7koyxreG4v+\nmy2z\r\n=D/j0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHczy86/5EvKhKaxhby0EYGS8y3RzXiBWG7K33tc3SVCAiEAgWkQ5xEZ2XzL/VtRd3EPrT3y7o2jlfFCruRQYrFT1WY="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.9.1_1576249037801_0.7974967749936186"},"_hasShrinkwrap":false},"1.10.0-alpha.0d262455":{"name":"@swissquote/crafty-runner-rollup","version":"1.10.0-alpha.0d262455","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"11.0.1","@rollup/plugin-json":"4.0.1","@rollup/plugin-node-resolve":"7.0.0","@rollup/plugin-replace":"2.3.0","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"1.29.1","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"5.2.0"},"peerDependencies":{"@swissquote/crafty":"^1.0.0"},"engines":{"node":">=10.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.10.0-alpha.0d262455","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-lMeMPkLPRgI4HAgOzLG+bFHU0mFg+x+IF4VJj11iAU6jJ5964Rs6IIgjF8MJzLqWDtWNoueAVlzdBWhHI/Fdcg==","shasum":"03593df520dc92bf544bea0910372269504e48ca","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.10.0-alpha.0d262455.tgz","fileCount":8,"unpackedSize":24971,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeKAw3CRA9TVsSAnZWagAAtiAQAKI+7VvFwZSJVxMoE5WR\nkGq7gTfSyNNWopZ11OjyWsP9XKpMJVU8jgm9ORemSVMTo5T+bx3S29W8dnL6\nq4DtL8qIkgm8ta8yckx2ZQ4tFi1D7GPWM2TcbdQ6ikqqtYlvjTlGA72AfCHG\nkssbmmQ+TSwtHVKgdnQa0IHVvGCMWMU4uSvCBzuY6iPZ+ztU5g74DEVjOpnp\nVOMKPglnLnXtg38FDcETqs3yLSPEJfRrNG0Ihs85mowrDKTMCZfQcxcC1gkN\n0X7OL5vnpty1YGtDmpOgn330MhP0uc2cTtt4tSLtx+1O4gk4EG6n5oCjkSdk\nkPdE7mXXNfI4iR3LKY71lRhFKalqStjLoZSVZamNhZkDV6ZILGVklSiTZUIN\naw6Qzd1pPeAhNZNNz04G3qUFRfAOExVkIUIK0t3QApLX8kg/nq08aYbDBRmr\n1Jmc3SDaytq2ErGR72US4c1DHb/BQIoWdPriNAwdFJPmpmCKBco+7kfb34u+\nUMm10kvH/KJG1FoOivnL0ka/4O7yYWtRN4uRjHwOwS8GUS34m/HjfMWKixCc\noKPKZtnr89cmfq/cXyuKBrxMCcAbpjANW1AQaOrI45IgYomO7/mS4S6EPTyj\ng0S+fBaBrPYUMqT8ZuOpAn5Bm9nPK/UaJnKgEyPZaS0PmUaawMql3MM97BPl\n4MrI\r\n=rRT1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGvsc7+ntwYAKcFHDx78GcWwNkUjDEm2Ns0852rlmO+VAiAGoJLiBUxhkFomyFE0xgG2U7G+hREu9I56Zl7y6ia7mA=="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.10.0-alpha.0d262455_1579682870746_0.5862146226117355"},"_hasShrinkwrap":false},"1.10.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.10.0","license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"11.0.1","@rollup/plugin-json":"4.0.1","@rollup/plugin-node-resolve":"7.0.0","@rollup/plugin-replace":"2.3.0","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"1.29.1","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"5.2.0"},"peerDependencies":{"@swissquote/crafty":"^1.0.0"},"engines":{"node":">=10.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","_id":"@swissquote/crafty-runner-rollup@1.10.0","dist":{"shasum":"e8cbc33af23528bd9cfca853b1a832f09769b9fb","integrity":"sha512-8jOU+1yBOcpmjkPbR7ASJUR+6iZCR0MIpWUcXPrhYmFzUX5pQGb3DLahAxMugO4jzt1+t9LZB3xZHTPVU2zcOQ==","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.10.0.tgz","fileCount":11,"unpackedSize":24956,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeKCESCRA9TVsSAnZWagAACIkP/2DC2ybiw1yjSgCLYfvY\nc7SRrYGhtGKlcaLVfxqU63L12efukF/v3Ekxhxh9lwRxGz0o7VJKu685oMWO\naNjUwSstGYgHij3+ghujYMW5buoH1UXA3NVCk1Bo910wczw06yHLoV9Ykb+t\nGCLQuYl8yx0v5ySBM8big6NhPoA8vz5Di5XT5IvEDcF7yzS/O16GX0X9DMaS\nygIUG/u2nrro8yXhqYW1qJauWnF3UjOL9r0KCzRIW5iXaNVKP9ScCftGfbQf\nv0N9aQUCMtfZcA9ciWNDjNJq3Fw1eQW3BYowFDGDadnv2FAnSOZ87npg1WDa\nl50NSBUmUVwaXmFrhI0WFJPtk9EGUqg8gcAz5u06/g10oS+c0tBIoWO/a73W\nq8gmIvqV4FKrQJj6EudWPY3EMsv9bip8w8J4+CIN/C7sTm8r7e3zlWvH3Pk0\nq7vWq8plE+6wJ3jGhMFB3iGobS9DuHYejO16WKui7dcroMc2/KjB1JhLsFPo\nUJvNVN23AVENX08Jd4yOwSETdz8NeUOYav0bnB74u/Spee4+J1SPchi0feWg\n4luoAi406bkuX2jPEU1sGsqnJtSVgIvSph5WudiF3kjKQGCS1HoBgRs1QiKN\nqrI2Bb6iWR6otH6bF0ngCtnY1SqtfHq0uPRcE+19PPccmyui2uoo4M7Ukzmh\nQs1v\r\n=eOtx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCk7PIcxlmoKPrlLGUjM14rbVOmrwrYAPuWfJLlRXT04AIgMT+fkx3AgkNteBxRaJp3iDxHm2P5BV4nLFINYTYGZ90="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.10.0_1579688209838_0.7749781081232567"},"_hasShrinkwrap":false},"1.11.0-alpha.333b3c4b":{"name":"@swissquote/crafty-runner-rollup","version":"1.11.0-alpha.333b3c4b","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"11.0.2","@rollup/plugin-json":"4.0.2","@rollup/plugin-node-resolve":"7.1.1","@rollup/plugin-replace":"2.3.1","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.2.0","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"5.3.0"},"peerDependencies":{"@swissquote/crafty":"^1.0.0"},"engines":{"node":">=10.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.11.0-alpha.333b3c4b","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-0L5Eo8Z2sH1zpK5izqRWcZgVpfbEMy0X0G9b46RGG583kGjD4Y13QJvuAVRMxVGOKXBrlsw2x4gs0TVvTv6O0w==","shasum":"4bcd93e0709e14fb9d22f7a04f44dd6440b9e623","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.11.0-alpha.333b3c4b.tgz","fileCount":8,"unpackedSize":24970,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefRQnCRA9TVsSAnZWagAAaAEP/j4OD+MGSC9lk9MraT97\n3z3jSlOKzh+rqNd9L0YYhy4mhO4kfNey994Hnya4jaNtKREaJga4UPqXeuR8\nelWeL7cEGKhkD3KqeEIP6BUflSawAXUn1tkz5chjl+c2pT7xTaYMuLz461Dh\nTv70ZWQhFAYAxFJmWNckmzGjptyEiPEgDCR9n0d70szGAFD4XaqTqEl0vJ2z\ntb6iOeauDEcZ21KBCufrhXiJaA/PW/Zp89FbZvxX6Fb12efUN5QGtSRCIY3f\nSoKFtkITpodYDfAK0fbqxA6EDCEZw19KqaqAVCLdvp2HVkHdxoWQcpj7olHl\nU3SBUso+ZB01qYH4FNSgXNWdK0nug49zVnQWzY6IVLl4TWQDmpSyrqTfbzQC\nyzxMzW8Ch9Q7MKHzwmwZb4jIk2vrK/ywgzCF/92sXha7jVE0VNXhFW8Osji4\nOFV13DORe0husRccelsAl+YOBYKu7NoAX8ieB52LTDDWWNPoYRHrmhemJXur\ngDZl/VVTPZXIEP1MN2xaTnbgKCCdeRKO1V2BXQck5LIuCDDvamntQXiLtLg+\nmZiJc4Xi9dFdi2+LWP7VGM8Mv06Pmif6w0vseSmHeluXQPQ1woYGJAtAIDf5\nQlcIirSzCqUD+65zXG0zaUv6w0C5qdG+2Qlw++ikApRLQDalV+ZozlPeRB4A\njX+X\r\n=w3rB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAVG2nl+rxiJe4mKiwnOgET9vgsOcPnXfVs1tU/lxzQYAiACxvdnPxBY1pRR4c+05N7eLP5/aUCYxHPrqArD9byIjQ=="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.11.0-alpha.333b3c4b_1585255463435_0.45175078865888607"},"_hasShrinkwrap":false},"1.11.0-alpha.75aa725c":{"name":"@swissquote/crafty-runner-rollup","version":"1.11.0-alpha.75aa725c","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"11.0.2","@rollup/plugin-json":"4.0.2","@rollup/plugin-node-resolve":"7.1.1","@rollup/plugin-replace":"2.3.1","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.2.0","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"5.3.0"},"peerDependencies":{"@swissquote/crafty":"^1.0.0"},"engines":{"node":">=10.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.11.0-alpha.75aa725c","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-/TqSTS+2cHX5hMVIf6ZKhiTCDZZD42UNd3OjC6zQN7CEs5cWRfzWmJ3yBxchbv/lOpT45AswCUWdjYOcEVvENw==","shasum":"c325cf3519a8d9a8b87cd3bfd1a63ad974d89934","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.11.0-alpha.75aa725c.tgz","fileCount":8,"unpackedSize":24970,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefaepCRA9TVsSAnZWagAAsjQP/RThzUhjiML5bpVy/pLl\nLgGl5QvCKzg58mL7lDUzmzI1BiDh9IHOzyqbOUXhIj2dQyKR5jTERjlbf20J\nXVBHD0sTxQkt4be7WNKplsdaLxP7jIqOFlb2TnDiFvS9OyokXFk9ANuE59nl\nqLSRQGuck+b/OzurNxZIHwMfmA2hphtmlS2IjfeTZJdc1SjphdnZzXT9DHys\noRveJgcFtb/HzRPqOX62c7wTQOkAhbIr0vQirp66eOahMnLobWWgzibQlB/C\n6qnZgzyB08WlOcH2c6xCZDaozeld1+c2fHc5gkgx003oliBG7585HpsWEQ+p\nSK5UEH2pgsRkJZBgA2/mcGi7incck5aUuFvS9QOQ7lap+XO7xsTIpc764u3y\nkem+GA2YN1REwvbLAjFgE5tLU9i/6H2CmdOIyqxMSQeYy9K+UEDA+AwDCAK9\nzkP2IMlrbhNpM8DvQYxIVj49B+qmVjnwVi21KFICevmvdix46Y7DUhepgeeE\nB28YVzTzxI5axzchnK/Vdyztm1DrVM8YlQa0/NaT03h9Yg3RlUBhuhOZfbhG\nX1dQAdMzJubOqv+7N4DaRTDunhwU8RKzv+EAcfFPWvKoKmtVPMGhTbx/TEoa\ntnN1YTlIHpNpkiHvk7RUlKb4FcH0g7sM1ZX9Qgz50gYRQznyq7+oSqGmi2I1\nvDR0\r\n=5BE4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLYTaQGyZQTdMaWEwtvlh07ut2K6ujmcasBCDNt4zc/wIhAJKNSUccTk+6C7vk/5TYj0tsW99ZmI5AcBt5baQ6BYH+"}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.11.0-alpha.75aa725c_1585293225363_0.8982449527396443"},"_hasShrinkwrap":false},"1.11.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.11.0","license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"11.0.2","@rollup/plugin-json":"4.0.2","@rollup/plugin-node-resolve":"7.1.1","@rollup/plugin-replace":"2.3.1","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.2.0","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"5.3.0"},"peerDependencies":{"@swissquote/crafty":"^1.0.0"},"engines":{"node":">=10.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","_id":"@swissquote/crafty-runner-rollup@1.11.0","dist":{"shasum":"092e64dcfb916c2d49ab5434e14d67ac87c250a7","integrity":"sha512-/wQRN5MiPThI1Xdzr/3BCIv3WtYql2l+pL8dKXEFdiuH7q2a/gkTT78U8QJEB0P2wqU9LUPGn7O8MW4mvKg+zg==","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.11.0.tgz","fileCount":11,"unpackedSize":24955,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefbBdCRA9TVsSAnZWagAAfocP/3L+WhJKwcT0WHm2xSIy\nKhrFx9+WEfgzQmgNrShn3wr3qtMQzM4bx4quiVpMlnU87NL0izWpADv2G+Rq\nQughHyJ8I03l/D1ck3gwA4iSIgP+TOD9Ot7FUwrBMVjgAxHEbGGDlafeGrM2\nCEs3BVXFG/A8GZiDt1y1RHhOEEnuo1MVlUwJY9YLg2igpO18n0O4f4RTmzAe\nXxzfyhdLz3Ddlq9GyL/DYEDED/1Or9RPjNuPx9Ih5HJbVsckS9y0akeAslt1\nYoF1wfI8pDmerdBrhpU3SiUNhft1ZxvJ1AcIMqH3HvmY5IDnBUGHr2bxycVj\n4ThM6tMHuBNj3S9L6pRsIKmISV1Gy8sIsck05cua89gbXvO0yPg8Efqcw8nN\nuwmt4+YzXfDRXic8ECij6K1J60VjmLWVCgFjHTtgamL218RGg5jx9wEVV2jl\nMgf6YlHuOBV0d6i6iuri8LViyCoSP9PStUccFoLN6/O4+/kaqRBtLMRzReCC\nsmlqp9ek/AqtcmsK7CaY8B38gxCk8mPg6cxp/8+313Cjxy6tDDYcpGqpCoLv\nvxbPnh01XQFKe4bhntpbGFGFroTZiF13PVeRvcogXrcUTsZCYuvagNeedst2\nTjs31bBTaNEXz76xVFsAp9bJBAcZwVNCHiGgPrTxrDQr4Px6WCAXEUgCgHGq\navk4\r\n=r4hY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD000p1EaSZko/oGPl7STpuU3jWQGut8YomSC7gJsYrnwIgRd3AUQnwQGXgqgGpXaHI/a2AJw7e+OIVo/zOWCp+sfw="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.11.0_1585295452599_0.6639439267129785"},"_hasShrinkwrap":false},"1.12.0-alpha.2879bfac":{"name":"@swissquote/crafty-runner-rollup","version":"1.12.0-alpha.2879bfac","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"11.1.0","@rollup/plugin-json":"4.0.2","@rollup/plugin-node-resolve":"7.1.3","@rollup/plugin-replace":"2.3.1","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.6.1","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"5.3.0"},"peerDependencies":{"@swissquote/crafty":"^1.0.0"},"engines":{"node":">=10.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.12.0-alpha.2879bfac","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-eD23mfZZ8zTCURPaMrRGHgnsEmqwqSRiz4POP9illQim0CSB1J4sW5VAk43yxU2r381JDuWlmX4Abk9TioD1vA==","shasum":"17f8303592b173dd15015a95b56cb099937f648d","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.12.0-alpha.2879bfac.tgz","fileCount":8,"unpackedSize":24970,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJelWRsCRA9TVsSAnZWagAA7JAP+wVKbxORA1x8Oo+OYfxt\nG7M76lin1xWMU5Rbw2BIIXke/ENDH0Tob/3TscH73I7HUSC0RS4keOetRUq6\nlUIH5MSHDx3VC0/+RzgVhgWJJ6hpkIdghHqzlW9JmrJWOiXE7n6phpjMhu1W\nkx/rwLrrYSaAPpdTzQ/H51/0ycyEi820oJabZ3QP0I9xlhawNChO89lYMaTm\nuGTLMATQekJx6zTe4625KD4cm9ILSyKf/ZSXs5qtv0munFJ/EkCwMXG9DsSh\nxdwCyvgAPgYS76bVdrG2WmkBm4vugQc8Fjc1osrxU+LdD+SVpra2ODsdzwUy\n12SRsj3707OuIzR5CTP6TU+oqHTncqsVNBW+zwCjbi7slRTBspZBy5/OCWLE\n7t68exODyHa2Pc6668vHGm2couH+JoyYr/GOS+s8OjMhN4+GVvoiZUIX08Hx\nxPkylDQ0QOcIL3pob+mB+9jm++WyEcMQhXkfYJyPUYVGKknwV8f5sLA79/YZ\nH4GZ4EmXZXOcX1yJk3GyucQLEvVgc0JvoptxPFjqxR37k3UfRvC3VTuCIgXz\nrESiPXvW3LiBHjfsvh3iR/nMpceR3AFFgtX+sJsn5oZzk6A13/EwWHcNlNBp\nNvkXWOJuPBdRdAaj9YYkwxYoXFzCXs4lYjyUWPmBMW6mtoZHW6jkf+cAGwZz\nbqim\r\n=KTV7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgTuyenjExB7qjXkI0Js7Yx8GKkKOx6tGOm3gR/0R/jQIhALskt/CKeCmFy4tfVA2Zm8a/y9ibJxEnxcXu0dc0FlON"}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.12.0-alpha.2879bfac_1586848876425_0.27305606507929436"},"_hasShrinkwrap":false},"1.12.0-alpha.be5c588d":{"name":"@swissquote/crafty-runner-rollup","version":"1.12.0-alpha.be5c588d","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"11.1.0","@rollup/plugin-json":"4.0.2","@rollup/plugin-node-resolve":"7.1.3","@rollup/plugin-replace":"2.3.1","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.6.1","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"5.3.0"},"peerDependencies":{"@swissquote/crafty":"^1.0.0"},"engines":{"node":">=10.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.12.0-alpha.be5c588d","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-rPDFkr8khvwj50shHp32lyFKD45sbdpe3T+XxNdIsbB1B3RfCuOLkvTsbSoGRNPsyYi6agskoCbouz08C1Ch2w==","shasum":"26969ba8e3a3f53c670156b46be9550905bc75fe","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.12.0-alpha.be5c588d.tgz","fileCount":8,"unpackedSize":24970,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJelbLUCRA9TVsSAnZWagAAkg0P/2R8DjS+XFC8EaRn75PD\nHHBChiI9IPRr6Etook65AMgP9S40Nhlk5ahElAJmpRaBxp0r8ZKQUvTqZBdN\nhF/WlD8MzmBHcF/poTpPMK69bpAle/jdR1KrPDh3fA3sN2sa6YYGub2hALfy\ndZ6ZxrUcyP19nf52pU00mdISe93kCL8YholOirzF2DCG1GpOk2UuplnCy2sG\nB4E0GSUWqSuGllbfqoAXhWRhFJXHgOmat//CJTuKbKAlmZKTm+HzFsBAi2po\nQ9yCVGauIgAZlsBSn60mUTW5bji7s7y4i9hl3Qf2v0cSWnvMt5t7ZjfYWa4M\n8i4oWpSVmRS037TVQFSo7s+8Wdynoxp7KOYSZTYKQLvvD9mqIBInbKC9AZUE\nPpbIrxwa+oMMeByWXK/hKzyBBfy20J7Wt8kWtpFYRUSmuJfmIkt4tQNDgMuc\n0kB9HOr73iBbP5fF4uM7NW3tDTm5o4+XeKZiDzMwgXsGk4/k6ywYcA2Scyd7\nJX/Vj6upN3ukdtIyS8e1Yz9WiHoG180eRkMbv/s2Qv/tRdY9AvH01isPIGMn\nPqb64P0jZj7v6snjpRkXfvUSDAzoI7KJeQnIaaTjF3HNFNEDM8P9C9A5Uqan\nWzLQozfcNzBAdE3w2O25blB401DhUCb7Mt347SE369c/yjL7gR/KRvMDRaJG\n3PdS\r\n=nos1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgRJOU4EZ6CdHCEkAYrPPtAMLbhKgzXm0MMMCsnvYubgIhAJ+6VSwhOzaBvlgaZwLhFfWHyZnHQNqWqv314Zxfon1x"}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.12.0-alpha.be5c588d_1586868948346_0.7288357206838143"},"_hasShrinkwrap":false},"1.11.1":{"name":"@swissquote/crafty-runner-rollup","version":"1.11.1","license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"11.1.0","@rollup/plugin-json":"4.0.2","@rollup/plugin-node-resolve":"7.1.3","@rollup/plugin-replace":"2.3.1","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.6.1","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"5.3.0"},"peerDependencies":{"@swissquote/crafty":"^1.0.0"},"engines":{"node":">=10.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","_id":"@swissquote/crafty-runner-rollup@1.11.1","dist":{"shasum":"f7a2a2241d81e8deaa70befa05bba86de869f656","integrity":"sha512-p0DQogfoRxrsjvsHAm7mDUCHMuly2F+BUIhGjAQIg76ZGHDN9iXSaaLi/2sf1WbW80Odut0cquPmmQByJ2stEA==","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.11.1.tgz","fileCount":11,"unpackedSize":24955,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJelbcuCRA9TVsSAnZWagAAkkkP/396HsCkN7UH7baeAN1a\nBUQY9OMqnRAyBDUc2J2z/9gk7C2QrPguJP5V8y+Rsf0iG32anh+CApguMwQo\nWwIXJKCHg+wgrc7hd+JX9kukO6ov0NpJ/VH/wNVjAUVwL62ERSB42CgTQW/G\nVsROJzVM5Ouc9ivxqJwRgoqcKriAxrR9RpgzJJlPIZeoKknKqVWjiLWvHu23\nYUgKwvakPIAE1bN04EnnQuexLP4HDnSG/sPGdvvke/o62LuKhLwkzbELkOdI\nERkELkvxVQy59LzqbDKWSAZSrHwLzhQdcAVkQa8C0fYMc5P0/8Go5uYk5emj\nlkiE5e0wMYtb3CMGD1jFDD1O6JPZXA/gnrCFLQZ47OkfU0YbOGk9tocP4PRL\nk+CGG5or2xd14vwO+/Ow1EFam1CaChUsMeriEShPvuNhFfa2Sh7zUMlF0PZT\nfc8eoMz2L6QcZ9EjERbLXKBFH7OtumQHiDYzw11ieY7J7FqTnTmJ/fbLYq6C\nQiPzUAi14vzC0ia/zrkYd+EPqhfajvj/8j+ETF9LGzvrN4AVCTZXRwkz0k4h\n9uSlHX9Y9Iz7ikVcEdnDN7NqlDSs07mr8343JUBaIRHfVpxta+Du+tWrJ7sy\nop+cxr8FrkLVBuWIOywbbDE+p/ttHE3Yx8u2QM9ws02U7GBCgpNPUUlEO7/N\nLuTs\r\n=fouo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGAnqTzOatJjXDMHIFTVijA5jAKzTr/+/eNnRr2cZC8UAiEAw2PixfUE3nEhwXX+7BR9OMtS6+iciq0BX8oXIDisyJ8="}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.11.1_1586870061502_0.40854202417304286"},"_hasShrinkwrap":false},"1.12.0-alpha.d01f3c1e":{"name":"@swissquote/crafty-runner-rollup","version":"1.12.0-alpha.d01f3c1e","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"13.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"8.1.0","@rollup/plugin-replace":"2.3.3","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.18.1","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"6.1.0"},"peerDependencies":{"@swissquote/crafty":"^1.0.0"},"engines":{"node":">=10.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.12.0-alpha.d01f3c1e","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-GzOamIkI25EZfHbbLHukryt/8m4o3SgdDS/q/DhALi6eACoJtXn+y+w8q77FFvp1A19qz3zDGTxiuLehpRHM0w==","shasum":"60f27fbb3f706a9af334cd272a347c39365bb5ab","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.12.0-alpha.d01f3c1e.tgz","fileCount":8,"unpackedSize":25069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+wPxCRA9TVsSAnZWagAAsk8P/RhjEqV6EVS8CSXARBkj\n72APZ8LJj88htwW66N4lM3gaIBKDnIpoh5RhswNkJQX9MWriM+eTku461ntB\nxQwVDEmqRZqy2PWdmHxL5oFioSUty4ecFPcE3GZ+nFNiPVUdnGj85zSO01Yh\nPTZTW6hsCIpIGExnxfT8MngztnmjTAzVtoOGPvl4UBSvcAUth10aQCaDicMn\nemjm+z5k7vJaAHrsZ4Yncgv1tVr62dNpvUwSy5knqj8W8U/45jjfhVIzx4LO\n0m5+U6nO45uKVimXNLANmOXJPMwflIZ3Atlw9syLCED//mtC4ZcOtf0ScSJ7\nhs+mgJJeh3DJ3GSx0M8Z3VgFil8FWRLe3RD2WVA7pW+Yh9iPs9gkidwghQle\n7rO0amrCiDDZK8fuJUFU1BIjNNtUGeR51gPx5f8Ef2ksnAcDW6nf3ERkezMJ\nNA6LBhaxy7IgFZdrNvfgRVt8Ak2t2FmQrDjDcHIaCtTguwRTKAEaJS9O0EgV\nEEvqUmeVyaxPnQmHD8LG2VVs+qs6h5lUzG3EnhD4CN9r2aPCnmstJrY8RCH/\nsUrezV1u1MG9y/BTOXRUF356UpMxHgRNpYeKkvWRyW2Fvm7Y6IH5A8vdExxb\nwGzr8jNXWi6khnROoHxNIFNd7u2lheD4PZqy2BCuJc/kDnMVzrO801KVKy6X\nNvKO\r\n=SOj9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmDgm/Sc4Hx3vHjeQcAPdJvwQaDbdfWKXoUF5e0TerwQIhAOH0DqCxljHLn6QfWUoiJDiYVYvIkK/layHV55bta+UQ"}]},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.12.0-alpha.d01f3c1e_1593508849035_0.5846720150020059"},"_hasShrinkwrap":false},"1.12.0-beta.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.12.0-beta.0","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"13.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"8.1.0","@rollup/plugin-replace":"2.3.3","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.20.0","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"6.1.0"},"peerDependencies":{"@swissquote/crafty":"^1.0.0"},"engines":{"node":">=10.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.12.0-beta.0","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-Sfx/kMndfyNAwXQ70N8pvAz213yk4TqFF8YjGYQTJBy8i6Mt4DoVekU02bS7FujJ1GGb3juXRhwWsRtxEoO17g==","shasum":"41af8d9fd823f673bda4e19212569e96715b5ac3","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.12.0-beta.0.tgz","fileCount":8,"unpackedSize":25061,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBOK2CRA9TVsSAnZWagAAvaoQAI8HuSmXjTJsJ2kYXUGw\nm7XThZn3kvIpxc6N96u686pA9YQoUUwJNB4V4TEW15gAvQkHHvvo6CIC8GwR\nkRtTwP0Mn6yFKGeqOMgRvZb0IXo0Om4/wmAFGZ3SDEroBFsEvKITuGBfFhW8\nddvrmp902AlAuor5nxr70dIKB2oTFTWx/w9PJVaefnL1VGruwU0niZGy28Gf\n4KE01GmxWBJIL7LlRc9yRUAliRvSnJwyBLk9mWDsrcBq5ozlMcm0WlBszPAt\nHh6mX+V9Z10rQ6hi5WOWFrZI+a9ZaM242h8QDiTblbA4ZsBJf1GwbjIUx4ai\n04tV/nQ6btKvS3UWoLAdJHr+iLsOYa0o3ZdQYMA4i4VvYDFmRH9X635NcvSy\n9Mi8k6XZf/FsI+/RhvDULbEW7sd2k8fgAH4T/fYh8wqHzjQSs2drJM+ezBRn\nU5iWNvYZX7PGOxmHBEIAzDRrQDtFH7HPRSePq0HnjgrsqF1e4Crv8b8BZEVs\nKoBkpnELXGMZiv8epkmGK5m90a9/EBxM/Ir7BtaUna2oJp3gsp5z8lkmF/VY\nJRn417iRQVkOHAJYZJElAx6MYLU1fS2e4ZSlvqPbb3eZnempVa5t8LkXBNBt\nRWlkdMINHD1aVfiphokYpjpuuElFsq5J2JU21l/5AS++V6ClD/u8OLoMDIBa\nbxeM\r\n=TKWF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjXV3N7xp5PVl9P9wbw7aqy6Nb87/yCI6FBGkAsZGgHQIhAPcV0KzG9uXPxd3vzvkqKkAdYUw6eNlDCCFkozZCabe8"}]},"maintainers":[{"email":"david.joaquim@swissquote.ch","name":"david.joaquim"},{"email":"marc-olivier.fleury@swissquote.ch","name":"mofleury"},{"email":"onigoetz@onigoetz.ch","name":"onigoetz"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.12.0-beta.0_1594155702177_0.15070400044221555"},"_hasShrinkwrap":false},"1.12.0-alpha.0a599371":{"name":"@swissquote/crafty-runner-rollup","version":"1.12.0-alpha.0a599371","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"13.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"8.4.0","@rollup/plugin-replace":"2.3.3","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.21.0","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"6.1.0"},"peerDependencies":{"@swissquote/crafty":"^1.0.0"},"engines":{"node":">=10.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.12.0-alpha.0a599371","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-jTru8wIfBNcus5c4cC+fKw/U0zVXjroUAqDqsLg5MaL/qi5Uyf3lXZJmiMqnUv34Z2v1+dDDH8hkrtEMFIDkOA==","shasum":"4986e60e61ada7f2d3f24617a9b2754b37f06efc","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.12.0-alpha.0a599371.tgz","fileCount":8,"unpackedSize":25069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDEAMCRA9TVsSAnZWagAAyYwP/0FYbgGIXwctGZIjIZx3\ndrLPpMvf64xfpPc7SaX9CfNz4r5CgIIcvPMdp3JeNBaQPFCgKVD8JEdJyEeo\nSGIsQvG8hbzPx+EnUW7D7JxCfAOUeB7Feky/ocpnSXlkaKqSFd47HT6HdZRq\nL+OEma5L8lARfR961r1fu06XYF0gj9UlXQ5TDOsj0kBayrxENVR8V2qWrMmn\nyb2SLdo4D1o3ypk1LeMQ/SenLmaNxekSZmRZoxpOykZdP55L5D72r6TvZyvR\nDg250h1HUCBQsPmfnk3ZzrTQZpKIiOt8noIqPmYCsNEJrkbL/tWMn41y8L0y\nCZkMMXnS3cuehJGRwyRa6RL+DqT1jfKRoRm4sUrABNRpXjy7PqN3eP9ugrL0\nsWNZ2egRj0J7xgq516kPs5drQnTLi+9eF+wud+Cl1Yf0HniK5qFMoeOhkuxu\nfwSzcPiRd+gTLJN6fVYtT+Z2S6IBe3pxOhNfRwAVpADVJohaZLL1UdEFRKEl\ndIizbM14T0Wue/V/OT9a5ppU2DDW8OfUZtwO4wr2Oo7TNaXSlHueLRJvGIrc\nAa80QtjmdFjtNNwNvrK3d5SU6ox6x/mDSm1Ye0rU1br5S9+cf5FTt77plLVd\ncOgl3eGrNfNzEST0+BMDEsPYDIhumhBDfq3qiYlD0qfAN4TH92uPgDx4wM7X\nJVKF\r\n=rpcO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzn3KQ+Ec4sG7Wcy3XGsTRvY8dNSQyrP7SVFag5rE0lAIhAMKpQHvyDBLEBMmTBCsCZLB+G7E4J896o8QbYu8xuKEa"}]},"maintainers":[{"email":"david.joaquim@swissquote.ch","name":"david.joaquim"},{"email":"marc-olivier.fleury@swissquote.ch","name":"mofleury"},{"email":"onigoetz@onigoetz.ch","name":"onigoetz"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.12.0-alpha.0a599371_1594638348422_0.6733519657861013"},"_hasShrinkwrap":false},"1.12.0-alpha.0981c1ec":{"name":"@swissquote/crafty-runner-rollup","version":"1.12.0-alpha.0981c1ec","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"13.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"8.4.0","@rollup/plugin-replace":"2.3.3","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.21.0","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"6.1.0"},"peerDependencies":{"@swissquote/crafty":"^1.0.0"},"engines":{"node":">=10.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.12.0-alpha.0981c1ec","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-gKkV7VIQh2UoqhmJnYmiIMW9r4xMhem9RFPAI/DrQ3tRa7wLg47yOQAv1CsPeRVI3Y5E/xee7Tr1ggcy97YQTA==","shasum":"79decf9339d5ee94eb84115f3a63d52ed04f9182","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.12.0-alpha.0981c1ec.tgz","fileCount":8,"unpackedSize":25069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDExQCRA9TVsSAnZWagAAv3oP/15eEjLXI70wRdFJSyvs\n8FhA/t/JfhIIgGLAUCpjdWsWyUY53xhsK+KIZxAxFHcacKigIuw4t6JralSP\na/PCWkT3QXlhj4AXfviTWhq35pgmGTXMTLV6edzRApvvIEA3WBBNhrE00JAG\nk/o0d0uB7UOjoRJ5PI2ENy96pkoEX7MRXBYrd4NtBlOo1+9UyzQcn3tjyB9b\no2Rw7NJFSuEAEgoI8hb3dUn0chV6zg5X4sFotxKK6vTzXQHKojhj7oD1Nh4C\n6VHNkrssnBrkBBYBYThqpQW6+yKnrPQYT4rR3JyinXlAVC9oT41b6jizYAsX\nBjVWUrPL/3+GST2dN5sJvJnAD41V/4bLPNK961TYXA0W+c0dvCVgdceEjhG6\n+G4ikY28hvivLzYx8SBTYnWPXWjOOjKvn/ShFiSZD12SLBHAzRZ+fp4zRUX0\nf0UpQKDCZk+WJqX6D/mBeVY+SjGAstPqwAhf286m1UKdGHX6XDLCHCZ6yoNH\n5Ep3D+THEz42VHyrWYTtAgvOaJ/wD8BgG620mTXxnjnJJQD003+lEbIVjiUL\nQbIeeG78daJfL3H17DRoss3JqeIo8KM4hlaSklG1uPMqit2zbSN91dCGGAU8\nFK28AcFqmwLpX7z4XDS2Tnq7ThzX8AbM28YBHHhpF7NfWs6dSr4z6x6wurxG\nWI6e\r\n=8Igu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGikQsAsUbHgfY5XN3ni+GdKPbHDXEiU3lAYHfE32+gCAiAn4KvQB+StmfXt+8n24mOTCGTVhSa9ucu/4qK3aBbV3A=="}]},"maintainers":[{"email":"david.joaquim@swissquote.ch","name":"david.joaquim"},{"email":"marc-olivier.fleury@swissquote.ch","name":"mofleury"},{"email":"onigoetz@onigoetz.ch","name":"onigoetz"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.12.0-alpha.0981c1ec_1594641488081_0.4403422044707286"},"_hasShrinkwrap":false},"1.12.0-alpha.20d5bd8a":{"name":"@swissquote/crafty-runner-rollup","version":"1.12.0-alpha.20d5bd8a","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"13.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"8.4.0","@rollup/plugin-replace":"2.3.3","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.21.0","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"6.1.0"},"peerDependencies":{"@swissquote/crafty":"^1.0.0"},"engines":{"node":">=10.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.12.0-alpha.20d5bd8a","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-CQ16Wb59Ap3eDUXISYWvmWWrEWBsVqUoxh4okFiJa/7zqAYyV/0vTcD1BegR7auhQVr1g0Ddl4AEGBNdWN0cww==","shasum":"200e28c57240328bde19d2f4e5ccc43067d47899","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.12.0-alpha.20d5bd8a.tgz","fileCount":8,"unpackedSize":25069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDGZuCRA9TVsSAnZWagAAKyUQAI14NpWirGpjhyKaP0ED\nO5xM0VazvG09NvLUbDMoHRoxDMUgxR6//3D2HMJLQNNKKg1sMEWZW2tzh7ou\nDAFgbriJq4s4AgMTO+OHErQd3YuMw+dPjUSaxfB20f+jBWDsRP3jnxsVf4fu\ndOTC5Fdwako48LVERwC9GUIIMYkMP0l6BaKbizN3A687anqIu3S+HhfNEdKo\nQJbJg2V3c3kFgXBRCvwKk9VmJs1ZAnPS6Z4liWXMTbDy3TU/Pl7fRytIKc3M\nt7ke7MUFZ7KTp03u0EbM10iaNCgTIiIHhF3rjUQhayUMA35INQU1ntFEhQvD\ndc6DRJFdJKOhJFIsfO2YHvYeLzYLs04w/tTk1Ru2YKNTHi+9ytJ+0Low73HF\nWZxeC0xFdY7KJ5PpA+d1Zm4egP03FxqI+03FdMJmIOhIZvjMbz/9kI25nTFF\n9orJZ8/r1f9pbf08qGUVIdvN/KvAvYlujkMeVEgvEwQj9XzViganfqmMT6qS\nG+RxTqlHjsm+uKny00XdZnIDW/d69eEVAGvUwSaCzckEoANpgc4d/b/pkbHs\n42ljiSPShx5xpF50TNzNQnjg+LK77SBILHvl9OucqoIlSX8N/i3ty4gdCol2\nwgkDFANHnty6b+K5wc+Np0Rsml5/sWexMkGmPKsAa4wVPNSg+dOAH8KTNIRy\n3gUw\r\n=Tw0u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBWsNqljr4hQK5iYB+Gq+J02Vrjewi/aB8Fme5E0MUNDAiAFgCoczVMBK893fwHQVZKZRVFWBH3yyD/pm6e/5a/MFg=="}]},"maintainers":[{"email":"david.joaquim@swissquote.ch","name":"david.joaquim"},{"email":"marc-olivier.fleury@swissquote.ch","name":"mofleury"},{"email":"onigoetz@onigoetz.ch","name":"onigoetz"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.12.0-alpha.20d5bd8a_1594648173943_0.2655317402997417"},"_hasShrinkwrap":false},"1.12.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.12.0","license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"13.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"8.4.0","@rollup/plugin-replace":"2.3.3","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.21.0","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"6.1.0"},"peerDependencies":{"@swissquote/crafty":"^1.0.0"},"engines":{"node":">=10.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","_id":"@swissquote/crafty-runner-rollup@1.12.0","dist":{"shasum":"afd242a5583d735de19969ae904ab49f4b1217dd","integrity":"sha512-F6kn/a4WbOAAgC5z99fjVr/ySxzH2t3VgmjlWhAakSY9wjjZQXg0kFwCcLUXsWTmzgmLGQCLQ/uaglAtfsWdcQ==","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.12.0.tgz","fileCount":11,"unpackedSize":25054,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDHUbCRA9TVsSAnZWagAAHLMP/1DvHpuIk6oGoaGXsdzb\ncTZRjkayY/X/TlDYcMxjGd7Scx2rOXnAr0MX1fWWiIIDyRfh6N0y40gev1aE\nGIToE6X1dOofxCCXjzSsyjw+Y3lVcPYr9zqQrKEe5LiwyoqX+SkuZ8X65YqV\nGaDk2VN5AUpLaQMyQiJJrcpiC3BmNeu3jUPplkoipU8WlFcndnbjz/i+Cjn9\nNrDp3gieX0kfNQSvM2Twp0ZgkrJjYTgQfBvrFv1lubUk60SzAXz6AO27bIvN\nMWWNJ4KKJP98mHAvdBpFEkfV/ob3is2fNrw1nHodHZQNw7OaAXk0FArrIEDN\nGdeUWIUdEjZ37kt7SOnQatuGP6WVJToQmleCKhEmyA4sepMK6joOeUC790zv\nkx9xjUYrkVwPUZqPwwL6XrrQP1io5KkU+MCn1EkSO+6GuU6wQ6o3vpjW3e8R\nQOP0izgTI8TZprS7tw7LsWrHGaeCvupULSr/Au0B65U2T5AjnUofQ3ee0qxZ\nm6KU4Uu0cm7NlnElveTT8oFQfQx4DjolXxDJXR3qitf/v4sqToC7PYQreK6u\nBkYfT1iQkSsEVdfQqaFOZOjpJgHHpZVmUqpEH8SCibI48d4A4P8v8S4zwdgf\nNYmaZAJ7iqDa3wbsQpkfN7MmXX/tSwB38vzhcTXO47Imwuo7xebzS/6uF22j\nNV7S\r\n=7A+Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLMKlF1kdH/09eA0IbibCD02fmmReBKDdLQF17IQiz3AIgRxwl92h5vkq2LPLgrmUTEF+YCGMUI7Ol5+I4WtMVQSA="}]},"maintainers":[{"email":"david.joaquim@swissquote.ch","name":"david.joaquim"},{"email":"marc-olivier.fleury@swissquote.ch","name":"mofleury"},{"email":"onigoetz@onigoetz.ch","name":"onigoetz"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.12.0_1594651931310_0.5443556438685964"},"_hasShrinkwrap":false},"1.13.0-alpha.0974e0c2":{"name":"@swissquote/crafty-runner-rollup","version":"1.13.0-alpha.0974e0c2","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"13.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"8.4.0","@rollup/plugin-replace":"2.3.3","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.21.0","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"6.1.0"},"peerDependencies":{"@swissquote/crafty":"^1.0.0"},"engines":{"node":">=10.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.13.0-alpha.0974e0c2","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-qMSy3sOGQw3zlif2jLgqMl5dyBKR7PaDUVhfCwIPNgP7EVwtrRGy3xJ0CBCGrhjZ5lZd8Y3+BqesnaoYUrhfPQ==","shasum":"95c389bbdd7ed2c1a63ba2b474daf3009d322b4c","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.13.0-alpha.0974e0c2.tgz","fileCount":8,"unpackedSize":25069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDcwGCRA9TVsSAnZWagAAIoEQAKL+MCHfa3GzX6QGBmDv\nK68b5aUZa5JfCJNsiyY1TCkaqHkTCWkf3PYzznzUikUfbLGJbC/I0CfrbGxB\n6yqHhH4W4Ze8j2mp71t14SHt60GWVYt1gEjmQk5o/NNLtvr7AFcrPu04l4Uj\nHkYUKxkxaGUeno3dvpiZwxcSvYQWQ24BtM4vUXVoEJFVpcme7a0j1BnzgifG\nNvmRxI93NjrZFEEksuBkkhMxuDOUOEN+Y/OSn4l+eqmk9y4HoQeOqKgBZiXz\nafnnyd2yPij2v6n2qngB/ZQyBURawLd4ZNsOLlA1akUHs6xRdMV5r1LQwSCK\n1R5+zjEhY0nsXrhKT10RvBD6Px1GSMqGH2y7C/hyNXTteZRfQJP1ca0kXw2+\n0tOQzEK4Cj45C9ll3DFRHW10EMth4SxSpnh+aGoDP72kVSomFJxcVVuKkGS+\nZM/WzreMh7uXNPKvpHMTZYLdH+C1Fa9t5aytBjogBibJPCx7I4KGait40W3e\nWdQUEp0cShcxMDsaN4AUW72mQ/qQyKkHsp/J0w6HTbHVJN8Q0Q1QiLNb+yvt\njL4mn8xqRQlVM1LrBykGoUU+OSiTiL98eHLbx/adwgsOxOlnEhE+qrPCSZdL\nxKASEtBViihCE6iEX+ENfsZ0z7w8xPIf7+pW7IBcDtWNKKS7CCpRHe0jtm0w\nkucP\r\n=w/FP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC4DJT1SSMXs2Giecs8mt8oqSAuHRlETwyUiQK9qra+cAiB9ySgsPgY3QB+XahKDcYQ27SSjftWRVqIXnrXOYqvrSw=="}]},"maintainers":[{"email":"david.joaquim@swissquote.ch","name":"david.joaquim"},{"email":"marc-olivier.fleury@swissquote.ch","name":"mofleury"},{"email":"onigoetz@onigoetz.ch","name":"onigoetz"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.13.0-alpha.0974e0c2_1594739717610_0.25217653065738044"},"_hasShrinkwrap":false},"1.12.1-beta.2":{"name":"@swissquote/crafty-runner-rollup","version":"1.12.1-beta.2","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"14.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"8.4.0","@rollup/plugin-replace":"2.3.3","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.22.1","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"6.1.0"},"peerDependencies":{"@swissquote/crafty":"1.12.1-beta.2"},"engines":{"node":">=10.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option      | Type                | Optional ? | Description                                                                                                             |\n| ----------- | ------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`    | String              | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals` | Array&lt;String&gt; | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: Object.assign({}, crafty.config.eslint, {\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      })\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.12.1-beta.2","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-9+dCCY/nxBiTyJ3Fjn0qcvZ5aBRKM0Yt5tv6KkGvVA+7snLPMgKTQspy4hhFYAfXlwellUK40L9CrQK2/xbuLQ==","shasum":"6ed234c9472f433f469763405396547b552197c1","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.12.1-beta.2.tgz","fileCount":8,"unpackedSize":25080,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfHHnYCRA9TVsSAnZWagAAyyYP/3PG/YMCqeiNVhvm3XtO\nkhw3WFDTKWHeN4++Cfws46jBbDE25MzUvZzxx6YL+n9xBbHWkmtAgWUqYOYe\neTe4I3ky7aOqOKpCl5wD0x0ANsLpm12KtAFa8ArhKl2fQpAdzo9+ZUpcL2Lp\num2YbwbJCAiekRdp8Bj5DpG66OFyhf7mwATsDuglNtZagmPRfcNp6bvuxuXb\nulckFTAmdFK52TVTKHvFcHlSWKc0IA3813zpKi6CscqzQUAWuf3kSBBjH4Lf\nZjtpaKyKsM+bXkLYGxi7hehUReHMiwKfEfV0/F4T3S/sg2QMNhJzunGT1hyO\nPBB7uC1OyEIuEWOzzD5dQitD34rlCNUdyDkxSrKXKfJk2YE5uwwTkpFNAZE9\nzH16HvDGJNFzDC6giIdU/2berHjbBkEE7rHMAMgLitx3nfLgPCOak6pAJocn\nf6gSIuo1DmlnlcHomTHDJ8Va7fNi8gnhZGtq7whuxwBkgWkLhOX1CGDrUbfO\nRQ9/mlrfzMT+iOZ/u/QNddpI+ahPfNljcAS7rcgWGidsW/Xh16Hh87iXjwBu\n2fqrpViIz+X03zj18huxTaQ0e3CX9k6CDgW6RQAVOMpgT2tphqwPqiRSqhID\nff1niiG1jJQpnVdCtTGxin0STks/8g6qtiX+pcjrXSp9KQ3BSsa5Y6bt9jvj\nvbQd\r\n=fnZD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCM58kgIwZ8/S8VJ1p1vEZwEYcSiHxzo/ogowR7mtYeRAIgOnWxBfCZM6qj5kPO8X7binIfCg3PNlluMAorHzieJ7g="}]},"maintainers":[{"email":"david.joaquim@swissquote.ch","name":"david.joaquim"},{"email":"marc-olivier.fleury@swissquote.ch","name":"mofleury"},{"email":"onigoetz@onigoetz.ch","name":"onigoetz"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.12.1-beta.2_1595701720581_0.12433234235850321"},"_hasShrinkwrap":false},"1.13.0-beta.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.13.0-beta.0","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"15.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"9.0.0","@rollup/plugin-replace":"2.3.3","@swissquote/crafty-preset-terser":"1.13.0-beta.0","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.29.0","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.13.0-beta.0"},"engines":{"node":">=10.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.13.0-beta.0","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-MlF8rOli+M2ex3CgmGQKnT8qPL5gZaWaOLp1CBEmQDogTuJxwYr9Pj5IOco62RSISaiDHEyhzQxFvv/QOQ1n0A==","shasum":"f5dd8affe978714b41f06127c56201a14f83e948","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.13.0-beta.0.tgz","fileCount":8,"unpackedSize":24817,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfgCjNCRA9TVsSAnZWagAAtPEQAKFfofHJ4YWCyFWiBYoY\ndw7oI0YVd8PhTBqc0eVlUMk3PrjcIsMnwAxZ0aX1Eoi0S5dzUM7B1z3oYcfP\nbkSxT7VTzIRhAlXgV/N1uC52NniIO95xD50FXsR2oE8MCCH5Tk/SMzWuNsCI\nB+BJi88JKH/1xsQILN+NvW26SED6aJDQJrNHOSrsPYSorEvls9rbDi1O2w2N\ns7OXWeMlATEcY0B+3bsLgyuTKqSreNCHi27RLZk1hcHOJm/ywbHyDshlpBLS\n/QSTsDTf+Y3+CBINAby84SBG7RlYyPkUKSKk7akdzEIXWSAIyg3GVD2Sa8YM\narYmxj3G47MBSpSJGwEqIgKYBKRJweOB40vO2lFlPr4FpWoQ1ZX5XViVmFHs\nIzqbQPzMOOGtfv9Li2WPv5aWLn9uIYgO9ahswvo1tPEyBwwWHMKSqAy1i2+c\n7z0rYLOlPrD8pRXp/HHNCjiXu8R+gJFurFa8R+M4LUXv2/GUjsMADMS98kUx\nhFrgQntC4+aEeSGSMWiBvtL4HOYLMvstOasmutsyIcjTUJOBufF1Qed5yAOl\nmOd5/spYhKwaU/wjdSdOnEUsJAu+Q/Zp2dUXn5iFLPABfh+R4HRxlGAkZ1nH\nUNs2LrgN3Po4Kh/xogQsb86seW2SyHqJ70lG2oVmnbcJPmu2BEoWSLHwhrdK\noGJk\r\n=CLIK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcI3yq19dSioDZ7L78CVxh+SdYSrl5RZqibWBM09VAUAIhALvg4yD+1C3I8cuw/91XbZiJugwMUiXGSpWUdiYIH6Kd"}]},"maintainers":[{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.13.0-beta.0_1602234572990_0.8734303844466254"},"_hasShrinkwrap":false},"1.13.0-beta.1":{"name":"@swissquote/crafty-runner-rollup","version":"1.13.0-beta.1","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"15.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"9.0.0","@rollup/plugin-replace":"2.3.3","@swissquote/crafty-preset-terser":"1.13.0-beta.1","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.29.0","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.13.0-beta.1"},"engines":{"node":">=10.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.13.0-beta.1","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-dAbESwbRiP4Q5uagc5LPWaRvkP6JCrIv1kmrfEL7ojCn9Yx+8LcdPOtvj/ncRaKwEx2xLAI6xim7LHSena2jEw==","shasum":"c65165fe2f5a67de52e2e09dffe21bb4d5154441","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.13.0-beta.1.tgz","fileCount":8,"unpackedSize":24817,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfgDQ+CRA9TVsSAnZWagAA1qwQAJLHRO2kRhduMtQ0KTSj\nZgXpTiM7s3mkj1F2QwkI42uvEOnB2jl8XWvSX+P1acwP0cUlvzSm6PhE/Nca\n2C6g61cIBvuVfa/J8BS1aldQQOuX8XbnszNz6JRjJTG35ZDAqHT60HToz4IW\nVK2SXzG9js5+eaGmMiNjSzAW1nOTvUjgf4XHHWg4hojTXajn0JRN0BSzFoe5\niZ7OC442kcfuCee+n/8WfU3YESDxqiJaNAiSRuALaAoK9GEa0PfY0o6CsFad\ni6k96DFZcfm9lsCOXJ02GRbkRs3rQox2ST4M/IhOBTzIwYDH7BLOosp/1k6a\niR/wa8QVhOf2TdE76epydQx5u0cq2HQUb8Iz+tI15sSJJ05oLpkeWnhkaEPJ\nZ0jz+DdNhk8/JpIZy+vSSjQrR37cDrThvtMuOm8jJVr6Qlqqy8MKEQgAwhr1\nlus4If323dgbxltBg8zMIp4FXXdcJvo14lQxlhC9CkSJ6K9EnITAehVxv4yt\n5aCTSEhpU2d5w9LvnyNlZ4YGdRaOvxtwUucdOCwWzEgoeOf9uerSS9JIuajD\nm5CPXA6Yn1p8LEiT4NJaK3ny6PAJgqZ3o+qqxeGId5fCist2onb/hulI6GwR\n0aPzUeJhFolwxpEJccsMRpFRjtwrdhItQLb3paxfNSQB2wsbxRb2PxfITF0b\nLRjh\r\n=jVFl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGFDjv5KB+c56gqenNqhbGlEOR1itHOisPCkB4sbrXy/AiBJS2+UfLSeDCRCvJBQAF3wgI/pCQ53c+GDO8/dBXskeg=="}]},"maintainers":[{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.13.0-beta.1_1602237502114_0.463271266094589"},"_hasShrinkwrap":false},"1.13.0-beta.2":{"name":"@swissquote/crafty-runner-rollup","version":"1.13.0-beta.2","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"15.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"9.0.0","@rollup/plugin-replace":"2.3.3","@swissquote/crafty-preset-terser":"1.13.0-beta.2","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.29.0","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.13.0-beta.2"},"engines":{"node":">=10.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.13.0-beta.2","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-G0WYwWpoWUUdzyT4GiuTYgBPaDvJy284AhY9sUE5sV9BZq/4N2eMDCLMhi0o0otfWheJJw+UCoQopD9LLQgbTA==","shasum":"a7c047411c3fc37660d3f1d315bc7706faeb8fc9","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.13.0-beta.2.tgz","fileCount":8,"unpackedSize":24817,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfgEOMCRA9TVsSAnZWagAArs8P/j9yv16+XSOR6zBsdHMg\nbed4plLAAFo1LJkjbjI6m2JS1Y9YJ4MPR7BaOz8qX8ac8e6brYlJXxDPUs8u\ntKFrheJYWk6jOuBGnNI//nQlqUOkDHpdeD3IeqiP2eNct2Cnk7hqhaBD0uSr\nMwwkYQmN0Wr/2+pdsU5ELooE6vkpjomBX3E/xasfMcu7phN2NqA1JmJEAeFD\nlrC6zOkttALKR3aKyfNJiTlIBqZWyST58cA9GF8kD7Zw1+MvmOfL/ux91hJT\nFHCfEuyn/iMRG/ZNiLz7fdtndcyM5uFESRpN6mkTNjQvF/G2foOucmZFg7wo\n1hULA6zmQlJQimcEARG37oNIPemXCVhhskxEN93uLJQ+CALIxf+qYd7fO3T8\nU5Cp09cT93hJ0rQI4o3Vxwp4WLOcnWabJmG5DPryNnwbEPTu/pSR/rvwA4gx\nmoV6lY2esGNnFYFHjMumj6kxegun6nUilKvvjVfiX9ZL+QC4XVrUuvEsM1Gg\nCWchh5Di0wvr5hzD7zECaXJ1IeT6KlXh/CGl9Kn5PQYkOO0akNYnrlwjL67e\nONyqyjjotcoDCTx4BhjUgDCSDrw/wJ3jsYc0Wj2s+NMoSLFGOyA2y8xCp8pS\njLgEr4k+gmFCYM7uuNZ4zERgtjIYaUARU9C0FrZCNXXcQ90k7A9RHoFgyTob\n8ski\r\n=deA6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHX1nfJiQGRWw8Mp8ElYcXDwIfUuu3G0gjU5708PevQsAiEA2bKol4hBJZ6RfSjRtCsiSXm3KWV9Y32Yn3xw2TMBhnY="}]},"maintainers":[{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.13.0-beta.2_1602241419622_0.5145118484945774"},"_hasShrinkwrap":false},"1.13.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.13.0","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"15.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"9.0.0","@rollup/plugin-replace":"2.3.3","@swissquote/crafty-preset-terser":"1.13.0","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.29.0","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.13.0"},"engines":{"node":">=10.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.13.0","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-G28lrnf9h3y3qxts5R2A1M0IG9sF7VrcHKPtcw14XRtlboBvWujEOhjfaAzXv8J6q3ZIgmQpplSt08dq1vjh/g==","shasum":"4a1f68566deb2f89a40deac7151d40da700a87d6","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.13.0.tgz","fileCount":8,"unpackedSize":24796,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfgFZ0CRA9TVsSAnZWagAAt+UQAKP0xltmciUYX82j/SdT\nbQSI8FvJfzUDwfmD3CUIwLqVtTsRN7g/2sZYmUK2rBSY0I1f3UfSosz4TQ2b\nWKnDdsu5syMy6cph8S+YoH6VgLY7/+FSZWDb1ixX4xq6KQhH6UHrLS6NTDDz\ntI9AZHKIobn58kCLXsu2E1t4blsN6ucJj12ZWRO/FuJ7CLyWMSa5i5AiK7uH\n7q/tem2o4OvmfZ26moQLvAP8mhE66v8mYVsFNb4Kavxbey6FvCsLjbWRQFRe\nC/Hl+NjoN9CFJ9muG2ekx7c56Sr91x+R2vnrndqS00SoIZ29uca1Skir27Ea\nlEzWBtla1NbD5TYIlzI6dcHbo5bPaII4jloX8J9AwpB8019DCvJELLOx0hC2\noFGLkmttrA/sdJY5WOzWiDchaZuviTMWBldG9U8PoPLQpPzf8MpiMU5MQbeJ\newc+ZTRUlaK9+Av/r7rcoh8hgDwi5XgJLs7jie23u81GODZIY79bk1NNPybI\nDr7D6EGefobw99GNYgzplf01/jW5l4ud+iJmK74eib28lcDHUXR5TwWT9ASG\nlG8KzvSUe+mgJJFzqtFnJ3msKtqPPEkJEdlDkNqWyVshgTkOh3fgIZ0+fD5Q\nRmM/Tr2YUC9Y0ZvBJfZ32Jht5bL25YOgIxY0ex0VNIICRcK8gijeqgu1kieS\nzaC0\r\n=cBGw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJwwj5zr+icVfNxdXKK/eFY7K+RL1T4jfmBh1+PAejRgIhAI+YXq6sjI+jmfzFpLPiNsT+9tO1Lw3qUFiJCCxujJlo"}]},"maintainers":[{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.13.0_1602246260030_0.1677459938860144"},"_hasShrinkwrap":false},"1.13.2":{"name":"@swissquote/crafty-runner-rollup","version":"1.13.2","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"15.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"9.0.0","@rollup/plugin-replace":"2.3.3","@swissquote/crafty-preset-terser":"1.13.2","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.29.0","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.13.2"},"engines":{"node":">=10.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.13.2","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-IM3biYoKVK4IoqJ4AkHd0kfRdcXIS15/5TTUflZGxdINRmrAffVXCxdj84mb+VC4QFGbgiPxkoM3UQFsngheMA==","shasum":"8f678a99703285a0e97d1b531b801c22cee50957","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.13.2.tgz","fileCount":8,"unpackedSize":24796,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfgF77CRA9TVsSAnZWagAAg4cP/2X+DQhERMzDWrRgnH4+\ng/gYmBC2H6plLfFOulQEp5fCipZeNP6/QX1+EMFFkpwai+VCtYFWtJmgtSQ0\no1PVcYx5soPlH73k0jRjuyg6hAkeWDZbK6TulK4JAlQwEpMDEQZhroZoLghO\n0V0fVE82c3J/CwuaXFVZE4HEP9pb7q5s9A7NfdBOFQHXayplNOQnX/0EOobE\nVWMCRvfGocc3+v/qRzi2cAYuyZ0aE6F145n28Y7SdbxCo+zPa3VtoJk4yh4r\npdGXjQXAM+9yNhPuBwTxdd/tCqAuttDhXJkisjLZasgkmbY3M/3UX99q4SRP\nPFsP5jD8bu1h+yWZx/nlkSAV/LK7zV+TZwz2SVTzgTUPj1FC5I5x3aMYh5U8\nHUnExnxAfA0ZIjhbX8/qdHX82Wv+zzFSJjnGBYvFXVB3LNYUWSxOu2qvNWzt\nfLj5eZ955n7EFwUuxgxYdAhPwuRH8zcYbnsWubu2HbqE1OHFv9qeaK1fqKfH\nusaj8Pe5deQJ8vrdMYF8XC93CxDp+C5jKKXVkRLBzh4ZvGTfn8+2jj1WREmx\np3vIWTB1dx1A9fxxOjMZMcM86WYaIOzvTunOx1purUycvRDtuReqOmCHAd1Y\n9zyntwieSfWxtgKdH+g2thYhNmFe9ccnVWvfMSq7vxDwYXsafzyTPrJ52Bim\nyxSK\r\n=t82L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAPzyQXuYvinFGsUvFj3qwJW7Z4aAuueH/Bfvr1BLa5EAiEA/tCXBtQavfNGa1mKaPVQZlpdRrknLZ2UbK0zUhl4M7o="}]},"maintainers":[{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.13.2_1602248443188_0.3165939499242054"},"_hasShrinkwrap":false},"1.13.3":{"name":"@swissquote/crafty-runner-rollup","version":"1.13.3","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"15.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"9.0.0","@rollup/plugin-replace":"2.3.3","@swissquote/crafty-preset-terser":"1.13.3","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.29.0","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.13.3"},"engines":{"node":">=10.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.13.3","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-oU989b2vZdMfyajGcM7bkC4fHBzRTlfPPvaroRG8WFWF07PxQ3/a2gfi+xhLAZ3fZnyRO6ywHMWqGDUfNYuUyg==","shasum":"213cf311a311680114deccd887edddc19c2e615a","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.13.3.tgz","fileCount":8,"unpackedSize":24796,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfgLkNCRA9TVsSAnZWagAAZ7gP/Rj2qGD0+8kj+8Ojo6UJ\nOFmkkMgYz7vUiK2floniWICPeMd0ib0pcD98OvDj0tON1RQR5PK/TDYQ0ZjS\nS6tjo5kouB6fKASyynMwU/IN2XWxAP7e9jk84/Np/HjjB4sDKyZrnOV1C29e\naSB5ZUU4V5xr9e4fFgylSXyDnHUrnAZBTkWdaypXd7WPFTtrm14RZauC90i2\nM2SJ+Cf6q8K7qme+GjIMeBK9mznwiypY/Nt//wIJI6gQE6P8dS9jiy/wON4J\nvNzaUMIV2gdCKkhxn7OYAddodpYdNPj6DDT5sLYJM7RDGcwkQat3QNYkklCu\niVZ0msC8btUwqFbBXYEPF1Mf/u6StQGQJ2EjgWCClzeDHpHe4DDYzaOnzgpU\nIIYeF25EVr/5u9xvl8UQZOOjogcNEW1fMrjjbCoWYUvE0i6bBAWjI1YJt8vc\nht7pNzzVY2SQZhKlBa0TS+ApeRB184I9KfFtPOWlQfcp+L+BmRrHbU6DPwR6\n3XGlGsvWbTyYzzSJ86uuL67jUbvLjs20L/OZzE+knERQsP5NxtF7WnbPv5o4\nBa129b+z9ISBqfgU8Exeu7FdTiMWRgB98RDfMeqclDHxueTaYfeXW3yoHwbG\nl/hTgwTue7CCpkphg8HGVwvvEb+ngmCYGI3BiWSdTURsS9QUEuZKhTAY4UEt\nYJ/f\r\n=519M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8BqdYyg22oJRbHdoBUqtucYQEdw3dy+iUWUtMCIZA7gIgWm/9fCOf3+pT4tEOiJU/QYAQyzpFCgdd0aQHdlGj3nA="}]},"maintainers":[{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.13.3_1602271501164_0.5647259325122453"},"_hasShrinkwrap":false},"1.13.4":{"name":"@swissquote/crafty-runner-rollup","version":"1.13.4","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"15.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"9.0.0","@rollup/plugin-replace":"2.3.3","@swissquote/crafty-preset-terser":"1.13.4","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.29.0","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.13.4"},"engines":{"node":">=10.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.13.4","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-53m796IyQk8q8V/z96cjJ44EHw903H1hjUoDhyeQJ2iVZOx18hdfp2IAw2WcEl8gir09B8Vw82DU03lGD805kQ==","shasum":"b992a71b9de141180367b314c5e10a133f43da5b","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.13.4.tgz","fileCount":8,"unpackedSize":24796,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfgNg6CRA9TVsSAnZWagAAgQQP/R3wYpFULot3NmmTKgSV\n+BTZfxJoJy1NegT6g9EJpe8eR7z/KrtY7eFaAFvS8YZSq0LeqtYvJwJbtcd3\nMFFo+BwJisEGySkBktEylgMDOdHTJdtx5SjVmqwPVk8um30r7LkzTNh33GXN\nRkl0x+wOE51WgVSJPdcJ5s9nO+QgNk7roe/uzU9k670euQCjetwIdROYmIQb\nMVtsPg0SYysZnmsSfEGt2uNwr6loDKXWLTQtLxCsgNq0TxZqJmOOQmFXuFrT\n2inoPpCKG+3dqOQqoykoZsWucvHzBjSURTFzLWfMi+qGe9xgugyzayRES9FV\n4sADufr5WNbftc/fCOkelWH5c984lx1V+LnbbRd3Ogjf7fJ/V2TsLn4Xlqct\nij1C+M6qCcKgzg42IFmfYPVtSbfJPAFb5ZicxqpVX7CcUfYxeBGcDDtxcY5r\nTcAXHlKlxHVBoGM7hdO0iTt9HFhKOOTIH/qhXOhOugptabi/ivzLZCiwCAEt\nQUQg5hW1XVfyPpAuchwjX0lofv78j1SxPAw+OjLk6bzcERVg46FceBPElw+i\nttP3h1mOgKwEQKldZbpWlnKU1MqUyKXgwjCPxLyixKynE8L0U4DWSw99nd2t\nB9lEDWAHIJXSdkKr8++YZ/UGs61qsPOqDvGPYvO9MpEsCSRuG90iMKT+YJfh\nNlSJ\r\n=g1GY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEnAItjnp+eS/nZd03bkVmcWdDmK17Vl1k0NjvzBfWikAiEArI9RQ3QzH47NPKIJI/mU9KqExfnYGFvz+vkkKx1eu+U="}]},"maintainers":[{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.13.4_1602279482170_0.23421672864433507"},"_hasShrinkwrap":false},"1.13.5-beta.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.13.5-beta.0","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"15.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"9.0.0","@rollup/plugin-replace":"2.3.3","@swissquote/crafty-preset-terser":"1.13.5-beta.0","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.31.0","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.13.5-beta.0"},"engines":{"node":">=10.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.13.5-beta.0","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-1FCVYh3nIDxBV0k8GEDLcBdlMHiXmmKYqjLVVlNyvYbXMlAnBKT6Cm3QF5TuIcKh2ygkomjPipqy4La2Z+Nm5w==","shasum":"9a17a73e5010ff657cf88a7806680e70c74b39cd","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.13.5-beta.0.tgz","fileCount":8,"unpackedSize":24817,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfiairCRA9TVsSAnZWagAAHE4QAIqk56VN3U85iqRodOun\naMxPibjQub7sTUhvg+XSho9NOV7ZJqibEi/e8Fh+uU4mP7YCeJjySYyjW9LC\n9ApNvlsx4Md/CBWQkSJCKLFnslSbA/UcZLLtN3ZpnvmBrA5NDE2he87Y94nx\nEgzV+MaTgKqRbxFtMBpW/EzXkxZl0MSKxqWA4TXObel70jsaFnRkMuSBFXc9\nCMdVpVtbxj9h55AqB5an3pyNX9Sx1pEbjH9Ppe/od8ztWykHpmdJWobvszyw\nAW6PZYtobLSeQ0BYl9ve40CceS8zeslTBw0FPLr6iOVn5u4P+Px0FqJylE6e\nhIvc2Q55VRh07BjS74EI/v52ysaSqpG9nxoaulR6lgJJ3om7jJXrnx9yy0nz\nwBe+NZy6B0GuPLEACijgkyHgm7Lp3pjJKO7Y2j4ncrGJsm1PnqDFSskMBtRF\nYmy8j42eYg0+/8wmNS5cQl93UXCtCUvqQyi85H0Aea0KIVFMmgNvm3BYPkpK\nCb1uPvOpcTmZWN/e71Mw1YJescqFz1Eu0aq/UCYprLplY4GzVVOgU9CprmX2\nQtvVcYieEWiR6Sl1i5NlTcqvIkZCnlQ0yT98ZAypBe9KgmrvmVzebfKiwp9u\n4OxzBsQPjvlB9OKQ8KHzpyMh4TW7VnmdrcIYrPR8kSoQ4DlMz62fW2YtnNX6\n6Fiy\r\n=mtwi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEB1mXaV4r0j0EKTIoy+ecREKX6l/gpeU/ejLK2mRmpNAiEA2ldC9NrwwT/uyqmxjHHGzYlBBUYjDDsk0bEADQh1imM="}]},"maintainers":[{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.13.5-beta.0_1602857131081_0.6957983971177484"},"_hasShrinkwrap":false},"1.13.5-beta.1":{"name":"@swissquote/crafty-runner-rollup","version":"1.13.5-beta.1","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"15.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"9.0.0","@rollup/plugin-replace":"2.3.3","@swissquote/crafty-preset-terser":"1.13.5-beta.1","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.32.0","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.13.5-beta.1"},"engines":{"node":">=10.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.13.5-beta.1","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-xfqQgi3k/o4oF7f4jxHYgj1PAHy9HGXzAVt++Bn8QRUO0TPp3WGz+QwY5nCQS4U0KFXIhD4zM5mXkqckKc/2IA==","shasum":"5f1dec2de9e61ea8ae201b83af711c6908581c2e","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.13.5-beta.1.tgz","fileCount":8,"unpackedSize":24817,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjTHaCRA9TVsSAnZWagAA9MYP/i1DPgZFS1wXO2CCKz5i\nfXw24yAm7ewVdDQOxfQBUNA7scCMwxzwG57l2q0dbJyqPd6kBWmzbfQVi+2A\nAk84A3Fx+KumKpf40X2AEvKxR6uXwy/jYLVYqe+Ngx3Hhn2or06YukNyFLhA\nDq6g5efc/c46LR7lzuZy1o+64jJjFAIMHFjCdQrk/gzRAmO+1cTyCX9mSyy4\ntt9cxnAyrtBYKYMmpdLqOHyEiZbt+K4zARwbw+DOInhLALceibUS57Y8lHnk\nm+lUpA76IpaxlY0xRP/+nsO+8QS2S6WTYkjK3LkMBu/X2XRrmJnZbKJs2qSR\nIiTul41X+c7ILZH7EWbJa3VoPKbtFGO/y3KA4fSjTR8kfNRblcRVng1nUPaS\nbRPsrGB9Q5iPo+bHAvCYGXFGTDFhroyodRqKu1aGsAibUfbejVtnXWS2J+cq\nfy6d/PcqSbUFTB1OfoHHKaEEYluU4GpJazWrD9s0huJvEvJuG9OVjmhUH3Gi\nC04CiReRIwU3Ft49hGTt5x3f9K6F4jDQj8TvsIOlkZH1HnSgM1AP83rZ+anP\n6Ncz88mHIFwKo0nS8HsLUOuGJTiyccoWCRU8krQPt6H8kbcZXTIJEWC69kvG\nJtOuNCY7NIUc7tZ5QbMVsqqDNhQwkVGhKX+ydp9U/7TEDKxjix1h3OQaP1fn\nXbgG\r\n=UvTO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBASGtd+yAL4QEl7HcldQFQ1jCnwCLQEzPgVILIKvdPnAiArA+kkjVbkno2QvQCvP19zz217oLZPSfjv+wt5wnlNEA=="}]},"maintainers":[{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.13.5-beta.1_1603088857931_0.08892062892082486"},"_hasShrinkwrap":false},"1.13.5":{"name":"@swissquote/crafty-runner-rollup","version":"1.13.5","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"15.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"9.0.0","@rollup/plugin-replace":"2.3.3","@swissquote/crafty-preset-terser":"1.13.5","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.32.0","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.13.5"},"engines":{"node":">=10.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.13.5","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-Pm+QJW22fk5dY8mJiE9yPToEF84dV87IaYxznepDxQLsvXVWKTHsW9xKIFwDKMSujn2FJ/mC1S4SjaJLkslL3Q==","shasum":"c9ffdeaed1e6db535b8142ef14942815b5fcdddf","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.13.5.tgz","fileCount":8,"unpackedSize":24796,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjTbqCRA9TVsSAnZWagAALt4P/A81lB1EkyDyuMv11MXH\nfUzS8ZeTwif6yDPC4E/Wn7aGySevM7zqEPbJeqnTDnPo2beRng7vDy3ALlAL\nS3cd7/gSWJJaTOwXSi9OZVHV0JOo/0qccB5qflMmXzJyltKeDI8lP+oMJNep\nHn56X0kHKspvWAmM89L+qz0+mC3jP+orNtWFwP2n3qITyrbU/Mn4k7PrXQWg\nLHp3DSOs+utPref+m7zwLBt+y3JCTU4mMifPqCInmjMfdjOGCC0dbvUnOyMv\nhW3tc/JqBk2wPPN3BZLJWzcoXPDtHM3nVTMXEPRfi/BZlZ7XA0qI6TrEyl8p\nTYwobtKKfneHk46CnVaKhExk1rx/0Ub6H4N2aOqJonNt7f6o+jsniwWGVIzR\nvJtgjLU22vpdxvpvD5EtI8tVK2W7T66YYbyiYSytdmRB3jarBIIE4weDTTKx\nL6o7Y/d6MSevKuWv5lsdcjxO79AbhXdZNKgMwipxM8A4PMqUgUUglmFh+3Wb\noGmCJZV9imqBnB73fV+c3nGHx8O6jxZeE3cIYBvaK+Pd+yEfnIrGV+/EVpdr\nCNtoJtV7rf+8RirUzs8VgvTrMEyrCRt+i9LQbcrW1RPifxAfsgatWlISxX4G\nqx9o0CFWOq70ek0w09InsgudbV756Jvq8bdE55NfX2NBOwUt/sfWBC18ea31\nQbpA\r\n=wa2/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGU61jo67OkQPW1RnNFHeRPyKuOs/kDkkJoPM14ns8BUAiEAzl3aumnhHKO+lSsYkFOKfyDkoP6ptpvw3XnyreLV+c8="}]},"maintainers":[{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.13.5_1603090154049_0.4906232120103622"},"_hasShrinkwrap":false},"1.14.0-beta.1":{"name":"@swissquote/crafty-runner-rollup","version":"1.14.0-beta.1","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"15.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"9.0.0","@rollup/plugin-replace":"2.3.3","@swissquote/crafty-preset-terser":"1.14.0-beta.1","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.32.1","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.14.0-beta.1"},"engines":{"node":">=10.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.14.0-beta.1","_nodeVersion":"14.13.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-gZIiWQBrYNpznPJS+y27Zwus8QYVAsJ5GkjLyPH2cYHVU2ed1u/tsYTfU6v+ByxZBIw/WaU7Vt+DLR7UXXUecg==","shasum":"3ba36529285c8ecbe898e4eb0833f535df9af9d9","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.14.0-beta.1.tgz","fileCount":8,"unpackedSize":24817,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJflzmhCRA9TVsSAnZWagAABZcP/3bAv15FSxhasbWAnAHg\nNmzxFeHu221yJpH+DZI5IA9YuMlpcecwBJjdsIYIMbTg/xc6fOLqtaMgN6C+\np1buPb4ZktUfUxlhc6jVNeDiAOvNH4s3x2X9TySCsuB/6py8p3nNGJeg7wkn\nai3VdWtEDK7BtvLbuPfsTRz/QhADQJF6kigSN4+V7g6t5mPY1wdCzXBCBCq4\njjrDcddyzSZDSAJ9TKLlokZFv7kJ5I+gDGq4LLHdQlLRB3irXI1L4pGNCdzr\nhX+Z6WueIM4ZbPd4IWUGFvV+Mj+fwzaFDS/LLoIPWh5sdiHkDvr/WWV9bKpt\nirExDf3DWgst+LjD2Rsv+j5tm4XtjHYwFR82l9AtODCUAT0cNekoWTAWycRF\nAZyXB/cJgJ50+KofgqZWMFOiPvxgJAi2/4tML59vTNuH66CQNHqvFHNFDmCM\nAwnosjqDS8Le0WeLvYroyK4Ck/so2pZOGhAP4C58ZYCDF9rpNpXRIwJIOEK3\nqUbmY28bdO7cjAKd8zyNs02fY3e8Gt+yy4B9BCZJlnbgFGg2WD0nsU2m35/6\nDH668DNkbFrUZVZYlgeQUN8+zNiwcc48JBgIVtOB+wLgtv6O5vpnmNOIDFS9\nMM7Sm0HmAjCWg6T/0QXYPsOX0SswZul22DSe1CH3PL8ecjtAsdmDWZWwihp5\nQqxS\r\n=qYhP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFx+i2mqtDcMM+o5voiNVtk09VfhzA3I42AY6yo+WbZJAiA6AEfu+Vdg8Jhqt/RkS06c3brhb1nhW1x8YTkMujXhqQ=="}]},"maintainers":[{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.14.0-beta.1_1603746208824_0.8785609901287086"},"_hasShrinkwrap":false},"1.14.0-beta.2":{"name":"@swissquote/crafty-runner-rollup","version":"1.14.0-beta.2","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"16.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"10.0.0","@rollup/plugin-replace":"2.3.4","@swissquote/crafty-preset-terser":"1.14.0-beta.2","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.32.1","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.14.0-beta.2"},"engines":{"node":">=10.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.14.0-beta.2","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-b33pgan2lXot4HY0LoLPEMzWmqKAyE4zwkKKZI3vh0lVefc8euy5+GAa9c1bLiCm5GB3ddJ5YlFIEy5yMPIbLg==","shasum":"a86c665cf5d9c85f57249bf23d3422bc8d3ab4f0","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.14.0-beta.2.tgz","fileCount":8,"unpackedSize":24818,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfl9P6CRA9TVsSAnZWagAAsGoQAKTdcagxRxUMG9Y9Os1h\nDYVC3CQCzJAuFG4QjfsJ632NvOgJY0oJs/49384YRWAI/HwuzluxCGL0dy/O\nMFKPrPyRZ9erlPXKnZJsG04qGK0r2XJ618SS/1LDN3Ij9QB8BL+bkVD/uXkP\n8DMuduVg2CNKYkaTh7ZAhMXmTTdD0T/O2Ef1jGoGCJ+uLADfPBjtBxcR/4RU\nu8w4v2e57dRdHUYFS99834V9hy0GTnxDBm4YSsXjwfw2Knj+skgh4qfIkwQV\nGPweSFiBdb4eJtuAyK2a/Mk5G5OBrnnc5WiV6dhRs++cYHlOn7Y+m8CTOyn0\nRX3aZTxhkjYiyKyXhBCtO2VZG/8z2REgk+HvEWyPrP4zJe7PSD/KmAzPz/Kb\nmR89Zy3M71cqehGELjIYKiR8MkVHBXjKBu9j7FrOg6ayJqwvY/4jKFjz7XbG\nHjVb0XRwjZ8R9gk/1L4QNkACPf0yvY9+zmx1umNpR545dDyK/vUQqMOYyWoE\nwpP6r8Bl3+qvA1J8uCJxpFDxxLcZRPKk5c2vpdoRgWBOtHT+QXLPVif2bnbi\nBiOsdfxBz7QMbFkqGjdh9LPLeqprzGbDWCWhH7kyaiwMPXk6aqmUH7FFvp3r\n89G6HqtnUusSBfN3Yd/Gj+LIFgMrzd8TvQRgDna0CI5q7pWyxaEJ50GJXV3y\niX74\r\n=SCi/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDRyyS2vfgJ6JlUS3nt+bjvH3UjhIefHoLPtxw543+UbAiARxdfW/lJbTRpF1MQ/04MT4wOofXjy++FZMZ2EyW8wcw=="}]},"maintainers":[{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.14.0-beta.2_1603785722223_0.7585340403814105"},"_hasShrinkwrap":false},"1.13.6-beta.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.13.6-beta.0","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"15.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"9.0.0","@rollup/plugin-replace":"2.3.3","@swissquote/crafty-preset-terser":"1.13.6-beta.0","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.32.1","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.13.6-beta.0"},"engines":{"node":">=10.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.13.6-beta.0","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-nt+SU172C3GbI/SQBmfkV9JeZcngoGqjCcgH6giiC62oc+mV7KBTxDK4+grhVwSbsoR8kpFl/Ng3D1HQZXEylQ==","shasum":"31eb3a97b8948bd7dbc645fcd945f7787fdf1ac8","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.13.6-beta.0.tgz","fileCount":8,"unpackedSize":24817,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfl+WICRA9TVsSAnZWagAA9WEP/29h/EVZ3SCqM56jb/k2\nuseqoylEfMhoHBBCgNIvFRkh+bgS2og5m3lE8zQTKY3j61D9xuI9hMbKOvdM\n7fgi9Rx8jl15+g3dEaYGZDGVPg/eosfSv6sdABicAkvSdWk5wAs8TecNTCfA\nz2O33hccsDLZwGYtOWeJmJEXRw3Drajj+i3MLMrHfB1eqcKLhHY6kcQQgoYC\nZiSmo92hf7VGku7HEkRN1+nXyVoJ2cVzHGYTPynDinOsNhKhfkybVfAFoyp4\nVxW1t2QVxjI8ZCH3sdxXYBRq2KySJKUkGIuI2Y9tnnLMke55i0aMKvDop722\nZSMGj0VkqaH1bPBnxdpRLHP7Q5UzsrhK6Qkpu2z3dTYkVCGdtNGXpkT4i2zJ\n9cYwztf7Ikisjsy5Dykyhd4B+xWeAV8f6reu+ghg5W3ky4b69rmTbfYuEPTg\nTVbAB3G3e0M/w8fyjiWx0i3m/h/mqfQKdXm27v9KWJDDIILjadAhs3pFM5Sl\nLJKv8LXbA0aCfYm3DzZ8Dd0vku6c4fNO6CL8MhetOF2nYH7LO5MJmAzPWaAL\nDO2y0xLB1ig+mxT6q8SHMBcIfPKrJOm9+EuyeBr7RSz+2Q6tD67s3XE7/R8T\nVz2clBFVThcfADe3eeWoViK7WIHSt/BEvSWP9+teYvhj7bN/wyftT4+nUXG7\nSzX2\r\n=0xIr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCwqx+p7LSQAYYxuZqTVxrJlVuCVv2Am7pUafudB6+OgIgCR5YGuu06597b23wyRW8hYkQRopsaWeOi3iF+JdfEkc="}]},"maintainers":[{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.13.6-beta.0_1603790216012_0.5277730076456466"},"_hasShrinkwrap":false},"1.13.7":{"name":"@swissquote/crafty-runner-rollup","version":"1.13.7","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","dependencies":{"@rollup/plugin-commonjs":"15.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"9.0.0","@rollup/plugin-replace":"2.3.3","@swissquote/crafty-preset-terser":"1.13.7","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.32.1","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.13.7"},"engines":{"node":">=10.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.13.7","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-GkJvXeLE5VR2wiazKpYCt+a7XVDqN85NknWbwRkpu+ZySVl4RvC75UTaa7zYmNJmpLDIgpsRNRfu980gB9CVTA==","shasum":"75f26e8d73b7ddff2a4a15ce6b9adcad7e2f71f4","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.13.7.tgz","fileCount":8,"unpackedSize":24796,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfl+mhCRA9TVsSAnZWagAArkcQAJujZeITLttwxmQj8NXc\n4kQxKXsE8ZEHWro1doF6mxCYldxPqViGm+s/aatW3b3XdJiDq4rbjqGpsY8g\n/cTO72GyKDgZs4vyMVbI9lVfNqMGm4AXVE4TUrildpnI3OdY+hxvJTogs55A\nTw1k7sELu7MDjCbt+mqqdnh1lufGE+DBcmezYgvWHchIC3zVcW+YEr5dZdy5\ndN3VDXJVThl0dqew879pNDRvoBLFLGAXR5pg97wlSHa4LzgTKIi/UHwBaoxr\noTD7rwVJvThpQBFjv5k1xeRHDGQBRvbeLJLWUaHxJJSx7mMB4cnXNdhc9dfE\nEjEF8gbcvTlD4eDlgzVUBGBKXJzLG4cJfm9LX0Qflay9I+/UWKtxamJbvEbz\nYSD4dxIrpmgynfQJGNegF3nrRsJiVUS/fM0Q1g5N7nt0yExd7OMxr6YpHW+L\n9sTocuv6EXUsIJy/MxkSuVzstexV4lU44UJn34EHMSUc1oXSk6ISiti1cVjc\nsz/nVy6EECUk5esPYnn3toVp+QmKIuGn9rVAooCJy8woI+QvmPC8yrylD0at\nyN+qF7j3XHCOAn5h4kJGc4jWGada3Dl1hwFFbo3BdJbBgtgGnBVwyRXd9OoZ\nk64y1DA47h5DnKocZZylN4iL+xCKmtmFswnUZsDxPNaAq/ZYGjHT5AvFbEhe\nHwhD\r\n=kWTh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChJ5xe+xWkman6Hfs3+HkB+0wGtTCwedDAkRAgTMTn0AIgRwO+aKO72OYGi3V7a57iMSjYKLKgHMO1Rs7dae1vLD0="}]},"maintainers":[{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"onigoetz","email":"onigoetz@onigoetz.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.13.7_1603791265485_0.7995898766492879"},"_hasShrinkwrap":false},"1.14.0-beta.3":{"name":"@swissquote/crafty-runner-rollup","version":"1.14.0-beta.3","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","scripts":{"lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@rollup/plugin-commonjs":"17.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"11.0.1","@rollup/plugin-replace":"2.3.4","@swissquote/crafty-preset-terser":"1.14.0-beta.3","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.35.1","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.14.0-beta.3"},"engines":{"node":">=10.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.14.0-beta.3","_nodeVersion":"14.13.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-hwQ6L19Zdee7I2ssDturWSvSIFf/Rmict3yjRosUrbecP7CONV6S6WpxudUbOqVdbELF+Jn7dWadh19N9NEB1g==","shasum":"3b2f4a71d901c04fed8e9735b29ca13772d16b28","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.14.0-beta.3.tgz","fileCount":8,"unpackedSize":24943,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf7gnGCRA9TVsSAnZWagAAM5cQAKMMDmLrH2yfNXyrECLH\nMIPbi10ODuUaEnRUqVXgj6Ga35mHWU37rSdx+rFb2CCY0QUmVmhQ84iP6l+R\nOf292AM3Oi21atTQj7BQw0GY4h0HJ9L6bPe116T7i9FbvTHZuwQ2SlVrWUa6\nJqPgBntO6W2qrPnMqQeoWZR9FzhuNZsU1UqD0/sw4Nox6OS8iiHOUVUC+Tst\nLSD02Lbe2niI9PfC0uo2PbzvnXajCxgE2zT1Ro5P61HA+gh2VkON1K3Y9REX\nw+Ww9oNLWKv9K+o0fEZlPNbXnI78eEyRrCbduTwmbM1JE+/RNqhQ1+2c2Ecz\n4ke9ok502yiLQa+kXUpRpt+Nc4iuZMRfHqE3dUPaR4a+2dRJG4mmJ0JIkVV4\n85Do1IpGuiCxYmKLKi+oIz/46VwX3K9Yl+D5N0IeRs6oX+IzTVjtOFz2NibK\n3stX5/IXyH7XGdZ718rYwawTekrn204qZHuvAbxvZqa+6HXX+95OWsuXUdp2\nkwRZhdJ4YcmLCGI39++VcVLFvjGPe2iWoT3edFvZmN4AZyrdYgm5OCi4bkkS\n8ClKvWhkdwIAkPNOrk0bx5HPrtMd4pO4g9GPEAzPqAnLMuJZ+3W0G22t6+Hy\nCKRZYlE1eH3bCsL4bCBwgw1drwME3kLnw9yrTvad+/Uc444WZpZSragfVZV2\nbIG3\r\n=Mflw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClnifJNoNxWPxO5NLD5ec2aCsFQ/UvcoDqZmQjgVWbEwIhAP5DQC+T8/Ui/ushI+Lt2AQ0R+gozaqExiDbVjmzzp5a"}]},"_npmUser":{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"onigoetz","email":"onigoetz@onigoetz.ch"},{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.14.0-beta.3_1609435589656_0.9582800283275885"},"_hasShrinkwrap":false},"1.14.0-beta.7":{"name":"@swissquote/crafty-runner-rollup","version":"1.14.0-beta.7","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"access":"public"},"main":"./src/index.js","scripts":{"lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@rollup/plugin-commonjs":"17.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"11.1.1","@rollup/plugin-replace":"2.3.4","@swissquote/crafty-preset-terser":"1.14.0-beta.7","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.38.5","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.14.0-beta.7"},"engines":{"node":">=10.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.14.0-beta.7","_nodeVersion":"14.13.1","_npmVersion":"7.5.3","dist":{"integrity":"sha512-3SlFV4ynRcqdPh4gBpXyjkknRFR9nb4ykDXp9cNHIqvKfQYuhQHGFebvP2am68Bboy9D/0F5YCh9awMHbGNu7A==","shasum":"e1adff87383bf7591841f0cf7df0d0cf9e26fd9b","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.14.0-beta.7.tgz","fileCount":8,"unpackedSize":24943,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJEiPCRA9TVsSAnZWagAA2rMP/3lz/CVhdjaQYp0P6T+C\nX30dikysGu+gQ7IXw2p+vdgZAWPuK9bk3FvHUf02ul6G5wZ7CDTSDCcoTAIw\nMdlU3mx4Vop/PZiR2Dp+WPLpsz//0dW08kv2Y6DIfQzV20ooTi1/yfCiQCEq\ngG14KlNgKzxZ3v4VptLpizE1jlyfNmN2irBtX6yd0UgSFS3LQCT3LmC7xKtd\nWxkW5RIIbGqEc/azXSwKc7vwCKuw198bufBWZfsAloGEhk6aAWJzmY1wBAQi\nrfIEcgkBIVNZad9jIQmX/Rl2zU2+HQgnzXyfI4SUiffnn3jsR9zcRypnQlRm\n6ADDCKrfaX1PaObNJFnxp+KogZtFlAjnM8QZI60qNiFpbxt+eT3D2zJQLLSg\n0FntrDNQeuNPG2Uwa5eJoFGTv1xf7qJyq/ABnjNKGmMDp9HjwkKsnR34i3gA\n9YfbSizb7pQ3V8ia9IQQPJ6vSVMdA8xAv/W5aPrDeMx4Vnb2GQRyC34ZvAD8\nPFJAoNNYxM1em6hQQeRRBOrtvt7ytohZp3UhmFB5K/pA6WnLneH7kTw0qdGS\nADgyIdIpkwmSieZPcXZqPmyNfDuvZswwDKAjOmjG/k1bIloPKHb/LDomi+Z8\nOc4dqQymTanBIkCqZ2YO6hTxL5i3yro7KOpRdVVQ6e2JtCb+FaptwdNohEoN\noySR\r\n=sJ1I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlAM9ga6DqMwhvNlnsff68SQx/ZsGCl5KV3GddzA/aYgIhAOUoAdawh8crKBjKqWWgQEAncaBkfuA/aoypA3bVaQ3p"}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.14.0-beta.7_1612990606776_0.7874656863273244"},"_hasShrinkwrap":false},"1.14.0-beta.8":{"name":"@swissquote/crafty-runner-rollup","version":"1.14.0-beta.8","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@rollup/plugin-commonjs":"17.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"11.2.0","@rollup/plugin-replace":"2.4.1","@swissquote/crafty-preset-terser":"1.14.0-beta.8","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.40.0","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.14.0-beta.8"},"engines":{"node":">=10.0.0"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.14.0-beta.8","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-KRBwFDnzvgN/M2p20fyXev0Hzhz87yMnqKjEVzv8jQXKKAI/EkUUa75f7ktI9WJ4XH9w3CrLanYhX+sYiZi5Pg==","shasum":"fbbc7b43c7fb8cb1b1fa3271b62da0db1114f4e2","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.14.0-beta.8.tgz","fileCount":8,"unpackedSize":25064,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgRlKXCRA9TVsSAnZWagAAI68P/R2/Mdp1gxEga36f1vLP\n2DF8fJU+GH7I84ut5Eulr9RdotFboppCO6VZxcmygnIj7W6pVn+/meLpy77T\nt4vJm5oIFFQNFVAKXxtzHHlBEXOBHRaiYdbG3FFDIhxrqTFo3UjA5AkfmhyD\nNjXqoN2mzKgGN2K8oaBSzlneSivgkvkRVhJdkcndJrOm4wVMfUZFDcWk5h5+\nR5rBSIb0QtQEpjeffhA7XkQ9rVK0h9ADkyViOgMKNddJH17CHqhD0mka3jyF\n/1iqMZ4gk6MQs8nD8SutgW9V1owBEg/L0yZK1pxIktVN271kEmFc/p2xY4xR\nouBE1yZUnSalAFswPf3Ourk2yCM2gYvZh4Zu6qta/wdBUzSii2yQCs2CV3eM\nIHFAacaMjetRz0Ez4C6Pxjw5FJWFfjJehzXRGLPDmu+PdR8Z+itPuvEKn/Ya\ncEwcFUvor7jJYiNl9ugf6z9nAJn/XREou1tD/shDIcQ0NB0oaOjga8RueGY4\nEZckxyLcJzDBtrqWXayPrrX+GL4AmTH58FqIKxmUzVALMNMb/sUr2JOxPKjN\nfDVkwa/pUib+mdGPoItiwD/jDxLHFyCA3IZ8WSkpkT7NRJLCMljidNIOf7e1\nnJhBcjOjpoiM/hnsTkXMs4Ot5NDKKU2rCMhka3DJYAt3WUZ69yopRgMl300q\nhgvB\r\n=GbB2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDMPDJtJp+xdCfqiTpwr5X8zYRcKTTSvS32+1rMo0P/xAiAxi84baKLoeFYJfKL8UC9x+DTIh+rjM/+idyOkdIpv4Q=="}]},"directories":{},"maintainers":[{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.14.0-beta.8_1615221398854_0.22632975640805686"},"_hasShrinkwrap":false},"1.14.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.14.0","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@rollup/plugin-commonjs":"17.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"11.2.0","@rollup/plugin-replace":"2.4.1","@swissquote/crafty-preset-terser":"1.14.0","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.40.0","rollup-plugin-pnp-resolve":"^2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.14.0"},"engines":{"node":">=10.0.0"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.14.0","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-+WGvfqTCVKaXTg5whAqou+hGg8HoVXeDNky5S0Doy97EWsKBtKtzHGTl7SpyZt01UBj8jMH1GGCTAC8SE0BhNw==","shasum":"b1708194c398bb8042f6a1ac9dd46759265cd448","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.14.0.tgz","fileCount":8,"unpackedSize":25043,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgRlsnCRA9TVsSAnZWagAA7hYQAIlqmVDUURV3nvaT+QHH\nN1DNJ3eQzTsfBYDV+A1Bg9xzutFvXHx1S5NimVAvcZs1CUU2oUcZfMbb2CiF\n7whlkuaA+TzQ+SRJ4SPW4Otc0pEMLSGik3NPY5/cptC8IkiVuhsRfk8WdYII\nX45s1cEs8OHWgVJ6wjTXc5qpqJW6j/PK/coVEgo9ow6XcRw/lUFBPboeUpDx\nRp6tstNmw+Q8RXRJnrPK8tqBzNkQsP/PcJV71dWRZwFOcJxLLlQpNJ8k+arD\nf588v7ziJKdfPMhOS12sf42O5OKM0bNSyVzkMrsEcF4cFboZ1Z6Dqm2D9htI\nVWSBHTzpm57mkZ/2/Hz1eps+KcVsBpTHWYI6kvQ8YSvWlvpONT3iS4EgB5Qm\nk2X8oWTxQc252glcr4z8U7HImjNKgf2/IWTfirtEsod7muzL9hOqqpBHTrHz\noDdjlUtzVd/SCVlAthWLoiuE/9ivwwbVLI7UUCatHDYQQ0xprUlHplP1Q9CX\nqym++D/6zzCeUV+ZZG6WXSTHYovCn1b/WMiWY/XMiHeh7PhXC/a1FyG+rfox\n6dnw0X/1aTfOoByZWtiNlxpdykQXz193rV7X5M7dgO/t37xJJqCb73iXn6Qp\nlW3zVMKlSe2CdWXIlGbNFJJGiCngy/62qif1htIVcs2hou6kYUDlQSiB/Rvy\nytbK\r\n=e3st\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/ROWMshgTUncrFP/NHZ/J3s+ZmGf8QWlluevJzJaJEQIhAOT7OA9hxFIGXIthR1dV9aYj/pjLoERVMcvIUUhOy7Pt"}]},"directories":{},"maintainers":[{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.14.0_1615223591055_0.7508818402351294"},"_hasShrinkwrap":false},"1.15.0-beta.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.15.0-beta.0","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@rollup/plugin-commonjs":"19.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.0","@rollup/plugin-replace":"2.4.2","@swissquote/crafty-preset-terser":"1.15.0-beta.0","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.51.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.15.0-beta.0"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.15.0-beta.0","_nodeVersion":"12.22.1","_npmVersion":"6.14.12","_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-itimPImS/fz6v5RjSCY0uxcmBJk5iXaUWup0utYxBwot9motba4o5R7blli+A6ix0E7SC8L8Dt0tDkFSi0OjUw==","shasum":"239a0fe55960ede8e4ceae5115989f46d9ecda45","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.15.0-beta.0.tgz","fileCount":8,"unpackedSize":25059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgvdjhCRA9TVsSAnZWagAAl5MQAINBRICUzTYjzEvQXcWd\nDga2ZCwQ/6k+Nryp6xHJiHnSFWxhtWy++7upPCQ8rESrtlW2+n/C6Yh7Xbd8\nMc8dlrpJ2nNJ7+l76GAA4xReUMGDXTxEZzX9jKgBkbTn+TsFuu6Cp3Rvz43A\nvoZetSRq/RTnpk4Hw5ytDxpnH71FiqRXvdV4ApC0RG9exk6LDeAubOBd9kXN\n0OyzK6KLMbjXYiTJKbDSpQu1TIaoIHPyhdU6CPgoOHRUKxKMrpya5z07FQNs\nQ9wB36IdJi0zcDsnQmcmWaT6Dx+sr/M+jiKDbrzR8h3NaMvPm+9JXN1qzfCP\nOjNJ13CYZvJ/hvZZbcxnLgYM+K9pmaY80YkCQCj24/pXL06psUb0G/RiKgxZ\nHeC6xVqUGCTgD/HTNpfkk8mvBl0S5MoDnUY9sFn5OtFudKgH6qtMFwX7X7BZ\nUCzrjaGdDklfc2aTojXW3wz8ZuHGHEyvER0DDBaQ8vKzPzp8gn+vAdLWg2iV\n8ZplrpQvKYbASpLpiB+U0XTiwXZfGRLp5dz7+jWWmrCHI+3a8J6t5TBJ5nOA\nH8NhVREq8J8Be7y/ZaDJX1FRw/4p+32131Rj5v5rBfw+EePNXXcduQUcKtyd\n7zusQCmyZMKqPqiPvpFUV5tC6Hmv/NKTQjQf4tly+o5i2+GeTgnzRIuwKsMW\no4Zl\r\n=uW5u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcyL/ZszFgugYPgGnx9JRMRL0u1K1dpJ22u3ZR38c2AwIgeoW+9EtdGgsiwqefLzdjic6IpG8Lb7EilnQkj596tgM="}]},"directories":{},"maintainers":[{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.15.0-beta.0_1623054561281_0.0397878969585308"},"_hasShrinkwrap":false},"1.15.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.15.0","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@rollup/plugin-commonjs":"19.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.0","@rollup/plugin-replace":"2.4.2","@swissquote/crafty-preset-terser":"1.15.0","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.51.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.15.0"},"engines":{"node":">=12"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.15.0","_nodeVersion":"12.22.1","_npmVersion":"6.14.12","_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-yc2miRlNUhUoWIRpGTDsjlvKZgdrHxis+r1a4TAQFGkLATiu0kclAbHGGhn7hBFLXHTn06KkbXT5zyvidAdEhA==","shasum":"59074ad30a5bfdfa4049eab58596ad4843d21756","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.15.0.tgz","fileCount":8,"unpackedSize":25038,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgvg3SCRA9TVsSAnZWagAA1A8P/0fD/3R7ME1+2N0/J0UF\n2n4r8aiEaZ53s0mzfiRrZw5xs8FWdpybmgvPrEntnvBR2wzmPIWZC5dZkXYu\nbHve3S8B1d5OSGK/nYBJ/ckXIsvNBNoQn22YFOKA93frdjGH5CTooyhQgBL4\nMN20YG4O0dQgPgV8bpGdjigND4p6RRVaUMWY3Xzp9BCVqjf5alC4CHQ/6/Sa\neDWokSUyCBGAb13nQZ4fnB/Fj1KRbN9IzFjnmSh9ipkMPzl6rO1Q7MVrIOXn\n40zXlXIvPuAtAcx6YtZ/DabNXIBOs/4/ERs9NDUes4jAN4zFaR5QC6pKClak\nMJhH2mPkDtSkQMRt2SOJwEP6JZYyFIpAEK5QoerGiM4DBTA2yRmdbjXL0/Ep\nUURfDDoHOByzyBAe45Va53zkrQGtcDCutoA92kWBqsRmzgLwTMxskGlAkfqu\nNUcPm9+BC6Eoty0+CKLfsjqjezejSUxDwvoHkZ4LENgFA5MKcu7rYQklSylB\nc9M1GH6qJEL15BiwiZta1LBpH0H7w5FyjMSUYW920qWSGJEpv0TOHEo3Re4j\ner+s6OUMT/M4YFI8H7hWa6Muo0f0cbK8H4Fo4LEgWBSnDy+xC2yW/zL1fZrA\nSWUAsYiQJurqscnYrkbzxSyKB9fc60HxrFnkaiCPqAiK7P0aQSxU8OxHi8Po\nbP9H\r\n=4byq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9JfZyuRw15Jx7rwTZIn1AcBBtAxlDaiSP4T8B8iFOPAIhAMmxjGBSNA+68rWHKzJCiGc6Gj7AH7vXw0PSAYWZAKZO"}]},"directories":{},"maintainers":[{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.15.0_1623068114781_0.6431120361944729"},"_hasShrinkwrap":false},"1.16.0-beta.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.16.0-beta.0","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@rollup/plugin-commonjs":"20.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.4","@rollup/plugin-replace":"3.0.0","@swissquote/crafty-preset-terser":"1.16.0-beta.0","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.56.3","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.16.0-beta.0"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.16.0-beta.0","_nodeVersion":"16.1.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-mA7K40ZJRjZvebxQpeyw56tefYna7wNioDQcsmLTtP+tQPHLfDOkybMQ8Vb6jOSSvwpTu+QgnbNKtxN0UL7irw==","shasum":"923071c98028aec2c2ea6d85a90d98f81dfd6fa1","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.16.0-beta.0.tgz","fileCount":8,"unpackedSize":25139,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhNSPgCRA9TVsSAnZWagAAuvQP/0FbLx2vhkipZ2oUEVit\nXye9MaYv3IjsJD4rPOTQOpAz+ykemRnvuMYscSgUzzi2KnhyGxBxloCRWMG+\nrByPHv0nZqaWCsM+LPPtgiBp9rDAJMXNKoo1FFPIy9AOEsn9w0lRn0+nI8an\n93KXydRqI70slT+ubJoGY5tJZFlEQGUrWe1RtpSv0vP4oJa/buV8OtqY0tP/\nXSzynLtQFdrat6rPQPUW19bmk8vsgTCtN3kGJf08DAzYqNOQaFAJbQzKr+1X\nzKFHyeAE+2A2wQYen0y4P7stxFzVX9wN6c4InHTZS7qvXb7xRy2GHmfsJIks\nwhKAtAYWYnMOfYjVthulY3Rqrju/c5RKfG457/wCmnOM1deh03Ogy12DvFOv\nJMikxH89x8xDmhmGWVVniMFIrxsgujhwAIaUf/6LeoLocsD4luOge25ldNYK\n0I+VFlzg+2AarsHrkRfS/izGA9gSdbvR3up2Uu1Uylm+WA23eYsTbStfaWCI\n2uaq3RqUWK/bGlrolqkr9PjeuTrgGKDsiywcvnYP2p2PF5BUFjTu3UAsj66F\nWIytFw6lGeFNk9I267hPeJNGFvZIeR/buYLeEk3bujIIxf0c2Zmp1nGnNLBi\nyfYYQ0XWagKNk9ZtSzZoYXXTqFqv1y4urp+EUivfWEBJu0Z0PulB6F0VBMOe\neofd\r\n=9nEv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBC/8SCmMVf9oghF4jaSK06mwdmjV7+CPVB7ZBm2LlkKAiA+Ko8RV6t0xSAwM8x2KXrAWjOpqjK2wOQ1dWpHPmYIUg=="}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.16.0-beta.0_1630872544398_0.39886126605253924"},"_hasShrinkwrap":false},"1.16.0-beta.1":{"name":"@swissquote/crafty-runner-rollup","version":"1.16.0-beta.1","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@rollup/plugin-commonjs":"20.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.4","@rollup/plugin-replace":"3.0.0","@swissquote/crafty-preset-terser":"1.16.0-beta.1","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.56.3","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.16.0-beta.1"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.16.0-beta.1","_nodeVersion":"16.1.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-ZiAnzl6rWBn0Jyo6EAb2QNvcvFzjkAmQPzCbIHV+N083SQdgRg6/pmcFGUUTOgPwjkmlpPUOAiZdsoY2cBbvKA==","shasum":"fe71a01ca0bbd20fac348547d923378e7c9ffc71","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.16.0-beta.1.tgz","fileCount":8,"unpackedSize":25139,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhN8WQCRA9TVsSAnZWagAAllMQAJw3Lwi+YNlr2rJMgoB0\nQ0nzm0iNu2/kUNtKUlE9+c+slkkXo4FCIpZBWtM6NvnQv9aBZ0f9QDGvXIy3\n1Dcj/Mf0mQdQ1Dg9NSpQ0VtbGT+qsAH6vjo6346f71vitRlq1UdlWUefwBMn\nnQHQZ/MP9RZKw0BJMWOsB41rEL/0Mbei6F81OQLaMVokQhSaGc25yLQH07+c\n/+foqEXE1ZH8ZYvK35lPPoXiyFKEVLHAqbqIQAlPGxX1TRqxaPSU93eeyTR1\nHhKCI9jwy8LIWRrnM56YC+03LpDBPStmkP4fHyJijfT1XiBnchzB71aZPkL1\ns4Y47xHqeGtCSZVG1OJSAod5yR9ixnOHhstxpm3n98J1lULnMF+bnXKvCgEc\njTwQQ3pS6gBrOAvWZ3evEDuyJXDZkkN1xDt/y2zTNpQeX18ed2q3Olxt+ACo\n0NxU0iyvRUyOkeKuIZ6rLrHjU1vNK8X0xMLCccKK0bDdGLxB55h7CsrbmfOk\n870bBDJganvbSr7OYOEk8/JVBRTqH5Gfi6DdbrKNtB94jaIUsZOtUa15aNyF\nL2HFcd8Q9IYGrX4H0ydcyqbFDNe2zTdyQDFnw5ohEHcYWec7/4b6s1ScDmIm\nmOAdOyKe6QfyCKKtdqSY+YnBuV1lfZFIG3xEaKEfj1CxfEt0yZogiDwPnRqC\n4+aU\r\n=i+0a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIECtRxOVuuX1G7MKxn8dq24xMLK0/HgybSFa52eFp8uyAiAk8bDXZgSeu9cyO03PTQfTJhVfZfUKAtbuKr1FfckZ7A=="}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.16.0-beta.1_1631045008436_0.8052969333148392"},"_hasShrinkwrap":false},"1.16.0-beta.2":{"name":"@swissquote/crafty-runner-rollup","version":"1.16.0-beta.2","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@rollup/plugin-commonjs":"21.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.5","@rollup/plugin-replace":"3.0.0","@swissquote/crafty-preset-terser":"1.16.0-beta.2","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.58.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.16.0-beta.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.16.0-beta.2","_nodeVersion":"16.1.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-Vn4JiB2zqBn1h1FTrWCeR+wRur22jPhmz22GJS+G2R/VM1fUaDt4ZEojenVPXq8C6QJeQbYqHc4HOg0VHvSRDQ==","shasum":"00e01aee28f7d845dec7d4c3b7159b08dfaca585","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.16.0-beta.2.tgz","fileCount":8,"unpackedSize":25139,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHmy/nBIqOqEk9tOpfppwufPyngr8eZY/iNsLAVEpXQDAiEAs17CoRa2xPxii3jcpQRPqhHZ6hPxt1Sd7qZp7mwmZGc="}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.16.0-beta.2_1633375014364_0.30465737442060403"},"_hasShrinkwrap":false},"1.16.0-beta.3":{"name":"@swissquote/crafty-runner-rollup","version":"1.16.0-beta.3","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@rollup/plugin-commonjs":"21.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.5","@rollup/plugin-replace":"3.0.0","@swissquote/crafty-preset-terser":"1.16.0-beta.3","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.58.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.16.0-beta.3"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.16.0-beta.3","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-R59U2ABIYpIswYX6AdhBKd+oGQJ4En/mVNY9VKGVaCrzvM8FmXAqjhYLOhuU5ExkBzxaABrdt0nw4Xn5sgjKlw==","shasum":"0a97cde9614db8af8264735353409ffc9dbfff2e","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.16.0-beta.3.tgz","fileCount":8,"unpackedSize":25139,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE40++sNV3rsKPcBe2b7ian9vQIF+k0wJHsfcT8JG0CzAiEAorOAJITI9RFvM8RF8q9lWHEWUoHatPIcqq1BDtZ5vs4="}]},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.16.0-beta.3_1633433463522_0.700822757029514"},"_hasShrinkwrap":false},"1.16.0-beta.4":{"name":"@swissquote/crafty-runner-rollup","version":"1.16.0-beta.4","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@rollup/plugin-commonjs":"21.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.5","@rollup/plugin-replace":"3.0.0","@swissquote/crafty-preset-terser":"1.16.0-beta.4","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.58.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.16.0-beta.4"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.16.0-beta.4","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-wdWeagMmwruEyMt4lC6L0sUhV+/0jwR5F0Dklc52vgBLt5rHLIN7PSoAOq8ylCZIf7Mwb03Dic2/1fr77/6rCA==","shasum":"9dab10b0896d74de04e2a128dacde78cf7f5aaec","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.16.0-beta.4.tgz","fileCount":8,"unpackedSize":25139,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAZoH3lYTyKbixagi4bU/9Vyi/aDlj6G05SkhmanvvFLAiEAx+XxCb5/bLhXj2+J9cRN0tubEzoCVFobbcry/2A3BO4="}]},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.16.0-beta.4_1633437685754_0.7758305345105796"},"_hasShrinkwrap":false},"1.16.0-beta.5":{"name":"@swissquote/crafty-runner-rollup","version":"1.16.0-beta.5","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@rollup/plugin-commonjs":"21.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.5","@rollup/plugin-replace":"3.0.0","@swissquote/crafty-preset-terser":"1.16.0-beta.5","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.58.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.16.0-beta.5"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.16.0-beta.5","_nodeVersion":"16.1.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-E/S2fY3pQ4+YhUK47I6YRXtM3H5PJ01hiu1LXeMF5m9aKVw6B7k5WTy//7ue3gjGr3Kp8TAUkEiB/mSpl3OyEw==","shasum":"7def62873b22d73a42302488490ed1b895b4de09","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.16.0-beta.5.tgz","fileCount":8,"unpackedSize":25139,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKxm5WUN9lQL63AuUOyw5tS7fFYKC3udO+ap9Yc88AoAIgQJ0ytxNydDBlEt2krZTfCZEFXQtrIzV2RLixSFznI0w="}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.16.0-beta.5_1633467599153_0.9881889146520344"},"_hasShrinkwrap":false},"1.16.0-beta.6":{"name":"@swissquote/crafty-runner-rollup","version":"1.16.0-beta.6","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@rollup/plugin-commonjs":"21.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.5","@rollup/plugin-replace":"3.0.0","@swissquote/crafty-preset-terser":"1.16.0-beta.6","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.58.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.16.0-beta.6"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.16.0-beta.6","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-+KCd01gZK6oYKSBFKpeR0POAGJELUiHPSJiG6UvUrlHyVwn4kCP9SegiCAlgeTAPF9ZGZfbjlxF/rAZhAQG36A==","shasum":"baa082e8793978b2706d83dd49231d90811d3ff9","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.16.0-beta.6.tgz","fileCount":8,"unpackedSize":25139,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEK9gfHmIMhaarLsTLXex76kH5izTVfUpafQ++d4p6PLAiBEAlWN5rpJny8Ac9J6c4yicFdh/d4F4Wiv3AHn/fK53w=="}]},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.16.0-beta.6_1633528983546_0.0995665523367395"},"_hasShrinkwrap":false},"1.16.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.16.0","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@rollup/plugin-commonjs":"21.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.5","@rollup/plugin-replace":"3.0.0","@swissquote/crafty-preset-terser":"1.16.0","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.58.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.16.0"},"engines":{"node":">=12"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.16.0","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-xMeFpEB/Q+qO0yJz2XLr2ot8UREYqSAel0mcfk5VtxGO8uD3Oc0IzsTnfwbS9eGyoBDdbVImWSE/RY3DnBaZ3A==","shasum":"a2362e05add2bd40e2828e1e8ebfdc9d212e8dd4","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.16.0.tgz","fileCount":8,"unpackedSize":25118,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnAZFsfQfCHOxu1aYeGS0jXdMM5sC4Pj+HxOOGNfZ9nQIhAJGU8ELgPNkbkqF/fW1hBNBlOf8X6duzq2C+a05Ch9Xp"}]},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.16.0_1633532724048_0.27843630026612765"},"_hasShrinkwrap":false},"1.16.1-beta.1":{"name":"@swissquote/crafty-runner-rollup","version":"1.16.1-beta.1","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@rollup/plugin-commonjs":"21.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.5","@rollup/plugin-replace":"3.0.0","@swissquote/crafty-preset-terser":"1.16.1-beta.1","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.58.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.16.1-beta.1"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.16.1-beta.1","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-l7fHAJaxVpdxvAAK2FUpWwyQe8iVKhNzkO2UMJ/904CnSyRlOF0Eb57OEoY49f5ediZDBLzExuzaeWelcHLVpw==","shasum":"1e32dfafe95c74bb1ce40e2fa920062b4544e18b","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.16.1-beta.1.tgz","fileCount":8,"unpackedSize":25139,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEbzrA1kLNhW3h3dSgqjr7CIa8ch3ryE5SV8hBHs4ZdAAiAqVrBhxIVuuyo5Cw/13tk+3J8P8u5T61yyykWe+4WEiw=="}]},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.16.1-beta.1_1634029238138_0.09117528898618543"},"_hasShrinkwrap":false},"1.16.1":{"name":"@swissquote/crafty-runner-rollup","version":"1.16.1","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@rollup/plugin-commonjs":"21.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.5","@rollup/plugin-replace":"3.0.0","@swissquote/crafty-preset-terser":"1.16.1","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.58.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.16.1"},"engines":{"node":">=12"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.16.1","_nodeVersion":"16.1.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-5mgMBrYyVJDkCt+Bhmeyk2OH3ep5zk1lz2OjN4p4rvSQYMwo+JHp6mGJ30h13B11w+y6FKHqFbfg2fTtpaKNFQ==","shasum":"8fe29346081dda5d7dfcf75714da2d8b069ba837","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.16.1.tgz","fileCount":8,"unpackedSize":25118,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICzQr6LjBfty2PWuIGfPskTb9F2wJxuIcdJUxGKCAozpAiBHGm7UnTopo05/CqWfkkE1HgoThCIzfrWLdGlU4Mynbg=="}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.16.1_1634064267650_0.30240116694161734"},"_hasShrinkwrap":false},"1.16.3":{"name":"@swissquote/crafty-runner-rollup","version":"1.16.3","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@rollup/plugin-commonjs":"21.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.5","@rollup/plugin-replace":"3.0.0","@swissquote/crafty-preset-terser":"1.16.3","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.58.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.16.3"},"engines":{"node":">=12"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.16.3","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-AAiHkL9C2A9xH7kQcrS//7yHEpBS28rxEIR7BpRGOj8TgS8fWCb5FHupIorPeqrOgPB+tyvvM9hvTcRhE7yCxA==","shasum":"602d817b0f0ec366ead6157078550617015b322e","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.16.3.tgz","fileCount":8,"unpackedSize":25118,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEgtKQGjk3PSDgz5MX+o6o+QmoII35PLpTYjyiUgGAkZAiAGnaaaakTRzblMrplUoj8s6rXYa8Ugi3jOrjIBOaK8tQ=="}]},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.16.3_1634133696336_0.3124852741820425"},"_hasShrinkwrap":false},"1.17.0-beta.1":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.0-beta.1","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.6","@rollup/plugin-replace":"3.0.0","@swissquote/crafty-preset-terser":"1.17.0-beta.1","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.58.3","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.17.0-beta.1"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.0-beta.1","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-tnWSVYA5LI4k0/FgpJYqgz+SQVjRVKv2aoVL+kFRf91n216FsyZwIlVrKOjD7BWyEmxAApLpHP06zH3Sh3BBRQ==","shasum":"6a018492fd0f549c19dfb2ef21c40f5131a55883","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.0-beta.1.tgz","fileCount":8,"unpackedSize":25139,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDerrrCvW/74D+HtvIX4AJGbjGB2wSuHG+XbG07Irbd0gIgAuZCpqsVrHRtaz21MJ51JQmO/svJkhiY8q261jJtfaM="}]},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.0-beta.1_1635497231653_0.022993796728927762"},"_hasShrinkwrap":false},"1.17.1":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.1","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.6","@rollup/plugin-replace":"3.0.0","@swissquote/crafty-preset-terser":"1.17.1","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.58.3","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.17.1"},"engines":{"node":">=12"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.1","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-cSdqPb5U61oNYt7axAClExPwQMUUa75EdkUwSmwtjTGnpeEQ6dQLyE8W0PPWZTBBWbIOirwXR16QjlSOFFexsw==","shasum":"e08ca8d7cd974657340a6f405d7511761f08c9ab","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.1.tgz","fileCount":8,"unpackedSize":25118,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOVTFEJS+I3UbmSyDk7R2l2QYUTEpUyNi6VKNkaLl1UAIgAVauJzfBfJZkV/FIbagovF1I0FeXmiAt1iBdnl/xIQE="}]},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.1_1635498144327_0.43922697134989797"},"_hasShrinkwrap":false},"1.17.2":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.2","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.6","@rollup/plugin-replace":"3.0.0","@swissquote/crafty-preset-terser":"1.17.2","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.59.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.17.2"},"engines":{"node":">=12"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.2","_nodeVersion":"16.1.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-LcXYlS6MCxjfhD8QOBHddiMsHQUPL46BjndbN423lDr+BIL05cMxSXNZdgnOwO/HZZO0p4uyBPtxNnU63nk5dQ==","shasum":"82a739f9f52e042f4079fbb261e25271fe914dda","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.2.tgz","fileCount":8,"unpackedSize":25118,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6H0seDj5Tg7cNwVue8+vtlfGy/TuXZ3mVLBeK17b6NAIgdgKNSYi2BOdnOxh97FuIBMnavH/1NXyOYIG9wnBmmJc="}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.2_1635797171339_0.5437777159629349"},"_hasShrinkwrap":false},"1.17.3-alpha.1":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.3-alpha.1","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.6","@rollup/plugin-replace":"3.0.0","@swissquote/crafty-preset-terser":"1.17.3-alpha.1","ansi-colors":"^4.0.0","debug":"^4.1.0","pretty-hrtime":"1.0.3","rollup":"2.59.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.17.3-alpha.1"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.3-alpha.1","_nodeVersion":"16.1.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-g+HP6Oe8QCj1tXlLNsolR65uVkjfqD22nwAtcWMEGbh6ch73aVDCpXdnsxz9A7y1Bn14FuKnakUupiqFoUGGBQ==","shasum":"dc5392d56610bfcda74d275bfc5bc33c96e1e594","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.3-alpha.1.tgz","fileCount":8,"unpackedSize":25142,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0SfSUfWWn0swP/+PjRuAdDzN4YfKBVt+rux+/ifxZrAIgQaJcx50wdLBs4LbtqlLwl6gFe/D9hZveqVHqKHgCvJg="}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.3-alpha.1_1636154360426_0.03365451502081185"},"_hasShrinkwrap":false},"1.17.3-alpha.2":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.3-alpha.2","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.6","@rollup/plugin-replace":"3.0.0","@swissquote/crafty":"1.17.3-alpha.2","@swissquote/crafty-preset-terser":"1.17.3-alpha.2","rollup":"2.59.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.17.3-alpha.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.3-alpha.2","_nodeVersion":"16.1.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-/T6/jszZNH9d462lMbrBxgwU1+VLP4BM5WKGyvkikUUc7uzT44Sfv5TPy7H4AF1w9LmDIFEA+QrEKEvEDRZ4ew==","shasum":"376acc04bfae239dc786b72540ac27236150fb15","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.3-alpha.2.tgz","fileCount":8,"unpackedSize":25244,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpPVxW1S2tBN9A4z8/5glzELNnGpTWKNANo8RRoBpc8QIgUfERMgujiOPrUe7o84GMR+N39eubGlR7XvRF98CkEm8="}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.3-alpha.2_1636314732021_0.7772704494832143"},"_hasShrinkwrap":false},"1.17.3-alpha.3":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.3-alpha.3","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.6","@rollup/plugin-replace":"3.0.0","@swissquote/crafty":"1.17.3-alpha.3","@swissquote/crafty-preset-terser":"1.17.3-alpha.3","rollup":"2.59.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"peerDependencies":{"@swissquote/crafty":"1.17.3-alpha.3"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.3-alpha.3","_nodeVersion":"16.1.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-YY1tQWiAcJGXuLz1s9CPs1Zr36g3XbLZSmsrXHJ8QaGd+GY8wpZZgtoSg8pyk0lmKAK+4yltgHcF2rICTLDWhQ==","shasum":"9586fad3d084b862a70c0455228da1c730d98bfb","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.3-alpha.3.tgz","fileCount":8,"unpackedSize":25244,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEjUqLsf0Kn5Fx6HOsiQgfUp4t8c+ZKT/eEIiLKNrhr9AiEA2anTz/c6fAEBnQDiZGIQN9IYICuNW3J1+ZoU+6saetQ="}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.3-alpha.3_1636317758342_0.6229476111665895"},"_hasShrinkwrap":false},"1.17.3-alpha.4":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.3-alpha.4","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@swissquote/crafty":"1.17.3-alpha.4","@swissquote/crafty-preset-terser":"1.17.3-alpha.4","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.6","@rollup/plugin-replace":"3.0.0","rollup":"2.59.0","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.3-alpha.4","_nodeVersion":"16.1.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-nC4UWzJniJW0oiMyffag8J2K/zcEVTsh/x3ng7AL6kjSgDJUMqmoAFMPem9EpWiIqnc+L7cFLhNxAEPvAopweA==","shasum":"cf26a879ba9bd3d2bba39a5d9454af6847f4b3bc","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.3-alpha.4.tgz","fileCount":18,"unpackedSize":2037165,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDCnd5dexjvvBNZf5/ecEcHkL36KXs4b1Kv39xZkGdlaAiB+skQx+W239l/JtHvBZSWS91YP0aS+6ogmHPEbrypxpw=="}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.3-alpha.4_1636322924880_0.4041489732397161"},"_hasShrinkwrap":false},"1.17.3-alpha.5":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.3-alpha.5","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@swissquote/crafty":"1.17.3-alpha.5","@swissquote/crafty-preset-terser":"1.17.3-alpha.5","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.6","@rollup/plugin-replace":"3.0.0","rollup":"2.59.0","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.3-alpha.5","_nodeVersion":"16.1.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-Q19cDvi7DVSu0gujz+aclPNQzIBpDpd+r2l3RlWblhv1UK41wpX3r6YcI8ATNXCxgG4unlDgoIPSyTvZcWcuqw==","shasum":"8aed0f9f989f82e7fd88310d5f438071bb1312c3","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.3-alpha.5.tgz","fileCount":18,"unpackedSize":2037099,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDO6j0nLr2x5QL/Zj7+xemo3q5zyH0Qz28ZCTZITPB1gIhAPnOHLesAPPeZUY4WJvC2Y+9Y7pMSET24J2715DSMiH8"}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.3-alpha.5_1636578703313_0.3254847348913603"},"_hasShrinkwrap":false},"1.17.3-alpha.6":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.3-alpha.6","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@swissquote/crafty":"1.17.3-alpha.6","@swissquote/crafty-preset-terser":"1.17.3-alpha.6","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.6","@rollup/plugin-replace":"3.0.0","rollup":"2.59.0","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.3-alpha.6","_nodeVersion":"16.1.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-gzb8wbUAxmD8EgAteAg+Stux7G5qAj9q4tKFDdpKktJOiOBhP5Zbk2jTvDgDRc6zJBy18acZP69fUvj0G/lgNg==","shasum":"0ced4a9acdd810630623309d148d39f803199414","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.3-alpha.6.tgz","fileCount":18,"unpackedSize":2037099,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDj2zY23O3dvNbWguOUsUmBH5UKn1l3fGcP9E2hHC/GxQIhAJidnUZnGTFQgDqpyqePLw/cEqiIGOmLZkSzxzDScz3t"}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.3-alpha.6_1636661455091_0.6233981492061287"},"_hasShrinkwrap":false},"1.17.3-alpha.7":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.3-alpha.7","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@swissquote/crafty":"1.17.3-alpha.7","@swissquote/crafty-preset-terser":"1.17.3-alpha.7","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.6","@rollup/plugin-replace":"3.0.0","rollup":"2.59.0","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.3-alpha.7","_nodeVersion":"16.1.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-oFKsGkJJImXHCRx0wX4XmVZCHhet5nAtINtFxIF8Oy4dsInWl9RN5fdCB0ckW3JHv1xYU7CMVJuUqVjpVNnSKA==","shasum":"075f244805ee1e80514d043a1e1962174c55cf46","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.3-alpha.7.tgz","fileCount":18,"unpackedSize":2037099,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDruCiqU/eFqI2JwzyqwO3zob8QM4hwfdjESuw05kyqkAIgBiKL1R0poDT/RmG9eCyr7lcT/ved35dDVudoEyGft/A="}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.3-alpha.7_1636666809541_0.21508484614225432"},"_hasShrinkwrap":false},"1.17.3-alpha.8":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.3-alpha.8","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@swissquote/crafty":"1.17.3-alpha.8","@swissquote/crafty-preset-terser":"1.17.3-alpha.8","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.6","@rollup/plugin-replace":"3.0.0","rollup":"2.60.0","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.3-alpha.8","_nodeVersion":"16.1.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-k362MuPpxO/7uoUqAdHK4oSqEEzoGFJQwMUXClOcMt44uHhPZ/ScLrQH8VhRXp6Ibs1nDkJXhmg2AMPp0AAHkA==","shasum":"7f59571eb21fac742efb8625636afe0f54b967ad","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.3-alpha.8.tgz","fileCount":18,"unpackedSize":2039046,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhlW/hCRA9TVsSAnZWagAAEJwQAIK7Lc68cfBGSVpAee/q\nRK2QsMF9nkMZMUf/MMelitefOzxImLY11i5D0G6oeen6Ze/kZTd/G5IO13jL\nFEXS2Lmk+zm8sTeFzMp62T6lNCiP2BCKGehCe8vxlfGLCsz2rxFlULNWrGzn\nes5YOTYgdTYYE+xco/vw00gL3oF3amLnDcTt3g4CfH6LFcNWJhoMgEaktI3O\nJ11OOV7BuPrO5pXlFxK447JzSOysGVHtHpajI+XypDwCr2jSyZDc+bCeMLQw\npWo2cRupsDhpHGcyWjBelRS4tffoCAupYfm5o8DTP/KgNtCPbv7asJLAuHjx\nD+2kUy+oVABfasjPkt4H47P/yoMnGW18TDd5RxOly8f4iKqIZtteKo3DB6fD\nsAOO5DGYPCHcKZWRRHWdzfyEVsLHxZmUMWNV4b0In0XlXybzw0ZVcTphCZaE\n+eH91jWSoFzRoJVK0wzr7tm2vgCmzi038VU5o9CjxtMzpzk8Tz1atI3m/w1t\nngncCkxsL1EpfzZzHoARttDRYBcGHi0y6Pfz2P5/jwyi/e/00Q6tFStaUWLQ\nbniOR2rjxdcdYSZhK1RLbY04Db+wveyJdKCswM4dvb8qHPXTxD+p8QqS/uEA\nJG15aZRucG/Hq/B1vFgZnz3eZPBUV6cszLal1rW+W/kECQiZgdqFObuI8r9C\nXvtw\r\n=6etJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBA2abYDuZVo9H39Xishvt0Zut0EBGibkFGH8kgnjtWPAiBETJsMJvx6n5JqtSmi4fP/6mf3+IaRVXwDZFf/6ORaow=="}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.3-alpha.8_1637183456987_0.44520244684473154"},"_hasShrinkwrap":false},"1.17.3-alpha.9":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.3-alpha.9","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@swissquote/crafty":"1.17.3-alpha.9","@swissquote/crafty-preset-terser":"1.17.3-alpha.9","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.6","@rollup/plugin-replace":"3.0.0","rollup":"2.60.2","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","gitHead":"1f504e39d8aea9a98962e013d6e793b3bd89b5c1","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.3-alpha.9","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-u4I+zypyGEtcvUx49k6vmQ5d1mTbkpZMBrC2I6YVNKxvrrupCP5K/g8EfHpRUqjGaOCtxBkZqUAhfgdBYVUi6A==","shasum":"6bc35d28c4651e27124dd5e9fb9388573a627d7f","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.3-alpha.9.tgz","fileCount":18,"unpackedSize":2039533,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpqBTCRA9TVsSAnZWagAAb80P/2n4rumm7xphkE8AKQo/\nKpU1BEacUXrKy6f6EP2zMnX6bkjW3onuo2txO3xVaOsZOWk1Ih98QSIzqIpn\nuzPZrXrBpySDyKtNp94g/D3WRxY+4GerCYmd/OiFXxwMs9OjhOT662vrwF2X\nVR0CtOz42o1ZYpeDFVXU0Saj/mXOK6GxM9x2T9r5NLTwz1zPqlfp3jldbqdq\nsnkKVijJT0LqXZw0aF5KvDPVJ2bpz8qLVkWgtysu0oP2HcTGF/cTiIBrTbxr\n8U11pAA2ZZQJDSACYJ3JctCV7Vil2iRpqsxu1ZUQJW45Uq8j/LaMu/Ri0ZNu\nK0kXRhQ5NP/EBO4zO6CUWPhS4aXLmtiUpmPo/4vNxkjILIy1cF1Zab+d3LE2\nIDI3OJzNPLDYwtcTB+Eaf8Ovk26bm5OWcefutXvZsmaohQZaQVkVBjOvDrJO\nLwbODy1PUbNBvpIMisJTaq8BndPK++CLF6JEzZzmdcG5BFLocoU4fDU+kCdK\ndWesMUjFCDx1aZjboO07y/CQJOShXkZMulqrP3Mr+A+qKsvHL6mCAxAWaq9W\nLQLGObLnrm9N1J72bOpKGPYG7ZHf/oHchraQVQPhcNgkNz2Tu0jsx08MLVvw\nUySUG4BCRqOQ6h+UysgkYeWCqjVRnV4onTVBA0KbTgO9ooIuvI9v1vuEehZX\nC14p\r\n=qQB9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCW4CUIeLEAp/kcpvIw4gJsWVCY1nK62B0bpzOqYPEnpQIhANpKJs+ZvXeimo9A2FJOd/BIdB2qogq+IacIvjlLEh22"}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.3-alpha.9_1638309971197_0.11167073736180111"},"_hasShrinkwrap":false},"1.17.3-alpha.10":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.3-alpha.10","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@swissquote/crafty":"1.17.3-alpha.10","@swissquote/crafty-preset-terser":"1.17.3-alpha.10","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.6","@rollup/plugin-replace":"3.0.0","rollup":"2.60.2","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","gitHead":"7012c747c826a9846651dac855bc6654e5fbbb8b","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.3-alpha.10","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-EOrFiyNJUmkPw6520DSCa/EnvckBrBQS5cW63Ij7LF9/tPNsewT0K+LTksHI0lSj6c/KnX4aONR9dISALigcpg==","shasum":"0cdca1ad8d021aad6c16647559b94fd9d3eb860e","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.3-alpha.10.tgz","fileCount":19,"unpackedSize":2651209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhqUqeCRA9TVsSAnZWagAAXb0QAKPytM4VZOepZBnEPXOf\noxoIWUatc43hCUHd/8ai71udzdJYmtLcQoLOg1gDo4UN0jq3MpLmBFU39s/Q\nauyvvet9oC6WtCLlYC+t/teyT+c9FXnHWsIGklXkRSV0LeOCQuhKI0iYcR64\nuq9paGBtZAdcjOA9mHOK0P7pSHj7kbXg5mQ3tGaEZD9g7bULBMJpBeH+MrQY\n4Vstfgq6eyzknCyIAKT+EB8+Zfxn75S2aRs+Zi0/AAQ80o7c/x+CeBW9k/ei\nP3XXh8n3tbEuSQM+uLqwt8xK+wcHIPLRgY1YaWpZwezKNtAn4CJEIcdNI0Do\ncAFxnX+YQlgEZBK0Q4881osdvEIWvGtT3K/sMbVif3HOhODwDSj8+vUiSLjD\nWG5Teb0lR39PtpUCCGZITObXTOfloy6y4n6hSGLjC8mI27PV3boKKgJhhu5U\nfJI09F1qe1XJ/Q89Epj9CpIStXF2ZWZ5wJnpNe/8qCeO+T1T4uGuFPBkiAlY\nIM6bw0u1kL3bpD/vgE1CnLfF2uikDO2CmVTJqBAA1wFpJNFLBE2FuV/tFCAE\nIiTYn8s0B5fjl5ZDYpVXpGxvh09LRm64Q7tMOoQ++PxLkblzFjihT0r+ANqr\nMrs+4fsWimI3ls/gyryJRW/BOaDGqzaDmx9oXaYe3nZYYByyoEOZHH/+ewEx\nslVq\r\n=UO/U\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmHpyVUvU/+oDPVteKFXBWTTHPxG2EBmN6IewhHKmyYAIgdHcRF2Sq/6Q+1Hxjszdm4bvLYMgOox3e6wCdIXgpt3g="}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.3-alpha.10_1638484638182_0.27149086726618443"},"_hasShrinkwrap":false},"1.17.3-alpha.11":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.3-alpha.11","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@swissquote/crafty":"1.17.3-alpha.11","@swissquote/crafty-preset-terser":"1.17.3-alpha.11","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.6","@rollup/plugin-replace":"3.0.0","rollup":"2.60.2","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","gitHead":"7012c747c826a9846651dac855bc6654e5fbbb8b","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.3-alpha.11","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-poD5oVznMCkw3Y/OjYHby+cvrN8mkIIO8QYnqDLdmywpq8bpid0DnucP3O4l6m4KSk5e/ED/W+tNMrVeHtdhNw==","shasum":"81b63a8fce234b557d65c81b249403c8d0d0d9b7","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.3-alpha.11.tgz","fileCount":18,"unpackedSize":2039536,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhqUzdCRA9TVsSAnZWagAAeu0P/R3Q/MNO/Tr85a7hoCce\n+GAByY3Ckm89Df2jlRefTV7ioWyVStNJLW0JsRi5zSNGfgMNV2Agllrs8CB+\nsvlOSw9P4jbnIpHU/X+Wgq423aXRg8rpPEYKrai1KWHq3p2hK4bvwCKKy3ay\nK67mRL3qOUfILtchzVZImgmR5ubs/Ojifw4UmEilFwYaK3phwV8OUEOG1n9s\nAI6QFVUFis2I9WKuxnAVL7gT8mRzJSlKhZ5+Fs/KeJ28wSCW7CwnKIPmGNm2\nuORl1qnKqU089fKNKHm3sVRNacx059qVgaCTV790T34gMvenOL8B/SClX7AA\nwwjTij+IhxJz9+zrs83ZkRRg9YEkVv6KfVq7CbKro701Uv0tVuOUvZmzQDs+\nUZVQlaT8Wu6SkkARLnmEC0ZiZmrUTwGusTvTMqmQVBE07XBExWzQgHWucIVh\nhBUnALIR+5TrkZERBp6eOO0FZVIPACVncqb+jbY9boSf5FwIvp/jnMtKzgRS\nMFYLnpsaj9VjVmVdSwMkkJGo1gOEONO/JF46U4L3gTInvco2SMKnJ9MZRaNW\nsd0TSyX3x1uHDQ9bzz4cOnLpjbHwFybGp7+7EzcPpCXEv4EdiV7NIiSyfXk2\nNXEC2D7X2mRjFA5NYVBZjd24Msqxvo73+PwthNrDuc5d1bbpjF+zWxILUkhk\ncjhz\r\n=Yr32\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE2uNTEIrGpJDzKd3WUJesAMWzHRO4+eBa/x1iZOIyTlAiBYwYF48zMNR5i2MeNOTOZ0IvJ8Vnv64ZrQS9TcmOpEPA=="}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.3-alpha.11_1638485212898_0.8404970380366072"},"_hasShrinkwrap":false},"1.17.3-alpha.12":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.3-alpha.12","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@swissquote/crafty":"1.17.3-alpha.12","@swissquote/crafty-commons":"1.17.3-alpha.12","@swissquote/crafty-preset-terser":"1.17.3-alpha.12","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.6","@rollup/plugin-replace":"3.0.0","rollup":"2.60.2","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","gitHead":"5b672987cf7d872b0e890e5d738e175fe185b861","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.3-alpha.12","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-4k8+Yns3LGAPY7TcseSSRUHVp+c4bxedn6B9sqLB6n4JQTDTGKtfQoFcAOiJP6fAn8tQhUH680YIzRzRxe8TeQ==","shasum":"f043818390fc72014cd8dbbf1e1f7d6dbbb326a5","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.3-alpha.12.tgz","fileCount":18,"unpackedSize":1849535,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhqx3NCRA9TVsSAnZWagAAFcsP/3NwjHx9I5aRNgp8y/So\ndQYRSkqZABMdRGg6V4l29o1RIJiYKwGwB/wYG+ok4+T7AwhCjyeDhlh3Lx2c\nFW5/zAs96PYi/eur6aWjboMEu54rUzB6OineeeE0bLgJkwrp7Ue3GpAXuyBN\nKZL3Auu6gfvRFrKplu9E4JljPobfrJNVsE14aA0f8n/d7yxnaM38YaLhX0tE\nWbLErK+wKAjHgSKZicGrTWCoMQZ5Vxj9JJ49xUv2O8l9/KwRY/HNYpPxFL2o\nw9hrVH2s8yEREUm1eE002beTGE6/9wCCfVDPlsw+7B+pY2/f0yt8bTqcsL/m\njRDjY59aBV+YEl+h6d9WeO5xzRuQIG+Kflu95LipYvQmSPi5tQxZ8TxhyVoB\nSVthOEhMGePm0sjgTm6haPkpvWPnNjE/9k7c/+3s6qD+85nZ8NppdJ9tqo+F\nytet89uZ26VAurx1sFKppcPXO8vCAznI8pz4G55Blby7t1P1hPr1bTBZIUDX\n4HL03OilU//KBMrZ+QVfTDJR5tdpQ4q+Jvhut41iOsMVDBB1neKdgXIuh9RM\nQTM1VD9fJF/1PGfLb7LtXb60mSQNB9rli51NGrkU+/pNfFKUofolKBkNHRLM\nANUfEY/QHizY8tNck3BxkRHnZPvMV4K6G/Yr32nRKICPP+1yuDlLaIjTBg+7\nz4r7\r\n=nbHB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC4MzzWez9oAn+oIVjvLDZy3L94y/Ko6sUGTgDYeh663AiEAzJADg+QMzO4thO6VkooWTpd4bkr8OAJZT6a8PVzK3ZM="}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.3-alpha.12_1638604236928_0.6256273198928759"},"_hasShrinkwrap":false},"1.17.3-alpha.14":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.3-alpha.14","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@swissquote/crafty":"1.17.3-alpha.14","@swissquote/crafty-commons":"1.17.3-alpha.14","@swissquote/crafty-preset-terser":"1.17.3-alpha.14","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.6","@rollup/plugin-replace":"3.0.0","rollup":"2.60.2","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","gitHead":"1889f9b808f36a48198ed179350248cfa6b38411","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.3-alpha.14","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-cZtz3QyAA1y6pHri3VqHwBGLgRCRHVtWh8+jwm9uvpjKOF710/bTjsvr9gl6IhJVd0BewmSuLzP6AyQ1r8euOA==","shasum":"5d349b48c1eba28f6bd1bc37612341157aa72405","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.3-alpha.14.tgz","fileCount":18,"unpackedSize":1849810,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhr+fmCRA9TVsSAnZWagAAC5QQAIWg7KQUkezY6zYMsUvE\nL3SFAP9tTuK35MKuxrtPwb0amLhcOgqPVJOLBfUq8lK8JbixEkajOwthVn/s\nzTt3zYzpkDs4zCT7TJUfzZeMoTXpMjlVV8NsGHXFfMN375zS87X09ImZUTA7\nJSWPf8NCXrxcDEGLCKWzMQfrvVPXFzK2LiNEY9QbPo4hcLuz2zKKg9YRWD4K\n7l4zxgmnPkwcw6vHtVzyKYuIqlKo+AUtm6t8y3oZGVoW2IbT0fPqKJbZe1S4\nrYz74Y8Ll8OEUhs0cIBNKa5UJtZXif6l+GKVKP+eb/8G1bSiwPPvVqrnVzzt\nA6xfudA4OZx+J6kIduAYV093PO5FArZkuBoVVD5imGlvze1wi9OEKd/BRQ40\nsCTvze0SzIcQPcCXFEcVbYc36YtxPlJk0wlCsgHGGbN/CwsQgVbQF4zUkz0G\n7qRPJtd4smwfXA9tXsKu65xxj/nPGxVUXRFS9BnJJ3v7LYwdqsgRWr4hM1b4\nAGaax96WuAmaDGoNwUIWlgO0zwnxRPFOuZE7QoMUMlc/PvL815RfJegiukvm\nkGgh1YdLNP+BaC7SSFtDKB7717xYNaImb8Chm92DHtCAs/rbFtzj+MGWfJFt\nJr9kHj9kqQUVcvs0WQHYblwkHuyKxURWe/XgxCZo+BZ57VhV6BrZHrQX86Ds\nc0NI\r\n=mgVf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFkJGwgDubAhjhpPViV+k8/5RBJFLHH9Qw8z79FvvImbAiA+Ban62a9QEE2SCXUPVX8iBPfgi163Ntk+An+hq2YIrw=="}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.3-alpha.14_1638918118733_0.8357216414227215"},"_hasShrinkwrap":false},"1.17.3-alpha.15":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.3-alpha.15","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@swissquote/crafty":"1.17.3-alpha.15","@swissquote/crafty-commons":"1.17.3-alpha.15","@swissquote/crafty-preset-terser":"1.17.3-alpha.15","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.6","@rollup/plugin-replace":"3.0.0","rollup":"2.60.2","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","gitHead":"adbca651c0e5d6000447ef06ed099a609aff0d5a","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.3-alpha.15","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-bCUqd/F1Ch4ykpEqsjrtdykt34aZavuRT9LqVB5PIDR3aakABMKZyg5ViYXYUwH7v86aZDZfrPfu0ZtSBtlz3A==","shasum":"e9bb0e75bc5840649a5ed15c52d5f37b41044928","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.3-alpha.15.tgz","fileCount":18,"unpackedSize":1730675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhsozSCRA9TVsSAnZWagAA9qIQAIgOxs8jAL+ZJRxuuYc7\n5Hkx07M2QJFyDeYcWC4m2mna4k/7fijgi6YSBttv5nZs9sBsmoONK+B+p090\n5t3dxv8y1DHPq6Rib/K9fLkUAnMsfq71Z94MhG999L686Ip34PJCU5jKU68a\nHdfM0YQly9UGBzA8m9rMDr/kBoXI8H/Iedq11kPpZF/oungkrh6NPbEaVq/4\nSszZ7SOZkscUH8bRSE0hDVsCyuB43VW872SrZcGsuYqj+OmjFHbYGaZMY24p\nQXvQ8wdEmRNNrSQUz5S2Z56/5wyvPtbj1vCpKzszYRyqikb40sBwtAPLX7op\njdB9l3gSWYn4IlilII/pGjT/d2QtXg00PSynAO6SwqHIURngVRBiMvU5aa1H\nbA+y3o12JAfdh8cmE69UPVLfL2AJ+5KlcJSDwFMPmJ0oOMqCLxbyeo8hNQAC\n2f39BmfrxOBu7vKE/xVoWTZpy6F9oCayJGmSN/nGbaOF6N6M5AJFArrawcDQ\nbHz+Wy17mvcNzglaDZ0QTVCLp/Aopp5LL1o7SiGxjSWcRKik8nCmxMwcp73f\nha+5Y32xKQIThTMue/jXh25D9k7XYcO6wGaXNvHAlP39yKNduR8sV/4CnxVI\nMUUncSPj2jPOfgOUUEfW8tYAq5MGz3L8L73MlluFKUOAUsgGZSmVKYWgW9Xy\nTHt1\r\n=Hugj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDI7uI9/m9kQak55HraQMjMj094s3AIjGVqiXoC6M+zDwIhAJA0cLNHTTKnH+DXYZw7XwT9jVTrJvff/PvsEFVNAP4y"}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.3-alpha.15_1639091410388_0.9868441834994031"},"_hasShrinkwrap":false},"1.17.3-alpha.16":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.3-alpha.16","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@swissquote/crafty":"1.17.3-alpha.16","@swissquote/crafty-commons":"1.17.3-alpha.16","@swissquote/crafty-preset-terser":"1.17.3-alpha.16","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.1.1","@rollup/plugin-replace":"3.0.0","rollup":"2.62.0","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","gitHead":"3c3690891d9bab133fab4e41feec001c5c8bdbeb","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.3-alpha.16","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-YD3PbCDaH/ZmQisTAmd63DRGsYMxBKm0A3C8tX7L3ZkeanLWoU/3tymex/0lYv/bL3oE8EprjZar27IJItH47w==","shasum":"d4feb2f3a861ff9839bdca31bbb2d843a0f6c6a5","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.3-alpha.16.tgz","fileCount":18,"unpackedSize":1731901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhyjTACRA9TVsSAnZWagAAry0QAJkBNY14vaCjMiYC6BL7\nRrXv5suBGKemE+c2y/NC3GByk/lfYhK1UzLHnHZptx2X9XDI7kd7EUWVrynL\n4GYYz4cw61mc8F4byHXtCfb4vDQKeHiBl/sp9Jb9Ux6MTsUlACNKwqGIZNZK\nDTyQUXONP4d1vrfMkdVgVXDJyJhboAcaLkkkf6GLipcYYRpSKJeawWLVZXDq\n2KnEiZSODjKrKP1rCYcOxWm5e2dCuB3uA1uZiySZi1PzZ/iuAOTrdQ0NClX5\nnS1S1a1DuEnw02iXEkWM/fDPCzja5x9yr6K7rXV1pZFrkwrPo79Tk6D41gkG\n0a7f2C4JP12grsawYLmFCzMSMmhYZnLnu08BlTlt/C2ype1Ls1SqqdnmLeoG\nPLo7Zu5w9ZBRJEZRWiXS2kJaYXEK1I4Q2iJe1K0nreexcbwGk0ygcy1T8zRe\nFhf6xQxv6WI8KGXnR06AsLNZOueV6YSROC/MKbmXijSM/uCTMjde/qnGPq3y\nBeu1sZa4Vz5sB8cWXJ3gRT+P7YIOky43CpwLarT4ioObl4jPyZ3UN7ZQJZdI\n5Ks+fdjg4aKROabcTCxQht5+DV8O0fYOgfj0VSPyOFtWVJxvHE6lcidN4wWR\nCw4bOhFibO8GEG64IjihZyCXJbK8bcIM1vMSxNqDoRlZ1B5g78Lm4TTLvqzH\n0/TV\r\n=E0M0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+kNSwuYOtPMCmdNF0pG1ewYPdY4UzFPRE86+hX93R4QIgGIMTGo/bqtygRxknJZQzepRZSo+T79w687UsaJPPu4Q="}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.3-alpha.16_1640641728700_0.9818372165309048"},"_hasShrinkwrap":false},"1.17.3-alpha.17":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.3-alpha.17","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@swissquote/crafty":"1.17.3-alpha.17","@swissquote/crafty-commons":"1.17.3-alpha.17","@swissquote/crafty-preset-terser":"1.17.3-alpha.17","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.1.1","@rollup/plugin-replace":"3.0.1","rollup":"2.62.0","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","gitHead":"b813bb1388d09263e30a43a358a4ccfdf323062c","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.3-alpha.17","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-wsMyW+SQFV4AetL/mGVXUttSMfcL+mozlL8LpVSvAaT46rc7JC8cntAeXvT2h9z+meoqOh9WnyQuWMEgjDpkRQ==","shasum":"86f7e05d25279fdd0a50f1a4e138d15793866c6a","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.3-alpha.17.tgz","fileCount":18,"unpackedSize":1731901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzgsWCRA9TVsSAnZWagAAGDkP/1U4cjJHb/Y+GOnAfSxr\nwLBHFUscOApWUdoUmkMWsX6zO/astQa8KaeEzMMBaj4f+pGZovn6500l6Fzg\nqUYNBilHs/YGHfNmVmF0au9Scw51hrfwK/qW4MpoX8SgBuhXqIHy4wfj620g\nMSxn9B+80QgVW0THhsk7gbuSuvfuvgN3R7WcYSFszBsgYSdw8RFVyMvxeAoC\ntN4Q8OFErRd3By7w0hq/L7wN2JgVcttGVvw9K36LAc+bD8n7wuRbF03XSh87\nqYaJ9OoPghAUuBcZ0jBC1lFAeoj0OwT4bxjnU3Gl7K4VlxP7mbCEn0pDnoD5\nfNGM08ZdURrHGWUya7oT/AhNY2RVrux0NqnHXDsYx+rXK3LoCogRQC6UVicM\nBb3dfJLEBnG004/gaLW/jJeM9odkyeUCCaVOssjH4MLaqf2rZKOoQCcJg/vT\nEPxfVdgX4VSj7IGwGdd1CAHV9rVO0dci8oZObedOabSET05byViztV/qwfGc\ngicA2M6Dtf8YcRdV+o0dATHjsMvEiESRys2/Xxt4hwZqQxmG6SaV36YVyr9W\nnPPyLA9LIDfeWNWxZ/8tuEm9hgtPYBJqojn0ZStcQ9d822PclxQqn+9FgNon\nniLL72zA04fmZkBNb/aGf7p3ADsW1gjYm+YfNaVDvX8qp76I0IpZ4UxP5KZ7\nd/QR\r\n=8jKV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqQD3o803DXiWFEe4BrSrSUYnBt+d475RCn0zzqt8bjwIhAMppuiboQFiQP2rMakUspknG7RRfLH965x+igAYrcPVU"}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.3-alpha.17_1640893206447_0.3875977834679949"},"_hasShrinkwrap":false},"1.17.3-alpha.18":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.3-alpha.18","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@swissquote/crafty":"1.17.3-alpha.18","@swissquote/crafty-commons":"1.17.3-alpha.18","@swissquote/crafty-preset-terser":"1.17.3-alpha.18","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.1.2","@rollup/plugin-replace":"3.0.1","rollup":"2.62.0","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","gitHead":"8c3324b73f236cedfdcb338b4a4ecb32ffc888f2","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.3-alpha.18","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-7diso9o7W8JRRbvWySaPJ9yuwrTghbX0U/+3tRlY+ERlXEUN/Y10WA0a6+cWN2+9w1kMOaecvKWT0jG9Zsn2pA==","shasum":"bb65e2e2ed38245a799e9eee957f89ccf4e1acbf","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.3-alpha.18.tgz","fileCount":18,"unpackedSize":1732259,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh0idUCRA9TVsSAnZWagAAPpAP/23x5VG0cgvIVOJ0p7Zc\nBBc8dZ2TjyDv2ob0B+h1GuKMFrnKXqlIEexivtIWkUGpm7X5fmLX0wNWv2v7\niiKPU0svDo/QTHdpTk1u+MTnBGilX4Z0UXoP0tq2I80S73pCl97vVt6ckKpd\nlEVL2SVe1B9rQ/Lo/XSIw5ofSmjtg8RIa4oW1e6ueX8m1KfV5d4esZ/OpzOk\nG3biBl7zfCN18vKzS09XRzByXrERSbUINQD0vwyL/bVfNH74VUhgYhhAq5mT\nzbyEB7FU3dZE/RRzlVvRpqsWuV0UoTDGY2qHXcylHZlWm2CxSLu6znbOKbmn\n5Xt15Jk2tI+V+Dj4M3/y3OtS9n5D7YmcKr+wtof4P4FaHvm2jzsyuAt06Om/\nz4z0d8dtnGkfJIoFGXYBh/blGyG67vL3P8Ac13HIpO0KhR2BKQAEfDCSMXV7\ndskPbFnQZ/GnV4iSliUWmm9LsNj3qQ14CI7yArmkhtldVwOzUsvCsbI/GiHz\nJCseAnAOLABLPWhzqHqKDt0N6fhXGaV8Q7pwZ7HBQiB2JCA/g3MUhEbEd9cU\nq8lY9H0moZTJoHlYHuhJtcj2OVmb4KcJqwHIuVD/0A86MQn6Q4pn3wIhcokj\nzIf8RTT4SDT+7SPoeceGLVauMThkV/GCOweFFRw//a2hOEKqxW5pvvzJUOt/\nDrr4\r\n=chUv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6Y39dK4m/PkLkGr7CJvc1/n9Vi2goDEXZShqTATwdTgIhAM5OFIrAcqdRK6m4fJol1EBfTmB7Hq/On8FqMLKYfShw"}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.3-alpha.18_1641162580172_0.5229874082067079"},"_hasShrinkwrap":false},"1.17.3-alpha.19":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.3-alpha.19","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@swissquote/crafty":"1.17.3-alpha.19","@swissquote/crafty-commons":"1.17.3-alpha.19","@swissquote/crafty-preset-terser":"1.17.3-alpha.19","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/pluginutils":"4.1.2","@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.1.3","@rollup/plugin-replace":"3.0.1","rollup":"2.63.0","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","gitHead":"e39bf86656833f248e7adc1ea534e621fb472123","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.3-alpha.19","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-+rzmaGLj+PNKWKrYzo8pm/zFR02bQuRrKafHGfUmXTD0wGeQM1nfAX2vSeJ1AbBHryEvprw0DzAzXICLSX51Dg==","shasum":"24663d3b6a1b1975eac5737657f5715cf976f148","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.3-alpha.19.tgz","fileCount":19,"unpackedSize":1773923,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2goPCRA9TVsSAnZWagAAOXoQAKIaWGtFUHeeYbdy6MYh\nVDzofBc8u4EjJ9PtKKRthLSeD0I0ZqBwjsISoRgTfWGvo3my/LRDL3WPkIin\ndfsIrnkd8k1LlUxtYVv32CXpZICY48lm3nMti9x0fWf76u/84rngb1NjrDOA\nB94cuX+FFt0bW/OqAq1yonBdoMXziBU5QT2ikd9EDp34vuQHeLCgBrMYOSzE\nIOW8PzAsMA8D7SPilrq1TgSQwPcHsSJdMkj2vHqs3BKbqUYx4hq8oI+1gf7Q\nmM6CzLrCrX9jfAbkLCAK6SaqGPuVnuxccFT2VCWgCyOcvmcNJ2Gio0Q0LWS+\n3PeO/dIlr4V7cWIm0Ht/e78rH7DTzXHYgFcR9gSBFvc2pbFfN6eum/DOy/o2\nmGCyEjSu0glVsQXM375ACBo4f7HOrpMtoIKbOSVhA1udswAluhEZniP5PRys\nyQ/ShNKxO19vMVV87xj7sByKVf9jpZuifpHIlX45iuPcvCH1N1djZUTZcFgb\nV5HnC2JucigIJxUDYFjU6QypS1fnbb1BuK2janwTCEGghN6Pp0ez+T8mDQeV\ny2XPqBDpZ48Lp39XHaI5GwXkFpdMiW+f4qznmpx+RXtfvwLhbvEr2Nzsgc7i\nAezVaA6CVGtatBHJafQ3uIYvAB9y1tGTw1bWzn0wR+EGAgDTY3ws35W4tkjT\nTfWi\r\n=vVwZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtnhwHXar8bOLRsE33pm62blvWplDNskarBLI5O0bL/QIhAPbzv9ZEPB4TTkGoBBKytiKz2uHTnX6kpM7370pcBtYQ"}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.3-alpha.19_1641679375670_0.17180663923390593"},"_hasShrinkwrap":false},"1.17.3-alpha.20":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.3-alpha.20","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@swissquote/crafty":"1.17.3-alpha.20","@swissquote/crafty-commons":"1.17.3-alpha.20","@swissquote/crafty-preset-terser":"1.17.3-alpha.20","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/pluginutils":"4.1.2","@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.1.3","@rollup/plugin-replace":"3.0.1","rollup":"2.63.0","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","gitHead":"e99730f6afd98504eb84230cfa53798caaa4bb93","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.3-alpha.20","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-aex7n+GXabWZvnKDF9+9/EVA5uMnLcxJJx8f7TKMpnsTpUJcECJZSX7kmSWLHyMeINo/O69thT4yr/QGWmGSUQ==","shasum":"bba16fe7ccfc6310287e187ae6f205fd188c36ce","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.3-alpha.20.tgz","fileCount":19,"unpackedSize":1773923,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3Kx3CRA9TVsSAnZWagAAfTMP/26Ts+nweqIl8s4HPkgA\nLvvEMMAU5wYGg7FIqIXrtylN0PRdofa2TSfNeShpbgDgXEe7BrCEbR/HsCQU\ndkkfTk8J3l/DgFp+63TeiGDNMu2xADwcgg5c7okoxhZAfYuLqyorJa3oiVD6\nKItX+wpVK3K7XrsdQz55Lo1TU8LjtVEf70rO1rceR5phlTbpGyml/jlHdvSb\nPB+y/BSPoPeVIO8PtN822h5t5486JaRbxLP7J0b3i347L7lL8q8Xqz5gb5rr\nSNmzBNHZJXZcGkuSKAl1Q/g5DVV4u45iQhACtSGqZ4h8WQRaUEYqM07g9wvS\nCmACxEkmjcBTphkO+JYzIYsPdSPLwW02Ohu8tZdjhhp8h0G9yf03hU+SIinJ\n3e9PUL61U5s8tjjatXicXmB74LOIUGLi8400MtFXEUGXpXkkjVHqIIqJQDmf\nnFx2ZyPdNpuZ99bnv/+IvrixHnvDVpuGb47FH+6kT5QZVJlv5Pyj8M3wFE6M\nbgGgO1+g77VGYx6KzGjVZ6Gs6OZ0x34KVWQ/HjRIYToBmKJjTKlmKObUkNaM\nGTWmTNf10HJwSxULP8h4oekUlUbv5fOmiO/onws8tIcqH1dX9P/a4L/tRTdv\nSc5XoLNzej18w+K7gvDDf/mKocD2DtDXVJfY1b65/77DvrgllcDt9UGE6iij\nO1bo\r\n=iqdH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdf43ZGlP26rdHQ84swZISBjYy0B5jc2rwK0QZKhp4kgIgf++g+XONhDY2ri1Vr7jo6M0u1qI+s+FQrbu/zJUve4A="}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.3-alpha.20_1641852023260_0.42611213693602323"},"_hasShrinkwrap":false},"1.17.3-alpha.21":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.3-alpha.21","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@swissquote/crafty":"1.17.3-alpha.21","@swissquote/crafty-commons":"1.17.3-alpha.21","@swissquote/crafty-preset-terser":"1.17.3-alpha.21","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.1.3","@rollup/plugin-replace":"3.0.1","@rollup/pluginutils":"4.1.2","rollup":"2.63.0","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","gitHead":"d98c8bce39edd14047dfbc729307762c906a40a2","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.3-alpha.21","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-Cdt/uW+GeGqkghUp8ecIypExXRGYLmm+OGvzcUME/R7VYzDtneHofkzcF/hRix5Zx0sas6R9KOgfakReha8Ghw==","shasum":"ebf1d1dabb0fafd0011faeb97673f1a1a321082f","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.3-alpha.21.tgz","fileCount":19,"unpackedSize":1880449,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3gaBCRA9TVsSAnZWagAABa0P/3vSK4B6+aCc5QdtYujA\nsmdyi+KX7hAQTJCLDMHRtT7n1E5moKGq6p5k/3IxY8yx8PhpTlj9xv//Q2Eq\nkJGYdHxHKlj1PDS2XkXb2QESiUc6icj3/LJvnEqH1HdeWVKVkIiHoCzBesRk\nJriK0NBIdwTGXD5IuW4E7fBWsvXxWEszOJCB1YTrqa+7GRIvUhyhaQ1nlFkE\nWjieD72S53ERR8HQ1pFpi4kRYfXgOu4DuxiDJOMQsi8hWPMY2PvUCJnDuk3j\nu2KzJ5aY0APIIZBhgAf1zZUuRea6X3a7ghlif7soGRzaUtXDE1TchO7vf0eS\nRNbwufCZXaGEQbIiBdu4+Ps3Sxk2OAYz8FKSUDUWQSnG+9YTKLNWVf4s59DQ\n6pWBRtzk10Cho2lfJjxDlgAIt8wQ+oN54yVklrJq3TGooRDLGVOXvRmKvsft\nhfTIFbmQsVbkjarYdEI7UN9J5rUqthQP9/p+IOlVpG4vATlFaES0FkMEeO1/\n/DFedMd7vB3yvOCoj8UZ8W9WY7mOfwgUO0Ritl6l6dZ1IsV6/EwqwzW9Sl62\nRitg0gazA4MnLGpwOzpE1mQvGhPaCdc0TC1TDPbWVvdTILz7ybYqsTMcjqEZ\naavJd658L4ZsDxh2GriCJPGgBqqkJUq053qOyREuA1ZY6asKt8Qf42D5RVKW\neSBj\r\n=+LJA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoLd5UmUOzl6PiNnSMNYqWlO2v8BAuIZMJJTsPxHr1KAIgb7sSTHZs6gVp4ajv+eb/pGZz0qYKa3FPyhEdYHXJDtY="}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.3-alpha.21_1641940609504_0.6247129088892267"},"_hasShrinkwrap":false},"1.17.3-alpha.22":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.3-alpha.22","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@swissquote/crafty":"1.17.3-alpha.22","@swissquote/crafty-commons":"1.17.3-alpha.22","@swissquote/crafty-preset-terser":"1.17.3-alpha.22","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.1.3","@rollup/plugin-replace":"3.0.1","@rollup/pluginutils":"4.1.2","rollup":"2.64.0","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","gitHead":"9bdc91f56cd5344a8491fe720694a717506d89de","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.3-alpha.22","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-dZc/gG89ny6/sDCHTmhx4gzQG8tZdN+1B1WYCJ7YUZaHydeqWdL/eQkcDRkdGcyXWWUxR2JrxMq7A/kl9fAIcw==","shasum":"7ff92397c7ba1d5260ffa7767d507c12b2a834b0","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.3-alpha.22.tgz","fileCount":19,"unpackedSize":1880566,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6IG0CRA9TVsSAnZWagAAqZcP/0ViMBW5bcRCPzWP8plx\n3P7ZVILMuxFYB27zyQhmvqjjHcYFUEswm5luOppRTJ23zbWw155iWPyrBD1e\n4iT5PiXgV4nfsEg+NEvhilQM3UrMjlOtINfGYPtoopkADfQeID9LqSC+beuo\nrkZvZwbNAkAstV3D0bATv1Psj68uWj1L2+GWnpOulRQ1mvAMSGbM3XaDrzHs\nepVIia4Og5eT2jOLBvkNLdjZPp78NldzYW10FyO3kh1vs8Ndk8ibfzamPZcO\nRCEfy6F+Zn7/HCwqZfR93/hMAbzg2Y4pgwBk/4BKktD4+VeChdITDZOvkzAk\nxGzjmE1WSTvIxCf2gwX9OwGb/2BTQeCmmx9DS/6VzbCFQADeoPwNDvkE013u\npl+ENjJSTgPcEST6+bRKQDnbDkwXXCwtIuFlwFeCtx8pdq1PKKXg/mnQt221\n+bWGdh6Uywprrj5zyr+JD3w3yvCH4q6+DuVcc4YPSXeypsMd9GG2TjLFv1fU\nyV7GTxaUEc4fOgAiBE+KIMeVglIyFdqdfmX8rFlIemkDVfeCiO9Tj7Ybr/u6\nngSHpSuRIjyquvzAhtI7/JESCznv7vd5x8Zu3tUE5viOjGMDUqVpwCmaqmIk\nrUqkWgnQGvzXZN2xr0T6u4DU6G5jVrhPFWN0WISwUOnp6Z2RSD49TIvlCZ9D\nvLGs\r\n=R+WS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF1sQH2uhBi/HR0i2Km+UuWrLMEZ+N2QkXdXaFyG+SPvAiB919DyXIm0aecwvUOW3hZgZN/jFCssWf0c1MEyIZD39Q=="}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.3-alpha.22_1642627508619_0.3353675378841039"},"_hasShrinkwrap":false},"1.17.3-alpha.23":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.3-alpha.23","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@swissquote/crafty":"1.17.3-alpha.23","@swissquote/crafty-commons":"1.17.3-alpha.23","@swissquote/crafty-preset-terser":"1.17.3-alpha.23","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.1.3","@rollup/plugin-replace":"3.0.1","@rollup/pluginutils":"4.1.2","rollup":"2.67.2","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.3-alpha.23","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-VSxrMr57SgDdhDV5ZcIH6yil2+tpAKzYeB9JcHxmExu3iKuNoJFVd+D8RJbacFkw0Yu62p5QJXD30JAXJVIc+A==","shasum":"7c3c20aa3c34a730b2b01661ef09f932b4ce8637","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.3-alpha.23.tgz","fileCount":19,"unpackedSize":2894322,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBP1XCRA9TVsSAnZWagAAKtgP/iZf97c0Gw6uD+ZloBFv\nX9j8GjaZE8B2q79YtZLX5pJJc4j/b6qZkysd6pVGS1rDsg5BSFuiaDuoizOa\nAf4gk2dXqZ0QPMFhf+0f/UvYFFgbZYsXXZNcvhwb+HWzaSUX8MejRFfriVPd\nDW+EkYNWXSY3koIXeOSXTRT1pF7ukexyeE4FRKWS3dl0j1Ut/Sm6QacvNu6A\nbLWb4orr7EGVyZvTqUSXmCHpMi/L6sS2pNU0QQfaT/Zg0QX2Zac3FmBGgkrk\nvbN/Lu6JfZ0kHvOmp5CQnIaeTndhj0ZaNnlNPodChqlIyflOFVGLWhXUqmw5\nkAH5E2Qt6tmM/Bcc5WQ1fsifncykHxEJVUtcvvapCuxc9x/orrDSqJorARY7\nO50KKSYdwqgpzblx3eGHoK+8QzCkecOc6/kVrN33mysk5j/uvTeuAufVSYcT\nWSD2Ysrw43Api4GW74Bz8BsMlLAD6V7j8RVCTTzNyPexveqymA4/ZIST6ian\nS/yrCJyxjkHdN8W038pILORByxSk3RCOvrarAHm0XCG50IMPLU4ar4PIgaRU\ndYWTkfY0c72WGiMF7Dzc/SwRzmiMRWi69LFBUzpG6Q/BobcxOJ840yOmRVfD\nGq1qyRQT4VYuVz6MkZv5n2LlY2kbNyoUgVDPiGmWbaFBB9o8V6jgMt5Duu4F\nP4P0\r\n=vnKv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEAiV3gxYcfgDASG39aDWGYwveArUvUUnCLAHviYP/UTAiAiHPEulWG2kkVZEwqkb3HIJ2em24UeV0lVmMvj1P8zow=="}]},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.3-alpha.23_1644494167405_0.2441392993144007"},"_hasShrinkwrap":false},"1.17.3-alpha.24":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.3-alpha.24","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@swissquote/crafty":"1.17.3-alpha.24","@swissquote/crafty-commons":"1.17.3-alpha.24","@swissquote/crafty-preset-terser":"1.17.3-alpha.24","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.1.3","@rollup/plugin-replace":"3.0.1","@rollup/pluginutils":"4.1.2","rollup":"2.67.2","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.3-alpha.24","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-BCZuMjpR/YGhhSUKq+iedFvfvEDDFK35t6z5oF9CrhC3e9CjUR4zi+dbTxtVAPX4FTE5fBs2cmhc6hliKvE3PQ==","shasum":"39b8be09da557a294058940858804fc8e83bf158","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.3-alpha.24.tgz","fileCount":19,"unpackedSize":2894322,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBR0VCRA9TVsSAnZWagAAfeMP/0f6m43vvolTiql/EYZQ\nBFrjur4mD1/aXOtscvKj8BTsz/GWZMHcLHmY/2QMqzptBylBAQL96g4sLm6H\n/McadO/gPgbmUy/81Fap2Q3BJ0ZWjgPw6HEip4K4g5S0Mg+c+plmPInaYbgZ\n17Qa1d7yatUZ9Exr3PUsqYO8IQlpmnFKDq6INtfh3cBvKwL5CpKPVlJLzDxo\njSXmYf3XKCYLoqnT4JD4wsrFcJWJMlbRM+P3MZx5wxmaz8dBVksWa/MaiWoX\n2azs6jnGvwS/1UtJKGkuWBKVZBmO5c581EtHx1vQXUHUGGQfmaljwISj9kT+\n13U3JLuWqSdo3bS1YULFQmUttelk0fr9NOcmJQwiuyx0dDjswHTu2PXt2ljg\nMx5GyrbKpqBWr3hulegnzF07CWB4KCzy0G0OSXYox+X4VTsFy+Hkr0BV6Ck6\nDqJGJokn0Juvq3d5DGFC6WDTu/A3i/upRnhQAN135RUVJgmIN92Kfl5Qkw7k\nHTqH/bMegMqr4nVW+2oGZc3G4N/DNJW9yH2zTU5/wUHOl2HHQaz7XX6GMWbS\ngmPUBRQbGiai4Yk9+n2h7OYR5V7TmvYAZ/yUQBPz6afs4Sfzcu0yNQMNj5v2\nW0CBVoiN1I6jqqhbIiFmhAVmqO6dgkGtokYmBLK7qxUAnmVUCYgzLkvRdsid\nHEog\r\n=KLgQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICzCKw1XwGV1d/z7yemeNn6Gprnm1RZsBEMKRWhTdGufAiAn/H0RWujwRlx39KS5Zx9x0+bpxprxZ5z7cH+mDrhYsg=="}]},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.3-alpha.24_1644502293224_0.9540236899125429"},"_hasShrinkwrap":false},"1.17.3-alpha.25":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.3-alpha.25","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@swissquote/crafty":"1.17.3-alpha.25","@swissquote/crafty-commons":"1.17.3-alpha.25","@swissquote/crafty-preset-terser":"1.17.3-alpha.25","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.1.3","@rollup/plugin-replace":"3.0.1","@rollup/pluginutils":"4.1.2","rollup":"2.67.2","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.3-alpha.25","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-apq8td7B/GcCFh70uqaZdjEGq+qbsPdIZky2sQCdBJdjjPGle3fESJIxLB+4H2g+cC1y6KbX+1V/X6G8LDRNyA==","shasum":"2aeb70822963499370b00fbcfdbb95574006bf74","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.3-alpha.25.tgz","fileCount":19,"unpackedSize":2894322,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBTuaCRA9TVsSAnZWagAAiz8P/iVkYR8YpBznKAIoZALB\ncWKInDrsYDLeFJK8AuGwEYM+3GG1GTdDqrQAW3QkiMDHhOKVPQsJY6I+6Far\nybWpueQPV9/9krZLb1HqDR3MJSsS37jv4f1t/jw6E6uzxBw0P6W1MfygNzu6\n9FA9VpsgGi7WGIn6tHCHMcG1wqo8A36CfNHGsfWF6QS2K5zx8Uq1OL5KamK/\n6DbL0LBGcBPpdkCjTWF1BgIdaFcbu3hVkn+J92oZ7p8+sK4YBmavKanoTeMs\nS7qKMd48LOj3LvhtFdFPq0fR+1BzPAYH5ccAcqhugiFRkXVCH+oEU2qgHQGZ\noiIxrs6oPqj5mNqvdJyDjMtfhhc4qWUsxEQ1oGevrF9nQ9MCryCEOrh75sRl\nVbS/ykvjLDoCWZDq3IPabawLIDgAB9/yENmeveGAySlH0f33jkzVCV9qN00f\n3H0Hsw7PyAItJivq6mRyr4naEvR1PAoyZR1K3uTBiESjhx68IRpPnjSRCD0y\nSs6COkJ7yVR9y7UgoVceCPxDGlAJyv2RUtLvebNHVBVrKX3LNuVdEhv4hvBQ\nfRKwMtNdt4DjPwuq8Ik3uAULUKwTMCG/uvKaatX38DOe4W2pF3Qy3DdR4ZaL\n84GUWMH5PmeBrMx55B7hjw/R7xmYqNW9KUAYP9eTPvYbsJK8N/R8Igb8rHex\nDu8q\r\n=MwbB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDyJpd1wXJuWG02omoebZ///PlhSpR0H5q/TOvJ3wda5gIgGOJpyR5La3++4vXFyb6ud6TQdW8VSLwhpRo+ENMMTw8="}]},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.3-alpha.25_1644510105879_0.45781823776348407"},"_hasShrinkwrap":false},"1.17.3-alpha.26":{"name":"@swissquote/crafty-runner-rollup","version":"1.17.3-alpha.26","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@swissquote/crafty":"1.17.3-alpha.26","@swissquote/crafty-commons":"1.17.3-alpha.26","@swissquote/crafty-preset-terser":"1.17.3-alpha.26","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.1.3","@rollup/plugin-replace":"3.0.1","@rollup/pluginutils":"4.1.2","rollup":"2.67.2","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.17.3-alpha.26","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-/UKAeN6+ZG/sM3EyS5t3weueJr/Fia8ghRSaAqLHwI4jvPtnRqW/HRS7oPouIZ2G8bXLbzf5Xv6w9wyA4Fi1Mg==","shasum":"92419e62a658c4df1e32e412d52681876238e456","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.17.3-alpha.26.tgz","fileCount":19,"unpackedSize":2894322,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBUXwCRA9TVsSAnZWagAArcIP/RlX+pAgwjJG0o4scjal\nfJMeuZn1/0loMu2p5P8BaVKusZ8OCNYKnQnnfOn60E3ofTFIhGJxlsrwRtAM\nvLbtcZuryMicxSkFFgOSkvzgkFN/Z+Xr0c+DrWn59i/ty72KKfkSAJbTieop\nT2oObHtyhNcsK07jeknlcSb/0Ok68gM8lc6zXvEGQzZVM2nhv5LnGCYuhBUM\nj/uv/9Qrsmbo5dCfDgpy1zg/5a/SWPj+F6N5aga2kqof4WpTXe00I9gftBd5\nndD9V2nkFAMscA8mjwDG/cWEQoLWWAHFELLHFqUjc42mTqppWYPTYzLK+rbx\n1vFHUQOz3/Ovppe/ejixdSrbWc4tcrwdhLCm4CLqmMIzFKZxBgyec/3ByGrv\nJN3X5AqRLrOSt4GTxUrx3NASDYNrHCBVpjMZAnWwyQtvx2Io+CMBvtpXixGb\ngka4Unas/bvc2EggwaRTnaCJf6InFBUhYyPUrxWnqd8KatcTpxnQApmDWCPS\n5z8Vu5UN6xON/WwYgEje0u7SBCjK8yrDrwQnbKOckBSlfMIzyK+3Lm+JRORE\nGCcNVZ+XTjOd9Z8Kzjadz1EDpFdWXpS0l0KoIfJwn0jboxvHD1vQKbA/8oQR\nb15TGiVDBLKScsJJjtTAsN7Go8Q0KIbx0f5L+d7Xt+zHhSbT/GU9rGLMEwzb\n9GNc\r\n=jekc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDCLg00l16a76wVJwnj1iXKW72djpr+eucnPiEcs6Si0AiBCailu1QIE1ky+6r6dtZS9FG/G4OG0+nQnpXH6qcBjgw=="}]},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.17.3-alpha.26_1644512752335_0.28249799299179723"},"_hasShrinkwrap":false},"1.18.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.18.0","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@swissquote/crafty":"1.18.0","@swissquote/crafty-commons":"1.18.0","@swissquote/crafty-preset-terser":"1.18.0","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.1.3","@rollup/plugin-replace":"3.0.1","@rollup/pluginutils":"4.1.2","rollup":"2.67.2","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.18.0","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-A6sR+E4eA1+zCcfvoJeVwJkyVLhtmHkWAXDDOcLYX6oG+cTU+WvUFf7hdR2VgXtYYWD9JUZal1LIychNULx17w==","shasum":"b6e0559a3a92a460966675e8bf58a5bb555283c5","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.18.0.tgz","fileCount":19,"unpackedSize":2894286,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBUf+CRA9TVsSAnZWagAA8FYP/2ivVTfTiLUSlBGeyJ5t\neSdV87SvYJx0LW4EhHq53zFJgungwlZzKYVs6B1xg3V2D+11KH5H1LlBzOO/\nGhBYbJPRahBLOrk/O+NoZeGxUFszZFN3V5Z6bqtzOI4G4dU3+pR3xGXZfOxR\nMHDIKrwgwnQtuv6+YgiZ8snDq+Y4BPprklcT32+6Hza2ES5uq1Yw3SHFkDaH\n5tuLZj9Og1zizpdDLXzENx51uoRbrlO3Kgs9voMJtvVNuuDe+NYa3aaQsOYz\nF5XuWA1P1o1DC/cYngANg+yXAx1StnFyjK8/8bCQVc6uFEvJ2BTrPLJOma3o\n2Mg0gIbs8ZlY7CXm8uXtNPFZamIXlv7RaoE8oXKKdN27jzb+SAzuY63jbRi+\n+9L55YzAPfFFLhs55qverIDTdOyzFIeNaMsRjUFTSxdkHSemvDtJhCl10rVl\n/u4VQ3qKb7hzJ3u0FInncq6Kqn33PWkJSqI0GyUa8YpozYYRfBCyI6sTquvn\nlz4ePrujw0El/aiNLelI5DBAGrd5LlPVG9mJeoCT7R4yvy5PlO0Q06s/5t6S\nUjVUZbKo/sjHwxkKwxv4skrldJ8GdBGDJDh2cabi0jyAVoWILtKweIjBqWrx\n6B5H74iUy2uevXg7JK1H7FwiAXrhFNmisFnSxOVhiRiDomqMZQvFa/FjZrD/\njaCi\r\n=50yV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZuscyw1nOtD5xkoH9xfOh9iyON1niZVR1lqFw63sLggIgCPipHIH62sIZDwVVovsqXqUeSMNSXLpscW1+fAfGA2I="}]},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.18.0_1644513278492_0.44911677703975283"},"_hasShrinkwrap":false},"1.18.1-alpha.1":{"name":"@swissquote/crafty-runner-rollup","version":"1.18.1-alpha.1","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@swissquote/crafty":"1.18.1-alpha.1","@swissquote/crafty-commons":"1.18.1-alpha.1","@swissquote/crafty-preset-terser":"1.18.1-alpha.1","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.1.3","@rollup/plugin-replace":"3.1.0","@rollup/pluginutils":"4.1.2","rollup":"2.67.2","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","gitHead":"e5cc0223fc8511bcb21dfee83b470aab684a4b95","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.18.1-alpha.1","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-UYdKXKz0uDd98NzoycyOqaEqI/BHxXgWSaa9AYvTCK8GhGmX+q0nCmKmyUm5BrAK5ZuNPquv0lHDhR/kMncMHA==","shasum":"50fc8ad429734780969ef53ee2709897106ba790","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.18.1-alpha.1.tgz","fileCount":19,"unpackedSize":2898571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiCtr/CRA9TVsSAnZWagAAzhgP/RR5dyh+ImMc+SE1dHna\no589wwjMDgI5KQOXBKEgdChidrZ5mGUFBXHNtKjjF+6/FQNSx3XR6xGDHXVa\nomMMmF/g9uC9gT79qAV1pkTAFXuFHuM1gHhGFcvZZKc7EhFhUe/d5y7NscNY\nvKFwtx73CxdrbO1+CjctM2fOdY6lMOdGgvQJCOpBwSsEeCWv1xRvx3b5rrbo\ncbDlmeFvZ9XHu9kcadqKQ/4SYBSeuirIpCK1NiI0l9ouQOx80X6E1iODC+hj\noDGsfKNENnRxPNTeAOtfVsZAV3oZY80jOKFpkYh376xyceg37/yZu8QAlI0X\n0h1CbAkxU4StdM1qJ/4u29g+kQFz+aUVw9a2NHCiXVtX0fICwUPuGVseKGX7\nCsW4RtD6FLlgbARXozNbbDYQu+l6D+Iby3DBi0mrCHjDR/6ZNUMtUxkMJDYo\nW2oxDJ/9DbSYuKamIqfFjTcE3WkGyjrc8ZNofvxex1UybGG18hYZMifhlWME\nSLK85lQYwTbrDBVHFINsnHlV74oMFrkakN8o3KVngcZ6AlKaAJ7C6lJsZC82\nImv+AWN/t6zdDHK5okB/ZkPFc25nR/ZvnSmqCv7PCq42C8mXkzdgACYrHVQR\nIsUN/+EHwz4WC4IHeOFtRDabKuAmSN/H1iEtE1egGDSoa0NlyqdGkd5FT+yy\nHV45\r\n=1F8w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDUorirfWx0l47P1seSHvPWkMJ5Xjq3dGtU5R3OLwNobAiEAsVTP6W+zTW6hwrRxlOQiAALXZJLvfSr5xDQrS/sSQJg="}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.18.1-alpha.1_1644878591491_0.9278386153638287"},"_hasShrinkwrap":false},"1.18.1":{"name":"@swissquote/crafty-runner-rollup","version":"1.18.1","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"},"dependencies":{"@swissquote/crafty":"1.18.1","@swissquote/crafty-commons":"1.18.1","@swissquote/crafty-preset-terser":"1.18.1","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.1.3","@rollup/plugin-replace":"3.1.0","@rollup/pluginutils":"4.1.2","rollup":"2.67.2","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.18.1","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-Rs8QjW3EK//rXYdAx8Y5shr8e1Ey88V2K8SwJl2KSlZi1K0gA3YKY5tpncmb5FdktjPQhnc+4TizxBUKKqvyWQ==","shasum":"7798952866cea0fc08699ce87186fc1a50e0b31f","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.18.1.tgz","fileCount":19,"unpackedSize":2898539,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiC1jrCRA9TVsSAnZWagAAfrwP/iC8/YVv8kjbM28Z1F+O\nrUnERV8OYuVBC5M1wFFVkA843AshRTch4kAQw6CP5xKecWb6rQaQ7+U/Oiw2\nxsDILBOKOLwMeG/gHV3Kb2Iff1jJA2804o2gjPb5ImRgBa5DijubkqBZ7wXq\nsow/sUB/+JOW8M++I5QVOHwLVKZ792ukSWoYejYD8DV13nIv1Vkwf7Z1D2qd\n/94XNS7MXtPeiggLxLg3ifCjZ02Rl5NAFeq4Oc7cICGr8+AVOUgdfAFBYy4O\nNQiJjiQ3DKrRza7giylSB2KDAdLZPGvO5tifdUdCRjp+ZA74FBdyTFMDt9fI\n/iV8kEmNGV4IPwm5BUu8u0gaZ9DKH40EzVzy7M6FyW6PNtcrYwwCkyD2CYms\ng69+bOQ8Va239XkdWfPFRY7ep8eUNZ4PlGvQV+3aK+p5bPdOMxXpoAnfjLt9\nrCwQIwm5ZOWxXd+zpxg2Rw+aqG0bHnsw0Fm23Jn/6uUy0XqWymK4axtGqfDt\n8l+OIKyiPcucsWgQ7SnatjsKyXb2VXLVaF+F77aMQVWrPrftBNxSX1PzYn7W\ngaDK2QCNanD+JPOeyZBrt8vUOSkgutUbFwaW/tc4A0Ncz+utrGZX+auvwB59\n/MUKi7oCAh03bYDdTkPsekt8v6q8XMTshbobMqMyeRg402ld0Ks+6bAIWkDy\nzweE\r\n=HZnK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAizZKUoP+ejncebMIiXa/8/x23jAe4TUBxycjh8hfM5AiEA9u+maRQjukNCGa/nPmyoiOZ2BMshdr25lVdHW2w7XQg="}]},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.18.1_1644910827288_0.08197583751103665"},"_hasShrinkwrap":false},"1.18.1-alpha.2":{"name":"@swissquote/crafty-runner-rollup","version":"1.18.1-alpha.2","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.18.1-alpha.2","@swissquote/crafty-commons":"1.18.1-alpha.2","@swissquote/crafty-preset-terser":"1.18.1-alpha.2","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.1.3","@rollup/plugin-replace":"3.1.0","@rollup/pluginutils":"4.1.2","rollup":"2.67.3","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","gitHead":"df56f820db777f3cbc87c84a9ad495ef25621d3d","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.18.1-alpha.2","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-lMFOORCrNVS6i7rEBzqlrUvQ39RpiK7wQDc2lNm8tXYLkb+kIsS/If01Z93toPiwZffBVO2xcbKSXBgMjRA8RA==","shasum":"df8038fb974dd3bf0df6fdbc96a447450813d38c","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.18.1-alpha.2.tgz","fileCount":19,"unpackedSize":2898168,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiEo2fACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo0wg//SAL91lxJyrvt5J5+93d1o2c85oEiMQj2UJkNSTqXXgTHuBtK\r\nspOjp8UfNwqHwo69MkF0bThXPD1F9dWXRwa07OzemEAjwlcnNK7e7EWKCqkp\r\nbR69hFHp+tGMXTP1H62bTAIfbrwbyyB3EmjGKpsq3cBpP4VSfDpcSOtJeLFf\r\nmzez5/lxdqVD/PiGZTwiaDgnTJVHBUBZy4Afl/Uqfi0ONZCvhBa23oOkfu8M\r\nykSheKAFhG9XrLqm+VrEiLNAfcCm1ugOxP2lZlNoDbF7jqQ2L5ssgAB4XuM9\r\npGWgzdIbjExlFsjnCkY6GudrBCrzAAUHiQdmxi8TSOMk95jjR7aECjvJigNX\r\nPuN4WdHTpAa3l3j1hNs+IoQPE8QdOC2WmPekYxwS7oaG6r9kM0pD1rjZ4wtS\r\n+7qKQhzlps170ELF3Pi3/o0o3q9XNVGhqUFArN60IgdOc6lNCvPW3++NfBFz\r\n2gcaUkm/PzvOTtw/qO9Veo389lue1lY0o+12QAMJvT3G+290YTl7ZD062GrO\r\nRnitmBGrgoG2Djq+wyMyOSfsRLlzKjUcJu/ZQdHWSiEcLosoAK77oJp1N2b0\r\nlTtBIQFi2qdsI4v1FutpdbvoWgQmc/f3VGiSdGrQ21QugC+OwzO2ukwh3NHj\r\nhnGX//gj9YBBo0WFIS3/bqeWe0vhxaNmX/g=\r\n=qcYj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDA8OYH7YWVQJV2rS1CKJix1kQ/ReSej8lU3VfwaoCjoAiBQ2uGGUr1hv8b4D6/0zbgM2RqVNOYI6xCEx1J55S2Y5g=="}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.18.1-alpha.2_1645383071347_0.9141718202524363"},"_hasShrinkwrap":false},"1.18.1-alpha.3":{"name":"@swissquote/crafty-runner-rollup","version":"1.18.1-alpha.3","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.18.1-alpha.3","@swissquote/crafty-commons":"1.18.1-alpha.3","@swissquote/crafty-preset-terser":"1.18.1-alpha.3","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.1.3","@rollup/plugin-replace":"3.1.0","@rollup/pluginutils":"4.1.2","rollup":"2.67.3","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","gitHead":"b268eb54f77331cb106ffefefa35a5b6979250b3","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.18.1-alpha.3","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-VWHgZaJRgxcJGkZZpJh6TXSKV066wIDDYwb7VqF8WGtFc2g2mM8O1ebjNWH0fTYQKAQcdzzIvO3RO+8QBcaOJg==","shasum":"7145b32b6524a082d12d3b0973413e5617820691","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.18.1-alpha.3.tgz","fileCount":19,"unpackedSize":2898168,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFWVfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp09BAAhBFFqZaEEMqTJpndGrj45z25ePK1Pe4b2sDO9biRqOfay6At\r\nt8ns5/qmL/Bn5NU/E0fk7PlkXCFfBMMLXJj8kQ6x0WFQNpAoD1QYhIXE9oBd\r\n+sBYZvu08Eq/4sJiX84V8T0VQR/4dsyumGacSK5u+XdoRse3tWLeFMk037h/\r\nkcLAfQeR5IS+LV+YPLKFrWEw1pUv8Euw48ywLM7mT+8ykfiaKxaIo/nt7ftS\r\n4PugFZwt108BfvMH6zXR8UVWMNAKmBK/IT4M0YvejWElMjqHXmic9Seprzma\r\nd2GKU7fNzqU18/mO7H/TQgMx2n1dvoLLPoLi38HS6FCMFyvMmlQDMG9V0feB\r\nuoKJyqZlJC1Jai45Ypr0XAMbYFJUEyAevq+1n6wv6TRTu85YdBZNPkBpAopV\r\nU5uWCIzRKZcQ3G0r3R6mbgMj4S43LBWWDBSzNO3xvDWsmMXS+nFEhDAz8b/r\r\nk4gLgN2Da9kTzhTX63ceBBahcQkdupHoaXSE7w2tCPuOLxEAlUUo4gBHSBPP\r\nc77eZfGW6ox9eIDwUv5f4KxjZz+oMcB4H1gLZ3zwlF77yBkPywKMgOYzqDWg\r\ntm4D9zIDnK6JXXfeubDDQO1+3VRLz3WEmF68D0s12UUJzciLREzVWmrX0Thv\r\ngwAb0AInYFs1PgFSskRYV/IZETyav597drk=\r\n=MAy7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICflQQ/HVOVhdQq42JQzv3ts2bc0SUwbgsoOiG3eo2jZAiEAuG07SDapBqetjQZtD0LCyCMZICN9naIRtYMLhj7czE4="}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.18.1-alpha.3_1645569374789_0.8360980902690531"},"_hasShrinkwrap":false},"1.18.2":{"name":"@swissquote/crafty-runner-rollup","version":"1.18.2","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.18.2","@swissquote/crafty-commons":"1.18.2","@swissquote/crafty-preset-terser":"1.18.2","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.1.3","@rollup/plugin-replace":"3.1.0","@rollup/pluginutils":"4.1.2","rollup":"2.67.3","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.18.2","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-LAp2AZ97sZTq0evsRgU8ZZtmq9fesGozIMe26qmKpYRANB+SlN1vNsAlq8aiPBNyradb2sQubFe4eUj5Uw5Zzw==","shasum":"567c8c8a5a2a9090576d9c03b03d818eb7b39e63","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.18.2.tgz","fileCount":19,"unpackedSize":2898136,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFfu/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq+Og//ae04wpH32H9s45fmYvwmnIkKHjr+ajCdIwIf+9RAGN5tK6Io\r\n222oo9KHPutxJc9pZ/m54PfkO7VDaFPXAzLa1xA7YBcRioIm53ZZODtlUxm8\r\nJstpYS9/PtSysWYzDHvWrzck7amGSKoVg5eO+/BWULSc8Wj1tT7555/1dSVq\r\nioOpHzuOWE1sTisSrZ7o7c16LjmWlqucDl6OGDlJLYC6/nkXrsjSYRqyp5St\r\nLTxsCkiYe1YB5CxzyPMqU5yaw8bGqcpWD9Vy7A39Myiv8o3hLcWlT62p1jq6\r\ncqKx7YmKuIB6H1ZjNhm++3OT2v/M91pW23JYTnjm1DciENtEO0zU5drg8BaX\r\n3BA+LYfuBQvq/HL85FnngIaFLDFNGlws0jzdVm53uAyz0WFLwaEeWZg8MPy7\r\n1/CnZZBe+rPzY9Eu5aBpFZay60unjbuCE+Mlt33nT8vXEgRXmqGtuLkODJzd\r\ndGhh6aB1iX4IH/QPZOmFDaxKGBrf/Gzf8G9xky3iV40+qxYFJMoLlaXF0pms\r\nAE4DyF1Qmp4XdqQvrZLoz/XNhLre3WjBFsPP17qvWQ+f7x2NTgTurY2flV5d\r\n0SUcTE6V0ERKW3CJuQB4HGkyG+BTIPpKCUEciMu4fesr4TNbVtvEOlBX2BE4\r\nd0llMOIjzrBO1/ENMaUohOEAXQcWWlVbblo=\r\n=A+YA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFaKQDbXaA745imXdWbeKF4I2MN7SmlDtgpcIfzCKORfAiEApqNAqK1dRog1i9cHGJYTIV2ovaRHGhsI259RO9kiv7g="}]},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.18.2_1645607871540_0.34660924710858976"},"_hasShrinkwrap":false},"1.18.3":{"name":"@swissquote/crafty-runner-rollup","version":"1.18.3","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.18.3","@swissquote/crafty-commons":"1.18.3","@swissquote/crafty-preset-terser":"1.18.3","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.1.3","@rollup/plugin-replace":"3.1.0","@rollup/pluginutils":"4.1.2","rollup":"2.67.3","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.18.3","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-H2l2XRljEK87gGvfcvu65YeV2ZXDZeDw24hqxZH6aVrKN/ZF6JpsHquVNEw53TodcdwPiKe8GFFbxS/cm3PS3w==","shasum":"9e17d30803344367838b06b663658c569b24e81e","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.18.3.tgz","fileCount":19,"unpackedSize":2898136,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFgynACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrxGA/+JRnTLpS51HT9lBXyZVuqen7DLND4b6ZEUcIfpTJGXnb18b5M\r\neVgcl4vOa3R8uPck8lcbUSdAzsv5gk3Qox7cF1ZzB8cQnPPvSzy45zUsYUtC\r\nokQWe3uoRiOEInGxicKbqknK/dhg60ZMaHySn0Z1NvPaT0TfKscK5wlzRDoM\r\nIhQENrJKXSu5XzjK8OZp3JRjYzw3J6OTEy8LdD+CJaFT5mXOBTjOMo22tmsE\r\nB+kFE4dgfKnpZnJSOXehDWuMNL4mYf0G0KNAs3Jq94yecVqiyr8GnsMqBWs2\r\nxAhd8P0WdQbx852fFuRCCJz/ELwBSsA6VkIq2Bjn8bdsKshXSvKVxdeqtEof\r\n1XHDIjdqG1Kn/snMe2+QvsAZ0OmnHbnTzhzNAZxzJ03P9luQvwqghQtkXLgf\r\nedpROHaXNuiwN5jGhH6VVlHzGj6O9KRv+HBfU7SMs4q20fSebtuG7TsUgTJ4\r\nDkxHS4qgDtLtRJcalbvFd2+00lHbrmrdnr48VsqnBZioekT3kU718JqtiQbA\r\nF+4lqJFwvHFIY3fkwDF36pm862sljbZJPKA2oMcfCVRy5BaS3cuqZGkBJRto\r\nMdu38v4jGMwXT+cN7IYpja4QYEcUOGQnqAUFuXBVx5oZg+SCA2rkLm5JVRYC\r\n0Tc3XlijL8xorRR37WSTq+OUq7d/iWDI6xo=\r\n=XNpY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICItI9C/A7IOVPCKQ2MeWDPOiQX8kt1zm7gs8fQV8XIwAiANvL/X+KkbiUn5QlaS5UkjjLChkFvsm0+eQo3fLpUiMg=="}]},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.18.3_1645612199758_0.9441636670571287"},"_hasShrinkwrap":false},"1.18.4":{"name":"@swissquote/crafty-runner-rollup","version":"1.18.4","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.18.4","@swissquote/crafty-commons":"1.18.4","@swissquote/crafty-preset-terser":"1.18.4","rollup-plugin-terser":"7.0.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.1.3","@rollup/plugin-replace":"3.1.0","@rollup/pluginutils":"4.1.2","rollup":"2.67.3","rollup-plugin-pnp-resolve":"2.0.0"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.18.4","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-GMSn4N3Qdy4M3VDj8efMcSaXW56hQhWqOZYCXsRhvsNJEBuKoA5/Ir8NTVb8/f4M+p7u6oETIH5/4KfKTzsD+g==","shasum":"c42be0f8afb6d7fdf374411594cedff668a09e08","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.18.4.tgz","fileCount":19,"unpackedSize":2897983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiF1aIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqn1w//Slv8e53wMhW4Ro7YeSvlkfoIZaXCXBvS7NrRl4+LZO2ws0ro\r\ng5aL7ujpf/MxG/EjKivknCVcaqm2cWE21L1hpXhwMjJIgagVVsHGY5y6Md3q\r\nrwJ8HekqrCeL8zReS9dyDkCmevnqiRvR4CZCAUkVXzlHSGHMzVkDmRGBdYb0\r\nyg0VRRp33OyBAorUdiCoUtWTMWOKzEFQMHwJf+OWuZw8aNlZ7gTBZDbr1w8a\r\nr1zoe5j4qKB9NiA8G8SUaIkvrdnpwaFk+Stzv7U4bej8qweC8KSgrwtI8sIj\r\n/JVgLgtkWzm53PwWEcr10cI0DlLKaedX9Ty4tCB2gHO02Pcu6v0yNdohVOJ4\r\nhyu56YFdzNDcWpYMHm2bHQMk9sZOBxJRILD5FQsdOvgfIjNmTOL7YyYn7iId\r\ny66HzDZCiBJASAMJmDd2qVfuVr3dqXz6JlalUQ+Jt421W/V53aNk8A/RdXud\r\nulH48SWJL6+eAD4OZ4mpH+Us6Q99OjkWVd9/nTDAINtaUnhSvBuPya060Ayi\r\n7tv797qxkKMmSo++3FLOZQTDLRAJofyjSnX9tVmSS5empdfR26avd0fGi1v0\r\nb0o+i/BnRJwMCgWCxbKv8a3MZFRr5IASUnRNJJmADTEmt6x2I68HT6/LtwPZ\r\n0NlLHhQSHWo8Bna8WKQelh3WjAf7IAgAm48=\r\n=dco6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICOKjv8CWD3aIr0XgWj2wXrQPKPbWywVDIx+/etNsc5kAiEA8opWlUrL6fg3CiOoPkCf+8pSiA2XS70uqBtQuhQdbyE="}]},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.18.4_1645696647891_0.4237841437406795"},"_hasShrinkwrap":false},"1.18.5-alpha.1":{"name":"@swissquote/crafty-runner-rollup","version":"1.18.5-alpha.1","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.18.5-alpha.1","@swissquote/crafty-commons":"1.18.5-alpha.1","@swissquote/crafty-preset-terser":"1.18.5-alpha.1","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.2","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.1.3","@rollup/plugin-replace":"4.0.0","@rollup/pluginutils":"4.2.0","rollup":"2.70.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","gitHead":"45ad355866ef0d61c1071518f890acb0fa46a04b","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.18.5-alpha.1","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-gU1xtlaqZTV5bNa3H/JwIZEk5lLggt/T+SSa6pxYb0WNfDjS8vkxAEn47iRl87mx6QusCkKONLVdVikDC4SJ4w==","shasum":"b024dfb967319952be5dc21dc7e9b811d0c23913","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.18.5-alpha.1.tgz","fileCount":27,"unpackedSize":3007979,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKRlxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr/Zg//cfrt/L5ydPO4dDqEHpW5sAQGEWMli6kUyuPtKz8t3toMRmoR\r\nU4twmJR8KsIc9EyyaG2ekUQBdLR0nEWEKb3n6WMShXGQ+y66243sCuBXhzSE\r\n8nlRLbyg//1le6YZuzRO0YFyAFhK9HfCWypTgKz8V2qovs/QKJHQt5oIdSAp\r\nS7qC3MwdeHS9aM6iecRj1Z2TsW+FOK7X/wM5BqtbHAdcyYPDUl0SfaAgeNYN\r\nTMoQh6ofH6iM4ntdHmH0UgCLQSt+SdumgOf+b16Lzbq4rwzGyRo2LERc2KHI\r\nZX94ewKbLds4gk7bPukdKOqXRUcj961Vw73AK4Sw2YJCkZreObHXVkbT3l3o\r\nxq8laTEdmn7fUGxsrl9jmUgMDsq3z+JqzfPvAQQ6uM03HzLbixFKJXfaf2FG\r\njZEwTvylIQnzEF0h2HBMfdnGAOajFrbudaImJ3m44VJPJRrvo6FQ7dfG0LOL\r\nLEKr3F+4Aqlvy9zpcswZbUjoD7meh3JOjHHRu+vLgN0LisP+gGWcVD8oQRea\r\n91O1Ke8xwoKh0JwezK9+9Qw49/KB6oipz0KFRChZDyaIy7PUJe2avupkL4Da\r\n10z7zlDIvkVorlv4Hf0QjQ68tQKn1VwZDHvgmKTJcwPs48pmiUOkxRggV8/f\r\n2uBsiwLwZC3cnS1OUiGaorMkD8PPLMJG5Uo=\r\n=Pxx7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDywGgPvVGOZiER/VzNckNtl4cBK3B0V6lyeOMqEq91LAIgeRMWYvOD9B6I1RdMjZUPlBMFN3bSYQJ3ivKIkAT7uVo="}]},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.18.5-alpha.1_1646860657597_0.651809379777299"},"_hasShrinkwrap":false},"1.18.5-alpha.2":{"name":"@swissquote/crafty-runner-rollup","version":"1.18.5-alpha.2","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.18.5-alpha.2","@swissquote/crafty-commons":"1.18.5-alpha.2","@swissquote/crafty-preset-terser":"1.18.5-alpha.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.0.3","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.1.3","@rollup/plugin-replace":"4.0.0","@rollup/pluginutils":"4.2.0","rollup":"2.70.1","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","gitHead":"21e730ee5b4d062c5d52e9c06bcf5e9bf89e6d54","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.18.5-alpha.2","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-A2R6zCMneXa+ig1wVCAvPSOb5aw7lYfzvdxrBhnp7+pU7kW9Ib2hmtYT3yFFdoXbGPwluKcnJX0yx0wNLsHNdg==","shasum":"9d6b7d5fb8bd4e490d4bd8108d755d9faafe8a6e","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.18.5-alpha.2.tgz","fileCount":27,"unpackedSize":3009217,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICfM8i3PTqCMbdOUXeitH/Bo/ghfB41ofTeEDt/TwVxhAiAV42vzmTlrdhmX8xVA6+co+hW+/HiY7HJH78UP3WQiYQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiRMfXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo/Fw/+PF5Cyt6sfkH01NqveKXuNh0AwMwvfCatIC4HUrUBdqHs+8ED\r\npPYTiplIndbWFQ2wEpbtZtEsPyc3S5vFX0S++cNKkE+sVugfklaPODtgzDS4\r\nV7i4F5r+KHUZNOcwqg+eYX4seiiJQWCwyUVWU1Oj7AS7kGXy1RLIO3T8mqW/\r\nX92xS44+ar3jRyZDK1Qc1T135mrJRT16bOIDiMG9PY8rD2VAewjCMeahS7ow\r\nlmvwfiwLrMmeYzvj4oG2IadIN4XrMCpQrOjtBPuMuP5IUGea1Qru4TB8IxNv\r\nCEYRRG4auBV3vxtYZSR75f/oDxAQ4dJ/nX9WrqVjgjoKw9SdNk/+/dthDbNc\r\nVgbOCiR8lCIhjcVptiTO0nX9PTJPMK9s35GSefrtn0HJ9MQUpN9JRp84RGZV\r\nk9emdh1zbhzHV77Pa57cbFdqcCDxrX1sO+f9tgCOZ+B4AyZKah/gXI3JpHno\r\nMSqaq4mrOI0QSZR9nxAcGGb4eLe8t66cwhFW4MPfwA4PLd/wFkJHB+mJD8b5\r\nb6d1dfvtU1mb/D/bG7dmPEvBjQ3Iodq5hbg0CBB77kK8R726OiNPqDFVr41I\r\nZsFL11lE26xTR9SmBRLnZ1q7yYg8lnnDbmdSWPFa2ey8IqBjMjkXpl1BY0qO\r\nRPASgcPnn8mArRO9qVzmEYeUcmIbnfIsWZc=\r\n=KQZO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.18.5-alpha.2_1648674775117_0.782044305421512"},"_hasShrinkwrap":false},"1.18.5-alpha.3":{"name":"@swissquote/crafty-runner-rollup","version":"1.18.5-alpha.3","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.18.5-alpha.3","@swissquote/crafty-commons":"1.18.5-alpha.3","@swissquote/crafty-preset-terser":"1.18.5-alpha.3","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.2.1","@rollup/plugin-replace":"4.0.0","@rollup/pluginutils":"4.2.1","rollup":"2.70.2","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","gitHead":"bebd81733d63e44bd25e1cdca0205a509658e183","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.18.5-alpha.3","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-vU33DSR+IIkhg/aH424OJvvBw/KLjZ7QCwSQwnGXJwvvmg5ssXcOnCPJc8WgiiIQNy7qEuIlkGZ6EPP9SXZrCA==","shasum":"1a49d11a262c5a6e946ea3365c04f6f90dad6ba0","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.18.5-alpha.3.tgz","fileCount":27,"unpackedSize":3009769,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCu71xfwKMVkAnfQjuTjzr+wnibYpB4xsL2iuGBIj0XDAIgaTwxMYDogR9NWspFUSkdI3UTM7GYHjVJKq7mTCALZIk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiXyeDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqYBg/+J5DipLU7MnWoTJfpydI9Tk6hIOvTGbN7UNQla1faEnHy8A2v\r\nIkzo1a6DnVyBeQurErA00nlHT/DF7DIXZhVM6vQ0HAazQsoZDw2AF6vdMbDo\r\n6J0LkDKzMieRoSVcAccHJHk7GzCRHNtNOJgNDCy1RSjOoywkD0lZcVSvj9TW\r\npjg15yYK0vEG0+xQjPzGOwj/Z/d7eDpXkfgHkG+GQyC2AC7Ixaf511Xan6jI\r\nUAqXt9Pcfl1QopCj6SvsrSyHjF6hXZV7WqFyV+C/fOk8JuS8Fk5xjX1xqWfs\r\nHcsaz9p7nXULmOhNm+PUdEyOnNa6+qMP6Jc4FrbgdS5NOvtLKkBNoyGNdsdk\r\n7tcpZKJu6NHmTZbhmDFMqI+rXuqGU8EXjOFlEmd4DOPgofADlZSpVnVTi+1r\r\nRaV14JX7JODHvxjZvUtP7SaBaxW/M4vxyw3000PQ3CvyzuX5N8DoGACS6i7w\r\nszn0zuBVn/xeKd8H1a/uFTJMmxwHIPbxgMO3zOdiPK1yTJ/ve3NyShooRfbB\r\neOsZxCnVLo28oDlq/SFhd/2n/8MfOl0wrkJysYOHVSz5bmVwBocxZ5PZtlg1\r\ndU0qH5y0KDqZOlZ8/RpRophEXrNnLSiYJZY1yhca4t1BhzKT2ybNJ5mtExPE\r\ntiYdzN+I7WO9y1izfsKicOPch40FIFs6+0U=\r\n=fgL7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.18.5-alpha.3_1650403203748_0.6987880438746916"},"_hasShrinkwrap":false},"1.18.5-alpha.4":{"name":"@swissquote/crafty-runner-rollup","version":"1.18.5-alpha.4","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.18.5-alpha.4","@swissquote/crafty-commons":"1.18.5-alpha.4","@swissquote/crafty-preset-terser":"1.18.5-alpha.4","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.2.1","@rollup/plugin-replace":"4.0.0","@rollup/pluginutils":"4.2.1","rollup":"2.70.2","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","gitHead":"7a321705acae05b2d6d75ee283ff0423a954420d","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.18.5-alpha.4","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-H3G/ILBIHSh3qWGG10+PvCmgXrY4lT01exEqqbyksw9ITCdoRQQ3jVyoN2wsCwdeyKJXHrlUHnzANjw9vk/ENw==","shasum":"a1ffabb1b56d596084ce50b43ad1cd0cb3554a36","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.18.5-alpha.4.tgz","fileCount":27,"unpackedSize":3009769,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDda0rd5JnZP7hywVxEAQ6bKE0yqbv8yKn17rAtQAEoEQIhAKZpWL1GDfQIobvn/3uWIg/3riCgXZKDPdqDA8mzQH3z"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiYHbjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqcaRAAmosgJXF8X9Kc5qm5pxgjdgvf8luJxQLJ+3sKJeMRnEWo0Gmm\r\nIsYr5UKkfVTc20GtcoV860WvDpmS4BtKBUT0ZI9PVfzQbhJLSQVc2pJX4aYK\r\nhWVVThEWMgKRrt3YfaIvlxL+psk5CwRZWVmfz6HWUYA1avrNCVAk8nTHtWM1\r\n2hEc1f4F/Tq20oMfqU3zdMKY+zgfE9c3nOId+phM43qHGYR30xZTWUwSmFEC\r\nQg5+BtT9/auiHnyYvabyNcxUQ0qt++HYh8swV55CsFUlsUQjWUm31Xyqfv2v\r\nsHzk1dsY/lbk7U3or26j3w2lJzk8CA67WqUSZkFj3Mo9IMB1viKWODCtzB6T\r\n/E/fbvh53qv97ixc3NytcX/xeUsSGhPbsjdpWZ6K17+XHZh+Ysa0TFim0B8R\r\nAUd4kTnGvgEf2mft7UTlitSCVMnbOOHH1tjseBdDH0r2lpfjW7zPP7LBfN0I\r\nnH0C9FG9w496gZ+QXQVRB0sWPaR43zKf57yi2G2p1rqlQY2KL1LatKbdY9fJ\r\nt5RNUCJ0Ek9WC/crKLBZ+7d4jrfGvE4C2dwF2M3qIMmSzTUYMLN6URlOJdjP\r\n2TyC31iqM/czlqvuEQA2bkfA+WavOnlaYZo59y0m27KAITGASQsXtqWl2JMr\r\nL9W01nhxEO+TH6fD4JOEJzKAvgJpYkqzgVQ=\r\n=4e5E\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.18.5-alpha.4_1650489059612_0.43440879791498355"},"_hasShrinkwrap":false},"1.19.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.19.0","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.19.0","@swissquote/crafty-commons":"1.19.0","@swissquote/crafty-preset-terser":"1.19.0","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"21.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.2.1","@rollup/plugin-replace":"4.0.0","@rollup/pluginutils":"4.2.1","rollup":"2.70.2","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.19.0","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-nOMXOskuHBHQ3a7mMIi465azKBozcWNLufYlWszmiiDsLVNwtDyFyPdniuVQNtHUYfcbkL4sQJMgjOBhet1EVw==","shasum":"b6d66e0297de5a9da5b25aea8ac4fca7293d85b2","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.19.0.tgz","fileCount":27,"unpackedSize":3009757,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1YeS1uGPt9bsGiLWXqnkQIZCFm5CRmIbexicQboZaWQIgLyMjKjsGGhFO/mgtq9FQzjRY15B3juK8+hWf05NVn6k="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiYSUSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpsWw/9E6UXrVwqIYNOvMMz1RdyRqpxseAUi4777uOVLgJbA2w1j+xA\r\n87CX1A3QlyEBktFLsshW25x27FkuKplkNeUHAVBdk21PismXPRaZdfI3fq1f\r\naTwOrlglENiFDhxqtQMyd+4AwBqilHW4nVTXzTX+y2yuyEThkoHP93/+jkDR\r\nh7pN1aJq9eG5pd9mdRekbtA74DzpgbGoMRsJMsfMY6QkcDPyO+j78TbXWEt+\r\nboEBVf8fB/N8CSGS+UrNhQM882gG7dTgSm9r9KQjXMrQD7WaYt7UsNzZe8WR\r\nRb7nKJI4e0OHlCsvoBfPeYepOv6fvgv2XLFY0i568I+h1RECHxSyn2hDc6/Z\r\nWUL//JCR1p5uSaBgcAwAJtgG+ISMu/eB4o1eJZ0sjta598Lc4/2MIiHHT/Ut\r\n75YDfmy+nhAmzUrESZUL2tMzB8gyN47E5Nfu1pV6GbqwTFhpy6Hnm5czysWM\r\nq5BSvu4Gw3N+d0l0x4dk+jBshTC4Pdks4jKpZ9OSxI4UJqiZBAN8oLnShHE5\r\nIEIAYnS/QySpjreWrKMGLAXgrTNM2sRuf3djOOLrWBzzekll2bLkV3iXEYUk\r\nsN9oSMWCbEDDYe3o+HJCk0seqGC5gzxq0t2T4IXqrYVIIG+F5aU16CZ/crHd\r\nWVMbr9i1vfBXV2XFJYShDX+oevHfIL1L0yw=\r\n=MOlL\r\n-----END PGP SIGNATURE-----\r\n"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.19.0_1650533650310_0.6344601476230207"},"_hasShrinkwrap":false},"1.19.1":{"name":"@swissquote/crafty-runner-rollup","version":"1.19.1","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.19.1","@swissquote/crafty-commons":"1.19.1","@swissquote/crafty-preset-terser":"1.19.1","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"22.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.2.1","@rollup/plugin-replace":"4.0.0","@rollup/pluginutils":"4.2.1","rollup":"2.70.2","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.19.1","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"dist":{"integrity":"sha512-uBrnEWLYjRc8PYQpo7WPm+Ucx62B7Qv2LuVsUP9Oc3Xjz2/iVT7tR+QxIDocHsRW/y0Nz1qn/C+MEDQvdgmDjQ==","shasum":"5d0f746377f166062c7b52a88dd979968c1e37a9","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.19.1.tgz","fileCount":27,"unpackedSize":3034066,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDre5xg389RZAr0uSUxc+I1KxSLxApsuPnrCLDmbP9DygIhAPDNSCz5xp/7ze7Au/W+jSR5ItAnzszy8hK5vmdrrzkU"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiZlD9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJ8RAAkjKdexCS32GcasHqg9Q2aS0TIOMprAej7/icNZ2clsf1O4JI\r\nzikb2LHrhkeK8u3aK0Ih27YuVuGHRdWUxE2GH2kPu7QLDSgagoxuPtZ9Ju9H\r\n8pAu0y3ainJYfFQrMjAHJ0WpzkgCBKhrO9QXq25zf2NNR9kHiWSpWavvjLcY\r\n9x0yU+9oavg3w7X/4FJMjN4T1vmsfbm7mUPmLmmFVz1Bw263Y4JZgwf6+n1J\r\njWMnY2RdyGn0TxZtimQf2RD+swfRRMHW+FDB3o+5yx1etLaZkvYhtZogzXR6\r\nwX7egokdgrWXOyl2Bh4sj+PrZe3XERJjesgLgOn/A4m+UDXCWNnWPmrnJKgl\r\nz/1nWVVNbIvo38t1ZH8Mt0S+0L60R00DMo9tp7qCCLUKSsakJPK/T2YZ/bjN\r\ne2zGGusHxUJWfXauYdlfVfa+259gAqyaFaTMigeE9WoQo2ZStdrGCxmm8SnS\r\nZ/JnWtAMz5oCo+yBaXnKYeezMLxJg+XvOTqWMTBmDTG3Hc6aDDvTYs36QxhK\r\nHva6DD2KY2dLp+b247aQ+96H8TXRM+Yydf/y286N5zl25ixfB1NliV+oAVyp\r\nkO4EQyJ96yLUYmn6bb8zq3dfrMFV9EJ2Xmd+5WLn0H+k9CKDKPyhJW31PCPM\r\npo+dKdFjRJs9be+NHF1limte2ouPT4gEphI=\r\n=Y2Ki\r\n-----END PGP SIGNATURE-----\r\n"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.19.1_1650872573221_0.21377831670088976"},"_hasShrinkwrap":false},"1.20.0-alpha.1":{"name":"@swissquote/crafty-runner-rollup","version":"1.20.0-alpha.1","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.20.0-alpha.1","@swissquote/crafty-commons":"1.20.0-alpha.1","@swissquote/crafty-preset-terser":"1.20.0-alpha.1","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"22.0.2","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.3.0","@rollup/plugin-replace":"4.0.0","@rollup/pluginutils":"4.2.1","rollup":"2.78.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=12"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.20.0-alpha.1","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-6vOIraqCTLSn7vJK8ymTzXDdta6OPNYn4J4e8DwA9Shvth01/BCVlsBQtI59OFfcS0c2O3FWzbB1W7b5M3tItg==","shasum":"0fa9ff134d9da9a75cf7150443bfa8c107710403","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.20.0-alpha.1.tgz","fileCount":27,"unpackedSize":3054007,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSjIyg7IFtVhv6+n/2XMWyJug/zZF2mJjWoWaiccF0FAIgT5+Fmgs9iBuhGG9xr1RUFMS4iwFTlpqqJ/mHidlK9zY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/2h+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqgsw//YeZtOjQBCX4xSzB+uWSnQ/MtT5WJvLleGkhyYy7r2eO38hQ2\r\n5/QN8bwtGMG4zM0DyQ1GR95SU1VKPK9sTRDw9EMkfSf1Bl5Xbj2OqtiWJsRF\r\n5gyo77DUODI++W88TTtPsEeo1Ui0M3u2coHZ+i+i7RBifK8POPlalCp1dYJT\r\nD7VRRQ0kgg+6FTRmKFha4D3r1y8CALSn5NL8pOs/uCVjyTVcWDjm/ZnU0hsU\r\nIfF+wmfmhAQVvmZfEqkyoT8MZDLd2mb+EoAjA0ZcMpmzSMmkhBrTHDQ6lnAp\r\nNREazB3JTp3diL4K9pSDQbX9gMlPYqZHvs3QEYNVHoppiqmwBMHKXDzYjj59\r\nqsHFYol0+/+oMgdI/gNYHvQ6AqwNIPd/d2smkCIMmRc4GaC3iNjXt3WJYstl\r\nO/E+xpmHWv+MAIzU2zUb8l/Gn4wrjsQA4ug7umbcL87ily1iIeHTBunZtjdi\r\nsm8Ts/kbiNGGu3DTppYviQcfVysBA3d9dZHVAt0sB1zC/5toLW/pe8+YYiZG\r\ntPwShoZ1fOIAEjGD1qXuNoTE0hYml+TekSrXtYcVD4AlWWp0FrRwkGxcZv4E\r\nxupPIJEVZiHpu4xP3ywyAAMeHMSd5ZoGnb0o28QOOcJETBQmGTBkOQw4ZoMM\r\nNShCQh92oEmJdzneTOiYPEOwJwClSNcJzsw=\r\n=JOy/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.20.0-alpha.1_1660905598046_0.9054878128816923"},"_hasShrinkwrap":false},"1.20.0-alpha.2":{"name":"@swissquote/crafty-runner-rollup","version":"1.20.0-alpha.2","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.20.0-alpha.2","@swissquote/crafty-commons":"1.20.0-alpha.2","@swissquote/crafty-preset-terser":"1.20.0-alpha.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"22.0.2","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.3.0","@rollup/plugin-replace":"4.0.0","@rollup/pluginutils":"4.2.1","rollup":"2.79.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=16"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.20.0-alpha.2","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-kzcp/i25DU1h2TU5ZLDPD11rxK+BRg6z2gVhITYgyy4M6ZFbgsCQe5mENPCmCe845EV3xTxUcM6VL7mF6Pvorw==","shasum":"b2300347733de6199b6c725ce605f396351b4c42","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.20.0-alpha.2.tgz","fileCount":27,"unpackedSize":3067867,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAXZuLC/snwqVAHBkzYDrpE2KlkxsUXMq1cXR/MCDXVgIgWZ/epYn6zcjGut5b31Aau1gsBctZVh7ExKPGAMsFp2w="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjERO1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoRPA//dya24ECoswCb4JcAhrH4HIs09nKjwT63CIqI0YEHZ1eXP6uU\r\ngGj4D3Zp03Zw558TXal8YoUKqbrT1Kd0e9g2EaitO2T+yei9rI6jWzyBvkZe\r\n7DhU9zerMf+UIW0x6xmIo0VcLgGPEsVFC/gf2cHfeGSYgJx9E9SUgFSufgqp\r\n3KqrBvKNTMjyCjohxBg2Z9/sSKnrSGSEBoGhqOjzq3CcSObPBuSsUE5S22Y+\r\nf+3ClIzg7dzJfQ9EjZqBQgW/fd8Wla1dntEUY8Oaw0hk29lp/j1w3fZceIW3\r\nl2rHDNy/11k+Ahzd/AiKiDr/52+cTAiTOLtTDNFIH95kvjx8gGZCB1r0M4pt\r\nghqDZ5C06Pyh7wNziCItpf651v66vcHPIMgFLh3l3b0pjJpUT6tQ9wXXpmVL\r\niOVWSM0bd01LmkxYzDVcyQkMgVHozbiQ/VU7NgbplQN0U2ZJSpWKIY+9rYUx\r\nycW5aWbJ8A0tBp7KRW2z1PbZiUvPvfpgumdEV2+oJkerozp2FncvrP6TgwxB\r\n8zwjj6fsYRuU4R7LZLRyVcThx9fCH004zYrb748oj/eTLTxMeQESxCDOahc0\r\n8NEjqRP0PFmTwsBVftIz5IulDgKl3IAD3GNfgCZm2NiINv6I/HyMlr65hrJE\r\nP4ZG6akrVZ9dHFrWGsQgXqe1UTrowBMJwCQ=\r\n=IDlM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.20.0-alpha.2_1662063541545_0.9463055117628385"},"_hasShrinkwrap":false},"1.20.0-alpha.3":{"name":"@swissquote/crafty-runner-rollup","version":"1.20.0-alpha.3","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.20.0-alpha.3","@swissquote/crafty-commons":"1.20.0-alpha.3","@swissquote/crafty-preset-terser":"1.20.0-alpha.3","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"22.0.2","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"14.1.0","@rollup/plugin-replace":"4.0.0","@rollup/pluginutils":"4.2.1","rollup":"2.79.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=16"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.20.0-alpha.3","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-YcbfWXgrsCX9QG96uU3nDvt5sn9wN1qUD2i5ApD2QE8mVhBfroFNGJniKueR/Fd2mBNcYQvbROwniwikHLKM7A==","shasum":"9332f1d74ff609b76c3391753acd997dbb70d57a","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.20.0-alpha.3.tgz","fileCount":27,"unpackedSize":3070711,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAeRSrxYLOwYCyQZHPBhOrXcS2LzYw2mjjeNLsqQYKqpAiBp58MjiKQQj68ldtJzMPx8HjwB2EHX4vR47K7A4Y6iLw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKhpSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmojBhAAlW+Ov/yDBPaLDtn9EniPvgKXWkyLAXo02CfK9s4kQkGTWA0H\r\nfJVgDkIH/M141jlNvU83O2fU9iJDc6eehXoC9GNyBs59t7M4LVqUKMqPXYeQ\r\nXcqynP2p5YnWKSNwYjllxKK3Wi9MT7CQKIjWM7rWVowC2hvm/0afUM9IQNAq\r\nwJolygTxer0G84aes7rlKYr56wM05hNVOOPXhDIWmwmY7MHUoVSGfJqV3kKV\r\nDrwKEpm85EzhwK6ETlmmDhn2gq1moVc2cIitmg3vbmia0LS8SATmocJHuY/I\r\nsEpvC453/6cZPEDkzzwIPdbvFJaFn0RZJApR2W1tGs0guLJLVcmyg5hHF+UU\r\nIJuoF0YQ6lSTzgD7CXg0hQosmNT7a6IGiWMGbuR3aaqTIhnUR//aMSsHPmcN\r\nJ4zQjxopi02pUQCAV4k912HlBu/nU9f9HEF7R4tySjqUvhxnQGig1dnnePm6\r\nU9aZYTrBFyuupWXw7Dxz2rmJELrHqTO7oKjsiKtjTKydlGwg9kJGeuwVLF//\r\n8v+BbYlofr3bKWznYFMTtgcknDBqthehEWw2azoHaPEjEP+z7acy62W2I/d1\r\nJBKlMTaJ6VJd8acf36WZgeciz5kGnVrB43B/TOHmY4+OXjTeIreYQ/9lNQKN\r\n9LQKBt6qIC3C8+TsdLnIT4nBm3E+MfCJA4Q=\r\n=+UC9\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.20.0-alpha.3_1663703634427_0.22129343989555217"},"_hasShrinkwrap":false},"1.20.0-alpha.4":{"name":"@swissquote/crafty-runner-rollup","version":"1.20.0-alpha.4","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.20.0-alpha.4","@swissquote/crafty-commons":"1.20.0-alpha.4","@swissquote/crafty-preset-terser":"1.20.0-alpha.4","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"22.0.2","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"14.1.0","@rollup/plugin-replace":"4.0.0","@rollup/pluginutils":"4.2.1","rollup":"2.79.1","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=16"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.20.0-alpha.4","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-ZSzVqTGcBfUiBeTW1KYv1URP0bfnnPEEeOrvMhPFGO8QOXQFDIrj6iidf3jTiYWvSIP/V+hZWVBT8KdzOZzSEw==","shasum":"91135e17d42e5bc9899c95909ad089d883f43466","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.20.0-alpha.4.tgz","fileCount":27,"unpackedSize":3204183,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEZWSAaHK+lcJqHO5AK1PsxY2ijsk2zFdYGTL8zlfPGzAiAJcrffOecdJlf8Zp/RU25sA3SjBCNNOwKm1zOPCl+DaQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQDYuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoECg/+MGnd6ZCU8ugPVPh5rYaMO8yNhwfxuAk4heOBip1T7AiQoc9p\r\n5V830p3mEZ1lxIieTJV8z2RbmdIfzu8iFO28uI+nKw8ZPgFT2TVOcw6cwPuv\r\npEjEZaYRtg4TigMtd1hm0OqWC3SmiA3sti/Lq6KdD9Yq5PWiAAkz3tNEaISw\r\nrKqHdZ41UVR1bpX/Y9fm9Fvldnja8hpFrOkdbCaT+QpnwotOlJrAoDTUgCKl\r\nUrgwdMwc/XjZnpKuGJBFC6Om6n+SZsyB+jZfg/ss4Rg9kXLfWwX1Ztz8akA9\r\nyz3dvkpivbGveAD7ae6GOdel+YAPpK1UWY0aYKj/DXfNTSEle5RQWd/CAuI6\r\nWaXs20k/3PVPWRjneNFIpKbfEdcZOZBjKiHxnNAM6QRAnZtOJA3bCDGPcrD2\r\nf9J+fipnJn10Fk+KaH/5qNWo2mwAOTFOTfiHj6xoXff/3s9wNXQaCb+3ZnnQ\r\nKjylGt2SyVwxivoiVpTOdnQVDwmvhAe8s7SsczXDkbKf/zJfJSQDvjv9lzrW\r\n+1JoIrRVqpAo9e9OLqcD7L9Sqk/suzGP7VxTwp/+g6kVsz7PxdaXSlco/F8n\r\npE2HjOKLKGklsgYjLLeFWRZOg/g5/wwtDXxNXzp/twvDOTWTYc+TE79jeMkJ\r\nt5jL9sMeKo4zqGydei0imLBiiwHpofawSUo=\r\n=zdjj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.20.0-alpha.4_1665152558144_0.6205338297755141"},"_hasShrinkwrap":false},"1.20.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.20.0","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.20.0","@swissquote/crafty-commons":"1.20.0","@swissquote/crafty-preset-terser":"1.20.0","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"22.0.2","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"14.1.0","@rollup/plugin-replace":"4.0.0","@rollup/pluginutils":"4.2.1","rollup":"2.79.1","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=16"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.20.0","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-kzOAnOibuHSO/NwoRv5aHUjXKxye7n6l30d0M69HmVp3dbgAGhq7XYmXSku5/Y7czi+CqSXZ6kWwhzkx4xkmLg==","shasum":"e62ac522c28ef4c6d86b6b4c247b75a000b49d06","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.20.0.tgz","fileCount":27,"unpackedSize":3204151,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDZYcECkjO14K+p0zfyX6gjK0d0J2cS80TMjcpf7BU4SAiBdyJum37OfloqzcVa1P9QhK8MfZ/PLsfsDU0HcTrL4Zg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQEAeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpwIA//UpL+5XIQWDj8Cd8+QHE4mbP5SLxYEo8EZO3JgE8f2RsLtHnV\r\nLYBWwjKcXuJeT0FHyRqmGos9JOkZUG4qGpJJDFxrG/MOKD+sfQ2iOLzQiLF7\r\nJcS+KZ4TdXxptGJ8hjNVj8xUArgxSm/eW5HXEgNhPIT0/JTihepU7G2lNUv8\r\n/sTwni81bVqVwwNiHY6K8FXH8GcLonXgK2uy41m/oU4of8O0Z949HWXuTwVZ\r\netIMzbo4BxYCvv7NICE0yptv26SAHJ3EEviXYMvBjBrnG+UgT42yx2kZ9Px/\r\ndIVQ9oBFs4cLoU9I1wWkfx0ad14irPB2ms1X61nE9Hon8cFCcUVCazywcScD\r\n3sZ0Erd1pO60+LrkGXnq85Fm+Spza0g7AqcgCAX7PfmBx4oomSoIogsTkVQI\r\nzdQGuMP1RF74R9ci+Vngup4WNU2At7v01FZ4aO2c9VAYvzr8VPj0plV08EIa\r\n8xIpvtjnIlWlJ0iPcw77ZOPa+pz4Gr1Eg/PGU/YLB1/157XaUvt1WM2M7oa0\r\n+ewHxLdMsRpOFpyK0unY1tPsn+rKy0LKC2YnsjR6Tv8jdR9Y31gQ8gGrFxeo\r\n5jv6U6ypBAu/M/uBarj7M5G+Ztqo+WKTfHyz/SI7sHoQFSZDzDW+0fpl/GP+\r\n08Olz13iSENTN2AahInrzsV/ZSBNf1xtB+k=\r\n=nvoI\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.20.0_1665155101667_0.2973666067226157"},"_hasShrinkwrap":false},"1.21.0-alpha.1":{"name":"@swissquote/crafty-runner-rollup","version":"1.21.0-alpha.1","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.21.0-alpha.1","@swissquote/crafty-commons":"1.21.0-alpha.1","@swissquote/crafty-preset-terser":"1.21.0-alpha.1","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"24.0.0","@rollup/plugin-json":"6.0.0","@rollup/plugin-node-resolve":"15.0.1","@rollup/plugin-replace":"5.0.2","@rollup/pluginutils":"5.0.2","rollup":"3.9.1","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=16"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.21.0-alpha.1","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-uNB+l2HMVu1lxqnWtTU3wm5lBtqw6+RXiRytvgc50VQFCH1wkcnL8gnkTlWQ8biZHPhT4y7+REUNB3KMsjHFIw==","shasum":"40f39114a9aa63eef725b68533d3af6b083d2513","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.21.0-alpha.1.tgz","fileCount":27,"unpackedSize":3190651,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDU9SkHw0nxw1mt5+bI3b7yfqM8JJMDkvjteJjss5sHewIgaGY2tfhgjdB/1eQrD/AKZ5coDRa01eM07izhWclcuXM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvHL5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqwmw/9GSTrJeZvKzKlECUny/f0WB5F8cSNLVdTvutlFCunE7AxvKrp\r\n91Jq+zZ48ygd9ip8dDHAj94bbxffTf8Ir3VESavmA6bcF4vJ9p18XC/+KBst\r\nq37gs/Zzn94drGJFqZyUB0hRafCM5fePKUx+lWI7m2BzrP/e5tXu1xcQcIUg\r\nDzRp2x+e5V3r+x5lOu3cJvkA2ONjJawvNtmQ+JYOHafmJdqM9U4F7sBhtjo0\r\nR5vGY45IbSE7lKGPQcLaYv1zG6wsxI/SCA8zS4RQttel0e9YGywNyPVZBNCJ\r\ncbrN1XebXLsYP+kFp4GWLDFPBNutHSd2Sj5479AYwNj5EcbCbd7SRtPaNVBi\r\npQ9e/0oYFaffWNflHxR+2EOH1tw04tkDy+rFzhvI04IAR4HlVMbnjwBOB6M3\r\nw3gAKySq+MJ4UIEn8iQBt3RC7NWyZxtwpKeoB2D7YtekrJAvPgvIdUnsMImb\r\nHGBYfvuMOdYvVTL6QkXcotiC9Lmba0RBkfLoZixANxnhz0Bdox9nXDuHnL5S\r\n4irhkSaBJcTFYxlVK06uMnx38BglGAIwo1KzUVIRRDrkipLmchM5V3ozviby\r\nRcY42AXlbSVGG5abg2XAYO+/Fsqedpns/lcNAsRoPUvDseLBm0B2BEfUfvDl\r\nOZuSlvDOfk5H6PyzQS/XkWLUfzdVKFtvpi4=\r\n=YzGv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.21.0-alpha.1_1673294585294_0.12094550857399344"},"_hasShrinkwrap":false},"1.21.0-alpha.2":{"name":"@swissquote/crafty-runner-rollup","version":"1.21.0-alpha.2","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.21.0-alpha.2","@swissquote/crafty-commons":"1.21.0-alpha.2","@swissquote/crafty-preset-terser":"1.21.0-alpha.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"24.0.0","@rollup/plugin-json":"6.0.0","@rollup/plugin-node-resolve":"15.0.1","@rollup/plugin-replace":"5.0.2","@rollup/pluginutils":"5.0.2","rollup":"3.10.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=16"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.21.0-alpha.2","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-XMSaFi9bpid0vhSze6n3b8HQIOSHzwCva2/Zrp34boKN6GXzJDcJBnd7gS65W+NVyZS10VEIROw/6plxOGp4cQ==","shasum":"6028bf9a559f18cc216a1aefad715f2fc8b92002","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.21.0-alpha.2.tgz","fileCount":27,"unpackedSize":3190490,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBmRE1HlFCSvr8IeTNOhzBOWhzg6jAzTsSh/qKTGqVXqAiEAgPkKZikir0JY60li6oSpl86mw9G17TUmpRr0UVn38qg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwGxvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpFAhAAo9X8B2x6UGdGXS+yql7Qpf//LkMbfUcfXgXPMjxXah+Cs2E+\r\nu5YhPN56hUCEx6K0Op5f0HxaYhZu4ULX5dN7avIXRMmsVNkf/rkAfIeqwOQK\r\n+zzRni5OpyWfvV60o1UugrYKhvTfPhx6EdWnfGFnNbxC85dlpe5w9m2+vfAJ\r\nclagJG0UXstWRwOfMRl5Szo891EWXnMud1BBMhaNOMgWUt03ao6o/H1n4DSY\r\nieL6UmRKLoKeoBjA7L1G6UxmUSXRNDDnzR8a1KGIsEGhbBxfI8ecPOVv5Gge\r\nzQhjiVUyraluPDcGInXPjuW/5XLPKEj13Rbgls3n+deSMX4cQA+EB4+4EEEB\r\nJHiJTEhBtePeBt4raJtqhI9zllGBnrGuaAfsR5neqjawJJeS+KFSqsv60kKx\r\n+nKF7KKoYeiOVRx6BymaixsiVhQFw6McR60UNT5qT4gxhxadqc8t1hUHsIeA\r\nuuXUdV2P8AfpOCB9rTBdUmSNHuPoCdkuKg24VfE5X1uLhLSKmzuc1q6nqIa7\r\ncQQLivS+lIY20Z2Q4qY+HGtGW1P4VMcCqF77M/Md2HAUFTU8xkMPLTtdX4Pp\r\nNNT6pYQGYX0NptTNOtEHF3fu9fiUt/mXfxRG87ImeQJkC1U8Fi+WBQlWpxyV\r\n0vKQFD437kfTJkWikzyF62OZ4RFGXiyFCko=\r\n=1yzH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.21.0-alpha.2_1673555054937_0.24330275546688873"},"_hasShrinkwrap":false},"1.21.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.21.0","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.21.0","@swissquote/crafty-commons":"1.21.0","@swissquote/crafty-preset-terser":"1.21.0","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"24.0.0","@rollup/plugin-json":"6.0.0","@rollup/plugin-node-resolve":"15.0.1","@rollup/plugin-replace":"5.0.2","@rollup/pluginutils":"5.0.2","rollup":"3.10.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=16"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.21.0","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-D4JKF1UFJ3R12UwMXbBvlnWmlE5BeEjbYhD8PxnvmomL1+LtW9ZXF53dfFYQ/99gzROas8+e4vdBjDc0vHrHKg==","shasum":"3ce879a794908744e94a509e091a16801000f048","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.21.0.tgz","fileCount":27,"unpackedSize":3190458,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICZHL+r6tHh5DCN6o9trYrCNDi85leoyWR1X9dM3DnA8AiEAnwIq9pqAp0MFr2HS3JIvLvJpOwOI6xZww1SbQOM6rT4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwVkWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmopOw/+OKAd/r7Bl0NG48mp+Y/TwL2xGSPCH4PlQaKLeCH08jhn/Kqd\r\n8Das3LEhXWNwvnb8WtO72b2Fjnp29iOJg76SldVoUxJAvyo7mXUOqCl9k8nM\r\nBF3Jx1KT2NWUEbhWH6oftt4eqLy1PyUSVTQQEHaQU6WMDvaRIxYJV0bWWnxK\r\nv1YnxbTzNMlY2T80+ws+cqhi+VlxLBiwgq+6NnoCWhG5pUR+YCudd4VV73p5\r\nLihpZo6PRs9aQTtBtmb96ZtFaMqlMhYosqzqF8Qxn+kc0HwAB0Cj0BhJueID\r\n2rs1JEm/cv99YifQ+i8vZ/56PYWsASkZfJk2qF3CnFBrlSM6Ugut0SEkFEie\r\nkk4kBUZS59HvwNvnUKGuxfW9XjCPufOurrcZ7y7bJVzjDiB1SnyigDwIUVLE\r\n04u1vj0NMc2Xq1/B2NaX0wcVGY5a1AZFgw71U6ulsI9zELYSumORjKJFguVE\r\nx0/X5HSQzGBtHgbV1RzovwKpod8HITqnGLskjNlxjkek55lpJUFRuwxed6L1\r\n4qftmox1gIOQFzIw5ofBr++jZSUDbyqaycRtbuE1F5V5KyYhRUw0COze20cf\r\ncjqVaSlg4X3dt5CcauTKIQgnoqCwuH/INoovNteoUet09xsFzbhWN0J0cGSO\r\nJucp0/hI5Cny8y1aoPK63aiuuN/UESVWbn8=\r\n=ZAID\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.21.0_1673615638671_0.1495608168807987"},"_hasShrinkwrap":false},"1.21.1":{"name":"@swissquote/crafty-runner-rollup","version":"1.21.1","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.21.1","@swissquote/crafty-commons":"1.21.1","@swissquote/crafty-preset-terser":"1.21.1","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"24.0.0","@rollup/plugin-json":"6.0.0","@rollup/plugin-node-resolve":"15.0.1","@rollup/plugin-replace":"5.0.2","@rollup/pluginutils":"5.0.2","rollup":"3.10.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=16"},"description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.21.1","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-h2Qz8gwjJ8tDf+L7+5PHC2uIgYYWQ2a4X8fbKz5HJOghwgp+QFNEpv5OA1geh2h/1hv69vdtaIOaqKoOytvP4g==","shasum":"189435b2a28511c8e2d15759b82d1c7cb7d56afb","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.21.1.tgz","fileCount":27,"unpackedSize":3190458,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBaiCV+EFfFSp/d4YKWQ5y9FUuuu2k1kCSZWgOFRgMk9AiBDzTNHH8CDzeb/4h+VPb8XL7DzjbGFt61jCDfouzy/Dg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwWBwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmobFg//cVY/mrp0IUsCKA20JP8sprif9vWlU7gAGWBm0PQY/fTKJoi/\r\nNBGiBy0fw0V+iuK9krfzIFS33lyC0BdIyJbk2woYnSRimJO7Tb6CTPXpx0J1\r\nD96z97FyYZgIEnGLvQenJgW8+ucLkTR0jE9ybXRnVQ+Hb9p4iOgTVtqVkbSS\r\nPpkgpDHOE0yJIA/9yqHILnEaBv4nEYKJa6DfGU0zA7SLydFslKSeID+qwIyB\r\nq6D7jd0oJFcMg1YTKPdhH55DV0M8t/j1lBUrjqU+mtKYLpTH0qUieH7FwUrV\r\nThE9vbfDunXHOMJzp7Ruw9YeLblLCdkfKhDSezh35RdjXQDvXdo/Oluwy4Yz\r\n8i/lfPPMpc272fmhKKJtRpdrSsK6dnFi8soWIFRw4Df0M8y1U3v6nMFg16bM\r\nD55YF5xJp9jdWdu/tF54B1PN/fxoRzwgAkiAYE+kBVX+Li1B1sI68DbbG4aj\r\nhMB1W93/lf/dSSbrOGhB+a9yIhMUNVC1Zq/eMsndIRJpNoZzS0AviCmbwMJQ\r\nm0w8h8rgHcM7yjhSjkjYDBbmqddnn08eJPLl9itH2iGSFEJ+NeQkh09/5cVK\r\nyUxx/ZlxCstJjuYaDvP7U6rOgGXZOhltIZN1eR+Z5QRgDwOW0Kq6O9ZO6DKK\r\ndgFWFp0q+95+zIticDmkHVpqUOIXTgIKUW8=\r\n=S15Z\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.21.1_1673617520491_0.05060438669720124"},"_hasShrinkwrap":false},"1.22.0-alpha.1":{"name":"@swissquote/crafty-runner-rollup","version":"1.22.0-alpha.1","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.22.0-alpha.1","@swissquote/crafty-commons":"1.22.0-alpha.1","@swissquote/crafty-preset-terser":"1.22.0-alpha.1","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"24.0.1","@rollup/plugin-json":"6.0.0","@rollup/plugin-node-resolve":"15.0.1","@rollup/plugin-replace":"5.0.2","@rollup/pluginutils":"5.0.2","rollup":"3.13.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=16"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.22.0-alpha.1","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-364CCRRJqZRNt8UjTAdIMuKStOT6RF2VIBX9gNJ7iiX3bUxIaXtrVp5aCV4t2xVaABTZ3RXTeTPE5Xu6MQfk2A==","shasum":"168b0ae243b7a681f6ed1a1b6897891cb4755bca","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.22.0-alpha.1.tgz","fileCount":27,"unpackedSize":3211652,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXp2Pqznl9rpbiBr9rym6mR/K7LFsf6+tmNe78BJopwwIhAN/4KBjdX1SRxwnZbWgYJpQDSDvNSDsV799XT+BU1oYE"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4B7yACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo7NQ/+PrnB4+Q3Ka8QoMePrjcM/fow7J+zIsvcFEuAWuPbqqunI6Ro\r\n+VD9KPhSEz2CQvPS5P7MiB9+pN5fKtxPc4U87mjeIG3DByxHJkERBZiLbgfI\r\npZ3HMhHn4qMDu6+dFU4V/c8n+vs9LK7/kfZgw76MDK6VvlTA7XmG58Gmh2/C\r\nhNh/azKHErTBUUvy0THzCLQbSwQ+X1K3lX4Lvhl9EclLDX4+9Vh1PuCAiml3\r\nwofasEFmdbaCUwm4FGOH7EQXQAH8v82/ll4gGwPn5cDAbITHzxQ3Y56rtKpW\r\nxDi6Jd4HuMlqrYho9UrBFJVKTBhcakNjl5r6RXu71GlngcyNj9UuUCIpO0nt\r\nyCE/TLyDidVraFZR5cSuxgYl15fV+rVOOsXXgHGABGkYycHorqyvK9YeYoTe\r\nJreU8hpsP3qHkWB4bbjYZ1Gb3uWShhKrsX/b9/6uklzO/O2Puhh/zckcMJVS\r\n/jWDYSCzTNe4lIXSTp54scW+x6rWYYuis7n+sDqYdLfnhT4o/ccKz8frIqzp\r\nAjdqoMTwu/p1TdS5/Fmqr0EkCrX2Fo5f1l/l+LgFoan6VaCCR3Rwrw8dIQZ7\r\nbYSJnrqs2m9lXEI4JZpLXRN2Kx2V90/Ugp7lCMuPz/xo0jJrK1NG0ORruEVx\r\nvk7vPGt0eZcj6rUbS/4PcmCls8FBet3cQ5k=\r\n=N+3z\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.22.0-alpha.1_1675632370057_0.5237768569816137"},"_hasShrinkwrap":false},"1.22.0-alpha.2":{"name":"@swissquote/crafty-runner-rollup","version":"1.22.0-alpha.2","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.22.0-alpha.2","@swissquote/crafty-commons":"1.22.0-alpha.2","@swissquote/crafty-preset-terser":"1.22.0-alpha.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"24.0.1","@rollup/plugin-json":"6.0.0","@rollup/plugin-node-resolve":"15.0.1","@rollup/plugin-replace":"5.0.2","@rollup/pluginutils":"5.0.2","rollup":"3.14.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=16"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","gitHead":"d552387b97ceb93dd49da0c88ba6aaea80ad326a","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.22.0-alpha.2","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-mtP7JX3tacj/ASjeTuOgHtZgGyl3TH6C+2nG+SD/OHAF6uMqEUBI/r3IDWaV3Jq0sMcCEsi7FJZD+xlOHfB2Og==","shasum":"7243d3224db5a2bf0d3c62eb126b99ac4b9713e2","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.22.0-alpha.2.tgz","fileCount":27,"unpackedSize":3212799,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC24kybtMKsvZgYvLSrKtvib8lMQwdcNlhMdgFcexhNGwIgIlHWVbVBOZ6Gk0wzF0Vd6WKjMHK3tePIVq1YswwduVg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5WFWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqisA//W/8eo7KUiJZYhC3qvQu8zoFq3OocmZA7zYdgQrd6h1gZWPun\r\nT0fi0o9qd5wgOVqcE118gPTQLfkrBaKkAj7a35RO/v+Smh7VyzewYPgsvg7q\r\nEizmWgI+pmvS8ew4v3LwIEiVzpt0Qy7EZVX74M/v/FgpR5qyqk0zU4DNUdol\r\nGC2MVo54XxXae8lMkfi58LfLT5ATHjEUL/HN4PlX+/mEzSaVDCfV68Hu/LEA\r\neoOFs70DpWLwJ/ggmcVlIvmlUE/SeP/x2Vu4xWpkcmbyoPMPBtoKgXk3DtPu\r\nK5DzCcSTw5eLfZ2cV+JyIr4RIOTHEyawfc2DlQ/gJt+CJTZsGNFrgIBzKeRV\r\n6vb7V/SPERCtc/6DuLYnlNBJGpJDtbeVZ8VBJ3bkighL0NiNY4OfJqHAIBC7\r\nXY+cLQk5RnzpPuMPGaShkpkW27ivsDKg2SXoe8vjdEhJMjJhfhwMfRl6UM6/\r\nE1FZ4YYwEXwpjw0Zuwp+88S5I5bc8foeWOMkIh4itTEY1r5/RYdFgBJ/ZLQK\r\nwc0pv5HublkmeGl3mxMy13BIOHPUoHw4IX5SLCUyy6jpfYK0oC8p80omo4c+\r\n5S9ZwXxGnAjdmKb41CeMTjNOkTIAtb5onMfbuVExqPr4DSER1z3IlUqMUp3K\r\n+M0S00ayGwIUsfDI1q9zzd4ua/NsvpIh/Gk=\r\n=5g0c\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.22.0-alpha.2_1675977046738_0.9576305977606416"},"_hasShrinkwrap":false},"1.22.0-alpha.3":{"name":"@swissquote/crafty-runner-rollup","version":"1.22.0-alpha.3","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.22.0-alpha.3","@swissquote/crafty-commons":"1.22.0-alpha.3","@swissquote/crafty-preset-terser":"1.22.0-alpha.3","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"24.0.1","@rollup/plugin-json":"6.0.0","@rollup/plugin-node-resolve":"15.0.2","@rollup/plugin-replace":"5.0.2","@rollup/pluginutils":"5.0.2","rollup":"3.20.2","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=16"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","gitHead":"f335266387664d02eec13d41f6d35db4271661cd","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.22.0-alpha.3","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-5apbiEE1AP0voM2oTjUHx0wDcYzALB+siKsS4N8kuw03QbuBN+z5hW+Uhq6bX7M2YQvDUbSPYE81GAURqgj2NA==","shasum":"cc2a12f07cd884a13d0431e133dd3598a3dd210b","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.22.0-alpha.3.tgz","fileCount":27,"unpackedSize":3271318,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAtsn6ZL/K/ZO0vd5Uo4oOEpeohFI2GbVDcvz29o0yiKAiA4eCMSt5msawqx1b4tCgNhQQf/vjPqTcCzmRExeZP2KA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLQ4dACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpIUA/8CqtKQ4bfS037uMHGuC/77JhkB74vjAkCfgemqyGP23379rTF\r\nhGTtbKonYQN7WPvVMWmGZFqeM23e+alWatArQbba81uRqrtSiN/XAe9jG5ch\r\nrSF3y38AcZ96UvwlKwVFAmWn29NFbkNjNNdhYqZ0F5+O/tyk9fhSbyyLS2El\r\nrloAZfa7CV4ROM+VuZ13lBVCWQrdyKBzBTyXckjMt7dp71vsBa3kh54bDBS2\r\nzNt2LgFBGvV4vsrHMhkc3y/Goxs56NV132gr93YBfuqpA++uBS9DVorya6Ve\r\nICm8/ldosEH2VHiZVW1MUecHo4D0LWMDAKZHFXIjAcezD/wfICVju6h0zM73\r\nxSTRztwgzuAi4VDdIB7jBGeIbO/oRFVRjlNt4pqcjwTmz6V3T1m1WMyXTjvx\r\n13EaHSURAHdlqUj3wvGon4Pvsh6fcQZjVlHgoYsbZAJ1au0X7pntHXeVv2dy\r\nD3TUV2lpEq126qxY/8jtnPMmQlIcOTzdZTqAFHdRKPLp5kwFZlwm0Kq9q7W3\r\n8XP+VAx9qehbCVn4/t1dUpPZgX7w3J/bBM8R0EiMG6uONaEouasQso66z8Ik\r\nf7LNN7YRtqEKLFUVRnWxQvTxCYriuESNkUVRTkld0dIP8cZBAPGCLXt/C2DQ\r\ndWdCm8plyLiAFwfMnbJwwEgeUZ2ovOwf4dY=\r\n=Eo/Q\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.22.0-alpha.3_1680674332966_0.34294987940387744"},"_hasShrinkwrap":false},"1.22.0-alpha.4":{"name":"@swissquote/crafty-runner-rollup","version":"1.22.0-alpha.4","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.22.0-alpha.4","@swissquote/crafty-commons":"1.22.0-alpha.4","@swissquote/crafty-preset-terser":"1.22.0-alpha.4","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"24.0.1","@rollup/plugin-json":"6.0.0","@rollup/plugin-node-resolve":"15.0.2","@rollup/plugin-replace":"5.0.2","@rollup/pluginutils":"5.0.2","rollup":"3.20.2","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=16"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","gitHead":"11a25fc3c312bc9103f5ed42f7e78ceac1182ae9","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.22.0-alpha.4","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-Q88cHz2BU8HMBj5IlFpS/VNdxXjQXLokzuS07OmS6Xp4Hu1pvqzHzhSg3X5iNTDOrZ2niUN5aHwPvs3xxHinug==","shasum":"ecd1840da1959f3441d16c1190f990ec13973a47","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.22.0-alpha.4.tgz","fileCount":28,"unpackedSize":3204167,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIACsW88rMqHd2Rau0kkzDHtkf4+Vp/PqZp0/Rc1I/qFuAiBHuv4UjnMyKy8nd/Gtw7rfgv5KP1FTEaaG/FzS/5dnvA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkMpVjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrPHRAAhFxehrfFUCQVoFkDvoTcmWH3uTDyu+Vr1hE7Hg8q/Q1qpWap\r\ncxqWwxCutFKl0yasuUb1ELY4HeC5flcsNFhTloE6oRPTa/sS5PW8geDXFAqx\r\nJmqE0f//Wo5TJx2R5S4IYSJljTfz8mcFOwlmExaMFhyCwpV2vEU5d54+NEQI\r\n9n+pxphCW7EYlOybqh2n8+bZl513fjGHnswHR+fhQ+B0pKPZAXUjYOHkeAVM\r\nYyO0IgOVBiRKO3+G0AIfUqb2hmG+VhDqkcgGf9y3P3e8Mu46kCpiCkvjSC5t\r\nfMaaGD+6peLY93DhTY4PNcj9JTHz0luvtxKIrIWWwjkTOYe5H7pKyZu6ticR\r\nhklk27avfHRXm2c4YHRMb5g/y032syEPnceNPYyLAU13PQvrC/5D/Sr/OshQ\r\nwCEThKXzHOGKLuO22SSWdikuNL62CiV6+xn3PyzhbxwHwMGlhAjU/k5cDCs0\r\n4BzBtFjQ8Mycu9w4ooQxsrjIT14rvYQTx73uBL/YSLYsGHxAjUt19AekWCsD\r\njoAR/A4eyubUW4Rtst/TY3rifSw+agz05vUi6mLT6sRwrNJyjB2vNZkPZWfH\r\nOV1JJvnpfBEbv+sZFi/c+p2zu5NU/BjnsKgV75zUWqVIW675AlOazcx5Shbo\r\nP/W8ivjuw9Rrq2a/c3MuBGEbBmViaVIGxBM=\r\n=97uw\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.22.0-alpha.4_1681036643009_0.5696713953869503"},"_hasShrinkwrap":false},"1.22.0-alpha.5":{"name":"@swissquote/crafty-runner-rollup","version":"1.22.0-alpha.5","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.22.0-alpha.5","@swissquote/crafty-commons":"1.22.0-alpha.5","@swissquote/crafty-preset-terser":"1.22.0-alpha.5","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"24.1.0","@rollup/plugin-json":"6.0.0","@rollup/plugin-node-resolve":"15.0.2","@rollup/plugin-replace":"5.0.2","@rollup/pluginutils":"5.0.2","rollup":"3.20.2","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=16"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","gitHead":"55b8dd3784b50ea81334b3a3e97243468ef1dc0d","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.22.0-alpha.5","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-p2YGJ/6oh1+x9Qyy1LriTVSt/6oDBq0tO+WH24zkpIPNFrgTuDMjpWJZWseSa+9ZLSOinxlbT8fD5Pxq1kd5mg==","shasum":"b2f07345c9d00b4e0a01b490b948fe3a1a49169a","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.22.0-alpha.5.tgz","fileCount":28,"unpackedSize":3206596,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpNEBe25FGJOcfE/1wIN/e201tf2/UVyTAXX3mN6oPSQIhANzk4XmcIOxSPdsZoTQ/13/Qkm70GlXb+jVDboJ9jW7G"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNb6HACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoJ8RAAh1UBXvgadsw7xVTqneO/kKViMAwqxBlnwJ8AOAJEKaBGkr/9\r\nvWTAsmWM9KaJY5XiGZfpj6K6DS/yL8Vkd8zF6u0vLcug4zgpFfJdMRBogOpg\r\njgfkVQtXt3FhcgkmSAxCLw93/EGyr6w6oTYqCXBN86ElvHF83ax3SgtR2Aez\r\nfclSL7rIh99tgsOYg6RBjThL7tHr+kyD4QwryOTk613+3bfoJV+sSaRA6mqG\r\ndp4WR3u6PJ0HQAmMYQSdZMxQN4xL2pFZygkllvtKlyvznrmUtP3DdrXGz3hN\r\njt9vG4GgV63bTmGAfgtWLUmWLh73CAYw1+7mIT4vFQkVy0zLCKcVww3h3tXw\r\nuep8EiPeFtN8HE7EygxJURed9p1vxDDUUJKjpeaiePfhOthm9DWkkW+kvTb2\r\nHSq0YWoi+pyERY6LztBwwdfAYhiUpNsourEwNJtL9f4G6FmbBXZ1ivU8Gi/Y\r\nSJTfc68y35zevv6wTHTjiD8zixY/H2dLKHmQRNGYJoN0xEts2K8bEHUAQOPP\r\nSjA4hNXCPFCQHSEMB+176j2STNkdIchmOeAh22HTImBc+mOGW3Ur614FYc7o\r\n9OJwTt0biWuF2JWOMg5yza+wcynQRosQciKVhCu92qcIZ6/85pKO0NrSbEwi\r\nZ9rix0zKNIAyM9UIOfmiabeaAtF5/ENrRxs=\r\n=LoIx\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.22.0-alpha.5_1681243782659_0.3889815964416039"},"_hasShrinkwrap":false},"1.22.0-alpha.6":{"name":"@swissquote/crafty-runner-rollup","version":"1.22.0-alpha.6","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.22.0-alpha.6","@swissquote/crafty-commons":"1.22.0-alpha.6","@swissquote/crafty-preset-terser":"1.22.0-alpha.6","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"24.1.0","@rollup/plugin-json":"6.0.0","@rollup/plugin-node-resolve":"15.0.2","@rollup/plugin-replace":"5.0.2","@rollup/pluginutils":"5.0.2","rollup":"3.20.2","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=16"},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","readmeFilename":"README.md","gitHead":"31950687f0c03d5622a0f59980dda666fe0d35df","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.22.0-alpha.6","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-mz03ihBVTylijmfjF8x5VfoYzP548skBJYysF3lFfwVI+RpLJsV50ESFBfVre8PIeyXqrpC90qwKrXv8TcRQAQ==","shasum":"2bca6126955e88471d2e89524f61b3281030b807","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.22.0-alpha.6.tgz","fileCount":28,"unpackedSize":3206596,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHMZdtluhrvfZF+54cARc71nh9mvZPcTFUlD8T1YmcDAIhAMOUQe5vcnRalPj0OYu3Lo8j7/WLGih1IRQvEarIYDvo"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNxyYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmroAQ//UjNm7EQ+q6dbq4OHBf9nW+0zGsIi0TUZ/NxiyVUa26Rm6eyB\r\nmt4lKbtUSETf7kc6i6OjiQyyhYdrEhbiRTcmdrr4bqw+Z/ARd45O5IQh5xIu\r\nq/7IN1nUTO2gHz4Mv0lZqnEzYPHF5oZC84EVDDKaxGg9hN5Qqbovo40olzit\r\nXUljue+ZIdiVcQy9hsvZ5dXnqB25sXKTYsYOn67Sn+ZvTgotriOFPAWbxBWD\r\ntelHYIBiamPEExUJwaqdWgEcTznbdDryR/1D3sbKcvfZwosrrS62C7i7YJu3\r\noetvifly+bUVBbMb3MWWHlGii1EcYNZ0QUlQsNXo50nzpQNgCxP+b3NJzdZV\r\nNO3nMsJfcKlHttpuy493iQsHyEx4xfx/4VyGSL0mqkvST3Mu6TKNmZ5TKSRN\r\nG1sWJfLu+VQBHWiSCQ5/h+AsTqI+6Cbv895jyXhs9j3zeBE3DKbt82Y4bfL3\r\nmgs3pLPntY+E6uIvCNiNoQA2W6SOi0pc8Hp2oaPHIOobpZ0Kxt/jGSGCdxAb\r\nhx1zw2K9X6LP+s69+isWU7aJdG8kGcnUeODgsjS/Sz6CJAFhUXZzsvV/ZPoc\r\n9LjaCTxA49Prr2o97SB7Jf1iQngUcFN5gg4NMBw2bQWsehgyGvvwIFOnVB9V\r\nI3RaPj7+PbIvbUd4fgCuLgd36F3sBPGJTHU=\r\n=B3zo\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.22.0-alpha.6_1681333399745_0.9243963534620692"},"_hasShrinkwrap":false},"1.22.0":{"name":"@swissquote/crafty-runner-rollup","version":"1.22.0","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.22.0","@swissquote/crafty-commons":"1.22.0","@swissquote/crafty-preset-terser":"1.22.0","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"24.1.0","@rollup/plugin-json":"6.0.0","@rollup/plugin-node-resolve":"15.0.2","@rollup/plugin-replace":"5.0.2","@rollup/pluginutils":"5.0.2","rollup":"3.20.2","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=16"},"gitHead":"cc0d018a2e277a01528ebfbf7053d6752edba624","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.22.0","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-Ecs9/kaG/VeGCE1YRDT1meqe05ssIiRPDa3oJBa0gHROiveZ/ezUECKLUMJgWi8WeuKFd6IzqNIV+zjTHdbNAQ==","shasum":"20708dc6869f46bbac60174f1fb731a57ee4d229","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.22.0.tgz","fileCount":28,"unpackedSize":3206564,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGsayITND/EW4mWAy7UxpCwacucO8PJ9eswjY4utLY4tAiAQjNAvW5MjpqIrTzFoAgY4hgMxj2dtKko9R/15TydbjQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOAf4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpkOA//XCK1nLxiaLK4JYVFeFwakOtCwu+SsiEiIw/DWpkppnEeYCoj\r\nSfDLQenakuPa7RLbpJlmZJBJe5jsd4v3/QuZsHISnQ2Ca58WIS8eFBTVhBKh\r\nCbDlObhKnkeEoJtqNBHe4zftFh6H2DILRQf2g9Up9HM+Ly4GM39JKhnywDEj\r\nAZC+OGgOV2u/my581qXFIN3nsO/40aR7fjNVHZL+BF91oBHFhxfOAlOidn5m\r\nhjxRzBcX3CN1WvD7q1T2GWhZuh2UCor5wwPrWMrYQhbKDIjhhKfE8OMfY3S3\r\nPtmmsK6WOhsTTQ/qW9eQfi9Ub2cTVA0FY55x9XRZUL8M5bhHyr61rXXkQls/\r\nvRITDBH5zRlKPb8Vnycnlf3r+zQ2yVMPcvqxm+nQ4SxWhRvTBhe12gHqOJtL\r\nxwIKJVFs0ciq1y0nu10FGxiDydtrGQ9CBa7v+GHVhl1O4uKD0Bmy9YHJ7ml4\r\n4v1Pg4DLkxbnAPGiOybdAyTCv0H+hP9KRAdJpqmrHX+fhKoedUGYcq0B5KYI\r\nI7xpfiRsrxz/M3BYHexcKSj/K7Z1URlBBqsyhVbAozzI9R0JjnYtl/vzjqXZ\r\nFgIKFGv01HIPlFbCKPoThZ7ieKyTDHBhRgu4uV7K9s+gjDhw1e51vlFPhkxT\r\ndDDl0akOidFHiyE6SsQ4S+H4hjF+Z3nPFvE=\r\n=BcmT\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.22.0_1681393656489_0.15516661743626625"},"_hasShrinkwrap":false},"1.22.1":{"name":"@swissquote/crafty-runner-rollup","version":"1.22.1","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.22.1","@swissquote/crafty-commons":"1.22.1","@swissquote/crafty-preset-terser":"1.22.1","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"24.1.0","@rollup/plugin-json":"6.0.0","@rollup/plugin-node-resolve":"15.0.2","@rollup/plugin-replace":"5.0.2","@rollup/pluginutils":"5.0.2","rollup":"3.20.6","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=16"},"gitHead":"f782e14c67fda36ef9f91b6256779b308557d68f","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.22.1","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-uQXmDbIyEruljK8Pi6nSwMN4/UWUL2GtEvWtbkii9/wgZUIYjL+VeZwa9ejJImwKrVkSlw4SzqpmH4lg3/7jJQ==","shasum":"0307a1c58def780d7d90974510458314a0123485","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.22.1.tgz","fileCount":29,"unpackedSize":3208172,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG0Apv9uLwZSvhehC57IPOGr5c36zUwOoDmRfrHxIPz2AiBFUv66EjLrTaN8crSLB+7el3zr18rkOCVPJf2uP9W3Eg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkP4T2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrsuQ/9GPVNQWchJ6grTS0h956ODoLDoIvIr6c2/xI4g3rV4Mx2feJM\r\n5CE0EcudzlhW+cMSWv9ry42QjElP8WNeXdjushEHcHl7xceDyfFNu9KMp1eN\r\nCvqjkDJEULZw25CjXr2oTraMnK1SVuIPm/w/tMjYG+mSTs4zvyqjLYdpZvHe\r\nK9Ses1uDJG6yGGaX3zwxG0bt371f7UWCpf29HSTuxfkJHz5gjxVDZ8VvI8rA\r\n0BpXJ9AoYjktj9ACzX3L5SxVHEFswoGwbpaV/PFce2gJoKSnalU6GodmS+4O\r\nEHmLMumkgRphA+ergDPfTvxNZUBFazkcMO5Oi5JlEy1g9uxIb7yXoxmfm0Le\r\nyflKGvVLLL4S/eIIXypcKt3wv+CEhJxOw9EBSRL1iGdywCpt6MAWTSlCE7w9\r\n8pvUqf5A38rZQ2mm8S48MmUrViAPq4XpE8Gej667xr7njfEZ/VJb0d85Lyf6\r\nnA87qUYiL3qTCoM8zEHd5DnDaInUu11FXaXU/zKJRONRQuMmjEyTSjvhZGgh\r\nCobw/2jJQUJyS2H61QmoXUY/bUobQuZtKC8Nnc2YIlIAuqbE+nHlpHsMo/ff\r\nJtVNq4qo2UHWMxeb99QBfLZ5Ev7CTUTQRJ6z6EdoEe/SIS3yhimmbqnrDe0s\r\nxcFmngW8Vc6ebI7PLc6qjUuVgHKAVj72BL0=\r\n=MErr\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.22.1_1681884406620_0.3927903608604755"},"_hasShrinkwrap":false},"1.22.2":{"name":"@swissquote/crafty-runner-rollup","version":"1.22.2","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.22.2","@swissquote/crafty-commons":"1.22.2","@swissquote/crafty-preset-terser":"1.22.2","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"24.1.0","@rollup/plugin-json":"6.0.0","@rollup/plugin-node-resolve":"15.0.2","@rollup/plugin-replace":"5.0.2","@rollup/pluginutils":"5.0.2","rollup":"3.21.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=16"},"gitHead":"1057aae379a5bf2125bbca62ccb2972b3380d7a5","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.22.2","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-+RUsHl2w2FTVR/WqgxBs4VXrfzdJQ+UOqSEM6ncE7FHsoGZJ4diKvIOsO8oWSlqo0O59nPxhtNyTPXUH8fdDlg==","shasum":"fa63f350a235ec1d2f87dd0798e8889047564ae1","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.22.2.tgz","fileCount":29,"unpackedSize":3218148,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6dnauDr53UXskOcFZ9kpqdJ54lF5GbAQTlFa8VJ5lrAIhAOMYMyZYBOOc9TeMgwc/lwGuwdYu/DAEua2yFh6VHRLW"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkRswcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpxSg/+PQk6jbfOI71P44vqVdfaQvgmFVmaK0a9xDGO/h3TpYVdvI9j\r\nJdEX14SBr7+erZ4ktJdCaTctE2iwKemiWvC1flNF8xoEmqyVX7NwlTBvvpid\r\nZqDaSkuJwKEgYOkTSWxIP21p/CZPg/GwH+u7wIgj8AXjoJuMHZ8k89QAH8Tg\r\nSPKgMz252BSr8cr+loQDRsXBDSJnrRn+nToipSG4ZDp0T1Oic7hOIp/lYMXv\r\n1JqEthTRV8PqHYsJgQjN5A5mdz7kz0+zVC4Hp0giHnhJwh0lEvAjnlZ11me+\r\nQgzRanM4/J3sGb+pj4clV/2T0UKJaW9AfrEpJMfbqdmFq+Zsukry+En98K9v\r\nYbAupLAqxAZ+Q2b1aI6ANT9y/FbmchoSMOMfvaukNgCB3lSM2+l2f4+YN6W5\r\nNWP4evpHKD4W0PjlfhRhkccKTIXUvkPeTOWOtfAPwsYFHaiTKixtIgvfbwoF\r\n2EisUTeq4cMEKEVrWUMR0X8LBPdBXlvVvZwxuiqPROR6q8mBgRvryiwZdTSA\r\nwjuwDser+ep0kAlWbV8CJlwQ6DJLGjW1DN/PfvWLyQwMmLQv4RFP0GgHE5/i\r\nIJ12WHwiSeExT71jf6wiMI6g2E0O2kc0WG80dT7E01uGm3xTcHk+HgaJHTAR\r\nli6Wh38B0ZuKMVqKDWvnbtIXZYuaR3lNKdI=\r\n=cUAC\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.22.2_1682361372461_0.6174310061522899"},"_hasShrinkwrap":false},"1.22.3":{"name":"@swissquote/crafty-runner-rollup","version":"1.22.3","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"main":"./src/index.js","scripts":{"build":"node ../../utils/build.js","lint":"node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src *.js"},"dependencies":{"@swissquote/crafty":"1.22.3","@swissquote/crafty-commons":"1.22.3","@swissquote/crafty-preset-terser":"1.22.3","fsevents":"~2.3.2"},"devDependencies":{"@rollup/plugin-commonjs":"24.1.0","@rollup/plugin-json":"6.0.0","@rollup/plugin-node-resolve":"15.0.2","@rollup/plugin-replace":"5.0.2","@rollup/pluginutils":"5.0.2","rollup":"3.21.0","rollup-plugin-pnp-resolve":"2.0.0","rollup-plugin-terser":"7.0.2"},"optionalDependencies":{"fsevents":"~2.3.2"},"engines":{"node":">=16"},"gitHead":"9d42e6f993fe9f6227c0080c680a1a1155bc5b0a","description":"rollup.js is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.","bugs":{"url":"https://github.com/swissquote/crafty/issues"},"homepage":"https://github.com/swissquote/crafty#readme","_id":"@swissquote/crafty-runner-rollup@1.22.3","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-B/89HDra5h1wtgCWAF0gn+hR7qRqqjlZD5QrHQdenTBKfgJurf0y2OSsJmwcmqFgkvi0i2k/nn+4wpluLZlQ6w==","shasum":"08303aae9ec14d1fdced211a1094e8bd93db6d58","tarball":"https://registry.npmjs.org/@swissquote/crafty-runner-rollup/-/crafty-runner-rollup-1.22.3.tgz","fileCount":29,"unpackedSize":3218148,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHduwaSasLj2Oqmqpe6C/ALt+qss+6dHj+J+7WTxyusQIhAOYpz9jkQbCIWcJtCrwY4uUvM8x+qmvAUrRX1dtZJlO8"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSTZxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqlsg/9GukzDz8X4kEe+PTBYJnohQFTF/yuDZLa79xzoQ4PB29FojDc\r\naym9+p9BtGPbrkscE4oHucy0WQKZguJoiIjqP6TwTBbqHdWrzHTUOg3UsWqg\r\nfyAX0MDRFFP4YgfYBVB710GwA3mJxR57xACt/BDE/VgqToHbJO+JTBRKP7nu\r\nb0UEgZDw3kndJpWuss/9Eo/V2cLqFCzPtjQMiLRrKHkGg6degGuVQ9yInmKD\r\n77U/JqOq7Bp2yen08ntfBrpfpU3WNj8gKC7T6m4Lt6IV0RuNmvsO6g6U8F08\r\nt+I0Ecksw1zqn0H6AW08jThrusmuzGcjycYpXe7BU8j/JOhFgDBzFV4MITby\r\nqcZxHLHqY45jkRJaPUbsC9+9FQ+SRhIP6aprxS9NzKFf/NeR3+7FzGWThf+p\r\n3hk8NEX1uA5bfxVZELDx/8bSSz099fnH1eyFqu4rNg7tPK3WLLzPxoh6ch/C\r\n9MzUXyX6Ljkd/4UPU3j+4yk4Dyaq+1V1rHNq1yefv4HC9Ucu2Q8fTf1gzGDB\r\noO1ZDSjKlJgjSM7t+HfPDMte1Fa8ck/AN+7mkSup4UaXYRHeEbjeUmuxcAcL\r\n6UuMCxeqrTJK3+bARqFCywqkGbeJRDHL61f8jc6Bhw3X3W/OhjRGqBTzHSF5\r\n+8NCM/uxR5PHKVum6SSdOBLae3z8O6fQDn8=\r\n=41kx\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"},"directories":{},"maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crafty-runner-rollup_1.22.3_1682519665269_0.3828035913696719"},"_hasShrinkwrap":false}},"readme":"## Description\n\nrollup.js is a module bundler for JavaScript which compiles small pieces of code\ninto something larger and more complex, such as a library or application.\n\nrollup.js works well with libraries because it's able to output files with\nEcmaScript 2015 exports which allow for advanced tree shaking.\n\n> The rollup.js integration is experimental and has some issues that are known\n> and some that are not pinpointed yet.\n\n[TOC]\n\n## Features\n\n- Bundle your JavaScript using EcmaScript 2015 imports or commonjs imports\n- Your code is Uglified after compilation.\n- Configurable output formats\n- Watch mode, re-compiles your files on changes\n\n## Options\n\nWe don't provide any option to configure rollup.js outside bundles, but as\n`crafty.config.js` is considered as a preset, you can define the `rollup`\noverride method in your configuration file and change the configuration to your\nneeds.\n\nCheck the **Extending the configuration** section below for more information on\nthat.\n\n## Bundle Options\n\nThe rollup.js preset is compatible with our\n[Babel](05_Packages/05_crafty-preset-babel.md) and\n[TypeScript](05_Packages/05_crafty-preset-typescript.md)\n\n| Option          | Type       | Optional ? | Description                                                                                                             |\n| --------------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `format`        | `string`   | Yes        | Define the output format can be any of `amd`, `iife`, `cjs`, `es` or `umd`. Defaults to `es`.                           |\n| `externals`     | `string[]` | Yes        | Extends the list of provided libraries (Webpack understands both globs and strings, rollup.js doesn't understand globs) |\n| `inlineRuntime` | `boolean`  | Yes        | Do we inline the `@babel/runtime` ? Read below for details and implication                                              |\n\n### `inlineRuntime` / put @babel/runtime inline or keep it as imports\n\nDefault: `true` when nothing is specified, and to `false` when a dependency to `@babel/runtime` is found.\n\nWhen compiling newer EcmaScript to older versions, some helper functions can be needed to make it work. For example functions to create classes, rest, spread, etc...\n\nThese helpers are quite small, however, if you are creating a library which will be included in another project, your bundle might end up containing the library along with the copies that the final project will contain as well.\n\nA way to reduce this cost is instead of having these helpers inline is to keep them as imports.\n\n```javascript\n// This\nfunction _classCallCheck(instance, Constructor) {\n  /* */\n}\nfunction _defineProperties(target, props) {\n  /* */\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  /* */\n}\n\n// Becomes\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n```\n\nThe way to do this is by adding a dependency to `@babel/runtime` in your project's `package.json`.\n\nIf for some reason you need a dependency to `@babel/runtime` but still wish helpers to be inline, you can force it with `inlineRuntime: true`.\n\n## Extending the configuration\n\nEach preset and `crafty.config.js` can define the `rollup(crafty, bundle, rollupConfig)` function to override rollup.js' configuration.\n\n```javascript\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup.js configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {Object} rollupConfig - The current rollup.js configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // Mutate any of rollupConfig.input, rollupConfig.output or rollupConfig.watch to your liking\n  }\n};\n```\n\nThe full list of available configuration option is available\n[on the official website](https://rollupjs.org/#javascript-api).\n\nThe difference with the official configuration is how plugins are handled. The\nsection below explains how plugins are configured.\n\n### Adding / modifying plugins\n\nIn rollup.js, plugins are functions that are called with their options.\n\nAs we want to be able to override those options during the preparation phase of\nthe runner, those plugins are presented in the following way :\n\nHere is an example of how the `rollup-plugin-eslint` is integrated into\nrollup.js .\n\n```javascript\nconst rollupEslint = require(\"rollup-plugin-eslint\");\n\nmodule.exports = {\n  /**\n   * Represents the extension point for rollup configuration\n   * @param {Crafty} crafty - The instance of Crafty.\n   * @param {Object} bundle - The bundle that is being prepared for build (name, input, source, destination)\n   * @param {string} rollupConfig - The current rollup configuration (input, output, watch)\n   */\n  rollup(crafty, bundle, rollupConfig) {\n    // rollupConfig.input.plugins is an object during preparation phase with four possible keys :\n    // - plugin : the function to initialize the plugin\n    // - options : A configuration object, will be passed to the function as a first parameter upon initialization\n    // - weight : (optional) The weight of the plugin, used to define the order in which the plugins are run (A weight of 0 is applied if this key is omitted)\n    // - init : (optional) A function that Returns an instance of the plugin. The default is : `(plugin) => plugin.plugin(plugin.options)`\n\n    rollupConfig.input.plugins.eslint = {\n      plugin: rollupEslint,\n      weight: -20,\n      options: {\n        ...crafty.config.eslint,\n        throwOnError: crafty.getEnvironment() === \"production\",\n        exclude: [\"node_modules/**\"],\n        include: [\"**/*.js\", \"**/*.jsx\"]\n      }\n    };\n  }\n};\n```\n\n## Known issues\n\n- If you have two bundles that run with rollup.js, if one fails, the second one\n  stops as well.\n- ESLint stops linting after the first file in error, this shouldn't be the\n  case.\n","maintainers":[{"name":"david.joaquim","email":"david.joaquim@swissquote.ch"},{"name":"mofleury","email":"marc-olivier.fleury@swissquote.ch"},{"name":"stephane.goetz","email":"onigoetz@onigoetz.ch"}],"time":{"modified":"2023-04-26T14:34:25.661Z","created":"2017-12-21T16:13:04.974Z","1.0.0-alpha.626ce2a1":"2017-12-21T16:13:04.974Z","1.0.0":"2017-12-21T16:15:41.261Z","1.0.1":"2018-01-16T15:23:16.709Z","1.1.0-alpha.b912b41d":"2018-03-28T19:11:04.165Z","1.0.2":"2018-03-28T19:14:44.703Z","1.1.0-alpha.38983486":"2018-04-26T16:07:12.929Z","1.1.0-alpha.1269ff8b":"2018-05-03T12:09:02.586Z","1.1.0":"2018-05-03T12:13:04.024Z","1.2.0-alpha.5f812146":"2018-07-09T09:16:32.302Z","1.2.0-alpha.da9a46a5":"2018-07-09T11:34:08.409Z","1.2.0-alpha.fade2d8f":"2018-07-09T12:25:22.657Z","1.2.0-alpha.655f2b0b":"2018-07-10T07:30:31.847Z","1.2.0-alpha.e0206f6b":"2018-07-10T07:33:32.905Z","1.2.0":"2018-07-10T07:53:41.914Z","1.3.0-alpha.aebf6bcb":"2018-07-25T07:32:33.632Z","1.2.1":"2018-07-25T07:35:39.379Z","1.2.2-alpha.22":"2018-09-13T15:24:23.454Z","1.3.0":"2018-09-13T15:27:35.107Z","1.3.1-alpha.27":"2018-11-06T13:59:26.602Z","1.4.0":"2018-11-06T15:19:41.772Z","1.4.1-beta.0":"2019-02-19T21:28:44.337Z","1.5.0-alpha.8e35b1aa":"2019-02-19T21:37:10.231Z","1.5.0":"2019-02-20T10:17:09.398Z","1.6.0-alpha.4ca88499":"2019-03-25T10:36:17.657Z","1.6.0-alpha.f9068b0c":"2019-04-02T19:53:34.882Z","1.6.0":"2019-04-02T20:29:45.969Z","1.7.0-alpha.f5ffc7fd":"2019-05-17T11:15:04.809Z","1.7.0-alpha.60d03c09":"2019-05-17T13:20:25.604Z","1.7.0-alpha.022db3ba":"2019-05-20T12:42:21.297Z","1.7.0":"2019-05-21T13:35:06.466Z","1.7.1":"2019-05-22T05:52:59.656Z","1.7.2":"2019-05-24T11:54:26.240Z","1.8.0-alpha.927cda80":"2019-06-21T12:17:39.141Z","1.7.3":"2019-06-21T13:57:47.593Z","1.8.0-alpha.45d252ad":"2019-09-10T11:16:14.529Z","1.8.0-alpha.d76f9e77":"2019-09-11T14:03:13.348Z","1.8.0":"2019-09-11T14:23:20.771Z","1.9.0-alpha.de6422b2":"2019-12-13T13:22:17.758Z","1.9.0-alpha.6f01208d":"2019-12-13T13:31:34.744Z","1.9.0-alpha.d01aa8c1":"2019-12-13T13:36:42.891Z","1.9.0":"2019-12-13T13:46:05.587Z","1.10.0-alpha.08fb11ff":"2019-12-13T14:54:58.210Z","1.9.1":"2019-12-13T14:57:17.939Z","1.10.0-alpha.0d262455":"2020-01-22T08:47:50.850Z","1.10.0":"2020-01-22T10:16:50.022Z","1.11.0-alpha.333b3c4b":"2020-03-26T20:44:23.595Z","1.11.0-alpha.75aa725c":"2020-03-27T07:13:45.455Z","1.11.0":"2020-03-27T07:50:52.840Z","1.12.0-alpha.2879bfac":"2020-04-14T07:21:16.610Z","1.12.0-alpha.be5c588d":"2020-04-14T12:55:48.472Z","1.11.1":"2020-04-14T13:14:21.737Z","1.12.0-alpha.d01f3c1e":"2020-06-30T09:20:49.170Z","1.12.0-beta.0":"2020-07-07T21:01:42.349Z","1.12.0-alpha.0a599371":"2020-07-13T11:05:48.575Z","1.12.0-alpha.0981c1ec":"2020-07-13T11:58:08.207Z","1.12.0-alpha.20d5bd8a":"2020-07-13T13:49:34.117Z","1.12.0":"2020-07-13T14:52:11.424Z","1.13.0-alpha.0974e0c2":"2020-07-14T15:15:17.746Z","1.12.1-beta.2":"2020-07-25T18:28:40.692Z","1.13.0-beta.0":"2020-10-09T09:09:33.200Z","1.13.0-beta.1":"2020-10-09T09:58:22.236Z","1.13.0-beta.2":"2020-10-09T11:03:39.779Z","1.13.0":"2020-10-09T12:24:20.161Z","1.13.2":"2020-10-09T13:00:43.327Z","1.13.3":"2020-10-09T19:25:01.282Z","1.13.4":"2020-10-09T21:38:02.345Z","1.13.5-beta.0":"2020-10-16T14:05:31.206Z","1.13.5-beta.1":"2020-10-19T06:27:38.057Z","1.13.5":"2020-10-19T06:49:14.162Z","1.14.0-beta.1":"2020-10-26T21:03:28.948Z","1.14.0-beta.2":"2020-10-27T08:02:02.363Z","1.13.6-beta.0":"2020-10-27T09:16:56.138Z","1.13.7":"2020-10-27T09:34:25.662Z","1.14.0-beta.3":"2020-12-31T17:26:29.800Z","1.14.0-beta.7":"2021-02-10T20:56:46.913Z","1.14.0-beta.8":"2021-03-08T16:36:39.031Z","1.14.0":"2021-03-08T17:13:11.230Z","1.15.0-beta.0":"2021-06-07T08:29:21.414Z","1.15.0":"2021-06-07T12:15:14.943Z","1.16.0-beta.0":"2021-09-05T20:09:04.569Z","1.16.0-beta.1":"2021-09-07T20:03:28.614Z","1.16.0-beta.2":"2021-10-04T19:16:54.876Z","1.16.0-beta.3":"2021-10-05T11:31:03.644Z","1.16.0-beta.4":"2021-10-05T12:41:25.873Z","1.16.0-beta.5":"2021-10-05T20:59:59.336Z","1.16.0-beta.6":"2021-10-06T14:03:03.888Z","1.16.0":"2021-10-06T15:05:24.200Z","1.16.1-beta.1":"2021-10-12T09:00:38.246Z","1.16.1":"2021-10-12T18:44:27.787Z","1.16.3":"2021-10-13T14:01:36.549Z","1.17.0-beta.1":"2021-10-29T08:47:11.848Z","1.17.1":"2021-10-29T09:02:24.538Z","1.17.2":"2021-11-01T20:06:11.564Z","1.17.3-alpha.1":"2021-11-05T23:19:20.624Z","1.17.3-alpha.2":"2021-11-07T19:52:12.155Z","1.17.3-alpha.3":"2021-11-07T20:42:38.490Z","1.17.3-alpha.4":"2021-11-07T22:08:45.033Z","1.17.3-alpha.5":"2021-11-10T21:11:43.512Z","1.17.3-alpha.6":"2021-11-11T20:10:55.318Z","1.17.3-alpha.7":"2021-11-11T21:40:09.762Z","1.17.3-alpha.8":"2021-11-17T21:10:57.341Z","1.17.3-alpha.9":"2021-11-30T22:06:11.421Z","1.17.3-alpha.10":"2021-12-02T22:37:18.460Z","1.17.3-alpha.11":"2021-12-02T22:46:53.063Z","1.17.3-alpha.12":"2021-12-04T07:50:37.149Z","1.17.3-alpha.14":"2021-12-07T23:01:58.966Z","1.17.3-alpha.15":"2021-12-09T23:10:10.603Z","1.17.3-alpha.16":"2021-12-27T21:48:48.880Z","1.17.3-alpha.17":"2021-12-30T19:40:06.612Z","1.17.3-alpha.18":"2022-01-02T22:29:40.473Z","1.17.3-alpha.19":"2022-01-08T22:02:55.926Z","1.17.3-alpha.20":"2022-01-10T22:00:23.403Z","1.17.3-alpha.21":"2022-01-11T22:36:49.835Z","1.17.3-alpha.22":"2022-01-19T21:25:08.799Z","1.17.3-alpha.23":"2022-02-10T11:56:07.672Z","1.17.3-alpha.24":"2022-02-10T14:11:33.648Z","1.17.3-alpha.25":"2022-02-10T16:21:46.047Z","1.17.3-alpha.26":"2022-02-10T17:05:52.562Z","1.18.0":"2022-02-10T17:14:38.712Z","1.18.1-alpha.1":"2022-02-14T22:43:11.650Z","1.18.1":"2022-02-15T07:40:27.651Z","1.18.1-alpha.2":"2022-02-20T18:51:11.524Z","1.18.1-alpha.3":"2022-02-22T22:36:15.052Z","1.18.2":"2022-02-23T09:17:51.784Z","1.18.3":"2022-02-23T10:29:59.949Z","1.18.4":"2022-02-24T09:57:28.108Z","1.18.5-alpha.1":"2022-03-09T21:17:37.824Z","1.18.5-alpha.2":"2022-03-30T21:12:55.354Z","1.18.5-alpha.3":"2022-04-19T21:20:03.968Z","1.18.5-alpha.4":"2022-04-20T21:10:59.885Z","1.19.0":"2022-04-21T09:34:10.598Z","1.19.1":"2022-04-25T07:42:53.654Z","1.20.0-alpha.1":"2022-08-19T10:39:58.246Z","1.20.0-alpha.2":"2022-09-01T20:19:01.807Z","1.20.0-alpha.3":"2022-09-20T19:53:54.748Z","1.20.0-alpha.4":"2022-10-07T14:22:38.427Z","1.20.0":"2022-10-07T15:05:02.891Z","1.21.0-alpha.1":"2023-01-09T20:03:05.546Z","1.21.0-alpha.2":"2023-01-12T20:24:15.260Z","1.21.0":"2023-01-13T13:13:58.884Z","1.21.1":"2023-01-13T13:45:20.732Z","1.22.0-alpha.1":"2023-02-05T21:26:10.320Z","1.22.0-alpha.2":"2023-02-09T21:10:46.933Z","1.22.0-alpha.3":"2023-04-05T05:58:53.158Z","1.22.0-alpha.4":"2023-04-09T10:37:23.315Z","1.22.0-alpha.5":"2023-04-11T20:09:43.020Z","1.22.0-alpha.6":"2023-04-12T21:03:20.064Z","1.22.0":"2023-04-13T13:47:36.822Z","1.22.1":"2023-04-19T06:06:46.850Z","1.22.2":"2023-04-24T18:36:12.701Z","1.22.3":"2023-04-26T14:34:25.528Z"},"repository":{"type":"git","url":"git+https://github.com/swissquote/crafty.git"},"license":"Apache-2.0","readmeFilename":"README.md","homepage":"https://github.com/swissquote/crafty#readme","bugs":{"url":"https://github.com/swissquote/crafty/issues"}}