{"_id":"resin-config-karma","_rev":"31-f30ddddfc59327b3e1ac4d4d64bf5cb9","name":"resin-config-karma","description":"Base Resin.io Karma Test Runner configuration","dist-tags":{"latest":"2.3.1","upgrade-depenencies-df12ca46023a4f68ee56744d3e0fc2f3adde502f":"3.0.0-upgrade-depenencies-df12ca46023a4f68ee56744d3e0fc2f3adde502f"},"versions":{"1.0.0":{"name":"resin-config-karma","version":"1.0.0","main":"karma.js","description":"Base Resin.io Karma Test Runner configuration","homepage":"https://github.com/resin-io/resin-config-karma","scripts":{"prepublish":"npm run-script lint","lint":"jshint --config .jshintrc --reporter unix *.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/resin-io/resin-config-karma.git"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"jshint":"^2.9.1"},"dependencies":{"browserify":"^13.0.0","coffeeify":"^2.0.1","karma":"^0.13.19","karma-browserify":"^5.0.1","karma-mocha":"^0.2.1","karma-phantomjs-launcher":"^1.0.0","karma-sauce-launcher":"^0.3.0","mocha":"^2.4.5","phantomjs-prebuilt":"^2.1.3","watchify":"^3.7.0"},"gitHead":"b5d31be3ccb9d056265f78e00cf0e14f6864896e","bugs":{"url":"https://github.com/resin-io/resin-config-karma/issues"},"_id":"resin-config-karma@1.0.0","_shasum":"b218334e71927d5f5aba7c83cb0fc99af729b4ab","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"b218334e71927d5f5aba7c83cb0fc99af729b4ab","tarball":"https://registry.npmjs.org/resin-config-karma/-/resin-config-karma-1.0.0.tgz","integrity":"sha512-7A0Qlefj5eeIpw41Hb9kRSIu+pyAll03R8fwvUDNGLsRWj2N3jCcgX7eVa0/00uM3JH7Osmqc+DgzYnVgoHDtQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8I7sRI5heMeEiGCuhFL978GCQZAdeHGM8BUlhh4mlbgIgNUC+GCsTBAhE8LTOPPzmKUYvXjVhr1yP5IDR0mpRymE="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/resin-config-karma-1.0.0.tgz_1454600368591_0.5397730977274477"},"directories":{},"deprecated":"resin-config-karma is deprecated, please use balena-config-karma instead"},"1.0.1":{"name":"resin-config-karma","version":"1.0.1","main":"karma.js","description":"Base Resin.io Karma Test Runner configuration","homepage":"https://github.com/resin-io/resin-config-karma","scripts":{"prepublish":"npm run-script lint","lint":"jshint --config .jshintrc --reporter unix *.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/resin-io/resin-config-karma.git"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"jshint":"^2.9.1"},"dependencies":{"browserify":"^12.0.0","coffeeify":"^2.0.1","karma":"^0.13.19","karma-browserify":"^5.0.1","karma-mocha":"^0.2.1","karma-phantomjs-launcher":"^1.0.0","karma-sauce-launcher":"^0.3.0","mocha":"^2.4.5","phantomjs-prebuilt":"^2.1.3","watchify":"^3.7.0"},"gitHead":"5da09f8a4f82bf616695cf90dd4da4caafedf575","bugs":{"url":"https://github.com/resin-io/resin-config-karma/issues"},"_id":"resin-config-karma@1.0.1","_shasum":"07e058f16e9ad3501bc2e6473e8de47cba941b1c","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"07e058f16e9ad3501bc2e6473e8de47cba941b1c","tarball":"https://registry.npmjs.org/resin-config-karma/-/resin-config-karma-1.0.1.tgz","integrity":"sha512-ExSaOD/jxLW5SQjriYjrysQlyQbEn8+ZrNDl28njLWzhKBFcZQ1XGtSGt1bKddEU0J48kzcMrYjm/gJ8BduUdg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYfE6H/B6vauFcp6RxJH3sscYsHjy5FgHg/enCM4GIfQIhAKy9ALB0TVls/tsWeT48IX0aYuuYh13J/7+bcR5tZR/Q"}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/resin-config-karma-1.0.1.tgz_1454600945222_0.04362624837085605"},"directories":{},"deprecated":"resin-config-karma is deprecated, please use balena-config-karma instead"},"1.0.2":{"name":"resin-config-karma","version":"1.0.2","main":"karma.js","description":"Base Resin.io Karma Test Runner configuration","homepage":"https://github.com/resin-io/resin-config-karma","scripts":{"prepublish":"npm run-script lint","lint":"jshint --config .jshintrc --reporter unix *.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/resin-io/resin-config-karma.git"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"jshint":"^2.9.1"},"dependencies":{"browserify":"^12.0.0","coffeeify":"^2.0.1","karma":"^0.13.19","karma-browserify":"^5.0.1","karma-mocha":"^0.2.1","karma-phantomjs-launcher":"^1.0.0","karma-sauce-launcher":"^0.3.0","mocha":"^2.4.5","phantomjs-prebuilt":"^2.1.3","watchify":"^3.7.0"},"gitHead":"1589b0fc5579f83691080a8029946c5204ee424e","bugs":{"url":"https://github.com/resin-io/resin-config-karma/issues"},"_id":"resin-config-karma@1.0.2","_shasum":"417f6948a9a7818a5e339a91c0f2659a337f2d63","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"417f6948a9a7818a5e339a91c0f2659a337f2d63","tarball":"https://registry.npmjs.org/resin-config-karma/-/resin-config-karma-1.0.2.tgz","integrity":"sha512-lMMIToO+BdjAshpcayUfm1p/ONRuwlKJziCe5FJfbaHa7bCdEIxqDeFwN8hF+jvduQIwfll8f3Z5bHJYqYOyvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8gWbTNgXv7vKz/BtMht1H5GiZDrSFnUZwP9lJo+loQQIgY1iHbjR5OCMe0jOAI8F7TzTGyvShEqBk8nKcnXvrCqo="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/resin-config-karma-1.0.2.tgz_1455815165187_0.8498888269532472"},"directories":{},"deprecated":"resin-config-karma is deprecated, please use balena-config-karma instead"},"1.0.3":{"name":"resin-config-karma","version":"1.0.3","main":"karma.js","description":"Base Resin.io Karma Test Runner configuration","homepage":"https://github.com/resin-io/resin-config-karma","scripts":{"prepublish":"npm run-script lint","lint":"jshint --config .jshintrc --reporter unix *.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/resin-io/resin-config-karma.git"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"jshint":"^2.9.1"},"dependencies":{"browserify":"^12.0.0","coffeeify":"^2.0.1","karma":"^0.13.19","karma-browserify":"^5.0.1","karma-mocha":"^0.2.1","karma-phantomjs-launcher":"^1.0.0","karma-sauce-launcher":"^0.3.0","mocha":"^2.4.5","phantomjs-prebuilt":"^2.1.3","watchify":"^3.7.0"},"gitHead":"effe044438d15ebab0633d5439d30902e0346ae6","bugs":{"url":"https://github.com/resin-io/resin-config-karma/issues"},"_id":"resin-config-karma@1.0.3","_shasum":"f4414753df3c914ff0b315e2a5a5f29106f772af","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"f4414753df3c914ff0b315e2a5a5f29106f772af","tarball":"https://registry.npmjs.org/resin-config-karma/-/resin-config-karma-1.0.3.tgz","integrity":"sha512-s9WMrs2qAW+Ofyq+TYQDy96zwbGsGUzO0mRhKHSs4x6gcBvdlDeq+8jlX4LZFObswcTaE11EWUy0ptMBxH8jgw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOCSloWPax0nKRQkqhCdf65l6b+kTUEsRXsF2iAUKO7QIgThZqcyQwcmjTpsQBsD4JBck2T4ak0rIxC888moaALYQ="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/resin-config-karma-1.0.3.tgz_1455816037728_0.20158820343203843"},"directories":{},"deprecated":"resin-config-karma is deprecated, please use balena-config-karma instead"},"1.0.4":{"name":"resin-config-karma","version":"1.0.4","main":"karma.js","description":"Base Resin.io Karma Test Runner configuration","homepage":"https://github.com/resin-io/resin-config-karma","scripts":{"prepublish":"npm run-script lint","lint":"jshint --config .jshintrc --reporter unix *.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/resin-io/resin-config-karma.git"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"jshint":"^2.9.1"},"dependencies":{"browserify":"^12.0.0","coffeeify":"^2.0.1","karma":"^0.13.19","karma-browserify":"^5.0.1","karma-mocha":"^0.2.1","karma-phantomjs-launcher":"^1.0.0","karma-sauce-launcher":"^0.3.0","mocha":"^2.4.5","phantomjs-prebuilt":"^2.1.3","watchify":"^3.7.0"},"gitHead":"81c265fbf140b9c8cf0f7a4de1fa8349835e1de8","bugs":{"url":"https://github.com/resin-io/resin-config-karma/issues"},"_id":"resin-config-karma@1.0.4","_shasum":"93c632c2bd86e5ce77134c2cd509550cbca6af55","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"93c632c2bd86e5ce77134c2cd509550cbca6af55","tarball":"https://registry.npmjs.org/resin-config-karma/-/resin-config-karma-1.0.4.tgz","integrity":"sha512-LmGHsFnOTqDL8wFBQBn/RrSl7jexSKU/Y9SWa1x8e9nZH/Qwie6cDtdT1UGEiBh9+UmJ+xX3sxfDqOwFthrY3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB93/hEvB2l5yDrs1MAt2+KQD3m8kjpKXAyhuJWRNugeAiEAl6bCFtY0rEjhPLMDiBeaCH+xxrcqGoaNan8VW3EHXUk="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/resin-config-karma-1.0.4.tgz_1455816922828_0.1635114022064954"},"directories":{},"deprecated":"resin-config-karma is deprecated, please use balena-config-karma instead"},"2.0.0":{"name":"resin-config-karma","version":"2.0.0","main":"karma.js","description":"Base Resin.io Karma Test Runner configuration","homepage":"https://github.com/resin-io-modules/resin-config-karma","scripts":{"prepublish":"npm run-script lint","lint":"jshint --config .jshintrc --reporter unix *.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/resin-io-modules/resin-config-karma.git"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"jshint":"^2.9.1"},"dependencies":{"awesome-typescript-loader":"^3.2.2","babel-core":"^6.25.0","babel-loader":"^7.1.1","babel-polyfill":"^6.23.0","babel-preset-env":"^1.6.0","babel-preset-es2015":"^6.24.1","karma":"^1.7.0","karma-chrome-launcher":"^2.2.0","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sauce-launcher":"^1.1.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.4","mocha":"^3.4.0","webpack":"^3.3.0"},"gitHead":"de8ac4144ac5f6312ba5d4675ac05f0b0eebe220","bugs":{"url":"https://github.com/resin-io-modules/resin-config-karma/issues"},"_id":"resin-config-karma@2.0.0","_shasum":"c6d926ed92d7f7599077ea47a31325465744aed6","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"c6d926ed92d7f7599077ea47a31325465744aed6","tarball":"https://registry.npmjs.org/resin-config-karma/-/resin-config-karma-2.0.0.tgz","integrity":"sha512-UKLjE3ca/Ydpq7r5yauLqD/pWzJHuBFKbgSA94Mk8Jj+oNYy48rnAkMOvcI6IGxf2dEGpc3n5tHRfT8Z1hd1cw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDogfWF1WsPJK1o77pmjTYoFEBJlKWXjyQWqlacqtv/pQIhAOEIdRyW4fh3Z8vPW5zNrg4Vr8d16iFinG8yFnKsv8JS"}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-config-karma-2.0.0.tgz_1501679273983_0.30332065210677683"},"directories":{},"deprecated":"resin-config-karma is deprecated, please use balena-config-karma instead"},"2.1.0":{"name":"resin-config-karma","version":"2.1.0","main":"karma.js","description":"Base Resin.io Karma Test Runner configuration","homepage":"https://github.com/resin-io-modules/resin-config-karma","scripts":{"prepublish":"npm run-script lint","lint":"jshint --config .jshintrc --reporter unix *.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/resin-io-modules/resin-config-karma.git"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"jshint":"^2.9.1"},"dependencies":{"awesome-typescript-loader":"^3.2.2","babel-core":"^6.25.0","babel-loader":"^7.1.1","babel-polyfill":"^6.23.0","babel-preset-env":"^1.6.0","babel-preset-es2015":"^6.24.1","karma":"^1.7.0","karma-chrome-launcher":"^2.2.0","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sauce-launcher":"^1.1.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.4","mocha":"^3.4.0","webpack":"^3.3.0"},"gitHead":"6ad1417269c8d83398303e9a7d0207ca7f4a53b8","bugs":{"url":"https://github.com/resin-io-modules/resin-config-karma/issues"},"_id":"resin-config-karma@2.1.0","_shasum":"eced015f8951dfc3cbfb4e39edd73e7c65400a6c","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.11.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"eced015f8951dfc3cbfb4e39edd73e7c65400a6c","tarball":"https://registry.npmjs.org/resin-config-karma/-/resin-config-karma-2.1.0.tgz","integrity":"sha512-Ws93BGbw0Ncak1EUlxo7u8etV5BqfsrpH5joxydBMDvnGRcvXWDSUcTIU83ThiQlOtqtMAUGWML+TOkzxGFDIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGRXN6wbzJLF3WUaUwnYxcs2Vo+7HguZkeJlrW8egvQUAiEAkPfOtIAZK7UXQnEWBaGC3bZWNBtt25fzgGTJzTWqqPg="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-config-karma-2.1.0.tgz_1510564060678_0.3999573141336441"},"directories":{},"deprecated":"resin-config-karma is deprecated, please use balena-config-karma instead"},"2.2.0-coffee-support-86e0015cdc57e9794352b5b6b3632118f607415f":{"name":"resin-config-karma","version":"2.2.0-coffee-support-86e0015cdc57e9794352b5b6b3632118f607415f","main":"karma.js","description":"Base Resin.io Karma Test Runner configuration","homepage":"https://github.com/resin-io-modules/resin-config-karma","scripts":{"prepublish":"npm run-script lint","lint":"jshint --config .jshintrc --reporter unix *.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/resin-io-modules/resin-config-karma.git"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"jshint":"^2.9.1"},"dependencies":{"awesome-typescript-loader":"^3.2.2","babel-core":"^6.25.0","babel-loader":"^7.1.1","babel-polyfill":"^6.23.0","babel-preset-env":"^1.6.0","babel-preset-es2015":"^6.24.1","coffee-loader":"^0.9.0","karma":"^1.7.0","karma-chrome-launcher":"^2.2.0","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sauce-launcher":"^1.1.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.4","mocha":"^3.4.0","webpack":"^3.3.0"},"readme":"resin-config-karma\n==================\n\n> Base Resin.io Karma Test Runner configuration\n\n[![npm version](https://badge.fury.io/js/resin-config-karma.svg)](http://badge.fury.io/js/resin-config-karma)\n[![dependencies](https://david-dm.org/resin-io-modules/resin-config-karma.svg)](https://david-dm.org/resin-io-modules/resin-config-karma.svg)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nInstallation\n------------\n\nInstall `resin-config-karma` by running:\n\n```sh\n$ npm install --save-dev resin-config-karma\n```\n\nSetup\n-----\n\nThis module aims to provide a base [Karma](https://karma-runner.github.io) configuration for Resin.io NPM modules.\nIt's preconfigured with the following assumptions about the modern resin.io modules structure:\n- The distribution files are located in the `build` folder (typically created by building the TS or ES6+ sources)\nand have the `.js` extension.\n- The sources are located in `src` or `lib` folder and are in JS (ES) or TS.\n- The test specs are located in the `tests` folder and have the double `.spec.js` or `.spec.ts` extension.\n- The tests are importing the distribution or the source files.\nIt's recommended to simply import the root of the project and let `node` decide what to do, as in the real usage scenario.\nIt has the benefit of importing TS if the `types` entry is properly configured in `package.json`.\n\nIt supports the following features:\n- Webpack transform for the tests bundle with ES2015 support and sourcemaps.\n- Test are run in headless Chrome.\n- SauceLabs configuration.\n- Mocha support.\n- CI mode enabled by default.\n\nThe module exposes a function returning the Karma configuration object\nthat you can pass to `config.set()` yourself.\n\nTo get started, create a `karma.conf.js` in the root of your project:\n\n```js\nvar getKarmaConfig = require('resin-config-karma');\nvar packageJSON = require('./package.json');\n\nmodule.exports = function(config) {\n  var karmaConfig = getKarmaConfig(packageJSON /*, { wepbackConfig: optionalCustomWebpackConfig, slLaunchers: optionalCustomSauceLabsLaunchers }*/)\n\n  // Notice you can override the default options as you wish\n  karmaConfig.logLevel = config.LOG_INFO;\n\n  config.set(karmaConfig);\n};\n```\n\nAnd run `karma start`.\n\nSauceLabs\n---------\n\nThis configuration allows to easily setup your tests to run in SauceLabs by setting the following environment variables:\n\n```sh\nexport SAUCE_LABS=true\nexport SAUCE_USERNAME=<username>\nexport SAUCE_ACCESS_KEY=<access key>\n```\n\nIf `SAUCE_LABS` is not set, `karma` will only run the tests locally on Chrome.\n\nBrowsers\n--------\n\nThe local tests run in the headless Chrome.\n\nTo run them locally you need Chrome >= 59 installed.\n\nTo run them on Travis add the following lines to your `.travis.yml` file:\n\n```yaml\ndist: trusty\nsudo: false\naddons:\n  chrome: stable\n```\n\n*Note:* change `false` to `required` if you need sudo for your tests, see [the Travis Trusty docs](https://docs.travis-ci.com/user/reference/trusty/#Using-Trusty) and [the Travis container-based infrastructure docs](https://docs.travis-ci.com/user/migrating-from-legacy) for more details.\n\nAppVeyor has the the proper Chrome version preinstalled.\n\nThe SauceLabs tests run in the browsers specified in [launchers.json](https://github.com/resin-io-modules/resin-config-karma/blob/master/launchers.json).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/resin-config-karma/issues/new) on GitHub and the Resin.io team will be happy to help.\n","readmeFilename":"README.md","gitHead":"86e0015cdc57e9794352b5b6b3632118f607415f","bugs":{"url":"https://github.com/resin-io-modules/resin-config-karma/issues"},"_id":"resin-config-karma@2.2.0-coffee-support-86e0015cdc57e9794352b5b6b3632118f607415f","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-umOF4pdXZHjgp2M8VxjGdI0/syTA3gneULZAZzb0ncC0J4ItaqvrGVBkS2+zEIfAFWRzlQTfkEVadeG9GaICFg==","shasum":"0762bf87e0da21d422eac6e4497f2783bfc9fc96","tarball":"https://registry.npmjs.org/resin-config-karma/-/resin-config-karma-2.2.0-coffee-support-86e0015cdc57e9794352b5b6b3632118f607415f.tgz","fileCount":8,"unpackedSize":29302,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbm6avCRA9TVsSAnZWagAAOSAP/RIpMZmoX4l4bamP0YMD\nVg4MciZcfYHzOdu0N7VxrFLte0nVvMu5jWabShbRMF1wJkrej8cxcpkCx4RZ\nwyn6wpd2i9awDPgZ0cWCBv7mtwR+GEt3pDRERkxoX34y1OcfCRMdRYRvTF1U\n4bnVl9DgWQdO1BFaiypGAKV4r1V3E1Vn2g9DbeIaIJe8Z0e9TZuqZZ5aiz+h\nSFk+F7hxSJ8cNAhqA9nulk8rieJQyUA3p5wnAGktW6/J1jVcuPnh8J/USn7x\nY30S5OZ4DSYiWQnxywcPm2MV5fbnXhAgBYJ6krGhLAstwkT+HQlTbwu4nsH6\nz5GP2td68rfjCQkN+F9xfuBE3VKYKkLIO5dL06QckblKog8yKwgIazFVB2g/\nCDacGdLwbZ4zfNMcgHPcXNgjSMW+ZxU+6UQk83F0lJ+KYGxTKAmZFd6HWJZa\nTAGNwa2rQTTZqIXQRSws49yueJRNHjG763d+FNNUDC/gDrt0fzWVAEaEO1dL\ns5Qlse9pvvAb5Qv7624C2u1BotxGG+tfVnvWw9MEP1WnJ+e9fWB5Xmv5P6sV\nTQbl5fl0Ag6rhuig2VV7Mg26A5GXIiySQSr7uiW8AkXajTT1ajTq96tBvDvw\nQyJVtYvCr1RzhzFagAvWR0TXL35tjpObP6hUQxi4Zr0is9iVJwWw2iSySsGl\n/kSy\r\n=Z8+p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIECb43l0jaXJ6rlkoZarochCYBUJ+VqspEwHwPXKid7hAiEAnuQjMnGcPYjJyeaxsUPxB2ZRrLj9g1Id0bFL5YoHd5Q="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-config-karma_2.2.0-coffee-support-86e0015cdc57e9794352b5b6b3632118f607415f_1536927407354_0.7584152423778319"},"_hasShrinkwrap":false},"2.2.0-coffee-support-523c982f88530ab70ba813ce26e9b1a53c678be6":{"name":"resin-config-karma","version":"2.2.0-coffee-support-523c982f88530ab70ba813ce26e9b1a53c678be6","main":"karma.js","description":"Base Resin.io Karma Test Runner configuration","homepage":"https://github.com/resin-io-modules/resin-config-karma","scripts":{"prepublish":"npm run-script lint","lint":"jshint --config .jshintrc --reporter unix *.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/resin-io-modules/resin-config-karma.git"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"jshint":"^2.9.1"},"dependencies":{"awesome-typescript-loader":"^3.2.2","babel-core":"^6.25.0","babel-loader":"^7.1.1","babel-polyfill":"^6.23.0","babel-preset-env":"^1.6.0","babel-preset-es2015":"^6.24.1","coffee-loader":"^0.9.0","karma":"^1.7.0","karma-chrome-launcher":"^2.2.0","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sauce-launcher":"^1.1.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.4","mocha":"^3.4.0","webpack":"^3.3.0"},"readme":"resin-config-karma\n==================\n\n> Base Resin.io Karma Test Runner configuration\n\n[![npm version](https://badge.fury.io/js/resin-config-karma.svg)](http://badge.fury.io/js/resin-config-karma)\n[![dependencies](https://david-dm.org/resin-io-modules/resin-config-karma.svg)](https://david-dm.org/resin-io-modules/resin-config-karma.svg)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nInstallation\n------------\n\nInstall `resin-config-karma` by running:\n\n```sh\n$ npm install --save-dev resin-config-karma\n```\n\nSetup\n-----\n\nThis module aims to provide a base [Karma](https://karma-runner.github.io) configuration for Resin.io NPM modules.\nIt's preconfigured with the following assumptions about the modern resin.io modules structure:\n- The distribution files are located in the `build` folder (typically created by building the TS or ES6+ sources)\nand have the `.js` extension.\n- The sources are located in `src` or `lib` folder and are in JS (ES) or TS.\n- The test specs are located in the `tests` folder and have the double `.spec.js` or `.spec.ts` extension.\n- The tests are importing the distribution or the source files.\nIt's recommended to simply import the root of the project and let `node` decide what to do, as in the real usage scenario.\nIt has the benefit of importing TS if the `types` entry is properly configured in `package.json`.\n\nIt supports the following features:\n- Webpack transform for the tests bundle with ES2015 support and sourcemaps.\n- Test are run in headless Chrome.\n- SauceLabs configuration.\n- Mocha support.\n- CI mode enabled by default.\n\nThe module exposes a function returning the Karma configuration object\nthat you can pass to `config.set()` yourself.\n\nTo get started, create a `karma.conf.js` in the root of your project:\n\n```js\nvar getKarmaConfig = require('resin-config-karma');\nvar packageJSON = require('./package.json');\n\nmodule.exports = function(config) {\n  var karmaConfig = getKarmaConfig(packageJSON /*, { wepbackConfig: optionalCustomWebpackConfig, slLaunchers: optionalCustomSauceLabsLaunchers }*/)\n\n  // Notice you can override the default options as you wish\n  karmaConfig.logLevel = config.LOG_INFO;\n\n  config.set(karmaConfig);\n};\n```\n\nAnd run `karma start`.\n\nSauceLabs\n---------\n\nThis configuration allows to easily setup your tests to run in SauceLabs by setting the following environment variables:\n\n```sh\nexport SAUCE_LABS=true\nexport SAUCE_USERNAME=<username>\nexport SAUCE_ACCESS_KEY=<access key>\n```\n\nIf `SAUCE_LABS` is not set, `karma` will only run the tests locally on Chrome.\n\nBrowsers\n--------\n\nThe local tests run in the headless Chrome.\n\nTo run them locally you need Chrome >= 59 installed.\n\nTo run them on Travis add the following lines to your `.travis.yml` file:\n\n```yaml\ndist: trusty\nsudo: false\naddons:\n  chrome: stable\n```\n\n*Note:* change `false` to `required` if you need sudo for your tests, see [the Travis Trusty docs](https://docs.travis-ci.com/user/reference/trusty/#Using-Trusty) and [the Travis container-based infrastructure docs](https://docs.travis-ci.com/user/migrating-from-legacy) for more details.\n\nAppVeyor has the the proper Chrome version preinstalled.\n\nThe SauceLabs tests run in the browsers specified in [launchers.json](https://github.com/resin-io-modules/resin-config-karma/blob/master/launchers.json).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/resin-config-karma/issues/new) on GitHub and the Resin.io team will be happy to help.\n","readmeFilename":"README.md","gitHead":"523c982f88530ab70ba813ce26e9b1a53c678be6","bugs":{"url":"https://github.com/resin-io-modules/resin-config-karma/issues"},"_id":"resin-config-karma@2.2.0-coffee-support-523c982f88530ab70ba813ce26e9b1a53c678be6","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-0YknzQ4CV4hxddV68dPaB82pl6L/05Tvg41aFyMEr3NxRQIHKWArBXLjl+evmG0ZBhQouHyfEMsIR0Vr+BDu5g==","shasum":"e4175cf9cb86b0ddb86618ff984def4e577c09a9","tarball":"https://registry.npmjs.org/resin-config-karma/-/resin-config-karma-2.2.0-coffee-support-523c982f88530ab70ba813ce26e9b1a53c678be6.tgz","fileCount":8,"unpackedSize":29441,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbm6kCCRA9TVsSAnZWagAAg60QAIV+ZUNhg6ow7frxBF1J\nBZsQiJnRWnX0cmf1SN9yHJS/CTJC0Omv8WQzUBu/F5L8UuyR2yjg/Kn+7wxY\niw4dtKhhgdbXkJglBCBDII9VJz2M1NmqAJ7Xqd/fW/J0fK0pSbZxkQfrhHC1\nwvrDGydFJKoLpDRJSTAb+mqSQzMQQ7W8DGT4SLOkTWvxJbax7qPBtVHPzba6\njLIBMvchkaP0r4HG9rszgotEkjzPMzoyWF6WdNZWP6awSyly/3/glXO9drfe\nFQ+7C70dDvj1swGRHKjtsKEHVVZ4SFQO4XWdF7MkYYphMqhKvlRfAVB/Swfj\nru5JqCiGDW7wExtiSDYR6WWsxr/nv5rKuU47ZOiwbAKhSV8PxwGDuSzPHMl+\np7a21SzmWLs1bastDpH/bn6TOl1DcOXmIeQryo1yKyj/6nlgn1n6DW/QgiKj\nUMmfGxP69KSxWoFtujGLp2yUR/n/4w+HFHSKtiuFvaqw9Eybv4lS8ZEJfhMj\ndjxGOwUiNT5Yf096065cbXGaKHpB2B8CYDZ5EzmXP+CfhZcHUvRTbeyT++d0\n89JKDUGhsrH9SHXqAJiV+Q3Imxk4jP3UUpbbuAHgbs3k8tRnlRWIuoQCDBtG\ntwSZljbYmvTRaIluw3HU9H2EEJCOKjIRHKoNh76iU9kG7VpGqPiOJsXwAV2U\n+FVi\r\n=Pru4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGOL310XlQFjPuA8LLUr6nYGLEcC4TzcNHM8ZduT5BeNAiBv7ljDYf1Mmt4d59OB1B8F4QoBhsbQK/Cy4lmntGrSlg=="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-config-karma_2.2.0-coffee-support-523c982f88530ab70ba813ce26e9b1a53c678be6_1536928001575_0.9010062755334065"},"_hasShrinkwrap":false},"2.2.0":{"name":"resin-config-karma","version":"2.2.0","main":"karma.js","description":"Base Resin.io Karma Test Runner configuration","homepage":"https://github.com/resin-io-modules/resin-config-karma","scripts":{"prepublish":"npm run-script lint","lint":"jshint --config .jshintrc --reporter unix *.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/resin-io-modules/resin-config-karma.git"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"jshint":"^2.9.1"},"dependencies":{"awesome-typescript-loader":"^3.2.2","babel-core":"^6.25.0","babel-loader":"^7.1.1","babel-polyfill":"^6.23.0","babel-preset-env":"^1.6.0","babel-preset-es2015":"^6.24.1","coffee-loader":"^0.9.0","karma":"^1.7.0","karma-chrome-launcher":"^2.2.0","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sauce-launcher":"^1.1.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.4","mocha":"^3.4.0","webpack":"^3.3.0"},"gitHead":"23098c08df8d8d324a94f244eb0bb04f647d79bb","bugs":{"url":"https://github.com/resin-io-modules/resin-config-karma/issues"},"_id":"resin-config-karma@2.2.0","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-gk5xQ9ETj4JD5iRWbEGlr2KghpvjzZW1zuQD6iT1dU54cr31OST8/7gwsmZwalG7QxxyxDPK5JM05Wiaan0PxQ==","shasum":"04f42ae17dd1d4823eb52a43d0d213dc57d2acd1","tarball":"https://registry.npmjs.org/resin-config-karma/-/resin-config-karma-2.2.0.tgz","fileCount":8,"unpackedSize":29385,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbm6t5CRA9TVsSAnZWagAA7KMP/1kGAYxXpklhtS2fWJyB\n9+c7aJqncfMLsG83EY+z6RG9oNNceTIHZLc+B7YELczK4Fr4stSTgufRgjpv\nuSPQvouRtqUgtPKxShfZSnNTXDpFyXe+nto2GXKqkww43/Lq/5t7M0XTvKSH\nwXtg2llAvWbJk2jJ2zEFaS/WHBZv21lI3W/njRqAbdJadb0f+9dPufpIHKl4\nL6NThiVdvab5IxFeRVE5PL6y82+iwP7uIDtKMyizah9csVU0iIXVIcrT6FZO\no2f4TrFP8G5Q+vHBUgYZdHzuMy1t6XaIkuqSXfWYYf26Bcf5JNweBXhn5spM\nZxV69ZqML7l7Uz7eNBQaDIdHBkzn5P0kDgrcOLj2mQWuz4SeI3Q/HFA+jlmb\nl8f5zxJaynndZQ3IwrhL5DKSYzipuOvholndeWY4ypveZzcCW9FrYy3jJjhq\nCkNF9N175RBkKhGNQkcRLqp58Gi9rXAq16Jso8hYdcTLo9qzdbaQUyhRmvXt\ndiR+Og42ijioQplYnz5RYtsFKuziBK/H/ZJlsz9dbpmqhOjiQLXKOY3q1hzp\neTSkpYqs5hLAOjDWjmN+vII3iwG0Fimr+ExoV1gUEy0oSSZXmij0m7hdacoa\n64oO8X8Ul0+Z6ZIndCxFBNg/gsiSkJ/lfOJR/a/qAQHxxgrsAFd37D26I1VU\nVaoQ\r\n=FV2v\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6n2Z45BDGemwzebxRMxOYhatA9lXqDqbsiAmhLLe+bQIgZWsJjV7Zdil7ZxvHe/6MU4cNJFKba1CyqMK5XnQ2Bbw="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-config-karma_2.2.0_1536928632662_0.476092993029007"},"_hasShrinkwrap":false,"deprecated":"resin-config-karma is deprecated, please use balena-config-karma instead"},"2.2.0-resin-ci-chrome-support-8a1f085cd953355d0a8b1ce024c2e6eecd74d0b6":{"name":"resin-config-karma","version":"2.2.0-resin-ci-chrome-support-8a1f085cd953355d0a8b1ce024c2e6eecd74d0b6","main":"karma.js","description":"Base Resin.io Karma Test Runner configuration","homepage":"https://github.com/resin-io-modules/resin-config-karma","scripts":{"prepublish":"npm run-script lint","lint":"jshint --config .jshintrc --reporter unix *.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/resin-io-modules/resin-config-karma.git"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"jshint":"^2.9.1"},"dependencies":{"awesome-typescript-loader":"^3.2.2","babel-core":"^6.25.0","babel-loader":"^7.1.1","babel-polyfill":"^6.23.0","babel-preset-env":"^1.6.0","babel-preset-es2015":"^6.24.1","karma":"^1.7.0","karma-chrome-launcher":"^2.2.0","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sauce-launcher":"^1.1.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.4","mocha":"^3.4.0","webpack":"^3.3.0"},"readme":"resin-config-karma\n==================\n\n> Base Resin.io Karma Test Runner configuration\n\n[![npm version](https://badge.fury.io/js/resin-config-karma.svg)](http://badge.fury.io/js/resin-config-karma)\n[![dependencies](https://david-dm.org/resin-io-modules/resin-config-karma.svg)](https://david-dm.org/resin-io-modules/resin-config-karma.svg)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nInstallation\n------------\n\nInstall `resin-config-karma` by running:\n\n```sh\n$ npm install --save-dev resin-config-karma\n```\n\nSetup\n-----\n\nThis module aims to provide a base [Karma](https://karma-runner.github.io) configuration for Resin.io NPM modules.\nIt's preconfigured with the following assumptions about the modern resin.io modules structure:\n- The distribution files are located in the `build` folder (typically created by building the TS or ES6+ sources)\nand have the `.js` extension.\n- The sources are located in `src` or `lib` folder and are in JS (ES) or TS.\n- The test specs are located in the `tests` folder and have the double `.spec.js` or `.spec.ts` extension.\n- The tests are importing the distribution or the source files.\nIt's recommended to simply import the root of the project and let `node` decide what to do, as in the real usage scenario.\nIt has the benefit of importing TS if the `types` entry is properly configured in `package.json`.\n\nIt supports the following features:\n- Webpack transform for the tests bundle with ES2015 support and sourcemaps.\n- Test are run in headless Chrome.\n- SauceLabs configuration.\n- Mocha support.\n- CI mode enabled by default.\n\nThe module exposes a function returning the Karma configuration object\nthat you can pass to `config.set()` yourself.\n\nTo get started, create a `karma.conf.js` in the root of your project:\n\n```js\nvar getKarmaConfig = require('resin-config-karma');\nvar packageJSON = require('./package.json');\n\nmodule.exports = function(config) {\n  var karmaConfig = getKarmaConfig(packageJSON /*, { wepbackConfig: optionalCustomWebpackConfig, slLaunchers: optionalCustomSauceLabsLaunchers }*/)\n\n  // Notice you can override the default options as you wish\n  karmaConfig.logLevel = config.LOG_INFO;\n\n  config.set(karmaConfig);\n};\n```\n\nAnd run `karma start`.\n\nSauceLabs\n---------\n\nThis configuration allows to easily setup your tests to run in SauceLabs by setting the following environment variables:\n\n```sh\nexport SAUCE_LABS=true\nexport SAUCE_USERNAME=<username>\nexport SAUCE_ACCESS_KEY=<access key>\n```\n\nIf `SAUCE_LABS` is not set, `karma` will only run the tests locally on Chrome.\n\nBrowsers\n--------\n\nThe local tests run in the headless Chrome.\n\nTo run them locally you need Chrome >= 59 installed.\n\nTo run them on Travis add the following lines to your `.travis.yml` file:\n\n```yaml\ndist: trusty\nsudo: false\naddons:\n  chrome: stable\n```\n\n*Note:* change `false` to `required` if you need sudo for your tests, see [the Travis Trusty docs](https://docs.travis-ci.com/user/reference/trusty/#Using-Trusty) and [the Travis container-based infrastructure docs](https://docs.travis-ci.com/user/migrating-from-legacy) for more details.\n\nAppVeyor has the the proper Chrome version preinstalled.\n\nThe SauceLabs tests run in the browsers specified in [launchers.json](https://github.com/resin-io-modules/resin-config-karma/blob/master/launchers.json).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/resin-config-karma/issues/new) on GitHub and the Resin.io team will be happy to help.\n","readmeFilename":"README.md","gitHead":"8a1f085cd953355d0a8b1ce024c2e6eecd74d0b6","bugs":{"url":"https://github.com/resin-io-modules/resin-config-karma/issues"},"_id":"resin-config-karma@2.2.0-resin-ci-chrome-support-8a1f085cd953355d0a8b1ce024c2e6eecd74d0b6","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-WphCd5RCFgVtHfUiV6bGnv1ABqPXkkjTKjwG5cyqcFz7EP/69HTtGxiffKpMyGR8o+kUOk9cuncbQ10favXlzQ==","shasum":"5713da5a2f57d97878384496e6066321a413783a","tarball":"https://registry.npmjs.org/resin-config-karma/-/resin-config-karma-2.2.0-resin-ci-chrome-support-8a1f085cd953355d0a8b1ce024c2e6eecd74d0b6.tgz","fileCount":8,"unpackedSize":29233,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbm6xTCRA9TVsSAnZWagAAGBIP/AihN+2/Qay74MG36/pv\nmq3cNUqxy4B7dXI5DFMkHdy3jM/qiDI/wpM/7JRM+nxI+3R7FJC2LNwyVdya\nZNy0tkgLip1bISNbV2FH3iS/cG4y4e6Ffk3iqbPHy874sO28ITkiMdzSYDQm\nYAHfVpRN3cLQO1vkrBFpnwcZlCVhRHI8pGR8BCqDMRmY/onv028TO67qB1R9\nbSwzy7El5NoZNcDKbtCz5H7Zbz0jbWEiYw2r5YcwogvIs+e5gjhMfmgxtN5k\nsc+i1ZQhTTU1UC1l3piRPEDaPNCA7LhP5e6xKgfh3+wPYP8T4gHPXBS4V6SI\n6PWgT8p8Eqs8TjTt5vFkGLTLIfhTtQIokRd66Y5YoBXE6GBDW3YwF8JwxG9l\nGTQctPc9sUXn9mI1GGrMIHPmzenHk4RkiKIuGSgW+iKZ4ajXR9OFaxoy00Af\n5g2amQz05WXTBebopg8mi3PUnvWFuACJzqBmEYJYweraOZkpvB59xVKwr3gh\nnkyDeYwf9r+tHNPVabLu/ol3BMOc6+OFoXFFfatzF2NsfwYBLGSdxe+Vr6BK\nQV2KyE509f6Dif7Vgm7a9XfA6DC66UuijfDEjnKCveHm54JxoDL/QNzWFzIy\n/LK3A3uPan9JZoAJ38FfZ21sLteTVZZcPNIAlIoTMDBBtYWgUFGY64nM7+4F\nQSOA\r\n=6Jx1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA4PBFi3K3imsUBf8sgB7D673EnBwVS3BmksbyJ5vU+dAiEA5iv0bLayGQ3Fq2Opv6xaSymzESvLM6xb1VcFuK8FOsI="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-config-karma_2.2.0-resin-ci-chrome-support-8a1f085cd953355d0a8b1ce024c2e6eecd74d0b6_1536928850962_0.24403662101075763"},"_hasShrinkwrap":false},"2.2.1-update-npm-scripts-e77d4e99c198c22bdfecebafe7d3b4185ded9303":{"name":"resin-config-karma","version":"2.2.1-update-npm-scripts-e77d4e99c198c22bdfecebafe7d3b4185ded9303","main":"karma.js","description":"Base Resin.io Karma Test Runner configuration","homepage":"https://github.com/resin-io-modules/resin-config-karma","scripts":{"prepublish":"require-npm4-to-publish","prepublishOnly":"npm run-script lint","lint":"jshint --config .jshintrc --reporter unix *.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/resin-io-modules/resin-config-karma.git"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"jshint":"^2.9.1","require-npm4-to-publish":"^1.0.0"},"dependencies":{"awesome-typescript-loader":"^3.2.2","babel-core":"^6.25.0","babel-loader":"^7.1.1","babel-polyfill":"^6.23.0","babel-preset-env":"^1.6.0","babel-preset-es2015":"^6.24.1","coffee-loader":"^0.9.0","karma":"^1.7.0","karma-chrome-launcher":"^2.2.0","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sauce-launcher":"^1.1.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.4","mocha":"^3.4.0","webpack":"^3.3.0"},"readme":"resin-config-karma\n==================\n\n> Base Resin.io Karma Test Runner configuration\n\n[![npm version](https://badge.fury.io/js/resin-config-karma.svg)](http://badge.fury.io/js/resin-config-karma)\n[![dependencies](https://david-dm.org/resin-io-modules/resin-config-karma.svg)](https://david-dm.org/resin-io-modules/resin-config-karma.svg)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nInstallation\n------------\n\nInstall `resin-config-karma` by running:\n\n```sh\n$ npm install --save-dev resin-config-karma\n```\n\nSetup\n-----\n\nThis module aims to provide a base [Karma](https://karma-runner.github.io) configuration for Resin.io NPM modules.\nIt's preconfigured with the following assumptions about the modern resin.io modules structure:\n- The distribution files are located in the `build` folder (typically created by building the TS or ES6+ sources)\nand have the `.js` extension.\n- The sources are located in `src` or `lib` folder and are in JS (ES) or TS.\n- The test specs are located in the `tests` folder and have the double `.spec.js` or `.spec.ts` extension.\n- The tests are importing the distribution or the source files.\nIt's recommended to simply import the root of the project and let `node` decide what to do, as in the real usage scenario.\nIt has the benefit of importing TS if the `types` entry is properly configured in `package.json`.\n\nIt supports the following features:\n- Webpack transform for the tests bundle with ES2015 support and sourcemaps.\n- Test are run in headless Chrome.\n- SauceLabs configuration.\n- Mocha support.\n- CI mode enabled by default.\n\nThe module exposes a function returning the Karma configuration object\nthat you can pass to `config.set()` yourself.\n\nTo get started, create a `karma.conf.js` in the root of your project:\n\n```js\nvar getKarmaConfig = require('resin-config-karma');\nvar packageJSON = require('./package.json');\n\nmodule.exports = function(config) {\n  var karmaConfig = getKarmaConfig(packageJSON /*, { wepbackConfig: optionalCustomWebpackConfig, slLaunchers: optionalCustomSauceLabsLaunchers }*/)\n\n  // Notice you can override the default options as you wish\n  karmaConfig.logLevel = config.LOG_INFO;\n\n  config.set(karmaConfig);\n};\n```\n\nAnd run `karma start`.\n\nSauceLabs\n---------\n\nThis configuration allows to easily setup your tests to run in SauceLabs by setting the following environment variables:\n\n```sh\nexport SAUCE_LABS=true\nexport SAUCE_USERNAME=<username>\nexport SAUCE_ACCESS_KEY=<access key>\n```\n\nIf `SAUCE_LABS` is not set, `karma` will only run the tests locally on Chrome.\n\nBrowsers\n--------\n\nThe local tests run in the headless Chrome.\n\nTo run them locally you need Chrome >= 59 installed.\n\nTo run them on Travis add the following lines to your `.travis.yml` file:\n\n```yaml\ndist: trusty\nsudo: false\naddons:\n  chrome: stable\n```\n\n*Note:* change `false` to `required` if you need sudo for your tests, see [the Travis Trusty docs](https://docs.travis-ci.com/user/reference/trusty/#Using-Trusty) and [the Travis container-based infrastructure docs](https://docs.travis-ci.com/user/migrating-from-legacy) for more details.\n\nAppVeyor has the the proper Chrome version preinstalled.\n\nThe SauceLabs tests run in the browsers specified in [launchers.json](https://github.com/resin-io-modules/resin-config-karma/blob/master/launchers.json).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/resin-config-karma/issues/new) on GitHub and the Resin.io team will be happy to help.\n","readmeFilename":"README.md","gitHead":"e77d4e99c198c22bdfecebafe7d3b4185ded9303","bugs":{"url":"https://github.com/resin-io-modules/resin-config-karma/issues"},"_id":"resin-config-karma@2.2.1-update-npm-scripts-e77d4e99c198c22bdfecebafe7d3b4185ded9303","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-d92YLXmMYlfWH8m1ccOYmF2Av5xRK0ilW71sR6sN/hmy7ClcEJRZ8Gu0yLVy1qxp1thmKsZjwPpDjs85VLBVtw==","shasum":"e80a114265f0903003786ec8c058877b7ace8ec2","tarball":"https://registry.npmjs.org/resin-config-karma/-/resin-config-karma-2.2.1-update-npm-scripts-e77d4e99c198c22bdfecebafe7d3b4185ded9303.tgz","fileCount":8,"unpackedSize":29616,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbm63OCRA9TVsSAnZWagAA4O8P/A0VhvD4fz7RBVgsYwAO\nlyzjlZVLx/PYc8HDJQukQa1/oH6wBdh2f7ONVcScFYBK4dVjDgXoFd+Ch8nW\niridAQf/1HAmw5UmXt0lhfpxQ9+Cx7wb5T4apFibDnN7l+hIhzImZ/JajcMH\nirVlcKaWcJvQYAB7mfIzATgSPltd66xAVp857V4m0jKtJwhyODzxwO7FDKEa\nQUPvTopFinhnQL3bB9o/d+9/5sripN1zvN3vVpb3hrk6Dy8olC1C/f2dXtXF\nZv3Nk1Cgc+5W+f/S/dm849CgDs7GILs0e/75Pk/b7fjoFIX2WqphCXWskdM0\nqUJ2J38SPUL98eIDPgu+5VsTBmEH3/DauE9/ufGDJnCLNGRnDDsGcPBU34Zs\n18VHM4giKTYfsvAcmoPzlaFgRNOjRbmgr2gcTkiIz1uuIonm+8E2qVaLj/4N\nYStHgK1ld/+haRSnrowBRagrbYokySsrMBvJNfV09qSbS8QHwAbCxR9TjxHX\njhO0UGcCLmZypXv+NfEzwl+EQHYjx+nGAfRWZJOaGXKUnyOR5oCQBi77z+4R\nXKZr6exh2apXzxAoQb6jTG8ZerAnJg4/rSEI2Z/K40q+kYvs43G5n542bNOn\nH+hZiWvEeqn+/komzxmXCW0MntN67JRQmXoQiEl8bXYGDcURvn3p5L15M2E6\n4yUS\r\n=RFMU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBjZ6+8jIua59FcaW7opYou60gBUr3l+URDyzbeGW9r8AiEA4SZMNu2bEYQzelr75wMKDAXp9p5tLXK17RoI2ezY6jA="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-config-karma_2.2.1-update-npm-scripts-e77d4e99c198c22bdfecebafe7d3b4185ded9303_1536929230154_0.31578074606712225"},"_hasShrinkwrap":false},"2.3.0-resin-ci-chrome-support-a0ce59fa06596036fbb459491bc669a8e5fab2d8":{"name":"resin-config-karma","version":"2.3.0-resin-ci-chrome-support-a0ce59fa06596036fbb459491bc669a8e5fab2d8","main":"karma.js","description":"Base Resin.io Karma Test Runner configuration","homepage":"https://github.com/resin-io-modules/resin-config-karma","scripts":{"prepublish":"npm run-script lint","lint":"jshint --config .jshintrc --reporter unix *.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/resin-io-modules/resin-config-karma.git"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"jshint":"^2.9.1"},"dependencies":{"awesome-typescript-loader":"^3.2.2","babel-core":"^6.25.0","babel-loader":"^7.1.1","babel-polyfill":"^6.23.0","babel-preset-env":"^1.6.0","babel-preset-es2015":"^6.24.1","coffee-loader":"^0.9.0","karma":"^1.7.0","karma-chrome-launcher":"^2.2.0","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sauce-launcher":"^1.1.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.4","mocha":"^3.4.0","webpack":"^3.3.0"},"readme":"resin-config-karma\n==================\n\n> Base Resin.io Karma Test Runner configuration\n\n[![npm version](https://badge.fury.io/js/resin-config-karma.svg)](http://badge.fury.io/js/resin-config-karma)\n[![dependencies](https://david-dm.org/resin-io-modules/resin-config-karma.svg)](https://david-dm.org/resin-io-modules/resin-config-karma.svg)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nInstallation\n------------\n\nInstall `resin-config-karma` by running:\n\n```sh\n$ npm install --save-dev resin-config-karma\n```\n\nSetup\n-----\n\nThis module aims to provide a base [Karma](https://karma-runner.github.io) configuration for Resin.io NPM modules.\nIt's preconfigured with the following assumptions about the modern resin.io modules structure:\n- The distribution files are located in the `build` folder (typically created by building the TS or ES6+ sources)\nand have the `.js` extension.\n- The sources are located in `src` or `lib` folder and are in JS (ES) or TS.\n- The test specs are located in the `tests` folder and have the double `.spec.js` or `.spec.ts` extension.\n- The tests are importing the distribution or the source files.\nIt's recommended to simply import the root of the project and let `node` decide what to do, as in the real usage scenario.\nIt has the benefit of importing TS if the `types` entry is properly configured in `package.json`.\n\nIt supports the following features:\n- Webpack transform for the tests bundle with ES2015 support and sourcemaps.\n- Test are run in headless Chrome.\n- SauceLabs configuration.\n- Mocha support.\n- CI mode enabled by default.\n\nThe module exposes a function returning the Karma configuration object\nthat you can pass to `config.set()` yourself.\n\nTo get started, create a `karma.conf.js` in the root of your project:\n\n```js\nvar getKarmaConfig = require('resin-config-karma');\nvar packageJSON = require('./package.json');\n\nmodule.exports = function(config) {\n  var karmaConfig = getKarmaConfig(packageJSON /*, { wepbackConfig: optionalCustomWebpackConfig, slLaunchers: optionalCustomSauceLabsLaunchers }*/)\n\n  // Notice you can override the default options as you wish\n  karmaConfig.logLevel = config.LOG_INFO;\n\n  config.set(karmaConfig);\n};\n```\n\nAnd run `karma start`.\n\nSauceLabs\n---------\n\nThis configuration allows to easily setup your tests to run in SauceLabs by setting the following environment variables:\n\n```sh\nexport SAUCE_LABS=true\nexport SAUCE_USERNAME=<username>\nexport SAUCE_ACCESS_KEY=<access key>\n```\n\nIf `SAUCE_LABS` is not set, `karma` will only run the tests locally on Chrome.\n\nBrowsers\n--------\n\nThe local tests run in the headless Chrome.\n\nTo run them locally you need Chrome >= 59 installed.\n\nTo run them on Travis add the following lines to your `.travis.yml` file:\n\n```yaml\ndist: trusty\nsudo: false\naddons:\n  chrome: stable\n```\n\n*Note:* change `false` to `required` if you need sudo for your tests, see [the Travis Trusty docs](https://docs.travis-ci.com/user/reference/trusty/#Using-Trusty) and [the Travis container-based infrastructure docs](https://docs.travis-ci.com/user/migrating-from-legacy) for more details.\n\nAppVeyor has the the proper Chrome version preinstalled.\n\nThe SauceLabs tests run in the browsers specified in [launchers.json](https://github.com/resin-io-modules/resin-config-karma/blob/master/launchers.json).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/resin-config-karma/issues/new) on GitHub and the Resin.io team will be happy to help.\n","readmeFilename":"README.md","gitHead":"a0ce59fa06596036fbb459491bc669a8e5fab2d8","bugs":{"url":"https://github.com/resin-io-modules/resin-config-karma/issues"},"_id":"resin-config-karma@2.3.0-resin-ci-chrome-support-a0ce59fa06596036fbb459491bc669a8e5fab2d8","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-oZXKQgQBy3SwFED0CvDMi7xIowzjJqdyRMBvSd85DarYo9ywE+aE26fm77/OPlM0mpxdGFB4TIa6nckfFxQ3XQ==","shasum":"99ccce75d4b5ecd39167213d8f25ecc1f9e296b0","tarball":"https://registry.npmjs.org/resin-config-karma/-/resin-config-karma-2.3.0-resin-ci-chrome-support-a0ce59fa06596036fbb459491bc669a8e5fab2d8.tgz","fileCount":8,"unpackedSize":29704,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn3blCRA9TVsSAnZWagAA4XYP/RTGvwK7F9+8MLdg/Rvb\nqr4mUg3+tbxV9hX1EVyTdjEUW6Xe4qh6q5dNSJ29UsymIqj6CX8GMAe9bmws\nQpu1CBaV+OwESWp3krMIu0eEcFEYLDCV/Fy+8KxwilOCkNt+znOe+wQ0u/SX\ngRyYZ5t7q0xIs9zFs+zXwrDaYXgacmlazfI4+Rwex7338jww7YpXMX1k+2DS\naAFBR9UqIAnrcBISsYl6pa7pi/2ss/M8ENJXuEwitOliRA972R1dkWENl5lM\nnHbOyUaos/LXeEqS9DccWzpRSmEH85Qhh7oLjF07iZaBwdoR0j7f6cy/OqkR\n4I7kYnXQ/3ziNN1nRIBfy9EgR6ed6Hk0FUmDtyK74mRa9/AE6kxOduiL6xbi\nlpv7JXWfGLFgvNNEBmYb8FAAoW4Takhh1GQuW8D2qYdX6JIEWXrktT6mguIA\nJ+MqSra7TZ/6D5nkAKsid3tJeC0JgWjHs/JEYT/biYRVgyXBSTN+se40qxC5\nJdQbedZBHw0++3jERMDyi7rX/+60NQt4Z45hoJtm0CEr7YKigbrreZhHurCM\nHDvTZbAev+Vv7Y1CzSWybKOqB1YoOKrSfZLiKWgiklzQrY5nkrco5EIpyDgG\n2GJYUlznD3PbZJNtAGMpBp/aE6k395U0EBesTYuHDBHEZM4pnKJLl8esYvYT\n5PKR\r\n=6Ob6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC5kmcqlTrDpjY5ELbVh82ZXgXyinaimm5TlYjaY+KOyAiAVGLrDR+XstW2T7qscg3er5Sd5MEEj3z8X2xSehdCSIg=="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-config-karma_2.3.0-resin-ci-chrome-support-a0ce59fa06596036fbb459491bc669a8e5fab2d8_1537177316656_0.19972671259867258"},"_hasShrinkwrap":false},"2.3.0":{"name":"resin-config-karma","version":"2.3.0","main":"karma.js","description":"Base Resin.io Karma Test Runner configuration","homepage":"https://github.com/resin-io-modules/resin-config-karma","scripts":{"prepublish":"npm run-script lint","lint":"jshint --config .jshintrc --reporter unix *.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/resin-io-modules/resin-config-karma.git"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"jshint":"^2.9.1"},"dependencies":{"awesome-typescript-loader":"^3.2.2","babel-core":"^6.25.0","babel-loader":"^7.1.1","babel-polyfill":"^6.23.0","babel-preset-env":"^1.6.0","babel-preset-es2015":"^6.24.1","coffee-loader":"^0.9.0","karma":"^1.7.0","karma-chrome-launcher":"^2.2.0","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sauce-launcher":"^1.1.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.4","mocha":"^3.4.0","webpack":"^3.3.0"},"gitHead":"a2def03cf93766c120243f029de147327e8731a8","bugs":{"url":"https://github.com/resin-io-modules/resin-config-karma/issues"},"_id":"resin-config-karma@2.3.0","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-1j+iPz+l4SmuE9jAzn/7kcnRDuFDSj5h3tjW/J6fNmB/NO3/8gClOg2w68jJIVs0IcbiEX8/fqBZ9i9Lmn6p9w==","shasum":"02fea288e3ea2a53d871123bc9ee40e69fa0bbc2","tarball":"https://registry.npmjs.org/resin-config-karma/-/resin-config-karma-2.3.0.tgz","fileCount":8,"unpackedSize":29639,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn3eyCRA9TVsSAnZWagAAUOsP/1sNA2FFYB+bxNLjLhV2\ngtl+0MZbX/ZoAQXmitqQ/sTo9DHHIq0P8+SUt3G/14/IR8UlupQctDwl5RQh\npznlb9cEx2ax/H6JVst1j0EMS9fB8UnHZ5Nr61PoHs4nCPfQEWcSktUM6is8\niKsi1dD8kT20+OeKr5NnoKH2s+NliNGHgaZCWW3nldpjnuDkt8wo1J89R0m0\nxLSwAqZQqeEk4u8AEIh9MSfp9N2QkLHwRxS8VByIErexkmLnArdiHNO+0Pm+\nRU1VqjnzuPy5bOxzeAGgJWPK8rVz89FN+UQm11q5A8J2yLwAyoUfPkaeMMWb\nUZLqCUWxGzAWYS5RQ/aULAlSt9wmCXJGTMqPwHFPhJSxPhOnLEpXeBJ8MvUt\niQZKhknQD2LOfsmbwQIbkJok6dhiecNUQkWmGKcB5lsofdVyaDIMxyY8vuAa\np4qFYdumUBleG3xiZPe0/tJ+AvWuBxoqYLtbuqknmPQAJnxa6zYuhCPzi/aA\ngNs7dUqVNtwmMeaiDvq/d6LmptmuzIEoSUqNzD5HakqQGH3BhfWrCr4E1QHw\nN9h9jkWr4lupc1vvSzorIXa6Q6CB6nHRwF64k73r/SE1Hz+9hgpYfI0GKMhj\nntnusalgfBIAG15qfdRFII1RCtMqzP29K5nblUKGz93+Clz2dWjXdl923Ohp\nqZLU\r\n=6HW3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGZ1MoNlMiNShhIJwdkGXBXwPyBhsWiWtu8yR2ZdcxVkAiEAsLOLiQyoWu1dhiFdnb5xtT2F+ssOs/MJnVO+VF9PqOw="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-config-karma_2.3.0_1537177521837_0.8394557012048414"},"_hasShrinkwrap":false,"deprecated":"resin-config-karma is deprecated, please use balena-config-karma instead"},"2.3.1-update-npm-scripts-7c52d1704337fa71489a3bec7c4ed0c63bac58eb":{"name":"resin-config-karma","version":"2.3.1-update-npm-scripts-7c52d1704337fa71489a3bec7c4ed0c63bac58eb","main":"karma.js","description":"Base Resin.io Karma Test Runner configuration","homepage":"https://github.com/resin-io-modules/resin-config-karma","scripts":{"prepublish":"require-npm4-to-publish","prepublishOnly":"npm run-script lint","lint":"jshint --config .jshintrc --reporter unix *.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/resin-io-modules/resin-config-karma.git"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"jshint":"^2.9.1","require-npm4-to-publish":"^1.0.0"},"dependencies":{"awesome-typescript-loader":"^3.2.2","babel-core":"^6.25.0","babel-loader":"^7.1.1","babel-polyfill":"^6.23.0","babel-preset-env":"^1.6.0","babel-preset-es2015":"^6.24.1","coffee-loader":"^0.9.0","karma":"^1.7.0","karma-chrome-launcher":"^2.2.0","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sauce-launcher":"^1.1.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.4","mocha":"^3.4.0","webpack":"^3.3.0"},"readme":"resin-config-karma\n==================\n\n> Base Resin.io Karma Test Runner configuration\n\n[![npm version](https://badge.fury.io/js/resin-config-karma.svg)](http://badge.fury.io/js/resin-config-karma)\n[![dependencies](https://david-dm.org/resin-io-modules/resin-config-karma.svg)](https://david-dm.org/resin-io-modules/resin-config-karma.svg)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nInstallation\n------------\n\nInstall `resin-config-karma` by running:\n\n```sh\n$ npm install --save-dev resin-config-karma\n```\n\nSetup\n-----\n\nThis module aims to provide a base [Karma](https://karma-runner.github.io) configuration for Resin.io NPM modules.\nIt's preconfigured with the following assumptions about the modern resin.io modules structure:\n- The distribution files are located in the `build` folder (typically created by building the TS or ES6+ sources)\nand have the `.js` extension.\n- The sources are located in `src` or `lib` folder and are in JS (ES) or TS.\n- The test specs are located in the `tests` folder and have the double `.spec.js` or `.spec.ts` extension.\n- The tests are importing the distribution or the source files.\nIt's recommended to simply import the root of the project and let `node` decide what to do, as in the real usage scenario.\nIt has the benefit of importing TS if the `types` entry is properly configured in `package.json`.\n\nIt supports the following features:\n- Webpack transform for the tests bundle with ES2015 support and sourcemaps.\n- Test are run in headless Chrome.\n- SauceLabs configuration.\n- Mocha support.\n- CI mode enabled by default.\n\nThe module exposes a function returning the Karma configuration object\nthat you can pass to `config.set()` yourself.\n\nTo get started, create a `karma.conf.js` in the root of your project:\n\n```js\nvar getKarmaConfig = require('resin-config-karma');\nvar packageJSON = require('./package.json');\n\nmodule.exports = function(config) {\n  var karmaConfig = getKarmaConfig(packageJSON /*, { wepbackConfig: optionalCustomWebpackConfig, slLaunchers: optionalCustomSauceLabsLaunchers }*/)\n\n  // Notice you can override the default options as you wish\n  karmaConfig.logLevel = config.LOG_INFO;\n\n  config.set(karmaConfig);\n};\n```\n\nAnd run `karma start`.\n\nSauceLabs\n---------\n\nThis configuration allows to easily setup your tests to run in SauceLabs by setting the following environment variables:\n\n```sh\nexport SAUCE_LABS=true\nexport SAUCE_USERNAME=<username>\nexport SAUCE_ACCESS_KEY=<access key>\n```\n\nIf `SAUCE_LABS` is not set, `karma` will only run the tests locally on Chrome.\n\nBrowsers\n--------\n\nThe local tests run in the headless Chrome.\n\nTo run them locally you need Chrome >= 59 installed.\n\nTo run them on Travis add the following lines to your `.travis.yml` file:\n\n```yaml\ndist: trusty\nsudo: false\naddons:\n  chrome: stable\n```\n\n*Note:* change `false` to `required` if you need sudo for your tests, see [the Travis Trusty docs](https://docs.travis-ci.com/user/reference/trusty/#Using-Trusty) and [the Travis container-based infrastructure docs](https://docs.travis-ci.com/user/migrating-from-legacy) for more details.\n\nAppVeyor has the the proper Chrome version preinstalled.\n\nThe SauceLabs tests run in the browsers specified in [launchers.json](https://github.com/resin-io-modules/resin-config-karma/blob/master/launchers.json).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/resin-config-karma/issues/new) on GitHub and the Resin.io team will be happy to help.\n","readmeFilename":"README.md","gitHead":"7c52d1704337fa71489a3bec7c4ed0c63bac58eb","bugs":{"url":"https://github.com/resin-io-modules/resin-config-karma/issues"},"_id":"resin-config-karma@2.3.1-update-npm-scripts-7c52d1704337fa71489a3bec7c4ed0c63bac58eb","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-K5p174MML47FCYUezGJcZrdhJzLCYa0DDkK4/OLcSqX40EddvOUwesKw/LnfZzK2be4aJU2lAOr487Z/SGioag==","shasum":"8da691440343a41873f19d4dc856874a5a3e77fd","tarball":"https://registry.npmjs.org/resin-config-karma/-/resin-config-karma-2.3.1-update-npm-scripts-7c52d1704337fa71489a3bec7c4ed0c63bac58eb.tgz","fileCount":8,"unpackedSize":29870,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn77DCRA9TVsSAnZWagAA7VwP/0VJM9C3p7EAsjQzIzrZ\nWdgSGMAyBQ1BV0/Fiau1oQz7DRo4uU5x7Q2poBF5tgQSR10jGk5w8LNKStxl\noqkq9RAzjygotCXGXwV0L64/hiyyFxtuS1OOFKp5TD+Fg97Y49PF7IFzCHBk\nwagv6jzyzPh0NNOdDO9FY8urQLkXN4iOuj0ZKmITAJa9mnfGXl3rDr6gMGiT\nrozAKMZVpILD6eOn+W8U4C8/H9ipxSOLuLeOc8uIFEe685FnqJTxHmByTKau\n5BSB7sXZ1+HeUfFZy6VOJdEW5mYhDdMbuqKLBejarAhqxvmUoAuM2PnDmR+A\nVpK9KkcFvr9IgfvwtiwpSXBNy+aKf1ffi+KL4nPRb5LrO/UDtsmP15Xqa2tM\nLT6jXuCZ5n6JDgT6VIwfWtmX5i6G1mJpyUpZXQtTUe02oDAwUREYRP8t+NbB\nJY13Mdn8GM0Jx5juKnbapnlqMt1DRxh3YJtFzuj/oxymN5Al+xpGlNmFAJqf\n5XlFPdVgQXtsDKvvy+cAMTUvAqiFDCJ8oj1xD13bBKMl4Xq6XZ89YTenvIT/\nqEQzQmT4/HQx9hlJwfxEzhD3pT/Z+N46FotxPZmrPSCQLU6ocMxEaFIWrmuw\nWfBo1RSWfB9HNbNaQQPM6uDpWjo0Sv2Gto12Ia8Gnks729qiWncmDnedPhfP\nq1XZ\r\n=qD3q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAIHOi43MxJYlXH+KiI86kTWs2Pnj9N/x35u0HOt20mDAiEA8ovfglasWG3Owq6Oj4wlMKrWDCQKgQIVKbecsrk+A38="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-config-karma_2.3.1-update-npm-scripts-7c52d1704337fa71489a3bec7c4ed0c63bac58eb_1537195714392_0.27587026876364895"},"_hasShrinkwrap":false},"2.3.1":{"name":"resin-config-karma","version":"2.3.1","main":"karma.js","description":"Base Resin.io Karma Test Runner configuration","homepage":"https://github.com/resin-io-modules/resin-config-karma","scripts":{"prepublish":"require-npm4-to-publish","prepublishOnly":"npm run-script lint","lint":"jshint --config .jshintrc --reporter unix *.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/resin-io-modules/resin-config-karma.git"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"jshint":"^2.9.1","require-npm4-to-publish":"^1.0.0"},"dependencies":{"awesome-typescript-loader":"^3.2.2","babel-core":"^6.25.0","babel-loader":"^7.1.1","babel-polyfill":"^6.23.0","babel-preset-env":"^1.6.0","babel-preset-es2015":"^6.24.1","coffee-loader":"^0.9.0","karma":"^1.7.0","karma-chrome-launcher":"^2.2.0","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sauce-launcher":"^1.1.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.4","mocha":"^3.4.0","webpack":"^3.3.0"},"gitHead":"b241aef3531ed61aff3414455264af5fd6e715ed","bugs":{"url":"https://github.com/resin-io-modules/resin-config-karma/issues"},"_id":"resin-config-karma@2.3.1","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-Xl/Bh0UQxUefFVBedKS8k++qf/O6q1sAs+fcfTf9DT3oiko9ZBDew1WntXUnb1dBrNb5oJDjyff4Qva/Ek9fUw==","shasum":"21c522ed9c467752ec81bf652becb74a5ae4561c","tarball":"https://registry.npmjs.org/resin-config-karma/-/resin-config-karma-2.3.1.tgz","fileCount":8,"unpackedSize":29810,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn8TvCRA9TVsSAnZWagAAU7UP/Rvie0xwLdExioYkLfm4\nz6BGUxUSK/qKULicWQx+YfHHRQGyPQC9s2K8a0cn5CJqomsuHiwDUBSQ9/CM\n23AljpKYAB4Sbc02IO/BinlW2QgWaYtGSAh9piGjc+gkGQUA7qipVBfw+R+H\nj8ZFe8XihAsAAAzmmqLyls+X0QRtzHH30Xt5m4FshTISSIF7zPqZC8ivmEd2\n6/ljqkI7AZro2wDnlRpcgqVjbPq8179bsVCIs91U0WAOCtXdQWY3DMVr1gr4\nLIS3s6lTaco1vhtI0XHgAqEeZkEGH8t8vqPrsGeYK/u2sLOhN615dBiCZVpx\nCz0P/+ALsczlHO9aHzgQPBmEpiRjlLGCQV7wo+hpXNFhN0bhTxLupTf3oK6O\n4qDUGNihNXEo5UAZmfgRBJo5MFNsRACZQnnHyDRZ06f0+QzWHj+K1WznYAwH\nB6VFUewx5Go6Tvj5Ytnmjcpsu8hanELMaC3hxvyxgX4I+ksmYkybl5A5A3Lw\nuF7cMQ69JHFwwzsitKkKe9RWnctNgL+NycJMqMSgq7PSfvNPWclk8fFo41mC\niPd5Yo8P7H2NfEXRnALbz/PnFv1DQqUG90LQJuZrczowuJrOetZnWMAkH/ZW\nA9S9zrbeUMU9kLc9I4nGqrKhJzTQlbXmb4shar/j2eoGWViZgpUORX+qfUqt\nNSd0\r\n=Eq+i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCZUUeDLheHnKd9V0oAg9FAeUOi2e4huxs3CRqx5kCUAIhAMDIw6tMIfFVhjOUgkillcuFNHJn/7fUTr6FGf0yW8/h"}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-config-karma_2.3.1_1537197295102_0.6038190874406941"},"_hasShrinkwrap":false,"deprecated":"resin-config-karma is deprecated, please use balena-config-karma instead"},"3.0.0-upgrade-depenencies-df12ca46023a4f68ee56744d3e0fc2f3adde502f":{"name":"resin-config-karma","version":"3.0.0-upgrade-depenencies-df12ca46023a4f68ee56744d3e0fc2f3adde502f","main":"karma.js","description":"Base Resin.io Karma Test Runner configuration","homepage":"https://github.com/resin-io-modules/resin-config-karma","scripts":{"test":"npm run lint","lint":"jshint --config .jshintrc --reporter unix *.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/resin-io-modules/resin-config-karma.git"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"jshint":"^2.9.1"},"dependencies":{"@babel/core":"^7.10.2","@babel/preset-env":"^7.10.2","babel-core":"^6.25.0","babel-loader":"^7.1.5","babel-polyfill":"^6.23.0","babel-preset-env":"^1.6.0","babel-preset-es2015":"^6.24.1","coffee-loader":"^0.9.0","karma":"^1.7.1","karma-chrome-launcher":"^2.2.0","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.5","karma-sauce-launcher":"^1.2.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.13","mocha":"^3.5.3","ts-loader":"^7.0.5","webpack":"^3.12.0","webpack-cli":"^3.3.11"},"readme":"resin-config-karma\n==================\n\n> Base Resin.io Karma Test Runner configuration\n\n[![npm version](https://badge.fury.io/js/resin-config-karma.svg)](http://badge.fury.io/js/resin-config-karma)\n[![dependencies](https://david-dm.org/resin-io-modules/resin-config-karma.svg)](https://david-dm.org/resin-io-modules/resin-config-karma.svg)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nInstallation\n------------\n\nInstall `resin-config-karma` by running:\n\n```sh\n$ npm install --save-dev resin-config-karma\n```\n\nSetup\n-----\n\nThis module aims to provide a base [Karma](https://karma-runner.github.io) configuration for Resin.io NPM modules.\nIt's preconfigured with the following assumptions about the modern resin.io modules structure:\n- The distribution files are located in the `build` folder (typically created by building the TS or ES6+ sources)\nand have the `.js` extension.\n- The sources are located in `src` or `lib` folder and are in JS (ES) or TS.\n- The test specs are located in the `tests` folder and have the double `.spec.js` or `.spec.ts` extension.\n- The tests are importing the distribution or the source files.\nIt's recommended to simply import the root of the project and let `node` decide what to do, as in the real usage scenario.\nIt has the benefit of importing TS if the `types` entry is properly configured in `package.json`.\n\nIt supports the following features:\n- Webpack transform for the tests bundle with ES2015 support and sourcemaps.\n- Test are run in headless Chrome.\n- SauceLabs configuration.\n- Mocha support.\n- CI mode enabled by default.\n\nThe module exposes a function returning the Karma configuration object\nthat you can pass to `config.set()` yourself.\n\nTo get started, create a `karma.conf.js` in the root of your project:\n\n```js\nvar getKarmaConfig = require('resin-config-karma');\nvar packageJSON = require('./package.json');\n\nmodule.exports = function(config) {\n  var karmaConfig = getKarmaConfig(packageJSON /*, { wepbackConfig: optionalCustomWebpackConfig, slLaunchers: optionalCustomSauceLabsLaunchers }*/)\n\n  // Notice you can override the default options as you wish\n  karmaConfig.logLevel = config.LOG_INFO;\n\n  config.set(karmaConfig);\n};\n```\n\nAnd run `karma start`.\n\nSauceLabs\n---------\n\nThis configuration allows to easily setup your tests to run in SauceLabs by setting the following environment variables:\n\n```sh\nexport SAUCE_LABS=true\nexport SAUCE_USERNAME=<username>\nexport SAUCE_ACCESS_KEY=<access key>\n```\n\nIf `SAUCE_LABS` is not set, `karma` will only run the tests locally on Chrome.\n\nBrowsers\n--------\n\nThe local tests run in the headless Chrome.\n\nTo run them locally you need Chrome >= 59 installed.\n\nTo run them on Travis add the following lines to your `.travis.yml` file:\n\n```yaml\ndist: trusty\nsudo: false\naddons:\n  chrome: stable\n```\n\n*Note:* change `false` to `required` if you need sudo for your tests, see [the Travis Trusty docs](https://docs.travis-ci.com/user/reference/trusty/#Using-Trusty) and [the Travis container-based infrastructure docs](https://docs.travis-ci.com/user/migrating-from-legacy) for more details.\n\nAppVeyor has the the proper Chrome version preinstalled.\n\nThe SauceLabs tests run in the browsers specified in [launchers.json](https://github.com/resin-io-modules/resin-config-karma/blob/master/launchers.json).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/resin-config-karma/issues/new) on GitHub and the Resin.io team will be happy to help.\n","readmeFilename":"README.md","gitHead":"df12ca46023a4f68ee56744d3e0fc2f3adde502f","bugs":{"url":"https://github.com/resin-io-modules/resin-config-karma/issues"},"_id":"resin-config-karma@3.0.0-upgrade-depenencies-df12ca46023a4f68ee56744d3e0fc2f3adde502f","_nodeVersion":"10.20.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-1niyf2/SexOs/fHZA3I4IXxaLmyngVFgDXOnnrn6+MLK8xmWnjlDHEJXI8Q5mfjcGUPI7ISt1Hjh0faOONs9GA==","shasum":"f65a6540962a229f6762882c13e57b3e91b2e9c4","tarball":"https://registry.npmjs.org/resin-config-karma/-/resin-config-karma-3.0.0-upgrade-depenencies-df12ca46023a4f68ee56744d3e0fc2f3adde502f.tgz","fileCount":8,"unpackedSize":30168,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2kHnCRA9TVsSAnZWagAAPwsP/1QLN2W2R3nWYgxtG7KM\nP15ceOnnUod/WPqOUfTVgQ4rQ0udQ5Neg/HQnHa3rOT1W/tAv5UvXhUjd6gq\nTkCT6ol5MC8djTpznNZiy9fyWJbzKEQmAbXoUmaRoIVASegnA54G1u45hd59\nqYOJHdm75uqen6ESEUTeSOZX+DHf64DQVgnZ+2qTjSAtczkRIMHOIWsx+ep3\nN79m4GCZzsZq3unciHsB6JOt6jnsoS9c5fLJwdn7X4dLWe/VDE7xuviX01Jm\nkkpdryDSG40c2IDUrouH93WXOpdpiu+xqwDhWekjeucNMa6Rd5l6neLohTnC\ncYxiIKs80vhENj4vwyUm/9H25/siZ6BmlcuFigF2o/NfkInih5J0dF14jVIH\nm7NzSqAhZEkNCGj0wlB48cw++on0SG67ezZzVmFSuzihOREXW9lVcK3BVyGr\n5lQckw9LCIWQll0oXwzL38lffLBvkUPXoZvGNfxgdBj3Q1R3wnePQZDTEKOs\n8s7eipgJnmYoDRRB5MWun5/Q1kBc2y4NhF1xPb7oGBjSwBbTkjJTxIfb3SYg\nLCxZZ6mE2vegbZnNY7iVuVF2cCyofw1Q7/PiZpiVUUBrD/j6P0z1kaltCSPV\nYRrxqUi36CRIm6xNevvrMZsBj4/HPifZheWVEw+G8ig4K2hA6X/p8q4yVfdO\n8YiK\r\n=ePND\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1Oey+7ccMrkCvEsHPU9TBLfN2Xw/rgausIyV7tfWuFgIhAOUoouPuazK6Vo+7bQnfpPQ2YF2dDfofY/Mlzm7DBkie"}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-config-karma_3.0.0-upgrade-depenencies-df12ca46023a4f68ee56744d3e0fc2f3adde502f_1591362023584_0.019325054161081212"},"_hasShrinkwrap":false}},"readme":"","maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"time":{"modified":"2022-06-26T11:49:01.152Z","created":"2016-02-04T15:39:31.454Z","1.0.0":"2016-02-04T15:39:31.454Z","1.0.1":"2016-02-04T15:49:06.566Z","1.0.2":"2016-02-18T17:06:10.085Z","1.0.3":"2016-02-18T17:20:42.390Z","1.0.4":"2016-02-18T17:35:26.994Z","2.0.0":"2017-08-02T13:07:54.949Z","2.1.0":"2017-11-13T09:07:41.724Z","2.2.0-coffee-support-86e0015cdc57e9794352b5b6b3632118f607415f":"2018-09-14T12:16:47.500Z","2.2.0-coffee-support-523c982f88530ab70ba813ce26e9b1a53c678be6":"2018-09-14T12:26:41.755Z","2.2.0":"2018-09-14T12:37:12.845Z","2.2.0-resin-ci-chrome-support-8a1f085cd953355d0a8b1ce024c2e6eecd74d0b6":"2018-09-14T12:40:51.224Z","2.2.1-update-npm-scripts-e77d4e99c198c22bdfecebafe7d3b4185ded9303":"2018-09-14T12:47:10.297Z","2.3.0-resin-ci-chrome-support-a0ce59fa06596036fbb459491bc669a8e5fab2d8":"2018-09-17T09:41:56.828Z","2.3.0":"2018-09-17T09:45:22.024Z","2.3.1-update-npm-scripts-7c52d1704337fa71489a3bec7c4ed0c63bac58eb":"2018-09-17T14:48:34.610Z","2.3.1":"2018-09-17T15:14:55.241Z","3.0.0-upgrade-depenencies-df12ca46023a4f68ee56744d3e0fc2f3adde502f":"2020-06-05T13:00:23.684Z"},"homepage":"https://github.com/resin-io-modules/resin-config-karma","repository":{"type":"git","url":"git+ssh://git@github.com/resin-io-modules/resin-config-karma.git"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"bugs":{"url":"https://github.com/resin-io-modules/resin-config-karma/issues"},"license":"Apache-2.0","readmeFilename":""}