{"_id":"find-babel-config","_rev":"4456855","name":"find-babel-config","description":"Find the closest babel config based on a directory","dist-tags":{"latest":"2.1.2","previous":"1.2.2"},"maintainers":[{"name":"tleunen","email":"tommy.leunen@gmail.com"}],"time":{"modified":"2026-04-08T14:35:39.000Z","created":"2016-07-10T00:23:39.750Z","2.1.2":"2024-09-02T12:31:23.877Z","1.2.2":"2024-04-25T18:05:33.070Z","2.1.1":"2024-04-17T10:36:55.085Z","2.1.0":"2024-04-17T00:41:05.678Z","1.2.1":"2024-04-17T00:39:23.229Z","2.0.0":"2023-01-09T14:06:43.844Z","1.2.0":"2019-03-04T17:13:49.654Z","1.1.0":"2017-05-08T22:13:25.393Z","1.0.1":"2016-08-20T01:34:31.452Z","1.0.0":"2016-08-06T15:26:18.762Z","0.1.1":"2016-07-10T00:31:26.841Z","0.1.0":"2016-07-10T00:23:39.750Z"},"users":{},"author":{"name":"Tommy Leunen","email":"tommy.leunen@gmail.com","url":"http://tommyleunen.com"},"repository":{"type":"git","url":"git+https://github.com/tleunen/find-babel-config.git"},"versions":{"2.1.2":{"name":"find-babel-config","version":"2.1.2","main":"src/index.js","description":"Find the closest babel config based on a directory","repository":{"type":"git","url":"git+https://github.com/tleunen/find-babel-config.git"},"author":{"name":"Tommy Leunen","email":"tommy.leunen@gmail.com","url":"http://tommyleunen.com"},"license":"MIT","keywords":["babel","config","loader","finder","babelrc"],"dependencies":{"json5":"^2.2.3"},"devDependencies":{"@babel/cli":"^7.24.1","@babel/preset-env":"^7.24.4","eslint":"^6.7.2","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.19.1","jest":"^29.7.0","standard-version":"^9.5.0"},"scripts":{"lint":"eslint src test","test:coverage":"jest --coverage","test:watch":"jest --watch","test":"jest","release":"standard-version"},"jest":{"testRegex":"/test/.*\\.test\\.js$","collectCoverageFrom":["src/**/*.js"]},"greenkeeper":{"ignore":["eslint","eslint-plugin-import","babel-jest"]},"_id":"find-babel-config@2.1.2","gitHead":"0bc2a172c2aac355f3a4ec06905e0a2825beb65d","bugs":{"url":"https://github.com/tleunen/find-babel-config/issues"},"homepage":"https://github.com/tleunen/find-babel-config#readme","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"shasum":"2841b1bfbbbcdb971e1e39df8cbc43dafa901716","size":4558,"noattachment":false,"key":"/find-babel-config/-/find-babel-config-2.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-babel-config/download/find-babel-config-2.1.2.tgz"},"_npmUser":{"name":"tleunen","email":"tommy.leunen@gmail.com"},"directories":{},"maintainers":[{"name":"tleunen","email":"tommy.leunen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-babel-config_2.1.2_1725280283708_0.8667064789538506"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-09-02T12:31:23.877Z","publish_time":1725280283877,"_source_registry_name":"default","_cnpm_publish_time":1725280283877},"1.2.2":{"name":"find-babel-config","version":"1.2.2","main":"lib/index.js","description":"Find the closest babel config based on a directory","repository":{"type":"git","url":"git+https://github.com/tleunen/find-babel-config.git"},"engines":{"node":">=4.0.0"},"author":{"name":"Tommy Leunen","email":"tommy.leunen@gmail.com","url":"http://tommyleunen.com"},"license":"MIT","keywords":["babel","config","loader","finder","babelrc"],"dependencies":{"json5":"^1.0.2","path-exists":"^3.0.0"},"devDependencies":{"babel-cli":"^6.24.1","babel-jest":"^20.0.0","babel-preset-env":"^1.4.0","eslint":"^3.19.0","eslint-config-airbnb-base":"^11.1.3","eslint-plugin-import":"^2.2.0","jest":"^20.0.0","standard-version":"^4.0.0"},"scripts":{"lint":"eslint src test","pretest":"npm run lint","test:coverage":"jest --coverage","test:watch":"jest --watch","test":"jest","compile":"babel src --out-dir lib","prepublish":"npm run compile","release":"standard-version"},"jest":{"testRegex":"/test/.*\\.test\\.js$","collectCoverageFrom":["src/**/*.js"]},"greenkeeper":{"ignore":["eslint","eslint-plugin-import","babel-jest"]},"_id":"find-babel-config@1.2.2","gitHead":"70e45199240ebf021c5c62e57f692a383f0514d4","bugs":{"url":"https://github.com/tleunen/find-babel-config/issues"},"homepage":"https://github.com/tleunen/find-babel-config#readme","_nodeVersion":"20.8.0","_npmVersion":"10.5.0","dist":{"shasum":"41199b5cb9154dcb2fdc351cbe70eaf9198d5111","size":4267,"noattachment":false,"key":"/find-babel-config/-/find-babel-config-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-babel-config/download/find-babel-config-1.2.2.tgz"},"_npmUser":{"name":"tleunen","email":"tommy.leunen@gmail.com"},"directories":{},"maintainers":[{"name":"tleunen","email":"tommy.leunen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-babel-config_1.2.2_1714068332810_0.31296423162339715"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-25T18:05:33.070Z","publish_time":1714068333070,"_source_registry_name":"default","_cnpm_publish_time":1714068333070},"2.1.1":{"name":"find-babel-config","version":"2.1.1","main":"src/index.js","description":"Find the closest babel config based on a directory","repository":{"type":"git","url":"git+https://github.com/tleunen/find-babel-config.git"},"author":{"name":"Tommy Leunen","email":"tommy.leunen@gmail.com","url":"http://tommyleunen.com"},"license":"MIT","keywords":["babel","config","loader","finder","babelrc"],"dependencies":{"json5":"^2.2.3","path-exists":"^4.0.0"},"devDependencies":{"@babel/cli":"^7.24.1","@babel/preset-env":"^7.24.4","eslint":"^6.7.2","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.19.1","jest":"^29.7.0","standard-version":"^9.5.0"},"scripts":{"lint":"eslint src test","test:coverage":"jest --coverage","test:watch":"jest --watch","test":"jest","release":"standard-version"},"jest":{"testRegex":"/test/.*\\.test\\.js$","collectCoverageFrom":["src/**/*.js"]},"greenkeeper":{"ignore":["eslint","eslint-plugin-import","babel-jest"]},"_id":"find-babel-config@2.1.1","gitHead":"c05599081a6583ae89089e79d26f6f47bd5b19ed","bugs":{"url":"https://github.com/tleunen/find-babel-config/issues"},"homepage":"https://github.com/tleunen/find-babel-config#readme","_nodeVersion":"20.8.0","_npmVersion":"10.5.0","dist":{"shasum":"93703fc8e068db5e4c57592900c5715dd04b7e5b","size":5039,"noattachment":false,"key":"/find-babel-config/-/find-babel-config-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-babel-config/download/find-babel-config-2.1.1.tgz"},"_npmUser":{"name":"tleunen","email":"tommy.leunen@gmail.com"},"directories":{},"maintainers":[{"name":"tleunen","email":"tommy.leunen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-babel-config_2.1.1_1713350214938_0.9160538206483306"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-17T10:36:55.085Z","publish_time":1713350215085,"_source_registry_name":"default","_cnpm_publish_time":1713350215085},"2.1.0":{"name":"find-babel-config","version":"2.1.0","main":"src/index.js","description":"Find the closest babel config based on a directory","repository":{"type":"git","url":"git+https://github.com/tleunen/find-babel-config.git"},"engines":{"node":">=18.0.0"},"author":{"name":"Tommy Leunen","email":"tommy.leunen@gmail.com","url":"http://tommyleunen.com"},"license":"MIT","keywords":["babel","config","loader","finder","babelrc"],"dependencies":{"json5":"^2.2.3","path-exists":"^4.0.0"},"devDependencies":{"@babel/cli":"^7.24.1","@babel/preset-env":"^7.24.4","eslint":"^6.7.2","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.19.1","jest":"^29.7.0","standard-version":"^9.5.0"},"scripts":{"lint":"eslint src test","test:coverage":"jest --coverage","test:watch":"jest --watch","test":"jest","release":"standard-version"},"jest":{"testRegex":"/test/.*\\.test\\.js$","collectCoverageFrom":["src/**/*.js"]},"greenkeeper":{"ignore":["eslint","eslint-plugin-import","babel-jest"]},"_id":"find-babel-config@2.1.0","gitHead":"4dcaddcc33d455df1dc015a2e368d45254d6f76c","bugs":{"url":"https://github.com/tleunen/find-babel-config/issues"},"homepage":"https://github.com/tleunen/find-babel-config#readme","_nodeVersion":"20.8.0","_npmVersion":"10.5.0","dist":{"shasum":"9fd28eefce24f7e76ec33fda0c1de8d4f8b3ad6e","size":4981,"noattachment":false,"key":"/find-babel-config/-/find-babel-config-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-babel-config/download/find-babel-config-2.1.0.tgz"},"_npmUser":{"name":"tleunen","email":"tommy.leunen@gmail.com"},"directories":{},"maintainers":[{"name":"tleunen","email":"tommy.leunen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-babel-config_2.1.0_1713314465537_0.5400394750787947"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-17T00:41:05.678Z","publish_time":1713314465678,"_source_registry_name":"default","_cnpm_publish_time":1713314465678},"1.2.1":{"name":"find-babel-config","version":"1.2.1","main":"lib/index.js","description":"Find the closest babel config based on a directory","repository":{"type":"git","url":"git+https://github.com/tleunen/find-babel-config.git"},"engines":{"node":">=4.0.0"},"author":{"name":"Tommy Leunen","email":"tommy.leunen@gmail.com","url":"http://tommyleunen.com"},"license":"MIT","keywords":["babel","config","loader","finder","babelrc"],"dependencies":{"json5":"^2.2.3","path-exists":"^3.0.0"},"devDependencies":{"babel-cli":"^6.24.1","babel-jest":"^20.0.0","babel-preset-env":"^1.4.0","eslint":"^3.19.0","eslint-config-airbnb-base":"^11.1.3","eslint-plugin-import":"^2.2.0","jest":"^20.0.0","standard-version":"^4.0.0"},"scripts":{"lint":"eslint src test","pretest":"npm run lint","test:coverage":"jest --coverage","test:watch":"jest --watch","test":"jest","compile":"babel src --out-dir lib","prepublish":"npm run compile","release":"standard-version"},"jest":{"testRegex":"/test/.*\\.test\\.js$","collectCoverageFrom":["src/**/*.js"]},"greenkeeper":{"ignore":["eslint","eslint-plugin-import","babel-jest"]},"_id":"find-babel-config@1.2.1","gitHead":"51d04345fd025d430fcc7d74b9ce80fb147c7833","bugs":{"url":"https://github.com/tleunen/find-babel-config/issues"},"homepage":"https://github.com/tleunen/find-babel-config#readme","_nodeVersion":"20.8.0","_npmVersion":"10.5.0","dist":{"shasum":"132e8fbcbfccbc3c91d9c2dec741ff1667060a63","size":4201,"noattachment":false,"key":"/find-babel-config/-/find-babel-config-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-babel-config/download/find-babel-config-1.2.1.tgz"},"_npmUser":{"name":"tleunen","email":"tommy.leunen@gmail.com"},"directories":{},"maintainers":[{"name":"tleunen","email":"tommy.leunen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-babel-config_1.2.1_1713314363063_0.029666119722314255"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-17T00:39:23.229Z","publish_time":1713314363229,"_source_registry_name":"default","_cnpm_publish_time":1713314363229},"2.0.0":{"name":"find-babel-config","version":"2.0.0","main":"lib/index.js","description":"Find the closest babel config based on a directory","repository":{"type":"git","url":"git+https://github.com/tleunen/find-babel-config.git"},"engines":{"node":">=16.0.0"},"author":{"name":"Tommy Leunen","email":"tommy.leunen@gmail.com","url":"http://tommyleunen.com"},"license":"MIT","keywords":["babel","config","loader","finder","babelrc"],"dependencies":{"json5":"^2.1.1","path-exists":"^4.0.0"},"devDependencies":{"@babel/cli":"^7.7.5","@babel/preset-env":"^7.7.6","babel-jest":"^24.9.0","eslint":"^6.7.2","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.19.1","jest":"^24.9.0","standard-version":"^7.0.1"},"scripts":{"lint":"eslint src test","test:coverage":"jest --coverage","test:watch":"jest --watch","test":"jest","compile":"babel src --out-dir lib","prepublish":"npm run compile","release":"standard-version"},"jest":{"testRegex":"/test/.*\\.test\\.js$","collectCoverageFrom":["src/**/*.js"]},"greenkeeper":{"ignore":["eslint","eslint-plugin-import","babel-jest"]},"gitHead":"4cbe767df53b1816f492f1732357db3d29c30d47","bugs":{"url":"https://github.com/tleunen/find-babel-config/issues"},"homepage":"https://github.com/tleunen/find-babel-config#readme","_id":"find-babel-config@2.0.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"shasum":"a8216f825415a839d0f23f4d18338a1cc966f701","size":4513,"noattachment":false,"key":"/find-babel-config/-/find-babel-config-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-babel-config/download/find-babel-config-2.0.0.tgz"},"_npmUser":{"name":"tleunen","email":"tommy.leunen@gmail.com"},"directories":{},"maintainers":[{"name":"tleunen","email":"tommy.leunen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-babel-config_2.0.0_1673273203677_0.09745440323272803"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-09T14:06:43.844Z","publish_time":1673273203844,"_cnpm_publish_time":1673273203844},"1.2.0":{"name":"find-babel-config","version":"1.2.0","main":"lib/index.js","description":"Find the closest babel config based on a directory","repository":{"type":"git","url":"git+https://github.com/tleunen/find-babel-config.git"},"engines":{"node":">=4.0.0"},"author":{"name":"Tommy Leunen","email":"tommy.leunen@gmail.com","url":"http://tommyleunen.com"},"license":"MIT","keywords":["babel","config","loader","finder","babelrc"],"dependencies":{"json5":"^0.5.1","path-exists":"^3.0.0"},"devDependencies":{"babel-cli":"^6.24.1","babel-jest":"^20.0.0","babel-preset-env":"^1.4.0","eslint":"^3.19.0","eslint-config-airbnb-base":"^11.1.3","eslint-plugin-import":"^2.2.0","jest":"^20.0.0","standard-version":"^4.0.0"},"scripts":{"lint":"eslint src test","pretest":"npm run lint","test:coverage":"jest --coverage","test:watch":"jest --watch","test":"jest","compile":"babel src --out-dir lib","prepublish":"npm run compile","release":"standard-version"},"jest":{"testRegex":"/test/.*\\.test\\.js$","collectCoverageFrom":["src/**/*.js"]},"greenkeeper":{"ignore":["eslint","eslint-plugin-import","babel-jest"]},"gitHead":"cf2843e13fc6e31cf69f0457bc0f5382e8a9e59f","bugs":{"url":"https://github.com/tleunen/find-babel-config/issues"},"homepage":"https://github.com/tleunen/find-babel-config#readme","_id":"find-babel-config@1.2.0","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"shasum":"a9b7b317eb5b9860cda9d54740a8c8337a2283a2","size":4232,"noattachment":false,"key":"/find-babel-config/-/find-babel-config-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-babel-config/download/find-babel-config-1.2.0.tgz"},"maintainers":[{"name":"tleunen","email":"tommy.leunen@gmail.com"}],"_npmUser":{"name":"tleunen","email":"tommy.leunen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-babel-config_1.2.0_1551719629489_0.9403815623388014"},"_hasShrinkwrap":false,"publish_time":1551719629654,"_cnpm_publish_time":1551719629654},"1.1.0":{"name":"find-babel-config","version":"1.1.0","main":"lib/index.js","description":"Find the closest babel config based on a directory","repository":{"type":"git","url":"git+https://github.com/tleunen/find-babel-config.git"},"engines":{"node":">=4.0.0"},"author":{"name":"Tommy Leunen","email":"tommy.leunen@gmail.com","url":"http://tommyleunen.com"},"license":"MIT","keywords":["babel","config","loader","finder","babelrc"],"dependencies":{"json5":"^0.5.1","path-exists":"^3.0.0"},"devDependencies":{"babel-cli":"^6.24.1","babel-jest":"^20.0.0","babel-preset-env":"^1.4.0","eslint":"^3.19.0","eslint-config-airbnb-base":"^11.1.3","eslint-plugin-import":"^2.2.0","jest":"^20.0.0","standard-version":"^4.0.0"},"scripts":{"lint":"eslint src test","pretest":"npm run lint","test":"jest --coverage","test:watch":"jest --watch","test:suite":"jest","compile":"babel src --out-dir lib","prepublish":"npm run compile","release":"standard-version"},"jest":{"testRegex":"/test/.*\\.test\\.js$","collectCoverageFrom":["src/**/*.js"]},"greenkeeper":{"ignore":["eslint","eslint-plugin-import","babel-jest"]},"gitHead":"2be9668f7157227a9b65dbfb0497bf3cb30f3955","bugs":{"url":"https://github.com/tleunen/find-babel-config/issues"},"homepage":"https://github.com/tleunen/find-babel-config#readme","_id":"find-babel-config@1.1.0","_shasum":"acc01043a6749fec34429be6b64f542ebb5d6355","_from":".","_npmVersion":"4.6.1","_nodeVersion":"7.10.0","_npmUser":{"name":"tleunen","email":"tommy.leunen@gmail.com"},"dist":{"shasum":"acc01043a6749fec34429be6b64f542ebb5d6355","size":5518,"noattachment":false,"key":"/find-babel-config/-/find-babel-config-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-babel-config/download/find-babel-config-1.1.0.tgz"},"maintainers":[{"name":"tleunen","email":"tommy.leunen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/find-babel-config-1.1.0.tgz_1494281602387_0.8741057445295155"},"directories":{},"publish_time":1494281605393,"_hasShrinkwrap":false,"_cnpm_publish_time":1494281605393},"1.0.1":{"name":"find-babel-config","version":"1.0.1","main":"lib/index.js","description":"Find the closest babel config based on a directory","repository":{"type":"git","url":"git+https://github.com/tleunen/find-babel-config.git"},"author":{"name":"Tommy Leunen","email":"tommy.leunen@gmail.com","url":"http://tommyleunen.com"},"license":"MIT","keywords":["babel","config","loader","finder","babelrc"],"dependencies":{"json5":"^0.5.0","path-exists":"^3.0.0"},"devDependencies":{"babel-cli":"^6.11.4","babel-preset-es2015":"^6.13.2","babel-register":"^6.11.6","chai":"^3.5.0","eslint":"^3.3.0","eslint-config-airbnb-base":"^5.0.2","eslint-plugin-import":"^1.13.0","mocha":"^3.0.2","nyc":"^8.1.0","standard-version":"^2.4.0"},"scripts":{"lint":"eslint src test","pretest":"npm run lint","test":"nyc npm run test:suite","test:watch":"npm run test:suite -- -w","test:suite":"mocha --require babel-register","compile":"babel src --out-dir lib","prepublish":"npm run compile","release":"standard-version"},"nyc":{"reporter":["lcov","text"]},"gitHead":"5287c54416a8b9a071be1b7ad0ca0fa52b16e0cb","bugs":{"url":"https://github.com/tleunen/find-babel-config/issues"},"homepage":"https://github.com/tleunen/find-babel-config#readme","_id":"find-babel-config@1.0.1","_shasum":"179fa7b36bf3e94b487410855df448b6f853b9ec","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.4.0","_npmUser":{"name":"tleunen","email":"tommy.leunen@gmail.com"},"dist":{"shasum":"179fa7b36bf3e94b487410855df448b6f853b9ec","size":5202,"noattachment":false,"key":"/find-babel-config/-/find-babel-config-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-babel-config/download/find-babel-config-1.0.1.tgz"},"maintainers":[{"name":"tleunen","email":"tommy.leunen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/find-babel-config-1.0.1.tgz_1471656869742_0.10191730502992868"},"directories":{},"publish_time":1471656871452,"_cnpm_publish_time":1471656871452,"_hasShrinkwrap":false},"1.0.0":{"name":"find-babel-config","version":"1.0.0","main":"lib/index.js","description":"Find the closest babel config based on a directory","repository":{"type":"git","url":"git+https://github.com/tleunen/find-babel-config.git"},"author":{"name":"Tommy Leunen","email":"tommy.leunen@gmail.com","url":"http://tommyleunen.com"},"license":"MIT","keywords":["babel","config","loader","finder","babelrc"],"dependencies":{"json5":"^0.5.0","path-exists":"^3.0.0"},"devDependencies":{"babel-cli":"^6.11.4","babel-preset-es2015":"^6.13.2","babel-register":"^6.11.6","chai":"^3.5.0","eslint":"^3.2.2","eslint-config-airbnb-base":"^5.0.1","eslint-plugin-import":"^1.12.0","lodash":"^4.14.1","mocha":"^3.0.1","nyc":"^7.1.0","standard-version":"^2.4.0"},"scripts":{"lint":"eslint src test","pretest":"npm run lint","test":"nyc npm run test:suite","test:watch":"npm run test:suite -- -w","test:suite":"mocha --require babel-register","compile":"babel src --out-dir lib","prepublish":"npm run compile","release":"standard-version"},"nyc":{"reporter":["lcov","text"]},"gitHead":"049764df7db5f33d455b5c76b675ee6eec1b9ff4","bugs":{"url":"https://github.com/tleunen/find-babel-config/issues"},"homepage":"https://github.com/tleunen/find-babel-config#readme","_id":"find-babel-config@1.0.0","_shasum":"ee3fb0810a62a148d2b6d7bcfd63b5084898b6e0","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"tleunen","email":"tommy.leunen@gmail.com"},"dist":{"shasum":"ee3fb0810a62a148d2b6d7bcfd63b5084898b6e0","size":5159,"noattachment":false,"key":"/find-babel-config/-/find-babel-config-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-babel-config/download/find-babel-config-1.0.0.tgz"},"maintainers":[{"name":"tleunen","email":"tommy.leunen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/find-babel-config-1.0.0.tgz_1470497176903_0.19786168378777802"},"directories":{},"publish_time":1470497178762,"_cnpm_publish_time":1470497178762,"_hasShrinkwrap":false},"0.1.1":{"name":"find-babel-config","version":"0.1.1","main":"lib/index.js","description":"Find the closest babel config based on a directory","repository":{"type":"git","url":"git+https://github.com/tleunen/find-babel-config.git"},"author":{"name":"Tommy Leunen","email":"tommy.leunen@gmail.com","url":"http://tommyleunen.com"},"license":"MIT","keywords":["babel","config","loader","finder","babelrc"],"dependencies":{"json5":"^0.5.0"},"devDependencies":{"babel-cli":"^6.10.1","babel-preset-es2015":"^6.9.0","babel-register":"^6.9.0","chai":"^3.5.0","eslint":"^3.0.1","eslint-config-airbnb-base":"^4.0.0","eslint-plugin-import":"^1.10.2","lodash":"^4.13.1","mocha":"^2.5.3","nyc":"^7.0.0","standard-version":"^2.3.1"},"scripts":{"lint":"eslint src test","pretest":"npm run lint","test":"nyc npm run test:suite","test:watch":"npm run test:suite -- -w","test:suite":"mocha --compilers js:babel-register","compile":"babel src --out-dir lib","prepublish":"npm run compile","release":"standard-version"},"nyc":{"reporter":["lcov","text"]},"gitHead":"e3401930b613702ddb31d27e7c56771726280ddb","bugs":{"url":"https://github.com/tleunen/find-babel-config/issues"},"homepage":"https://github.com/tleunen/find-babel-config#readme","_id":"find-babel-config@0.1.1","_shasum":"a62807bafa643b87fa810641a172a27ee6f0f57b","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"tleunen","email":"tommy.leunen@gmail.com"},"dist":{"shasum":"a62807bafa643b87fa810641a172a27ee6f0f57b","size":4438,"noattachment":false,"key":"/find-babel-config/-/find-babel-config-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-babel-config/download/find-babel-config-0.1.1.tgz"},"maintainers":[{"name":"tleunen","email":"tommy.leunen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/find-babel-config-0.1.1.tgz_1468110685465_0.0014200764708220959"},"directories":{},"publish_time":1468110686841,"_cnpm_publish_time":1468110686841,"_hasShrinkwrap":false},"0.1.0":{"name":"find-babel-config","version":"0.1.0","main":"lib/index.js","description":"Find the closest babel config based on a directory","repository":{"type":"git","url":"git+https://github.com/tleunen/find-babel-config.git"},"author":{"name":"Tommy Leunen","email":"tommy.leunen@gmail.com","url":"http://tommyleunen.com"},"license":"MIT","keywords":["babel","config","loader","finder","babelrc"],"dependencies":{"json5":"^0.5.0"},"devDependencies":{"babel-cli":"^6.10.1","babel-preset-es2015":"^6.9.0","babel-register":"^6.9.0","chai":"^3.5.0","eslint":"^3.0.1","eslint-config-airbnb-base":"^4.0.0","eslint-plugin-import":"^1.10.2","lodash":"^4.13.1","mocha":"^2.5.3","nyc":"^7.0.0","standard-version":"^2.3.1"},"scripts":{"lint":"eslint src test","pretest":"npm run lint","test":"nyc npm run test:suite","test:watch":"npm run test:suite -- -w","test:suite":"mocha --compilers js:babel-register","compile":"babel src --out-dir lib","prepublish":"npm run compile","release":"standard-version"},"nyc":{"reporter":["lcov","text"]},"gitHead":"f28ee8d6452fc7af17deb35af3824b40a3db746f","bugs":{"url":"https://github.com/tleunen/find-babel-config/issues"},"homepage":"https://github.com/tleunen/find-babel-config#readme","_id":"find-babel-config@0.1.0","_shasum":"3a8c613bf6d9f81a3de833dbe2ea9af4ed0c3bf3","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"tleunen","email":"tommy.leunen@gmail.com"},"dist":{"shasum":"3a8c613bf6d9f81a3de833dbe2ea9af4ed0c3bf3","size":5891,"noattachment":false,"key":"/find-babel-config/-/find-babel-config-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-babel-config/download/find-babel-config-0.1.0.tgz"},"maintainers":[{"name":"tleunen","email":"tommy.leunen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/find-babel-config-0.1.0.tgz_1468110217384_0.7108745670411736"},"directories":{},"publish_time":1468110219750,"_cnpm_publish_time":1468110219750,"_hasShrinkwrap":false}},"readme":"# find-babel-config\n[![npm][npm-version-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coverage Status][coverage-image]][coverage-url]\n\nHelper function to retrieve the closest Babel configuration from a specific directory.\n\n## Installation\n\n```sh\nnpm install --save find-babel-config\n```\n\n## Usage\n\n### Async\n\n```js\n// directory can be an absolute or relative path\n// If it's a relative path, it is relative to the current working directory (process.cwd())\nconst directory = 'src';\nfindBabelConfig(directory).then(({ file, config }) => {\n    if (file) {\n        // file is the file in which the config is found\n        console.log(file);\n        // config is a JS plain object with the babel config\n        console.log(config);\n    }\n});\n```\n\n### Sync\n\n```js\n// directory can be an absolute or relative path\n// If it's a relative path, it is relative to the current working directory (process.cwd())\nconst directory = 'src';\nconst { file, config } = findBabelConfig.sync(directory);\n// if file === null, the config wasn't found. (Also config === null)\nif (file) {\n    // file is the file in which the config is found\n    console.log(file);\n    // config is a JS plain object with the babel config\n    console.log(config);\n}\n```\n\nA second parameter can be given to `findBabelConfig`, it specifies the `depth` of search. By default, this value is `Infinity` but you can set the value you want: `findBabelConfig('src', 10)`.\n\n## License\n\nMIT, see [LICENSE.md](/LICENSE.md) for details.\n\n[ci-image]: https://circleci.com/gh/tleunen/find-babel-config.svg?style=shield\n[ci-url]: https://circleci.com/gh/tleunen/find-babel-config\n[coverage-image]: https://codecov.io/gh/tleunen/find-babel-config/branch/master/graph/badge.svg\n[coverage-url]: https://codecov.io/gh/tleunen/find-babel-config\n[npm-version-image]: https://img.shields.io/npm/v/find-babel-config.svg\n[npm-url]: https://www.npmjs.com/package/find-babel-config\n","_attachments":{},"homepage":"https://github.com/tleunen/find-babel-config#readme","bugs":{"url":"https://github.com/tleunen/find-babel-config/issues"},"license":"MIT"}