{"_id":"babel-plugin-module-alias","_rev":"1516257","name":"babel-plugin-module-alias","description":"Babel plugin to rewrite the path in require() and ES6 import","dist-tags":{"latest":"1.6.0"},"maintainers":[{"name":"tleunen","email":"tommy.leunen@gmail.com"}],"time":{"modified":"2021-11-10T06:21:22.000Z","created":"2015-08-16T14:47:28.185Z","1.6.0":"2016-07-24T17:16:23.053Z","1.5.0":"2016-06-22T01:47:58.085Z","1.4.1":"2016-06-22T01:23:16.192Z","1.4.0":"2016-04-29T01:49:08.077Z","1.3.0":"2016-04-17T17:40:05.932Z","1.2.0":"2016-02-02T15:12:57.185Z","1.1.1":"2016-01-11T12:09:33.902Z","1.1.0":"2016-01-03T20:05:32.431Z","1.0.0":"2015-10-31T05:01:54.273Z","0.2.0":"2015-10-24T16:43:58.576Z","0.1.2":"2015-08-16T14:47:28.185Z"},"users":{"timdorr":true,"kilkelly":true,"namniak":true,"h4des":true,"nfl":true,"qddegtya":true,"moimikey":true,"r24y":true,"usex":true,"mhaidarh":true,"rahulraghavankklm":true,"samar":true,"igorklopov":true,"larsgw":true},"author":{"name":"Tommy Leunen","email":"tommy.leunen@gmail.com","url":"http://tommyleunen.com"},"repository":{"type":"git","url":"git+https://github.com/tleunen/babel-plugin-module-alias.git"},"versions":{"1.6.0":{"name":"babel-plugin-module-alias","version":"1.6.0","main":"lib/index.js","description":"Babel plugin to rewrite the path in require() and ES6 import","repository":{"type":"git","url":"git+https://github.com/tleunen/babel-plugin-module-alias.git"},"author":{"name":"Tommy Leunen","email":"tommy.leunen@gmail.com","url":"http://tommyleunen.com"},"license":"MIT","keywords":["babel","babel-plugin","module","alias","rewrite","resolve","rename","mapping","require","import"],"dependencies":{},"devDependencies":{"babel-cli":"^6.10.1","babel-core":"^6.8.0","babel-plugin-__coverage__":"^11.0.0","babel-preset-es2015":"^6.6.0","babel-register":"^6.8.0","condition-circle":"^1.2.0","cross-env":"^1.0.8","eslint":"^2.13.0","eslint-config-airbnb-base":"^3.0.1","eslint-plugin-import":"^1.9.1","mocha":"^2.5.0","nyc":"^6.6.1","semantic-release":"^4.3.5"},"release":{"verifyConditions":"condition-circle"},"scripts":{"lint":"eslint src test","compile":"cross-env NODE_ENV=production babel src --out-dir lib","pretest":"npm run lint","test":"cross-env NODE_ENV=test nyc npm run test:suite","test:suite":"mocha --compilers js:babel-register","test:watch":"npm run test:suite -- -w","prepublish":"npm run compile","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"nyc":{"sourceMap":false,"instrument":false,"reporter":["lcov","text"]},"bugs":{"url":"https://github.com/tleunen/babel-plugin-module-alias/issues"},"homepage":"https://github.com/tleunen/babel-plugin-module-alias#readme","_id":"babel-plugin-module-alias@1.6.0","_shasum":"df7e3aaba3544f4c06a9d3314a26bbbff6d87b61","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"tleunen","email":"tommy.leunen@gmail.com"},"dist":{"shasum":"df7e3aaba3544f4c06a9d3314a26bbbff6d87b61","size":4148,"noattachment":false,"key":"/babel-plugin-module-alias/-/babel-plugin-module-alias-1.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-module-alias/download/babel-plugin-module-alias-1.6.0.tgz"},"maintainers":[{"name":"tleunen","email":"tommy.leunen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/babel-plugin-module-alias-1.6.0.tgz_1469380581108_0.8262407702859491"},"directories":{},"publish_time":1469380583053,"_cnpm_publish_time":1469380583053,"deprecated":"WARNING: This project has been renamed to babel-plugin-module-resolver. Install babel-plugin-module-resolver for new features","_hasShrinkwrap":false},"1.5.0":{"name":"babel-plugin-module-alias","version":"1.5.0","main":"lib/index.js","description":"Babel plugin to rewrite the path in require() and ES6 import","repository":{"type":"git","url":"git+https://github.com/tleunen/babel-plugin-module-alias.git"},"author":{"name":"Tommy Leunen","email":"tommy.leunen@gmail.com","url":"http://tommyleunen.com"},"license":"MIT","keywords":["babel","babel-plugin","module","alias","rewrite","resolve","rename","mapping","require","import"],"dependencies":{},"devDependencies":{"babel-cli":"^6.10.1","babel-core":"^6.8.0","babel-plugin-__coverage__":"^11.0.0","babel-preset-es2015":"^6.6.0","babel-register":"^6.8.0","condition-circle":"^1.2.0","cross-env":"^1.0.8","eslint":"^2.13.0","eslint-config-airbnb-base":"^3.0.1","eslint-plugin-import":"^1.9.1","mocha":"^2.5.0","nyc":"^6.6.1","semantic-release":"^4.3.5"},"release":{"verifyConditions":"condition-circle"},"scripts":{"lint":"eslint src test","compile":"cross-env NODE_ENV=production babel src --out-dir lib","pretest":"npm run lint","test":"cross-env NODE_ENV=test nyc npm run test:suite","test:suite":"mocha --compilers js:babel-register","test:watch":"npm run test:suite -- -w","prepublish":"npm run compile","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"nyc":{"sourceMap":false,"instrument":false,"reporter":["lcov","text"]},"bugs":{"url":"https://github.com/tleunen/babel-plugin-module-alias/issues"},"homepage":"https://github.com/tleunen/babel-plugin-module-alias#readme","_id":"babel-plugin-module-alias@1.5.0","_shasum":"93c306501fd76ac7ee3f8ad10fc2d28e2364d90e","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"tleunen","email":"tommy.leunen@gmail.com"},"dist":{"shasum":"93c306501fd76ac7ee3f8ad10fc2d28e2364d90e","size":4142,"noattachment":false,"key":"/babel-plugin-module-alias/-/babel-plugin-module-alias-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-module-alias/download/babel-plugin-module-alias-1.5.0.tgz"},"maintainers":[{"name":"tleunen","email":"tommy.leunen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/babel-plugin-module-alias-1.5.0.tgz_1466560075657_0.16695483052171767"},"directories":{},"publish_time":1466560078085,"_cnpm_publish_time":1466560078085,"deprecated":"WARNING: This project has been renamed to babel-plugin-module-resolver. Install babel-plugin-module-resolver for new features","_hasShrinkwrap":false},"1.4.1":{"name":"babel-plugin-module-alias","version":"1.4.1","main":"lib/index.js","description":"Babel plugin to rewrite the path in require() and ES6 import","repository":{"type":"git","url":"git+https://github.com/tleunen/babel-plugin-module-alias.git"},"author":{"name":"Tommy Leunen","email":"tommy.leunen@gmail.com","url":"http://tommyleunen.com"},"license":"MIT","keywords":["babel","babel-plugin","module","alias","rewrite","resolve","rename","mapping","require","import"],"dependencies":{},"devDependencies":{"babel-cli":"^6.10.1","babel-core":"^6.8.0","babel-plugin-__coverage__":"^11.0.0","babel-preset-es2015":"^6.6.0","babel-register":"^6.8.0","condition-circle":"^1.2.0","cross-env":"^1.0.8","eslint":"^2.13.0","eslint-config-airbnb-base":"^3.0.1","eslint-plugin-import":"^1.9.1","mocha":"^2.5.0","nyc":"^6.6.1","semantic-release":"^4.3.5"},"release":{"verifyConditions":"condition-circle"},"scripts":{"lint":"eslint src test","compile":"babel src --out-dir lib","pretest":"npm run lint","test":"cross-env NODE_ENV=test nyc npm run test:suite","test:suite":"mocha --compilers js:babel-register","test:watch":"npm run test:suite -- -w","prepublish":"npm run compile","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"nyc":{"sourceMap":false,"instrument":false,"reporter":["lcov","text"]},"bugs":{"url":"https://github.com/tleunen/babel-plugin-module-alias/issues"},"homepage":"https://github.com/tleunen/babel-plugin-module-alias#readme","_id":"babel-plugin-module-alias@1.4.1","_shasum":"7aa19557f3e516200ff897e20c17004e312c15b0","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"tleunen","email":"tommy.leunen@gmail.com"},"dist":{"shasum":"7aa19557f3e516200ff897e20c17004e312c15b0","size":6212,"noattachment":false,"key":"/babel-plugin-module-alias/-/babel-plugin-module-alias-1.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-module-alias/download/babel-plugin-module-alias-1.4.1.tgz"},"maintainers":[{"name":"tleunen","email":"tommy.leunen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/babel-plugin-module-alias-1.4.1.tgz_1466558593328_0.9251447359565645"},"directories":{},"publish_time":1466558596192,"_cnpm_publish_time":1466558596192,"deprecated":"WARNING: This project has been renamed to babel-plugin-module-resolver. Install babel-plugin-module-resolver for new features","_hasShrinkwrap":false},"1.4.0":{"name":"babel-plugin-module-alias","version":"1.4.0","main":"lib/index.js","description":"Babel plugin to rewrite the path in require() and ES6 import","repository":{"type":"git","url":"git+https://github.com/tleunen/babel-plugin-module-alias.git"},"author":{"name":"Tommy Leunen","email":"tommy.leunen@gmail.com","url":"http://tommyleunen.com"},"license":"MIT","keywords":["babel","babel-plugin","module","alias","rewrite","resolve","rename","mapping","require","import"],"dependencies":{},"devDependencies":{"babel-cli":"^6.7.7","babel-core":"^6.7.7","babel-preset-es2015":"^6.6.0","condition-node-version":"^1.3.0","eslint":"^2.8.0","eslint-config-airbnb-base":"^1.0.4","eslint-plugin-import":"^1.6.0","mocha":"^2.4.5","semantic-release":"^4.3.5"},"release":{"verifyConditions":{"path":"condition-node-version","node":">=6.0.0","verbose":true}},"scripts":{"lint":"eslint src test","compile":"babel src --out-dir lib","pretest":"npm run lint","test":"mocha --compilers js:babel-core/register","prepublish":"npm run compile","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"gitHead":"552ec9b5c05aa2c3f999314a75d63b6b9dd97f90","bugs":{"url":"https://github.com/tleunen/babel-plugin-module-alias/issues"},"homepage":"https://github.com/tleunen/babel-plugin-module-alias#readme","_id":"babel-plugin-module-alias@1.4.0","_shasum":"b7f1595e583b2818a09d2c533d25770706717761","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"tleunen","email":"tommy.leunen@gmail.com"},"dist":{"shasum":"b7f1595e583b2818a09d2c533d25770706717761","size":5066,"noattachment":false,"key":"/babel-plugin-module-alias/-/babel-plugin-module-alias-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-module-alias/download/babel-plugin-module-alias-1.4.0.tgz"},"maintainers":[{"name":"tleunen","email":"tommy.leunen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/babel-plugin-module-alias-1.4.0.tgz_1461894547165_0.9369205764960498"},"directories":{},"publish_time":1461894548077,"_cnpm_publish_time":1461894548077,"deprecated":"WARNING: This project has been renamed to babel-plugin-module-resolver. Install babel-plugin-module-resolver for new features","_hasShrinkwrap":false},"1.3.0":{"name":"babel-plugin-module-alias","version":"1.3.0","main":"lib/index.js","description":"Babel plugin to rewrite the path in require() and ES6 import","repository":{"type":"git","url":"git+https://github.com/tleunen/babel-plugin-module-alias.git"},"author":{"name":"Tommy Leunen","email":"tommy.leunen@gmail.com","url":"http://tommyleunen.com"},"license":"MIT","keywords":["babel","babel-plugin","module","alias","rewrite","resolve","rename","mapping","require","import"],"dependencies":{},"devDependencies":{"babel-cli":"^6.7.5","babel-core":"^6.7.6","babel-preset-es2015":"^6.6.0","eslint":"^2.8.0","eslint-config-airbnb":"^7.0.0","mocha":"^2.4.5"},"scripts":{"lint":"eslint src test","compile":"babel src --out-dir lib","pretest":"npm run lint","test":"mocha --compilers js:babel-core/register"},"gitHead":"bd1b62e62f981297c7dde57e7c6dc436a803cd7a","bugs":{"url":"https://github.com/tleunen/babel-plugin-module-alias/issues"},"homepage":"https://github.com/tleunen/babel-plugin-module-alias#readme","_id":"babel-plugin-module-alias@1.3.0","_shasum":"5959c877acc9cec1cde2de9f4b2dadd2752657ec","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.0","_npmUser":{"name":"tleunen","email":"tommy.leunen@gmail.com"},"dist":{"shasum":"5959c877acc9cec1cde2de9f4b2dadd2752657ec","size":4592,"noattachment":false,"key":"/babel-plugin-module-alias/-/babel-plugin-module-alias-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-module-alias/download/babel-plugin-module-alias-1.3.0.tgz"},"maintainers":[{"name":"tleunen","email":"tommy.leunen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/babel-plugin-module-alias-1.3.0.tgz_1460914803570_0.7284111101180315"},"directories":{},"publish_time":1460914805932,"_cnpm_publish_time":1460914805932,"deprecated":"WARNING: This project has been renamed to babel-plugin-module-resolver. Install babel-plugin-module-resolver for new features","_hasShrinkwrap":false},"1.2.0":{"name":"babel-plugin-module-alias","version":"1.2.0","main":"lib/index.js","description":"Babel plugin to rewrite the path in require() and ES6 import","repository":{"type":"git","url":"git+https://github.com/tleunen/babel-plugin-module-alias.git"},"author":{"name":"Tommy Leunen","email":"tommy.leunen@gmail.com","url":"http://tommyleunen.com"},"license":"MIT","keywords":["babel","babel-plugin","module","alias","rewrite","rename","mapping"],"dependencies":{},"devDependencies":{"babel-cli":"^6.4.0","babel-core":"^6.4.0","babel-preset-es2015":"^6.3.13","eslint":"^1.10.3","eslint-config-airbnb":"^3.1.0","mocha":"^2.3.4"},"scripts":{"lint":"eslint src test","build":"babel-plugin build","push":"babel-plugin publish","test":"mocha --compilers js:babel-core/register","posttest":"npm run lint"},"gitHead":"6c8c0b4d592eb0f8b36ccb4ee140e6389af8db52","bugs":{"url":"https://github.com/tleunen/babel-plugin-module-alias/issues"},"homepage":"https://github.com/tleunen/babel-plugin-module-alias#readme","_id":"babel-plugin-module-alias@1.2.0","_shasum":"930e2d185bb736007ab16d62b3e4b49107ae882f","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"tleunen","email":"tommy.leunen@gmail.com"},"dist":{"shasum":"930e2d185bb736007ab16d62b3e4b49107ae882f","size":4193,"noattachment":false,"key":"/babel-plugin-module-alias/-/babel-plugin-module-alias-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-module-alias/download/babel-plugin-module-alias-1.2.0.tgz"},"maintainers":[{"name":"tleunen","email":"tommy.leunen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/babel-plugin-module-alias-1.2.0.tgz_1454425976285_0.6292017402593046"},"directories":{},"publish_time":1454425977185,"_cnpm_publish_time":1454425977185,"deprecated":"WARNING: This project has been renamed to babel-plugin-module-resolver. Install babel-plugin-module-resolver for new features","_hasShrinkwrap":false},"1.1.1":{"name":"babel-plugin-module-alias","version":"1.1.1","main":"lib/index.js","description":"Babel plugin to rewrite the path in require() and ES6 import","repository":{"type":"git","url":"git+https://github.com/tleunen/babel-plugin-module-alias.git"},"author":{"name":"Tommy Leunen","email":"tommy.leunen@gmail.com","url":"http://tommyleunen.com"},"license":"MIT","keywords":["babel","babel-plugin","module","alias","rewrite","rename","mapping"],"dependencies":{},"devDependencies":{"babel-cli":"^6.4.0","babel-core":"^6.4.0","babel-preset-es2015":"^6.3.13","eslint":"^1.10.3","eslint-config-airbnb":"^3.1.0","mocha":"^2.3.4"},"scripts":{"lint":"eslint src test","build":"babel-plugin build","push":"babel-plugin publish","test":"mocha --compilers js:babel-core/register","posttest":"npm run lint"},"gitHead":"558c553bba2acd15c0e087d521d0375c83cce7c3","bugs":{"url":"https://github.com/tleunen/babel-plugin-module-alias/issues"},"homepage":"https://github.com/tleunen/babel-plugin-module-alias#readme","_id":"babel-plugin-module-alias@1.1.1","_shasum":"6e0f222c2635170ca207de8578bc377270ac1eb0","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"tleunen","email":"tommy.leunen@gmail.com"},"dist":{"shasum":"6e0f222c2635170ca207de8578bc377270ac1eb0","size":4076,"noattachment":false,"key":"/babel-plugin-module-alias/-/babel-plugin-module-alias-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-module-alias/download/babel-plugin-module-alias-1.1.1.tgz"},"maintainers":[{"name":"tleunen","email":"tommy.leunen@gmail.com"}],"directories":{},"publish_time":1452514173902,"_cnpm_publish_time":1452514173902,"deprecated":"WARNING: This project has been renamed to babel-plugin-module-resolver. Install babel-plugin-module-resolver for new features","_hasShrinkwrap":false},"1.1.0":{"name":"babel-plugin-module-alias","version":"1.1.0","main":"lib/index.js","description":"Babel plugin to rewrite the path in require() and ES6 import","repository":{"type":"git","url":"git+https://github.com/tleunen/babel-plugin-module-alias.git"},"author":{"name":"Tommy Leunen","email":"tommy.leunen@gmail.com","url":"http://tommyleunen.com"},"license":"MIT","keywords":["babel","babel-plugin","module","alias","rewrite","rename","mapping"],"dependencies":{},"devDependencies":{"babel-cli":"^6.1.4","babel-core":"^6.1.4","babel-preset-es2015":"^6.1.4","eslint":"^1.7.3","eslint-config-airbnb":"^2.0.0","mocha":"^2.3.3"},"scripts":{"lint":"eslint src test","build":"babel-plugin build","push":"babel-plugin publish","test":"mocha --compilers js:babel-core/register","posttest":"npm run lint"},"gitHead":"99759adb5eab97a1e7229b5830ac25ca62b8b87a","bugs":{"url":"https://github.com/tleunen/babel-plugin-module-alias/issues"},"homepage":"https://github.com/tleunen/babel-plugin-module-alias#readme","_id":"babel-plugin-module-alias@1.1.0","_shasum":"c6414406190f5e72e47257677be2be065b01828c","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"tleunen","email":"tommy.leunen@gmail.com"},"dist":{"shasum":"c6414406190f5e72e47257677be2be065b01828c","size":4059,"noattachment":false,"key":"/babel-plugin-module-alias/-/babel-plugin-module-alias-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-module-alias/download/babel-plugin-module-alias-1.1.0.tgz"},"maintainers":[{"name":"tleunen","email":"tommy.leunen@gmail.com"}],"directories":{},"publish_time":1451851532431,"_cnpm_publish_time":1451851532431,"deprecated":"WARNING: This project has been renamed to babel-plugin-module-resolver. Install babel-plugin-module-resolver for new features","_hasShrinkwrap":false},"1.0.0":{"name":"babel-plugin-module-alias","version":"1.0.0","main":"lib/index.js","description":"Babel plugin to rewrite the path in require() and ES6 import","repository":{"type":"git","url":"git+https://github.com/tleunen/babel-plugin-module-alias.git"},"author":{"name":"Tommy Leunen","email":"tommy.leunen@gmail.com","url":"http://tommyleunen.com"},"license":"MIT","keywords":["babel","babel-plugin","module","alias","rewrite","rename"],"dependencies":{},"devDependencies":{"babel-cli":"^6.0.14","babel-core":"^6.0.14","babel-eslint":"^4.1.3","babel-preset-es2015":"^6.0.14","eslint":"^1.7.3","eslint-config-airbnb":"^0.1.0","mocha":"^2.3.3"},"scripts":{"build":"babel-plugin build","push":"babel-plugin publish","test":"mocha --compilers js:babel-core/register","posttest":"eslint src test"},"gitHead":"6df6a72ab7e20fdc19579617edcc563f0ae363cc","bugs":{"url":"https://github.com/tleunen/babel-plugin-module-alias/issues"},"homepage":"https://github.com/tleunen/babel-plugin-module-alias#readme","_id":"babel-plugin-module-alias@1.0.0","_shasum":"13510c2c8c023d5a20cf5d18b660af3947006a59","_from":".","_npmVersion":"3.3.7","_nodeVersion":"0.12.7","_npmUser":{"name":"tleunen","email":"tommy.leunen@gmail.com"},"dist":{"shasum":"13510c2c8c023d5a20cf5d18b660af3947006a59","size":3817,"noattachment":false,"key":"/babel-plugin-module-alias/-/babel-plugin-module-alias-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-module-alias/download/babel-plugin-module-alias-1.0.0.tgz"},"maintainers":[{"name":"tleunen","email":"tommy.leunen@gmail.com"}],"directories":{},"publish_time":1446267714273,"_cnpm_publish_time":1446267714273,"deprecated":"WARNING: This project has been renamed to babel-plugin-module-resolver. Install babel-plugin-module-resolver for new features","_hasShrinkwrap":false},"0.2.0":{"name":"babel-plugin-module-alias","version":"0.2.0","main":"lib/index.js","description":"Babel plugin to rewrite the path in require() and ES6 import","repository":{"type":"git","url":"git+https://github.com/tleunen/babel-plugin-module-alias.git"},"author":{"name":"Tommy Leunen","email":"tommy.leunen@gmail.com","url":"http://tommyleunen.com"},"license":"MIT","dependencies":{"babel-core":"^5.8.22","glob":"^5.0.14","lodash":"^3.10.1"},"scripts":{"build":"babel-plugin build","push":"babel-plugin publish","test":"babel-plugin test"},"keywords":["babel","babel-plugin","module","alias","rewrite","rename"],"gitHead":"74d2e2ccc680c383ce5dc2a8b7e42127671ed5e4","bugs":{"url":"https://github.com/tleunen/babel-plugin-module-alias/issues"},"homepage":"https://github.com/tleunen/babel-plugin-module-alias#readme","_id":"babel-plugin-module-alias@0.2.0","_shasum":"b4ad1bdacbe020fcfd8058f819e5d2ed2c6dec75","_from":".","_npmVersion":"3.3.7","_nodeVersion":"0.12.7","_npmUser":{"name":"tleunen","email":"tommy.leunen@gmail.com"},"dist":{"shasum":"b4ad1bdacbe020fcfd8058f819e5d2ed2c6dec75","size":3706,"noattachment":false,"key":"/babel-plugin-module-alias/-/babel-plugin-module-alias-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-module-alias/download/babel-plugin-module-alias-0.2.0.tgz"},"maintainers":[{"name":"tleunen","email":"tommy.leunen@gmail.com"}],"directories":{},"publish_time":1445705038576,"_cnpm_publish_time":1445705038576,"deprecated":"WARNING: This project has been renamed to babel-plugin-module-resolver. Install babel-plugin-module-resolver for new features","_hasShrinkwrap":false},"0.1.2":{"name":"babel-plugin-module-alias","version":"0.1.2","main":"lib/index.js","description":"Babel plugin to rewrite the path in require() and ES6 import","repository":{"type":"git","url":"git+https://github.com/tleunen/babel-plugin-module-alias.git"},"author":{"name":"Tommy Leunen","email":"tommy.leunen@gmail.com","url":"http://tommyleunen.com"},"license":"MIT","dependencies":{"babel-core":"^5.8.22","glob":"^5.0.14","lodash":"^3.10.1"},"scripts":{"build":"babel-plugin build","push":"babel-plugin publish","test":"babel-plugin test"},"keywords":["babel","babel-plugin","module","alias","rewrite","rename"],"gitHead":"12319623034cc45e0cfbcb7ddaa8e8b1b8ba6c05","bugs":{"url":"https://github.com/tleunen/babel-plugin-module-alias/issues"},"homepage":"https://github.com/tleunen/babel-plugin-module-alias#readme","_id":"babel-plugin-module-alias@0.1.2","_shasum":"4fadbf2839db68e6efd4d9bcdd475ad54a25a118","_from":".","_npmVersion":"2.13.4","_nodeVersion":"0.12.5","_npmUser":{"name":"tleunen","email":"tommy.leunen@gmail.com"},"dist":{"shasum":"4fadbf2839db68e6efd4d9bcdd475ad54a25a118","size":3570,"noattachment":false,"key":"/babel-plugin-module-alias/-/babel-plugin-module-alias-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-module-alias/download/babel-plugin-module-alias-0.1.2.tgz"},"maintainers":[{"name":"tleunen","email":"tommy.leunen@gmail.com"}],"directories":{},"publish_time":1439736448185,"_cnpm_publish_time":1439736448185,"deprecated":"WARNING: This project has been renamed to babel-plugin-module-resolver. Install babel-plugin-module-resolver for new features","_hasShrinkwrap":false}},"readme":"# babel-plugin-module-alias [![Build Status][ci-image]][ci-url] [![Coverage Status][coverage-image]][coverage-url]\n\nA [babel](http://babeljs.io) plugin to rewrite (map, alias, resolve) directories as different directories during the Babel process. It's particularly useful when you have files you don't want to use with relative paths (especially in big projects).\n\n## Description\n\nInstead of using relative paths in your project, you'll be able to use an alias. Here an simple example:\n```js\n// Instead of using this;\nimport MyUtilFn from '../../../../utils/MyUtilFn';\n// Use that:\nimport MyUtilFn from 'utils/MyUtilFn';\n```\nWith this plugin, you'll be able to map files or directories to the path you want.\n\n_Note:_ It also work for `require()`.\n\n_Note 2:_ You can use the `npm:` prefix in your plugin configuration to map a node module.\n\n\n## Usage\n\nInstall the plugin\n\n```\n$ npm install --save-dev babel babel-plugin-module-alias\n```\n\nSpecify the plugin in your `.babelrc` with the custom mapping.\n```json\n{\n  \"plugins\": [\n    [\"module-alias\", [\n      { \"src\": \"./src/utils\", \"expose\": \"utils\" },\n      { \"src\": \"./src/components\", \"expose\": \"awesome/components\" },\n      { \"src\": \"npm:lodash\", \"expose\": \"underscore\" }\n    ]]\n  ]\n}\n```\n\nIf you're using [eslint-plugin-import][eslint-plugin-import], you should use [eslint-import-resolver-babel-module-alias][resolver-module-alias] to avoid having false errors.\n\n## License\n\nMIT, see [LICENSE.md](/LICENSE.md) for details.\n\n\n[ci-image]: https://circleci.com/gh/tleunen/babel-plugin-module-alias.svg?style=shield\n[ci-url]: https://circleci.com/gh/tleunen/babel-plugin-module-alias\n[coverage-image]: https://codecov.io/gh/tleunen/babel-plugin-module-alias/branch/master/graph/badge.svg\n[coverage-url]: https://codecov.io/gh/tleunen/babel-plugin-module-alias\n[resolver-module-alias]: https://github.com/tleunen/eslint-import-resolver-babel-module-alias\n[eslint-plugin-import]: https://github.com/benmosher/eslint-plugin-import\n","_attachments":{},"homepage":"https://github.com/tleunen/babel-plugin-module-alias#readme","bugs":{"url":"https://github.com/tleunen/babel-plugin-module-alias/issues"},"license":"MIT"}