{"_id":"@buxlabs/before-all-to-es6","_rev":"10-b39c944cef8208bca43438ef3ef67484","name":"@buxlabs/before-all-to-es6","description":"convert jasmine spec with before all to es6","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.1":{"name":"@buxlabs/before-all-to-es6","version":"0.1.1","description":"convert jasmine spec with before all to es6","main":"index.js","scripts":{"test":"ava \"test/spec/**/*.js\""},"repository":{"type":"git","url":"git+https://github.com/buxlabs/before-all-to-es6.git"},"keywords":["converter","jasmine","es6"],"bin":{"amdtoes6":"./bin/cli.js"},"engines":{"node":">=6.1.0"},"author":{"name":"Emil Ajdyna","email":"emil@ajdyna.com"},"license":"MIT","bugs":{"url":"https://github.com/buxlabs/before-all-to-es6/issues"},"homepage":"https://github.com/buxlabs/before-all-to-es6#readme","dependencies":{"@buxlabs/ast":"^0.1.4","commander":"^2.9.0","glob":"^7.1.1"},"devDependencies":{"ava":"^0.17.0","shelljs":"^0.7.5"},"gitHead":"1d886be0bb5a7f48670442b02c71c96dd1e4b220","_id":"@buxlabs/before-all-to-es6@0.1.1","_shasum":"d09ebf8d7ab0f32a27430d4e15a7256dc5f3deec","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"buxlabs","email":"emil@ajdyna.com"},"dist":{"shasum":"d09ebf8d7ab0f32a27430d4e15a7256dc5f3deec","tarball":"https://registry.npmjs.org/@buxlabs/before-all-to-es6/-/before-all-to-es6-0.1.1.tgz","integrity":"sha512-bAANu4QuFnr0S4niHiZ8zBjzV+JDdK2SZvEpHGnin0YnIJiukL1U1KbeKp8V/yobNXTNOBFYGpRxITAF4p59/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGVMoUYThru4a65hzYAr5mj2fbyPmPsQPLsWaIuI6hB8AiEA9ons2HMkam4Si1gslCHrVrVqe3eVnhwPwA1Ku74j2Zw="}]},"maintainers":[{"name":"buxlabs","email":"emil@ajdyna.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/before-all-to-es6-0.1.1.tgz_1482434522959_0.05118321883492172"},"directories":{}},"0.1.2":{"name":"@buxlabs/before-all-to-es6","version":"0.1.2","description":"convert jasmine spec with before all to es6","main":"index.js","scripts":{"test":"ava \"test/spec/**/*.js\""},"repository":{"type":"git","url":"git+https://github.com/buxlabs/before-all-to-es6.git"},"keywords":["converter","jasmine","es6"],"bin":{"batoes6":"./bin/cli.js"},"engines":{"node":">=6.1.0"},"author":{"name":"Emil Ajdyna","email":"emil@ajdyna.com"},"license":"MIT","bugs":{"url":"https://github.com/buxlabs/before-all-to-es6/issues"},"homepage":"https://github.com/buxlabs/before-all-to-es6#readme","dependencies":{"@buxlabs/ast":"^0.1.4","commander":"^2.9.0","glob":"^7.1.1"},"devDependencies":{"ava":"^0.17.0","shelljs":"^0.7.5"},"gitHead":"4c356f45722802deb1a518d98c4317c0e6774e6e","_id":"@buxlabs/before-all-to-es6@0.1.2","_shasum":"7fe6642e4ccbad6b7e5446d03bfd7409a4d00e2b","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"buxlabs","email":"emil@ajdyna.com"},"dist":{"shasum":"7fe6642e4ccbad6b7e5446d03bfd7409a4d00e2b","tarball":"https://registry.npmjs.org/@buxlabs/before-all-to-es6/-/before-all-to-es6-0.1.2.tgz","integrity":"sha512-DpBFPKOTU+/6kGndVTubTpCbsAOfUykX9CwLAMuJRtY1UIBdJyMJt6hPBnz6b8At/zedZ87kyFxJ6ttxDDIXTw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjYTRxlguTROZuCUvIr/JfWZb7NS4dEPZ0jzhnV/hlLgIhAIpjLVpNh9un7NHwq9DrEd5G1ymLSxMVMnU3WwgT1GyI"}]},"maintainers":[{"name":"buxlabs","email":"emil@ajdyna.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/before-all-to-es6-0.1.2.tgz_1482434592671_0.5689103540498763"},"directories":{}},"0.1.3":{"name":"@buxlabs/before-all-to-es6","version":"0.1.3","description":"convert jasmine spec with before all to es6","main":"index.js","scripts":{"test":"ava \"test/spec/**/*.js\""},"repository":{"type":"git","url":"git+https://github.com/buxlabs/before-all-to-es6.git"},"keywords":["converter","jasmine","es6"],"bin":{"batoes6":"./bin/cli.js"},"engines":{"node":">=6.1.0"},"author":{"name":"Emil Ajdyna","email":"emil@ajdyna.com"},"license":"MIT","bugs":{"url":"https://github.com/buxlabs/before-all-to-es6/issues"},"homepage":"https://github.com/buxlabs/before-all-to-es6#readme","dependencies":{"@buxlabs/ast":"^0.1.6","commander":"^2.9.0","glob":"^7.1.1"},"devDependencies":{"ava":"^0.17.0","shelljs":"^0.7.5"},"gitHead":"21b997a305428d73f41a5b09a2915cd9a13b5786","_id":"@buxlabs/before-all-to-es6@0.1.3","_shasum":"4333ec271f551588c2e5764b4fbca4ccf15ab22a","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.6.1","_npmUser":{"name":"buxlabs","email":"emil@ajdyna.com"},"dist":{"shasum":"4333ec271f551588c2e5764b4fbca4ccf15ab22a","tarball":"https://registry.npmjs.org/@buxlabs/before-all-to-es6/-/before-all-to-es6-0.1.3.tgz","integrity":"sha512-8XXUEu9T3H0YAqpxe8TsHsDDjhZL14/Om2xA7YQnbhY97CIvhwe5elION2lLlCFdFwgyIjzKBLVv7TXgBVEsSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyB0qw5hmWcQ0pvS7Wb73+pS46tc+w8QZObUFFEAQJEgIgeP4TpsghL8DRhynpgW6nbRrjb0ybJAWCi5mKgE0ECpU="}]},"maintainers":[{"name":"buxlabs","email":"emil@ajdyna.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/before-all-to-es6-0.1.3.tgz_1482492921191_0.9542068941518664"},"directories":{}},"0.2.0":{"name":"@buxlabs/before-all-to-es6","version":"0.2.0","description":"convert jasmine spec with before all to es6","main":"index.js","scripts":{"test":"ava \"test/spec/**/*.js\"","watch:test":"npm t -- --watch","coverage":"nyc npm t"},"repository":{"type":"git","url":"git+https://github.com/buxlabs/before-all-to-es6.git"},"keywords":["converter","jasmine","es6"],"bin":{"batoes6":"./bin/cli.js"},"engines":{"node":">=6.1.0"},"author":{"name":"Emil Ajdyna","email":"emil@ajdyna.com"},"license":"MIT","bugs":{"url":"https://github.com/buxlabs/before-all-to-es6/issues"},"homepage":"https://github.com/buxlabs/before-all-to-es6#readme","dependencies":{"@buxlabs/ast":"0.1.11","commander":"2.9.0","glob":"7.1.1"},"devDependencies":{"ava":"0.18.1","nyc":"10.1.2","shelljs":"0.7.5"},"gitHead":"fad26afe1112bc258b52cc7bc65d8811288d29e5","_id":"@buxlabs/before-all-to-es6@0.2.0","_shasum":"563daa53534e13df7b4f54418b93123db0473944","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"buxlabs","email":"emil@ajdyna.com"},"dist":{"shasum":"563daa53534e13df7b4f54418b93123db0473944","tarball":"https://registry.npmjs.org/@buxlabs/before-all-to-es6/-/before-all-to-es6-0.2.0.tgz","integrity":"sha512-plnbRNSC2s9sYRpBcnQ6DZwBV/jXhsNy38PCMrfX1p8Zt2CVx4uRNZecvXusdJB/TpPv/QuetzKWk1T+KWwbcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWBL4lXfe1PHXDbqEg20BERRElTwMiur2kct9kIdDUxgIgf1kZ4uL9zbwVe+2mhCOYFSqb3JZog6FNYeoRW2BGthk="}]},"maintainers":[{"name":"buxlabs","email":"emil@ajdyna.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/before-all-to-es6-0.2.0.tgz_1487066030909_0.5096016668248922"},"directories":{}}},"readme":"# before-all-to-es6\r\n\r\nConvert specs with beforeAll to ES6\r\n\r\n## Installation\r\n\r\n`npm install -g @buxlabs/before-all-to-es6`\r\n\r\n## Usage\r\n\r\nConvert a single file with:\r\n\r\n`batoes6 app.js > app-es6.js`\r\n\r\nConvert multiple files in given dir with:\r\n\r\n`batoes6 --src=src --dest=build`\r\n\r\nConvert multiple files in given dir recursively with:\r\n\r\n`batoes6 --src=src --dest=build --glob=**/*.js`\r\n\r\nConvert multiple files and replace them with:\r\n\r\n`batoes6 --src=src --replace`\r\n\r\n## Examples:\r\n\r\n**SPEC**\r\n\r\n```javascript\r\ndescribe('one dependency', function () {\r\n\r\n    var Backbone;\r\n\r\n    beforeAll(function (done) {\r\n        require(['backbone'], function () {\r\n           Backbone = arguments[0];\r\n           done();\r\n        });\r\n    });\r\n\r\n    it('should be defined', function () {\r\n        expect(Backbone).toBeDefined();\r\n    });\r\n\r\n});\r\n```\r\n\r\n**ES6**\r\n\r\n```javascript\r\nimport Backbone from 'backbone';\r\n\r\ndescribe('one dependency', function () {\r\n\r\n    it('should be defined', function () {\r\n        expect(Backbone).toBeDefined();\r\n    });\r\n\r\n});\r\n```\r\n\r\nThere are more examples in the test/fixture directory\r\n\r\n### Options\r\n```sh\r\n\r\n  Usage: batoes6 [options]\r\n\r\n  Options:\r\n\r\n    -s, --src <dirname>     Directory of the source files\r\n    -d, --dest <dirname>    Directory of the destination files\r\n    -g, --glob [glob]       Glob pattern for the src to match for input files\r\n    -r, --recursive         Set glob pattern to **/*.js with no hassle\r\n    -b, --beautify          Beautify the output\r\n    --quotes            Single, double or auto quotes in the output\r\n    --replace           Replace the input files with results\r\n\r\n```\r\n","maintainers":[{"email":"emilajdyna@gmail.com","name":"buxlabs-dev"},{"email":"emil@ajdyna.com","name":"emilos"}],"time":{"modified":"2022-06-12T15:34:36.506Z","created":"2016-12-22T19:22:03.673Z","0.1.1":"2016-12-22T19:22:03.673Z","0.1.2":"2016-12-22T19:23:14.599Z","0.1.3":"2016-12-23T11:35:21.833Z","0.2.0":"2017-02-14T09:53:52.975Z"},"homepage":"https://github.com/buxlabs/before-all-to-es6#readme","keywords":["converter","jasmine","es6"],"repository":{"type":"git","url":"git+https://github.com/buxlabs/before-all-to-es6.git"},"author":{"name":"Emil Ajdyna","email":"emil@ajdyna.com"},"bugs":{"url":"https://github.com/buxlabs/before-all-to-es6/issues"},"license":"MIT","readmeFilename":"README.md"}