{"_id":"configuration-validator","_rev":"306769","name":"configuration-validator","description":"Validate your webpack configuration and save yourself hours of debugging time","dist-tags":{"beta":"1.0.0-beta.9","latest":"1.0.0-beta.9"},"maintainers":[{"name":"kentcdodds","email":"kent+npm@doddsfamily.us"}],"time":{"modified":"2021-06-03T19:34:02.000Z","created":"2016-02-16T05:54:52.877Z","1.0.0-beta.9":"2016-03-18T17:41:49.324Z","1.0.0-beta.8":"2016-03-03T15:04:51.982Z","1.0.0-beta.7":"2016-03-02T23:11:13.999Z","1.0.0-beta.6":"2016-03-02T21:26:04.960Z","1.0.0-beta.5":"2016-02-17T04:08:43.319Z","1.0.0-beta.4":"2016-02-17T04:06:21.021Z","1.0.0-beta.3":"2016-02-16T06:15:22.569Z","1.0.0-beta.2":"2016-02-16T05:57:56.377Z","1.0.0-beta.1":"2016-02-16T05:54:52.877Z"},"users":{},"author":{"name":"Kent C. Dodds","email":"kent@doddsfamily.us","url":"http://kentcdodds.com/"},"repository":{"type":"git","url":"git+https://github.com/kentcdodds/configuration-validator.git"},"versions":{"1.0.0-beta.9":{"name":"configuration-validator","version":"1.0.0-beta.9","description":"Validate your webpack configuration and save yourself hours of debugging time","main":"dist/index.js","files":["dist"],"nyc":{"exclude":["**/*.test.js"]},"scripts":{"precommit":"npm-run-all --parallel lint cover build --sequential check-coverage","prebuild":"rimraf dist","build":"babel -d dist src","cover":"nyc --reporter=lcov --reporter=text --reporter=html ava \"src/**/*.test.js\" --require babel-register","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","lint":"eslint .","test":"ava \"src/**/*.test.js\" --require babel-register","watch:test":"nodemon --quiet --watch src --exec npm run test -s","watch:cover":"nodemon --quiet --watch src --exec npm run cover -s","validate":"npm-run-all --parallel lint cover build --sequential check-coverage","release":"npm run build && with-package git commit -am pkg.version && with-package git tag pkg.version && git push && npm publish && git push --tags","release:beta":"npm run release && npm run tag:beta","tag:beta":"with-package npm dist-tag add pkg.name@pkg.version beta"},"repository":{"type":"git","url":"git+https://github.com/kentcdodds/configuration-validator.git"},"keywords":[],"author":{"name":"Kent C. Dodds","email":"kent@doddsfamily.us","url":"http://kentcdodds.com/"},"license":"MIT","bugs":{"url":"https://github.com/kentcdodds/webpack-validator/issues"},"homepage":"https://github.com/kentcdodds/webpack-validator#readme","dependencies":{"chalk":"^1.1.1","lodash":"^4.3.0"},"devDependencies":{"ava":"0.13.0","babel-cli":"6.6.5","babel-core":"6.7.2","babel-preset-es2015":"6.6.0","babel-preset-stage-2":"6.5.0","babel-register":"6.7.2","eslint":"2.4.0","eslint-config-kentcdodds":"6.0.0","ghooks":"1.0.3","nodemon":"1.9.1","npm-run-all":"1.5.3","nyc":"6.1.1","rimraf":"2.5.2","sinon":"1.17.3","validate-commit-msg":"2.4.0","with-package":"0.2.0"},"eslintConfig":{"extends":"kentcdodds"},"babel":{"presets":["es2015","stage-2"]},"config":{"ghooks":{"commit-msg":"validate-commit-msg","pre-commit":"npm run precommit"}},"gitHead":"d5c0a5fbf984b01f305d26b5d4849196468acd4e","_id":"configuration-validator@1.0.0-beta.9","_shasum":"d5920d516ee2f7288ace6f941701f2ec9c9747f3","_from":".","_npmVersion":"3.8.1","_nodeVersion":"4.3.2","_npmUser":{"name":"kentcdodds","email":"kent@doddsfamily.us"},"dist":{"shasum":"d5920d516ee2f7288ace6f941701f2ec9c9747f3","size":11153,"noattachment":false,"key":"/configuration-validator/-/configuration-validator-1.0.0-beta.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/configuration-validator/download/configuration-validator-1.0.0-beta.9.tgz"},"maintainers":[{"name":"kentcdodds","email":"kent+npm@doddsfamily.us"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/configuration-validator-1.0.0-beta.9.tgz_1458322908842_0.4334232460241765"},"directories":{},"publish_time":1458322909324,"_cnpm_publish_time":1458322909324,"_hasShrinkwrap":false},"1.0.0-beta.8":{"name":"configuration-validator","version":"1.0.0-beta.8","description":"Validate your webpack configuration and save yourself hours of debugging time","main":"dist/index.js","files":["dist"],"nyc":{"exclude":["**/*.test.js"]},"scripts":{"prebuild":"rimraf dist","build":"babel -d dist src","cover":"nyc --reporter=lcov --reporter=text --reporter=html npm run test","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","lint":"eslint .","test":"ava 'src/**/*.test.js' --require babel-register","watch:test":"nodemon --quiet --watch src --exec npm run test -s","watch:cover":"nodemon --quiet --watch src --exec npm run cover -s","validate":"npm-run-all --parallel lint cover build --sequential check-coverage","release":"npm run build && with-package git commit -am pkg.version && with-package git tag pkg.version && git push && npm publish && git push --tags","release:beta":"npm run release && npm run tag:beta","tag:beta":"with-package npm dist-tag add pkg.name@pkg.version beta"},"repository":{"type":"git","url":"git+https://github.com/kentcdodds/configuration-validator.git"},"keywords":[],"author":{"name":"Kent C. Dodds","email":"kent@doddsfamily.us","url":"http://kentcdodds.com/"},"license":"MIT","bugs":{"url":"https://github.com/kentcdodds/webpack-validator/issues"},"homepage":"https://github.com/kentcdodds/webpack-validator#readme","dependencies":{"chalk":"^1.1.1","lodash":"^4.3.0"},"devDependencies":{"ava":"0.11.0","babel-cli":"6.5.1","babel-core":"6.5.2","babel-preset-es2015":"6.5.0","babel-preset-stage-2":"6.5.0","babel-register":"6.5.2","eslint":"1.10.3","eslint-config-kentcdodds":"5.1.0","ghooks":"1.0.3","nodemon":"1.8.1","npm-run-all":"1.5.1","nyc":"5.6.0","rimraf":"2.5.2","sinon":"1.17.3","validate-commit-msg":"2.0.0","with-package":"0.2.0"},"eslintConfig":{"extends":"kentcdodds"},"babel":{"presets":["es2015","stage-2"]},"config":{"ghooks":{"commit-msg":"validate-commit-msg","pre-commit":"npm run validate -s"}},"gitHead":"b94334308ed4cd366700792f5e36598b893dd27e","_id":"configuration-validator@1.0.0-beta.8","_shasum":"a8d136f841d611ec37ba99d31ecd74efbc375d31","_from":".","_npmVersion":"3.7.0","_nodeVersion":"4.2.4","_npmUser":{"name":"kentcdodds","email":"kent@doddsfamily.us"},"dist":{"shasum":"a8d136f841d611ec37ba99d31ecd74efbc375d31","size":10618,"noattachment":false,"key":"/configuration-validator/-/configuration-validator-1.0.0-beta.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/configuration-validator/download/configuration-validator-1.0.0-beta.8.tgz"},"maintainers":[{"name":"kentcdodds","email":"kent+npm@doddsfamily.us"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/configuration-validator-1.0.0-beta.8.tgz_1457017489034_0.31800607964396477"},"directories":{},"publish_time":1457017491982,"_cnpm_publish_time":1457017491982,"_hasShrinkwrap":false},"1.0.0-beta.7":{"name":"configuration-validator","version":"1.0.0-beta.7","description":"Validate your webpack configuration and save yourself hours of debugging time","main":"dist/index.js","files":["dist"],"nyc":{"exclude":["**/*.test.js"]},"scripts":{"prebuild":"rimraf dist","build":"babel -d dist src","cover":"nyc --reporter=lcov --reporter=text --reporter=html npm run test","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","lint":"eslint .","test":"ava 'src/**/*.test.js' --require babel-register","watch:test":"nodemon --quiet --watch src --exec npm run test -s","watch:cover":"nodemon --quiet --watch src --exec npm run cover -s","validate":"npm-run-all --parallel lint cover build --sequential check-coverage"},"repository":{"type":"git","url":"git+https://github.com/kentcdodds/configuration-validator.git"},"keywords":[],"author":{"name":"Kent C. Dodds","email":"kent@doddsfamily.us","url":"http://kentcdodds.com/"},"license":"MIT","bugs":{"url":"https://github.com/kentcdodds/webpack-validator/issues"},"homepage":"https://github.com/kentcdodds/webpack-validator#readme","dependencies":{"chalk":"^1.1.1","lodash":"^4.3.0"},"devDependencies":{"ava":"0.11.0","babel-cli":"6.5.1","babel-core":"6.5.2","babel-preset-es2015":"6.5.0","babel-preset-stage-2":"6.5.0","babel-register":"6.5.2","eslint":"1.10.3","eslint-config-kentcdodds":"5.1.0","ghooks":"1.0.3","nodemon":"1.8.1","npm-run-all":"1.5.1","nyc":"5.6.0","rimraf":"2.5.2","sinon":"1.17.3","validate-commit-msg":"2.0.0"},"eslintConfig":{"extends":"kentcdodds"},"babel":{"presets":["es2015","stage-2"]},"config":{"ghooks":{"commit-msg":"validate-commit-msg","pre-commit":"npm run validate -s"}},"gitHead":"2565772e4e37f22d13239c9f8d6132f703f00145","_id":"configuration-validator@1.0.0-beta.7","_shasum":"346640c6666fd66c94ed3de9a31940c17051a0d9","_from":".","_npmVersion":"3.7.0","_nodeVersion":"4.2.4","_npmUser":{"name":"kentcdodds","email":"kent@doddsfamily.us"},"dist":{"shasum":"346640c6666fd66c94ed3de9a31940c17051a0d9","size":10362,"noattachment":false,"key":"/configuration-validator/-/configuration-validator-1.0.0-beta.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/configuration-validator/download/configuration-validator-1.0.0-beta.7.tgz"},"maintainers":[{"name":"kentcdodds","email":"kent+npm@doddsfamily.us"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/configuration-validator-1.0.0-beta.7.tgz_1456960273168_0.8012887509539723"},"directories":{},"publish_time":1456960273999,"_cnpm_publish_time":1456960273999,"_hasShrinkwrap":false},"1.0.0-beta.6":{"name":"configuration-validator","version":"1.0.0-beta.6","description":"Validate your webpack configuration and save yourself hours of debugging time","main":"dist/index.js","files":["dist"],"nyc":{"exclude":["**/*.test.js"]},"scripts":{"prebuild":"rimraf dist","build":"babel -d dist src","cover":"nyc --reporter=lcov --reporter=text --reporter=html npm run test","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","lint":"eslint .","test":"ava 'src/**/*.test.js' --require babel-register","watch:test":"nodemon --quiet --watch src --exec npm run test -s","watch:cover":"nodemon --quiet --watch src --exec npm run cover -s","validate":"npm-run-all --parallel lint cover build --sequential check-coverage"},"repository":{"type":"git","url":"git+https://github.com/kentcdodds/configuration-validator.git"},"keywords":[],"author":{"name":"Kent C. Dodds","email":"kent@doddsfamily.us","url":"http://kentcdodds.com/"},"license":"MIT","bugs":{"url":"https://github.com/kentcdodds/webpack-validator/issues"},"homepage":"https://github.com/kentcdodds/webpack-validator#readme","dependencies":{"chalk":"^1.1.1","lodash":"^4.3.0"},"devDependencies":{"ava":"0.11.0","babel-cli":"6.5.1","babel-core":"6.5.2","babel-preset-es2015":"6.5.0","babel-preset-stage-2":"6.5.0","babel-register":"6.5.2","eslint":"1.10.3","eslint-config-kentcdodds":"5.1.0","ghooks":"1.0.3","nodemon":"1.8.1","npm-run-all":"1.5.1","nyc":"5.6.0","rimraf":"2.5.2","sinon":"1.17.3","validate-commit-msg":"2.0.0"},"eslintConfig":{"extends":"kentcdodds"},"babel":{"presets":["es2015","stage-2"]},"config":{"ghooks":{"commit-msg":"validate-commit-msg","pre-commit":"npm run validate -s"}},"gitHead":"6f9c3bd9d89d31bbb4656953ab1b9258c27385c0","_id":"configuration-validator@1.0.0-beta.6","_shasum":"7328660478e76488c0c0c74282441184c05cbee9","_from":".","_npmVersion":"3.7.0","_nodeVersion":"4.2.4","_npmUser":{"name":"kentcdodds","email":"kent@doddsfamily.us"},"dist":{"shasum":"7328660478e76488c0c0c74282441184c05cbee9","size":10151,"noattachment":false,"key":"/configuration-validator/-/configuration-validator-1.0.0-beta.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/configuration-validator/download/configuration-validator-1.0.0-beta.6.tgz"},"maintainers":[{"name":"kentcdodds","email":"kent+npm@doddsfamily.us"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/configuration-validator-1.0.0-beta.6.tgz_1456953964142_0.00653864024206996"},"directories":{},"publish_time":1456953964960,"_cnpm_publish_time":1456953964960,"_hasShrinkwrap":false},"1.0.0-beta.5":{"name":"configuration-validator","version":"1.0.0-beta.5","description":"Validate your webpack configuration and save yourself hours of debugging time","main":"dist/index.js","files":["dist"],"nyc":{"exclude":["**/*.test.js"]},"scripts":{"prebuild":"rimraf dist","build":"babel -d dist src","cover":"nyc --reporter=lcov --reporter=text --reporter=html npm run test","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","lint":"eslint .","test":"ava 'src/**/*.test.js' --verbose --require babel-register","watch:test":"nodemon --quiet --watch src --exec npm run test -s","watch:cover":"nodemon --quiet --watch src --exec npm run cover -s","validate":"npm-run-all --parallel lint cover build --sequential check-coverage"},"repository":{"type":"git","url":"git+https://github.com/kentcdodds/configuration-validator.git"},"keywords":[],"author":{"name":"Kent C. Dodds","email":"kent@doddsfamily.us","url":"http://kentcdodds.com/"},"license":"MIT","bugs":{"url":"https://github.com/kentcdodds/webpack-validator/issues"},"homepage":"https://github.com/kentcdodds/webpack-validator#readme","dependencies":{"chalk":"^1.1.1","lodash":"^4.3.0"},"devDependencies":{"ava":"0.11.0","babel-cli":"6.5.1","babel-core":"6.5.2","babel-preset-es2015":"6.5.0","babel-preset-stage-2":"6.5.0","babel-register":"6.5.2","eslint":"1.10.3","eslint-config-kentcdodds":"5.1.0","ghooks":"1.0.3","nodemon":"1.8.1","npm-run-all":"1.5.1","nyc":"5.6.0","rimraf":"2.5.2","sinon":"1.17.3","validate-commit-msg":"2.0.0"},"eslintConfig":{"extends":"kentcdodds"},"babel":{"presets":["es2015","stage-2"]},"config":{"ghooks":{"commit-msg":"validate-commit-msg","pre-commit":"npm run validate -s"}},"gitHead":"45310532ff62b35692d0dc079d6627e955fc250c","_id":"configuration-validator@1.0.0-beta.5","_shasum":"534dca2925fe7634026bd28b3a463b76362b59bd","_from":".","_npmVersion":"3.7.0","_nodeVersion":"4.2.4","_npmUser":{"name":"kentcdodds","email":"kent@doddsfamily.us"},"dist":{"shasum":"534dca2925fe7634026bd28b3a463b76362b59bd","size":7336,"noattachment":false,"key":"/configuration-validator/-/configuration-validator-1.0.0-beta.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/configuration-validator/download/configuration-validator-1.0.0-beta.5.tgz"},"maintainers":[{"name":"kentcdodds","email":"kent+npm@doddsfamily.us"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/configuration-validator-1.0.0-beta.5.tgz_1455682119250_0.9055613367818296"},"directories":{},"publish_time":1455682123319,"_cnpm_publish_time":1455682123319,"_hasShrinkwrap":false},"1.0.0-beta.4":{"name":"configuration-validator","version":"1.0.0-beta.4","description":"Validate your webpack configuration and save yourself hours of debugging time","main":"dist/index.js","files":["dist"],"nyc":{"exclude":["**/*.test.js"]},"scripts":{"prebuild":"rimraf dist","build":"babel -d dist src","cover":"nyc --reporter=lcov --reporter=text --reporter=html npm run test","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","lint":"eslint .","test":"ava 'src/**/*.test.js' --verbose --require babel-register","watch:test":"nodemon --quiet --watch src --exec npm run test -s","watch:cover":"nodemon --quiet --watch src --exec npm run cover -s","validate":"npm-run-all --parallel lint cover build --sequential check-coverage"},"repository":{"type":"git","url":"git+https://github.com/kentcdodds/webpack-validator.git"},"keywords":[],"author":{"name":"Kent C. Dodds","email":"kent@doddsfamily.us","url":"http://kentcdodds.com/"},"license":"MIT","bugs":{"url":"https://github.com/kentcdodds/webpack-validator/issues"},"homepage":"https://github.com/kentcdodds/webpack-validator#readme","dependencies":{"chalk":"^1.1.1","lodash":"^4.3.0"},"devDependencies":{"ava":"0.11.0","babel-cli":"6.5.1","babel-core":"6.5.2","babel-preset-es2015":"6.5.0","babel-preset-stage-2":"6.5.0","babel-register":"6.5.2","eslint":"1.10.3","eslint-config-kentcdodds":"5.1.0","ghooks":"1.0.3","nodemon":"1.8.1","npm-run-all":"1.5.1","nyc":"5.6.0","rimraf":"2.5.2","sinon":"1.17.3","validate-commit-msg":"2.0.0"},"eslintConfig":{"extends":"kentcdodds"},"babel":{"presets":["es2015","stage-2"]},"config":{"ghooks":{"commit-msg":"validate-commit-msg","pre-commit":"npm run validate -s"}},"gitHead":"e9bf00c2f84f8073aee67add2f55de391556da83","_id":"configuration-validator@1.0.0-beta.4","_shasum":"24fbe69a2c942a406fd63acbcca0b6539ab54939","_from":".","_npmVersion":"3.7.0","_nodeVersion":"4.2.4","_npmUser":{"name":"kentcdodds","email":"kent@doddsfamily.us"},"dist":{"shasum":"24fbe69a2c942a406fd63acbcca0b6539ab54939","size":7374,"noattachment":false,"key":"/configuration-validator/-/configuration-validator-1.0.0-beta.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/configuration-validator/download/configuration-validator-1.0.0-beta.4.tgz"},"maintainers":[{"name":"kentcdodds","email":"kent+npm@doddsfamily.us"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/configuration-validator-1.0.0-beta.4.tgz_1455681976815_0.7772972213570029"},"directories":{},"publish_time":1455681981021,"_cnpm_publish_time":1455681981021,"_hasShrinkwrap":false},"1.0.0-beta.3":{"name":"configuration-validator","version":"1.0.0-beta.3","description":"Validate your webpack configuration and save yourself hours of debugging time","main":"dist/index.js","files":["dist"],"nyc":{"exclude":["**/*.test.js"]},"scripts":{"prebuild":"rimraf dist","build":"babel -d dist src","cover":"nyc --reporter=lcov --reporter=text --reporter=html npm run test","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","lint":"eslint .","test":"ava 'src/**/*.test.js' --verbose --require babel-register","watch:test":"nodemon --quiet --watch src --exec npm run test -s","watch:cover":"nodemon --quiet --watch src --exec npm run cover -s"},"repository":{"type":"git","url":"git+https://github.com/kentcdodds/webpack-validator.git"},"keywords":[],"author":{"name":"Kent C. Dodds","email":"kent@doddsfamily.us","url":"http://kentcdodds.com/"},"license":"MIT","bugs":{"url":"https://github.com/kentcdodds/webpack-validator/issues"},"homepage":"https://github.com/kentcdodds/webpack-validator#readme","dependencies":{"chalk":"^1.1.1","lodash":"^4.3.0"},"devDependencies":{"ava":"0.11.0","babel-cli":"6.5.1","babel-core":"6.5.2","babel-preset-es2015":"6.5.0","babel-preset-stage-2":"6.5.0","babel-register":"6.5.2","eslint":"1.10.3","eslint-config-kentcdodds":"5.1.0","ghooks":"1.0.3","nodemon":"1.8.1","npm-run-all":"1.5.1","nyc":"5.6.0","rimraf":"2.5.2","sinon":"1.17.3","validate-commit-msg":"2.0.0"},"eslintConfig":{"extends":"kentcdodds"},"babel":{"presets":["es2015","stage-2"]},"config":{"ghooks":{"commit-msg":"validate-commit-msg","pre-commit":"npm-run-all --parallel lint cover build --sequential check-coverage"}},"gitHead":"6ead3ef60c1e1a121ffa0a46ae3052543d2205bd","_id":"configuration-validator@1.0.0-beta.3","_shasum":"3cd89cd02256b33fe59b9b62f78d9e6b940f0555","_from":".","_npmVersion":"3.7.0","_nodeVersion":"4.2.4","_npmUser":{"name":"kentcdodds","email":"kent@doddsfamily.us"},"dist":{"shasum":"3cd89cd02256b33fe59b9b62f78d9e6b940f0555","size":6600,"noattachment":false,"key":"/configuration-validator/-/configuration-validator-1.0.0-beta.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/configuration-validator/download/configuration-validator-1.0.0-beta.3.tgz"},"maintainers":[{"name":"kentcdodds","email":"kent+npm@doddsfamily.us"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/configuration-validator-1.0.0-beta.3.tgz_1455603320298_0.8070670701563358"},"directories":{},"publish_time":1455603322569,"_cnpm_publish_time":1455603322569,"_hasShrinkwrap":false},"1.0.0-beta.2":{"name":"configuration-validator","version":"1.0.0-beta.2","description":"Validate your webpack configuration and save yourself hours of debugging time","main":"dist/index.js","files":["dist"],"nyc":{"exclude":["**/*.test.js"]},"scripts":{"prebuild":"rimraf dist","build":"babel -d dist src","cover":"nyc --reporter=lcov --reporter=text --reporter=html npm run test","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","lint":"eslint .","test":"ava 'src/**/*.test.js' --verbose --require babel-register","watch:test":"nodemon --quiet --watch src --exec npm run test -s","watch:cover":"nodemon --quiet --watch src --exec npm run cover -s"},"repository":{"type":"git","url":"git+https://github.com/kentcdodds/webpack-validator.git"},"keywords":[],"author":{"name":"Kent C. Dodds","email":"kent@doddsfamily.us","url":"http://kentcdodds.com/"},"license":"MIT","bugs":{"url":"https://github.com/kentcdodds/webpack-validator/issues"},"homepage":"https://github.com/kentcdodds/webpack-validator#readme","dependencies":{"chalk":"^1.1.1","lodash":"^4.3.0"},"devDependencies":{"ava":"0.11.0","babel-cli":"6.5.1","babel-core":"6.5.2","babel-preset-es2015":"6.5.0","babel-preset-stage-2":"6.5.0","babel-register":"6.5.2","eslint":"1.10.3","eslint-config-kentcdodds":"5.1.0","ghooks":"1.0.3","nodemon":"1.8.1","npm-run-all":"1.5.1","nyc":"5.6.0","rimraf":"2.5.2","sinon":"1.17.3","validate-commit-msg":"2.0.0"},"eslintConfig":{"extends":"kentcdodds"},"babel":{"presets":["es2015","stage-2"]},"config":{"ghooks":{"commit-msg":"validate-commit-msg","pre-commit":"npm-run-all --parallel lint cover build --sequential check-coverage"}},"gitHead":"07bc01bdbf1c46f8b032d566e9984d6e1a9ef61e","_id":"configuration-validator@1.0.0-beta.2","_shasum":"869e4f42ecbebf8ebdb1e3141545dbbdb2560ce0","_from":".","_npmVersion":"3.7.0","_nodeVersion":"4.2.4","_npmUser":{"name":"kentcdodds","email":"kent@doddsfamily.us"},"dist":{"shasum":"869e4f42ecbebf8ebdb1e3141545dbbdb2560ce0","size":5815,"noattachment":false,"key":"/configuration-validator/-/configuration-validator-1.0.0-beta.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/configuration-validator/download/configuration-validator-1.0.0-beta.2.tgz"},"maintainers":[{"name":"kentcdodds","email":"kent+npm@doddsfamily.us"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/configuration-validator-1.0.0-beta.2.tgz_1455602272221_0.9658860231284052"},"directories":{},"publish_time":1455602276377,"_cnpm_publish_time":1455602276377,"_hasShrinkwrap":false},"1.0.0-beta.1":{"name":"configuration-validator","version":"1.0.0-beta.1","description":"Validate your webpack configuration and save yourself hours of debugging time","main":"dist/index.js","files":["dist"],"nyc":{"exclude":["**/*.test.js"]},"scripts":{"prebuild":"rimraf dist","build":"babel -d dist src","cover":"nyc --reporter=lcov --reporter=text --reporter=html npm run test","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","lint":"eslint .","test":"ava 'src/**/*.test.js' --verbose --require babel-register","watch:test":"nodemon --quiet --watch src --exec npm run test -s","watch:cover":"nodemon --quiet --watch src --exec npm run cover -s"},"repository":{"type":"git","url":"git+https://github.com/kentcdodds/webpack-validator.git"},"keywords":[],"author":{"name":"Kent C. Dodds","email":"kent@doddsfamily.us","url":"http://kentcdodds.com/"},"license":"MIT","bugs":{"url":"https://github.com/kentcdodds/webpack-validator/issues"},"homepage":"https://github.com/kentcdodds/webpack-validator#readme","dependencies":{"chalk":"^1.1.1"},"devDependencies":{"ava":"0.11.0","babel-cli":"6.5.1","babel-core":"6.5.2","babel-preset-es2015":"6.5.0","babel-preset-stage-2":"6.5.0","babel-register":"6.5.2","eslint":"1.10.3","eslint-config-kentcdodds":"5.1.0","ghooks":"1.0.3","lodash":"4.3.0","nodemon":"1.8.1","npm-run-all":"1.5.1","nyc":"5.6.0","rimraf":"2.5.2","sinon":"1.17.3","validate-commit-msg":"2.0.0"},"eslintConfig":{"extends":"kentcdodds"},"babel":{"presets":["es2015","stage-2"]},"config":{"ghooks":{"commit-msg":"validate-commit-msg","pre-commit":"npm-run-all --parallel lint cover build --sequential check-coverage"}},"gitHead":"07bc01bdbf1c46f8b032d566e9984d6e1a9ef61e","_id":"configuration-validator@1.0.0-beta.1","_shasum":"b9530fa54f507ef9bbc14a9f8dcdab2734b69969","_from":".","_npmVersion":"3.7.0","_nodeVersion":"4.2.4","_npmUser":{"name":"kentcdodds","email":"kent@doddsfamily.us"},"dist":{"shasum":"b9530fa54f507ef9bbc14a9f8dcdab2734b69969","size":5786,"noattachment":false,"key":"/configuration-validator/-/configuration-validator-1.0.0-beta.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/configuration-validator/download/configuration-validator-1.0.0-beta.1.tgz"},"maintainers":[{"name":"kentcdodds","email":"kent+npm@doddsfamily.us"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/configuration-validator-1.0.0-beta.1.tgz_1455602090451_0.8961994831915945"},"directories":{},"publish_time":1455602092877,"_cnpm_publish_time":1455602092877,"_hasShrinkwrap":false}},"readme":"# Configuration Validator\n\nBuilt as the pluggable validator for [webpack-validator](https://github.com/kentcdodds/webpack-validator)\nbut could be used to validate any configuration object.\n\n[![version](https://img.shields.io/npm/v/configuration-validator.svg?style=flat-square)](http://npm.im/configuration-validator)\n[![downloads](https://img.shields.io/npm/dm/configuration-validator.svg?style=flat-square)](http://npm-stat.com/charts.html?package=configuration-validator)\n[![MIT License](https://img.shields.io/npm/l/configuration-validator.svg?style=flat-square)](http://opensource.org/licenses/MIT)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\n## Usage\n\n```javascript\nvar configValidator = require('configuration-validator')\n\n// call the function with your config and validators\nconfigValidator('Name of config', config, arrayOfValidators)\n```\n\n## Validators\n\nA validator is an object that describes to configuration-validator what it should run on and\ndefines a function to run to do the validation. Here's an example of a simple validator that\nchecks for the value to be a boolean:\n\n```javascript\n{\n  key: 'foo.bar', // can be any depth. Uses lodash's `get` method\n  description: 'Some descriptive message', // used in verbose mode (in development)\n  validate: function validateFooBar(value, context) {\n    // value is the value of `foo.bar` for the given object\n    // context is an object with the following properties:\n    //   - `key` - `foo.bar` in this case\n    //   - `parent` - the parent object in which this value is found\n    //   - `config` - the entire object being validated\n\n    if (typeof value !== 'boolean') {\n      // if it's not a boolean, then we fail the validation. In this case\n      // we return a message that is an error or a warning\n      return 'must be a boolean' // just shorthand for: {error: 'must be a boolean'}\n      // or you can do:\n      // return {warning: 'must be a boolean'} // output is yellow\n      // return {error: 'must be a boolean'} // output is red\n    }\n  },\n}\n```\n\n## Uncovered Path Validation\n\nOne handy feature of the `configuration-validator` is that it will warn if your object has a path that's not covered by validation keys. For example, consider the following config:\n\n```javascript\n// config\nconst config = {\n  bar: {\n    foo: true,\n    foobar: 2,\n  },\n  baz: 32,\n}\n```\n\nThere are three paths associated with this config object: `bar.foo`, `bar.foobar`, and `baz`.\n\nGiven the following validators:\n\n```javascript\nconst validators = [\n  {key: 'bar.foo', validate() {}},\n  {key: 'baz', validate() {}},\n]\n```\n\nYou will get a warning indicating that `bar.foobar` is an uncovered path (meaning it's not validated).\n\nTo cover all paths, you could simply add a validotor for `bar.foobar` or add a validator for the entire `bar` path like so:\n\n```javascript\nconst validators = [\n  {key: 'bar', validate() {}},\n  {key: 'baz', validate() {}},\n]\n```\n\nOne issue you might have with this is currently you lose the deep path check because the entire object is considered to be covered. So, if you were to misspell the `foo` property, you wouldn't get the warning.\n\nCatching misspellings is the biggest benefit of the uncovered path validation feature, so it's normally best to try to avoid doing validation on entire objects if possible and try to validate privitives and arrays only.\n\n## LICENSE\n\nMIT\n\n","_attachments":{},"homepage":"https://github.com/kentcdodds/webpack-validator#readme","bugs":{"url":"https://github.com/kentcdodds/webpack-validator/issues"},"license":"MIT"}