{"_id":"babel-plugin-transform-imports","_rev":"349777","name":"babel-plugin-transform-imports","description":"Transforms member style imports (import {x} from 'y') into default style imports (import x from 'y/lib/x')","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"amctheatres","email":"websiteteam@amctheatres.com"}],"time":{"modified":"2021-07-13T07:48:14.000Z","created":"2016-03-03T21:38:18.073Z","2.0.0":"2019-07-01T17:39:34.478Z","1.5.1":"2018-09-05T17:46:47.729Z","1.5.0":"2018-03-05T17:12:27.689Z","1.4.1":"2017-07-23T21:39:15.922Z","1.4.0":"2017-06-20T00:30:57.491Z","1.3.0":"2017-06-05T21:13:53.133Z","1.2.0":"2017-03-18T17:38:48.178Z","1.1.0":"2016-06-06T21:28:07.681Z","1.0.0":"2016-04-21T17:54:30.087Z","0.2.3":"2016-03-31T16:49:22.499Z","0.2.2":"2016-03-07T19:00:28.087Z","0.2.1":"2016-03-04T16:56:11.774Z","0.2.0":"2016-03-04T16:50:03.835Z","0.0.2":"2016-03-04T06:29:22.709Z","0.0.1":"2016-03-03T21:38:18.073Z"},"users":{"philiiiiiipp":true,"bjacobel":true,"rtivital":true,"chriszs":true,"biped":true,"makenova":true,"rahulraghavankklm":true,"chrisui":true,"chocolateboy":true,"liuyun012":true,"isenricho":true,"jk6":true,"bjornmelgaard":true,"tkvw":true,"nickgogan":true,"ghettovoice":true,"morewry":true,"friday1993":true},"author":{"name":"AMC Theatres"},"repository":{"type":"git","url":"git+https://bitbucket.org/amctheatres/babel-transform-imports.git"},"versions":{"2.0.0":{"name":"babel-plugin-transform-imports","version":"2.0.0","description":"Transforms member style imports (import {x} from 'y') into default style imports (import x from 'y/lib/x')","keywords":["babel","transform","import","react-bootstrap","lodash"],"main":"index.js","repository":{"type":"git","url":"git+https://bitbucket.org/amctheatres/babel-transform-imports.git"},"homepage":"https://bitbucket.org/amctheatres/babel-transform-imports","scripts":{"test":"mocha --require @babel/register"},"author":{"name":"AMC Theatres"},"license":"ISC","dependencies":{"@babel/types":"^7.4","is-valid-path":"^0.1.1"},"devDependencies":{"@babel/core":"^7.4","@babel/preset-env":"^7.4","@babel/register":"^7.4.4","mocha":"^6.1"},"gitHead":"d8187ed9277ea444791808472333847145cf8ca9","_id":"babel-plugin-transform-imports@2.0.0","_nodeVersion":"8.11.1","_npmVersion":"6.9.0","dist":{"shasum":"9e5f49f751a9d34ba8f4bb988c7e48ed2419c6b6","size":4977,"noattachment":false,"key":"/babel-plugin-transform-imports/-/babel-plugin-transform-imports-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-imports/download/babel-plugin-transform-imports-2.0.0.tgz"},"maintainers":[{"name":"amctheatres","email":"websiteteam@amctheatres.com"}],"_npmUser":{"name":"amctheatres","email":"websiteteam@amctheatres.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-imports_2.0.0_1562002774380_0.04782290218902241"},"_hasShrinkwrap":false,"publish_time":1562002774478,"_cnpm_publish_time":1562002774478},"1.5.1":{"name":"babel-plugin-transform-imports","version":"1.5.1","description":"Transforms member style imports (import {x} from 'y') into default style imports (import x from 'y/lib/x')","keywords":["babel","transform","import","react-bootstrap","lodash"],"main":"index.js","repository":{"type":"git","url":"git+https://bitbucket.org/amctheatres/babel-transform-imports.git"},"homepage":"https://bitbucket.org/amctheatres/babel-transform-imports","scripts":{"test":"mocha --compilers js:babel-register"},"author":{"name":"AMC Theatres"},"license":"ISC","dependencies":{"babel-types":"^6.6.0","is-valid-path":"^0.1.1","lodash.camelcase":"^4.3.0","lodash.findkey":"^4.6.0","lodash.kebabcase":"^4.1.1","lodash.snakecase":"^4.1.1"},"devDependencies":{"babel-core":"^6.6.0","babel-preset-es2015":"^6.6.0","mocha":"^2.4.5"},"gitHead":"de8110e879a50caff60387d861be9c819ff91562","_id":"babel-plugin-transform-imports@1.5.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"amctheatres","email":"websiteteam@amctheatres.com"},"dist":{"shasum":"b3756696aea907719d0d63b0e67c88fba963adb0","size":5631,"noattachment":false,"key":"/babel-plugin-transform-imports/-/babel-plugin-transform-imports-1.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-imports/download/babel-plugin-transform-imports-1.5.1.tgz"},"maintainers":[{"name":"amctheatres","email":"websiteteam@amctheatres.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-imports_1.5.1_1536169607634_0.7327999091907731"},"_hasShrinkwrap":false,"publish_time":1536169607729,"_cnpm_publish_time":1536169607729},"1.5.0":{"name":"babel-plugin-transform-imports","version":"1.5.0","description":"Transforms member style imports (import {x} from 'y') into default style imports (import x from 'y/lib/x')","keywords":["babel","transform","import","react-bootstrap","lodash"],"main":"index.js","repository":{"type":"git","url":"git+https://bitbucket.org/amctheatres/babel-transform-imports.git"},"homepage":"https://bitbucket.org/amctheatres/babel-transform-imports","scripts":{"test":"mocha --compilers js:babel-register"},"author":{"name":"AMC Theatres"},"license":"ISC","dependencies":{"babel-types":"^6.6.0","is-valid-path":"^0.1.1","lodash.camelcase":"^4.3.0","lodash.findkey":"^4.6.0","lodash.kebabcase":"^4.1.1","lodash.snakecase":"^4.1.1"},"devDependencies":{"babel-core":"^6.6.0","babel-preset-es2015":"^6.6.0","mocha":"^2.4.5"},"gitHead":"53758bca21a7771e06b76a8c4a837e36edad29ea","_id":"babel-plugin-transform-imports@1.5.0","_shasum":"3105082ab489b1cee162e42d2ffe7b8f7c685f2e","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.11.2","_npmUser":{"name":"amctheatres","email":"websiteteam@amctheatres.com"},"dist":{"shasum":"3105082ab489b1cee162e42d2ffe7b8f7c685f2e","size":5650,"noattachment":false,"key":"/babel-plugin-transform-imports/-/babel-plugin-transform-imports-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-imports/download/babel-plugin-transform-imports-1.5.0.tgz"},"maintainers":[{"name":"amctheatres","email":"websiteteam@amctheatres.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-imports_1.5.0_1520269947644_0.9117746507236995"},"_hasShrinkwrap":false,"publish_time":1520269947689,"_cnpm_publish_time":1520269947689},"1.4.1":{"name":"babel-plugin-transform-imports","version":"1.4.1","description":"Transforms member style imports (import {x} from 'y') into default style imports (import x from 'y/lib/x')","keywords":["babel","transform","import","react-bootstrap","lodash"],"main":"index.js","repository":{"type":"git","url":"git+https://bitbucket.org/amctheatres/babel-transform-imports.git"},"homepage":"https://bitbucket.org/amctheatres/babel-transform-imports","scripts":{"test":"mocha --compilers js:babel-register"},"author":{"name":"AMC Theatres"},"license":"ISC","dependencies":{"babel-types":"^6.6.0","lodash.camelcase":"^4.3.0","lodash.kebabcase":"^4.1.1","lodash.snakecase":"^4.1.1"},"devDependencies":{"babel-core":"^6.6.0","babel-preset-es2015":"^6.6.0","mocha":"^2.4.5"},"gitHead":"c24ac82d4e24251e942456ede96f0558e989e184","_id":"babel-plugin-transform-imports@1.4.1","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"amctheatres","email":"websiteteam@amctheatres.com"},"dist":{"shasum":"b5346b06484601024b73ef34abfc52a950a145d9","size":4915,"noattachment":false,"key":"/babel-plugin-transform-imports/-/babel-plugin-transform-imports-1.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-imports/download/babel-plugin-transform-imports-1.4.1.tgz"},"maintainers":[{"name":"amctheatres","email":"websiteteam@amctheatres.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-imports-1.4.1.tgz_1500845955010_0.1696886799763888"},"directories":{},"publish_time":1500845955922,"_hasShrinkwrap":false,"_cnpm_publish_time":1500845955922},"1.4.0":{"name":"babel-plugin-transform-imports","version":"1.4.0","description":"Transforms member style imports (import {x} from 'y') into default style imports (import x from 'y/lib/x')","keywords":["babel","transform","import","react-bootstrap","lodash"],"main":"index.js","repository":{"type":"git","url":"git+https://bitbucket.org/amctheatres/babel-transform-imports.git"},"homepage":"https://bitbucket.org/amctheatres/babel-transform-imports","scripts":{"test":"mocha --compilers js:babel-register"},"author":{"name":"AMC Theatres"},"license":"ISC","dependencies":{"babel-types":"^6.6.0","lodash.camelcase":"^4.3.0","lodash.kebabcase":"^4.1.1","lodash.snakecase":"^4.1.1"},"devDependencies":{"babel-core":"^6.6.0","babel-preset-es2015":"^6.6.0","mocha":"^2.4.5"},"gitHead":"236f86ef2c3491601de5a326e0e286e589570837","_id":"babel-plugin-transform-imports@1.4.0","_shasum":"f55cb5f5ab43fe2885c22ce9a91d31fbd31def0f","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.1.0","_npmUser":{"name":"amctheatres","email":"websiteteam@amctheatres.com"},"dist":{"shasum":"f55cb5f5ab43fe2885c22ce9a91d31fbd31def0f","size":4924,"noattachment":false,"key":"/babel-plugin-transform-imports/-/babel-plugin-transform-imports-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-imports/download/babel-plugin-transform-imports-1.4.0.tgz"},"maintainers":[{"name":"amctheatres","email":"websiteteam@amctheatres.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-imports-1.4.0.tgz_1497918656459_0.5781116874422878"},"directories":{},"publish_time":1497918657491,"_hasShrinkwrap":false,"_cnpm_publish_time":1497918657491},"1.3.0":{"name":"babel-plugin-transform-imports","version":"1.3.0","description":"Transforms member style imports (import {x} from 'y') into default style imports (import x from 'y/lib/x')","keywords":["babel","transform","import","react-bootstrap","lodash"],"main":"index.js","repository":{"type":"git","url":"git+https://bitbucket.org/amctheatres/babel-transform-imports.git"},"homepage":"https://bitbucket.org/amctheatres/babel-transform-imports","scripts":{"test":"mocha --compilers js:babel-register"},"author":{"name":"AMC Theatres"},"license":"ISC","dependencies":{"babel-types":"^6.6.0","lodash.camelcase":"^4.3.0","lodash.kebabcase":"^4.1.1","lodash.snakecase":"^4.1.1"},"devDependencies":{"babel-core":"^6.6.0","babel-preset-es2015":"^6.6.0","mocha":"^2.4.5"},"gitHead":"743286c165c2e4a2548b59314f5395cbb69dd630","_id":"babel-plugin-transform-imports@1.3.0","_shasum":"69b5bb32a27ed837796e0d18361f4a33b19090dc","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.2.0","_npmUser":{"name":"amctheatres","email":"websiteteam@amctheatres.com"},"dist":{"shasum":"69b5bb32a27ed837796e0d18361f4a33b19090dc","size":4666,"noattachment":false,"key":"/babel-plugin-transform-imports/-/babel-plugin-transform-imports-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-imports/download/babel-plugin-transform-imports-1.3.0.tgz"},"maintainers":[{"name":"amctheatres","email":"websiteteam@amctheatres.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-imports-1.3.0.tgz_1496697232161_0.5980754962656647"},"directories":{},"publish_time":1496697233133,"_hasShrinkwrap":false,"_cnpm_publish_time":1496697233133},"1.2.0":{"name":"babel-plugin-transform-imports","version":"1.2.0","description":"Transforms member style imports (import {x} from 'y') into default style imports (import x from 'y/lib/x')","keywords":["babel","transform","import","react-bootstrap","lodash"],"main":"index.js","repository":{"type":"git","url":"git+https://bitbucket.org/amctheatres/babel-transform-imports.git"},"homepage":"https://bitbucket.org/amctheatres/babel-transform-imports","scripts":{"test":"mocha --compilers js:babel-register"},"author":{"name":"AMC Theatres"},"license":"ISC","dependencies":{"babel-types":"^6.6.0","lodash.kebabcase":"^4.0.1"},"devDependencies":{"babel-core":"^6.6.0","babel-preset-es2015":"^6.6.0","mocha":"^2.4.5"},"gitHead":"c88adbb89e4d9d2cbbf78a6d355edecd7145782c","_id":"babel-plugin-transform-imports@1.2.0","_shasum":"9ed6c7c65c06608d58ed7c90cd11a182987aa6b5","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.1.0","_npmUser":{"name":"amctheatres","email":"websiteteam@amctheatres.com"},"dist":{"shasum":"9ed6c7c65c06608d58ed7c90cd11a182987aa6b5","size":4061,"noattachment":false,"key":"/babel-plugin-transform-imports/-/babel-plugin-transform-imports-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-imports/download/babel-plugin-transform-imports-1.2.0.tgz"},"maintainers":[{"name":"amctheatres","email":"websiteteam@amctheatres.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/babel-plugin-transform-imports-1.2.0.tgz_1489858727516_0.15191941894590855"},"directories":{},"publish_time":1489858728178,"_cnpm_publish_time":1489858728178,"_hasShrinkwrap":false},"1.1.0":{"name":"babel-plugin-transform-imports","version":"1.1.0","description":"Transforms member style imports (import {x} from 'y') into default style imports (import x from 'y/lib/x')","keywords":["babel","transform","import","react-bootstrap","lodash"],"main":"index.js","repository":{"type":"git","url":"git+https://bitbucket.org/amctheatres/babel-transform-imports.git"},"homepage":"https://bitbucket.org/amctheatres/babel-transform-imports","scripts":{"test":"mocha --compilers js:babel-register"},"author":{"name":"AMC Theatres"},"license":"ISC","dependencies":{"babel-types":"^6.6.0","lodash.kebabcase":"^4.0.1"},"devDependencies":{"babel-core":"^6.6.0","babel-preset-es2015":"^6.6.0","mocha":"^2.4.5"},"gitHead":"18c5e786bfffbfe8e8e5822b955be8ddb1a03d45","_id":"babel-plugin-transform-imports@1.1.0","_shasum":"fd7ca83a3cd8b1b8f1e964c867d80c96fdcb5f69","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"amctheatres","email":"websiteteam@amctheatres.com"},"dist":{"shasum":"fd7ca83a3cd8b1b8f1e964c867d80c96fdcb5f69","size":3296,"noattachment":false,"key":"/babel-plugin-transform-imports/-/babel-plugin-transform-imports-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-imports/download/babel-plugin-transform-imports-1.1.0.tgz"},"maintainers":[{"name":"amctheatres","email":"websiteteam@amctheatres.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/babel-plugin-transform-imports-1.1.0.tgz_1465248485251_0.3803617877420038"},"directories":{},"publish_time":1465248487681,"_cnpm_publish_time":1465248487681,"_hasShrinkwrap":false},"1.0.0":{"name":"babel-plugin-transform-imports","version":"1.0.0","description":"Transforms member style imports (import {x} from 'y') into default style imports (import x from 'y/lib/x')","keywords":["babel","transform","import","react-bootstrap","lodash"],"main":"index.js","repository":{"type":"git","url":"git+https://bitbucket.org/amctheatres/babel-transform-imports.git"},"homepage":"https://bitbucket.org/amctheatres/babel-transform-imports","scripts":{"test":"mocha --compilers js:babel-register"},"author":{"name":"AMC Theatres"},"license":"ISC","dependencies":{"babel-types":"^6.6.0"},"devDependencies":{"babel-core":"^6.6.0","babel-preset-es2015":"^6.6.0","mocha":"^2.4.5"},"gitHead":"be75205841abfd1f196b4220ac86597507e33cb1","_id":"babel-plugin-transform-imports@1.0.0","_shasum":"04f0f900f5ce6d86f6f99edd7fa8b27b11e50b43","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"amctheatres","email":"websiteteam@amctheatres.com"},"dist":{"shasum":"04f0f900f5ce6d86f6f99edd7fa8b27b11e50b43","size":3113,"noattachment":false,"key":"/babel-plugin-transform-imports/-/babel-plugin-transform-imports-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-imports/download/babel-plugin-transform-imports-1.0.0.tgz"},"maintainers":[{"name":"amctheatres","email":"websiteteam@amctheatres.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/babel-plugin-transform-imports-1.0.0.tgz_1461261267744_0.5344417197629809"},"directories":{},"publish_time":1461261270087,"_cnpm_publish_time":1461261270087,"_hasShrinkwrap":false},"0.2.3":{"name":"babel-plugin-transform-imports","version":"0.2.3","description":"Transforms member style imports (import {x} from 'y') into default style imports (import x from 'y/lib/x')","keywords":["babel","transform","import","react-bootstrap"],"main":"index.js","repository":{"type":"git","url":"git+https://bitbucket.org/amctheatres/babel-transform-imports.git"},"homepage":"https://bitbucket.org/amctheatres/babel-transform-imports","scripts":{"test":"mocha --compilers js:babel-register"},"author":{"name":"AMC Theatres"},"license":"ISC","dependencies":{"babel-types":"^6.6.0"},"devDependencies":{"babel-core":"^6.6.0","babel-preset-es2015":"^6.6.0","mocha":"^2.4.5"},"gitHead":"7fcc823a4efa20e79ce77d042ec2e0a571621c95","_id":"babel-plugin-transform-imports@0.2.3","_shasum":"c5face42b0bf1327fd937dc16c1084f6a50b3138","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"amctheatres","email":"websiteteam@amctheatres.com"},"dist":{"shasum":"c5face42b0bf1327fd937dc16c1084f6a50b3138","size":3102,"noattachment":false,"key":"/babel-plugin-transform-imports/-/babel-plugin-transform-imports-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-imports/download/babel-plugin-transform-imports-0.2.3.tgz"},"maintainers":[{"name":"amctheatres","email":"websiteteam@amctheatres.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/babel-plugin-transform-imports-0.2.3.tgz_1459442961546_0.40872109052725136"},"directories":{},"publish_time":1459442962499,"_cnpm_publish_time":1459442962499,"_hasShrinkwrap":false},"0.2.2":{"name":"babel-plugin-transform-imports","version":"0.2.2","description":"Transforms member style imports (import {x} from 'y') into default style imports (import x from 'y/lib/x')","keywords":["babel","transform","import","react-bootstrap"],"main":"index.js","repository":{"type":"git","url":"git+https://bitbucket.org/amctheatres/babel-transform-imports.git"},"homepage":"https://bitbucket.org/amctheatres/babel-transform-imports","scripts":{"test":"mocha --compilers js:babel-register"},"author":{"name":"AMC Theatres"},"license":"ISC","dependencies":{"babel-types":"^6.6.0","lodash.template":"^4.2.2"},"devDependencies":{"babel-core":"^6.6.0","babel-preset-es2015":"^6.6.0","mocha":"^2.4.5"},"gitHead":"cdca5dafc105c68b7b7be805274865ae5672d95c","_id":"babel-plugin-transform-imports@0.2.2","_shasum":"8d2abe15c70b12eb288d28504e5aa12c522f8407","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"amctheatres","email":"websiteteam@amctheatres.com"},"dist":{"shasum":"8d2abe15c70b12eb288d28504e5aa12c522f8407","size":3087,"noattachment":false,"key":"/babel-plugin-transform-imports/-/babel-plugin-transform-imports-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-imports/download/babel-plugin-transform-imports-0.2.2.tgz"},"maintainers":[{"name":"amctheatres","email":"websiteteam@amctheatres.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/babel-plugin-transform-imports-0.2.2.tgz_1457377224122_0.8292738681193441"},"directories":{},"publish_time":1457377228087,"_cnpm_publish_time":1457377228087,"_hasShrinkwrap":false},"0.2.1":{"name":"babel-plugin-transform-imports","version":"0.2.1","description":"Transforms member style imports (import {x} from 'y') into default style imports (import x from 'y/lib/x')","keywords":["babel","transform","import","react-bootstrap"],"main":"index.js","repository":{"type":"git","url":"git+https://bitbucket.org/amctheatres/babel-transform-imports.git"},"homepage":"https://bitbucket.org/amctheatres/babel-transform-imports","scripts":{"test":"mocha --compilers js:babel-register"},"author":{"name":"AMC Theatres"},"license":"ISC","dependencies":{"babel-types":"^6.6.0","lodash.template":"^4.2.2"},"devDependencies":{"babel-core":"^6.6.0","babel-preset-es2015":"^6.6.0","mocha":"^2.4.5"},"gitHead":"227629be04e92c70db81706f8b7b60dbf73be462","_id":"babel-plugin-transform-imports@0.2.1","_shasum":"57206513d1079e0d967472bb9e75521770b8ea20","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"amctheatres","email":"websiteteam@amctheatres.com"},"dist":{"shasum":"57206513d1079e0d967472bb9e75521770b8ea20","size":2962,"noattachment":false,"key":"/babel-plugin-transform-imports/-/babel-plugin-transform-imports-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-imports/download/babel-plugin-transform-imports-0.2.1.tgz"},"maintainers":[{"name":"amctheatres","email":"websiteteam@amctheatres.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/babel-plugin-transform-imports-0.2.1.tgz_1457110568623_0.03158479114063084"},"directories":{},"publish_time":1457110571774,"_cnpm_publish_time":1457110571774,"_hasShrinkwrap":false},"0.2.0":{"name":"babel-plugin-transform-imports","version":"0.2.0","description":"Transforms member style imports (import {x} from 'y') into default style imports (import x from 'y/lib/x')","keywords":["babel","transform","import","react-bootstrap"],"main":"index.js","repository":{"type":"git","url":"git+https://bitbucket.org/amctheatres/babel-transform-imports.git"},"homepage":"https://bitbucket.org/amctheatres/babel-transform-imports","scripts":{"test":"mocha --compilers js:babel-register"},"author":{"name":"AMC Theatres"},"license":"ISC","dependencies":{"babel-types":"^6.6.0","lodash.template":"^4.2.2"},"devDependencies":{"babel-core":"^6.6.0","babel-preset-es2015":"^6.6.0","mocha":"^2.4.5"},"gitHead":"c076f259a1b35166ad73ebd7c6035febebb26947","_id":"babel-plugin-transform-imports@0.2.0","_shasum":"6081b17f2e092c55309161244f0164b521205f1f","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"amctheatres","email":"websiteteam@amctheatres.com"},"dist":{"shasum":"6081b17f2e092c55309161244f0164b521205f1f","size":2969,"noattachment":false,"key":"/babel-plugin-transform-imports/-/babel-plugin-transform-imports-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-imports/download/babel-plugin-transform-imports-0.2.0.tgz"},"maintainers":[{"name":"amctheatres","email":"websiteteam@amctheatres.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/babel-plugin-transform-imports-0.2.0.tgz_1457110200520_0.6848679094109684"},"directories":{},"publish_time":1457110203835,"_cnpm_publish_time":1457110203835,"_hasShrinkwrap":false},"0.0.2":{"name":"babel-plugin-transform-imports","version":"0.0.2","description":"Transforms member style imports (import {x} from 'y') into default style imports (import x from 'y/lib/x')","keywords":["babel","transform","import","react-bootstrap"],"main":"index.js","repository":{"type":"git","url":"git+https://bitbucket.org/amctheatres/babel-transform-imports.git"},"homepage":"https://bitbucket.org/amctheatres/babel-transform-imports","scripts":{"test":"mocha --compilers js:babel-register"},"author":{"name":"AMC Theatres"},"license":"ISC","dependencies":{"babel-types":"^6.6.0","lodash.template":"^4.2.2"},"devDependencies":{"babel-core":"^6.6.0","babel-preset-es2015":"^6.6.0","mocha":"^2.4.5"},"gitHead":"72836637db2dbbcf74802705e945e7c8eee36ab4","_id":"babel-plugin-transform-imports@0.0.2","_shasum":"9092be2d561c48eeccb1ffa794159df07de82ab8","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"amctheatres","email":"websiteteam@amctheatres.com"},"dist":{"shasum":"9092be2d561c48eeccb1ffa794159df07de82ab8","size":2955,"noattachment":false,"key":"/babel-plugin-transform-imports/-/babel-plugin-transform-imports-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-imports/download/babel-plugin-transform-imports-0.0.2.tgz"},"maintainers":[{"name":"amctheatres","email":"websiteteam@amctheatres.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/babel-plugin-transform-imports-0.0.2.tgz_1457072959599_0.8480430983472615"},"directories":{},"publish_time":1457072962709,"_cnpm_publish_time":1457072962709,"_hasShrinkwrap":false},"0.0.1":{"name":"babel-plugin-transform-imports","version":"0.0.1","description":"Transforms member style imports (import {x} from 'y') into default style imports (import x from 'y/lib/x')","keywords":["babel","transform","import","react-bootstrap"],"main":"index.js","repository":{"type":"git","url":"git+https://bitbucket.org/amctheatres/babel-transform-imports.git"},"homepage":"https://bitbucket.org/amctheatres/babel-transform-imports","scripts":{"test":"mocha --compilers js:babel-register"},"author":{"name":"AMC Theatres"},"license":"ISC","dependencies":{"babel-types":"^6.6.0","lodash.template":"^4.2.2"},"devDependencies":{"babel-core":"^6.6.0","babel-preset-es2015":"^6.6.0","mocha":"^2.4.5"},"gitHead":"92a5aaa13c586ed7fd61de02c6593bd039e3825c","_id":"babel-plugin-transform-imports@0.0.1","_shasum":"ed0e1fdbe54035874cb3b24860e054d6f9b30b71","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"amctheatres","email":"websiteteam@amctheatres.com"},"dist":{"shasum":"ed0e1fdbe54035874cb3b24860e054d6f9b30b71","size":2935,"noattachment":false,"key":"/babel-plugin-transform-imports/-/babel-plugin-transform-imports-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-imports/download/babel-plugin-transform-imports-0.0.1.tgz"},"maintainers":[{"name":"amctheatres","email":"websiteteam@amctheatres.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/babel-plugin-transform-imports-0.0.1.tgz_1457041095289_0.94677939475514"},"directories":{},"publish_time":1457041098073,"_cnpm_publish_time":1457041098073,"_hasShrinkwrap":false}},"readme":"# babel-plugin-transform-imports\r\n\r\nTransforms member style imports:\r\n\r\n```javascript\r\nimport { Row, Grid as MyGrid } from 'react-bootstrap';\r\nimport { merge } from 'lodash';\r\n```\r\n\r\n...into default style imports:\r\n\r\n```javascript\r\nimport Row from 'react-bootstrap/lib/Row';\r\nimport MyGrid from 'react-bootstrap/lib/Grid';\r\nimport merge from 'lodash/merge';\r\n```\r\n\r\n*Note: this plugin is not restricted to the react-bootstrap and lodash\r\nlibraries.  You may use it with any library.*\r\n\r\n## Why?\r\n\r\nWhen Babel encounters a member style import such as:\r\n\r\n```javascript\r\nimport { Grid, Row, Col } from 'react-bootstrap';\r\n```\r\n\r\nit will generate something similarish to:\r\n\r\n```javascript\r\nvar reactBootstrap = require('react-bootstrap');\r\nvar Grid = reactBootstrap.Grid;\r\nvar Row = reactBootstrap.Row;\r\nvar Col = reactBootstrap.Col;\r\n```\r\n\r\nWhich causes the entire library to be loaded, even though only some components\r\nare needed.  Some libraries are rather large and pulling in the entire module\r\nwould cause unnecessary bloat to your client optimized (webpack etc.) bundle.\r\nThe only way around this is to use default style imports:\r\n\r\n```javascript\r\nimport Grid from 'react-bootstrap/lib/Grid';\r\nimport Row from 'react-bootstrap/lib/Row';\r\nimport Col from 'react-bootstrap/lib/Col';\r\n```\r\n\r\nBut, the more pieces we need, the more this sucks.  This plugin will allow you\r\nto pull in just the pieces you need, without a separate import for each item.\r\nAdditionally, it can be configured to throw when somebody accidentally writes\r\nan import which would cause the entire module to resolve, such as:\r\n\r\n```javascript\r\nimport Bootstrap, { Grid } from 'react-bootstrap';\r\n// -- or --\r\nimport * as Bootstrap from 'react-bootstrap';\r\n```\r\n\r\n## Installation\r\n\r\n```\r\nnpm install --save-dev babel-plugin-transform-imports\r\n```\r\n\r\n## Usage\r\n\r\n`.babelrc`:\r\n\r\n```json\r\n{\r\n  \"plugins\": [\r\n    [\"transform-imports\", {\r\n      \"react-bootstrap\": {\r\n        \"transform\": \"react-bootstrap/lib/${member}\",\r\n        \"preventFullImport\": true\r\n      },\r\n      \"lodash\": {\r\n        \"transform\": \"lodash/${member}\",\r\n        \"preventFullImport\": true\r\n      }\r\n    }]\r\n  ]\r\n}\r\n```\r\n\r\n## Advanced Transformations\r\n\r\n### Using regular expressions\r\n\r\nSometimes, you may wish to use regular expressions in your transformation (for\r\nexample, to enforce the same convention in all folder levels on the structure\r\nof your library).\r\n\r\n`.babelrc`:\r\n\r\n```json\r\n{\r\n  \"plugins\": [\r\n    [\"transform-imports\", {\r\n      \"my-library\\/?(((\\\\w*)?\\/?)*)\": {\r\n        \"transform\": \"my-library/${1}/${member}\",\r\n        \"preventFullImport\": true\r\n      }\r\n    }]\r\n  ]\r\n}\r\n```\r\n\r\nCauses this code:\r\n\r\n```javascript\r\nimport { MyModule } from 'my-library';\r\nimport { App } from 'my-library/components';\r\nimport { Header, Footer } from 'my-library/components/App';\r\n```\r\n\r\nto become:\r\n\r\n```javascript\r\nimport MyModule from 'my-library/MyModule';\r\nimport App from 'my-library/components/App';\r\nimport Header from 'my-library/components/App/Header';\r\nimport Footer from 'my-library/components/App/Footer';\r\n```\r\n\r\n### Using a function as the transformer\r\n\r\nIf you need more advanced or more specific transformation logic, and are using\r\nBabel 7+ with a `babel.config.js` file, you may provide a function instead of a\r\nstring for the `transform` option:\r\n\r\n`babel.config.js`:\r\n\r\n```javascript\r\nmodule.exports = {\r\n  presets: ['@babel/env'],\r\n  plugins: [\r\n    ['transform-imports', {\r\n      'my-library': {\r\n        transform: (importName, matches) => `my-library/etc/${importName.toUpperCase()}`,\r\n        preventFullImport: true,\r\n      },\r\n      'date-fns': {\r\n        transform: importName => `date-fns/${camelCase(importName)}`,\r\n        preventFullImport: true,\r\n      },\r\n    }]\r\n  ]\r\n};\r\n```\r\n\r\nYou may combine a regular expression in the library name with a function\r\ntransform, and any captures of the regex will be passed as a second argument.\r\n\r\n## Webpack\r\n\r\nThis can be used as a plugin with babel-loader.\r\n\r\nwebpack.config.js:\r\n```javascript\r\nmodule: {\r\n  rules: [{\r\n    test: /\\.js$/,\r\n    exclude: /(node_modules|bower_components)/,\r\n    use: {\r\n      loader: 'babel-loader',\r\n      query: {\r\n        plugins: [\r\n          [require('babel-plugin-transform-imports'), {\r\n            'my-library': {\r\n              transform: function(importName, matches) {\r\n                return 'my-library/etc/' + importName.toUpperCase();\r\n              },\r\n              preventFullImport: true\r\n            }\r\n          }]\r\n        ]\r\n      }\r\n    }\r\n  }]\r\n}\r\n```\r\n\r\n## Version 2.0 Breaking Changes\r\n\r\nVersion 2.0 of this plugin targets Babel 7. Since Babel 7 allows for JS inside\r\nthe config via `.babelrc.js` or `babel.config.js`, the specialized transforms\r\n`camelCase`, `kebabCase`, and `snakeCase` have been dropped. If you still need\r\nthis functionality, you can import `lodash` directly in your config file and\r\nuse those functions as part of a return value passed to the `transform` function\r\n(see *Using a function as the transformer* above).\r\n\r\nIf you are on Babel 6, this plugin should still work, but if you need the prior\r\nspecialized functionality, please use the ^1.0.0 version of this library and\r\nsee the documentation located [here](https://bitbucket.org/amctheatres/babel-transform-imports/src/babel6/README.md).\r\n\r\n## Options\r\n\r\n| Name | Type | Required | Default | Description |\r\n| --- | --- | --- | --- | --- |\r\n| `transform` | `string or function` | yes | `undefined` | The library name to use instead of the one specified in the import statement.  ${member} will be replaced with the import name, aka Grid/Row/Col/etc., and ${1-n} will be replaced by any matched regular expression groups. If using a JS Babel config file, a function may be passed directly. (see Advanced Transformations) |\r\n| `preventFullImport` | `boolean` | no | `false` | Whether or not to throw when an import is encountered which would cause the entire module to be imported. |\r\n| `skipDefaultConversion` | `boolean` | no | `false` | When set to true, will preserve `import { X }` syntax instead of converting to `import X`. |\r\n","_attachments":{},"homepage":"https://bitbucket.org/amctheatres/babel-transform-imports","license":"ISC"}