{"_id":"react-element-query","_rev":"15-ed14f925bc6882624094fd6e5ea0511c","name":"react-element-query","description":"Element queries for react components.","dist-tags":{"latest":"3.0.3"},"versions":{"1.0.0":{"version":"1.0.0","name":"react-element-query","description":"Element queries for react components.","author":{"name":"Joey Baker","email":"joey@byjoeybaker.com","url":"http://byjoeybaker.com"},"repository":{"type":"git","url":"git+https://github.com/joeybaker/react-element-query.git"},"license":"Artistic-2.0","directories":{"test":"test"},"keywords":["css","element query","react"],"scripts":{"start":"f () { node dev.js ${@-example} | garnish; }; f","test":"npm run -s test-browser && npm run -s test-server","test-browser":"browserify -t babelify test/browser.jsx | tap-closer | smokestack -b firefox | tap-spec","test-server":"babel-tape-runner test/server.jsx | tap-spec","tdd-server":"nodemon -x npm -i node_modules/ -e js,jsx -- run -s test-server","tdd-browser":"hihat test/*.jsx --transform babelify --debug -p tap-dev-tool","watch":"babel index.js --watch --out-file index.es5","note1":"we can't have nice things. prepublish also runs on npm install https://github.com/npm/npm/issues/6394 in-publish hacks around this","prepublish":"in-publish && npm prune && npm run -s gitPush || in-install","note2":"eslint will always pull from the global eslintrc file, disable that so that we're only looking at the local","note3":"travis doesn't play nicely with !#/bin/bash in the script file, so we have to explicitly set bash","lint":"/bin/bash -c 'source ./scripts.sh && lint'","note4":"the diff-filter option below gets all files but deleted ones","lint-staged":"git diff --diff-filter=ACMRTUXB --cached --name-only | grep '.*\\..jsx$' | grep -v 'node_modules' | xargs eslint --ext .js --ext .jsx","requireGitClean":"/bin/bash -c 'source ./scripts.sh && git_require_clean_work_tree'","nsp":"nsp audit-package","note5":"--no-verify skips the commit hook","dmn":"dmn gen -f . && if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != '' ]]; then git add .npmignore && git commit --no-verify -m'update npmignore'; fi","doctoc":"doctoc README.md && if [ -f CONTRIBUTING.md ]; then doctoc CONTRIBUTING.md; fi && if [[ $(git diff --shortstat -- README.md 2> /dev/null | tail -n1) != '' || $(git diff --shortstat -- CONTRIBUTING.md 2> /dev/null | tail -n1) != '' ]]; then git add README.md CONTRIBUTING.md && git commit --no-verify -m'table of contents update'; fi","gitPull":"git pull --rebase origin master","gitPush":"git push --follow-tags --no-verify && git push --tags --no-verify","build-es5":"NODE_ENV=production && babel index.jsx > index.es5","release":"f () { source ./scripts.sh && npm run requireGitClean && npm run gitPull && npm run dmn && npm run doctoc && npm run build-es5 && npm run lint && npm test && npm_release public $@; }; f"},"config":{"notes":"important to correct the path of npm so that the git hook doesn't error","ghooks":{"pre-commit":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm run lint-staged","pre-push":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm run dmn && npm run doctoc && npm run lint && npm test","update":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm install"}},"main":"index.es5","browser":"index.es5","devDependencies":{"babel":"^5.6.14","babel-plugin-closure-elimination":"^0.0.1","babel-plugin-undefined-to-void":"^1.1.6","babel-runtime":"^5.6.15","babel-tape-runner":"^1.1.0","babelify":"^6.0.2","browserify":"^9.0.8","dmn":"^1.0.5","doctoc":"^0.14.2","eslint":"^0.24.0","eslint-plugin-react":"^2.6.4","ghooks":"^0.3.2","hihat":"^1.2.1","in-publish":"^1.1.1","nodemon":"^1.2.1","nsp":"^1.0.1","react":"^0.13.3","react-a11y":"^0.2.6","react-test-tree":"^0.2.0","sinon":"^1.12.2","smokestack":"^3.2.0","smokestack-watch":"^0.4.1","tap-closer":"^1.0.0","tap-dev-tool":"^1.3.0","tap-spec":"^4.0.2","tape":"^4.0.0"},"peerDependencies":{"react":">=0.13.3"},"dependencies":{"lodash":"^3.10.0","raf":"^3.0.0"},"gitHead":"4b5b008c9d357181911157aa09c3b38e9bf6e2b7","bugs":{"url":"https://github.com/joeybaker/react-element-query/issues"},"homepage":"https://github.com/joeybaker/react-element-query#readme","_id":"react-element-query@1.0.0","_shasum":"05788aeb7e0405dcfb35d987d146b186e01c1c96","_from":".","_npmVersion":"2.12.1","_nodeVersion":"2.3.3","_npmUser":{"name":"joeybaker","email":"joey@byjoeybaker.com"},"dist":{"shasum":"05788aeb7e0405dcfb35d987d146b186e01c1c96","tarball":"https://registry.npmjs.org/react-element-query/-/react-element-query-1.0.0.tgz","integrity":"sha512-GRfzxdzmwpeRM7IKiKcFq5fLVLLpul9t7l0hoNyb++0O97EVHSjBSIXMva8Bgn/kyZUNM6Rd+BP4wfcPllbx/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA2oqwPZAIRBt24CKY7wynP2aqSoPpCEVCN/Jc/MqREkAiAe9mIlRiH4/X23Y/AtCU0Zlnb9Q76oFc59RrlDL6S27w=="}]},"maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"}]},"1.1.0":{"version":"1.1.0","name":"react-element-query","description":"Element queries for react components.","author":{"name":"Joey Baker","email":"joey@byjoeybaker.com","url":"http://byjoeybaker.com"},"repository":{"type":"git","url":"git+https://github.com/joeybaker/react-element-query.git"},"license":"Artistic-2.0","directories":{"test":"test"},"keywords":["css","element query","react"],"scripts":{"start":"f () { node dev.js ${@-example} | garnish; }; f","test":"npm run -s test-browser && npm run -s test-server","test-browser":"browserify -t babelify test/browser.jsx | tap-closer | smokestack -b firefox | tap-spec","test-server":"babel-tape-runner test/server.jsx | tap-spec","tdd-server":"nodemon -x npm -i node_modules/ -e js,jsx -- run -s test-server","tdd-browser":"hihat test/*.jsx --transform babelify --debug -p tap-dev-tool","watch":"babel index.js --watch --out-file index.es5","note1":"we can't have nice things. prepublish also runs on npm install https://github.com/npm/npm/issues/6394 in-publish hacks around this","prepublish":"in-publish && npm prune && npm run -s gitPush || in-install","note2":"eslint will always pull from the global eslintrc file, disable that so that we're only looking at the local","note3":"travis doesn't play nicely with !#/bin/bash in the script file, so we have to explicitly set bash","lint":"/bin/bash -c 'source ./scripts.sh && lint'","note4":"the diff-filter option below gets all files but deleted ones","lint-staged":"git diff --diff-filter=ACMRTUXB --cached --name-only | grep '.*\\..jsx$' | grep -v 'node_modules' | xargs eslint --ext .js --ext .jsx","requireGitClean":"/bin/bash -c 'source ./scripts.sh && git_require_clean_work_tree'","nsp":"nsp audit-package","note5":"--no-verify skips the commit hook","dmn":"dmn gen -f . && if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != '' ]]; then git add .npmignore && git commit --no-verify -m'update npmignore'; fi","doctoc":"doctoc README.md && if [ -f CONTRIBUTING.md ]; then doctoc CONTRIBUTING.md; fi && if [[ $(git diff --shortstat -- README.md 2> /dev/null | tail -n1) != '' || $(git diff --shortstat -- CONTRIBUTING.md 2> /dev/null | tail -n1) != '' ]]; then git add README.md CONTRIBUTING.md && git commit --no-verify -m'table of contents update'; fi","gitPull":"git pull --rebase origin master","gitPush":"git push --follow-tags --no-verify && git push --tags --no-verify","build-es5":"NODE_ENV=production && babel index.jsx > index.es5","release":"f () { source ./scripts.sh && npm run requireGitClean && npm run gitPull && npm run dmn && npm run doctoc && npm run build-es5 && npm run lint && npm test && npm_release public $@; }; f"},"config":{"notes":"important to correct the path of npm so that the git hook doesn't error","ghooks":{"pre-commit":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm run lint-staged","pre-push":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm run dmn && npm run doctoc && npm run lint && npm test","update":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm install"}},"main":"index.es5","browser":"index.es5","devDependencies":{"babel":"^5.6.14","babel-plugin-closure-elimination":"^0.0.1","babel-plugin-undefined-to-void":"^1.1.6","babel-runtime":"^5.6.15","babel-tape-runner":"^1.1.0","babelify":"^6.0.2","browserify":"^9.0.8","dmn":"^1.0.5","doctoc":"^0.14.2","eslint":"^0.24.0","eslint-plugin-react":"^2.6.4","ghooks":"^0.3.2","hihat":"^1.2.1","in-publish":"^1.1.1","nodemon":"^1.2.1","nsp":"^1.0.1","react":"^0.13.3","react-a11y":"^0.2.6","react-test-tree":"^0.2.0","sinon":"^1.12.2","smokestack":"^3.2.0","smokestack-watch":"^0.4.1","tap-closer":"^1.0.0","tap-dev-tool":"^1.3.0","tap-spec":"^4.0.2","tape":"^4.0.0"},"peerDependencies":{"react":">=0.13.3"},"dependencies":{"lodash":"^3.10.0","raf":"^3.0.0"},"gitHead":"3f2ea0eb68149a1b7e918841cc4390b42f1431a9","bugs":{"url":"https://github.com/joeybaker/react-element-query/issues"},"homepage":"https://github.com/joeybaker/react-element-query#readme","_id":"react-element-query@1.1.0","_shasum":"0b2da8fdef740b2b906c61a77aafb960dffac712","_from":".","_npmVersion":"2.13.0","_nodeVersion":"2.4.0","_npmUser":{"name":"joeybaker","email":"joey@byjoeybaker.com"},"dist":{"shasum":"0b2da8fdef740b2b906c61a77aafb960dffac712","tarball":"https://registry.npmjs.org/react-element-query/-/react-element-query-1.1.0.tgz","integrity":"sha512-1gVuZ+byixbLf7bCv7cDEO4XllWQ64UEB9WNAwfaeWcIi92uXa0/KcZMtX5Jr7W+lxokGVOSyEGavpmcFuqqMA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRGXj9TIyIPPIUL1StCATvJZcMpjo818tyxgS5zJoHRgIhAP9bIvp22Z3ZgbszwacrdJfccVXyD2qR7Uo+Ko9XZIiA"}]},"maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"}]},"1.1.1":{"version":"1.1.1","name":"react-element-query","description":"Element queries for react components.","author":{"name":"Joey Baker","email":"joey@byjoeybaker.com","url":"http://byjoeybaker.com"},"repository":{"type":"git","url":"git+https://github.com/joeybaker/react-element-query.git"},"license":"Artistic-2.0","directories":{"test":"test"},"keywords":["css","element query","react"],"scripts":{"start":"f () { node dev.js ${@-example} | garnish; }; f","test":"npm run -s test-browser && npm run -s test-server","test-browser":"browserify -t babelify test/browser.jsx | tap-closer | smokestack -b firefox | tap-spec","test-server":"babel-tape-runner test/server.jsx | tap-spec","tdd-server":"nodemon -x npm -i node_modules/ -e js,jsx -- run -s test-server","tdd-browser":"hihat test/*.jsx --transform babelify --debug -p tap-dev-tool","watch":"babel index.js --watch --out-file index.es5","note1":"we can't have nice things. prepublish also runs on npm install https://github.com/npm/npm/issues/6394 in-publish hacks around this","prepublish":"in-publish && npm prune && npm run -s gitPush || in-install","note2":"eslint will always pull from the global eslintrc file, disable that so that we're only looking at the local","note3":"travis doesn't play nicely with !#/bin/bash in the script file, so we have to explicitly set bash","lint":"/bin/bash -c 'source ./scripts.sh && lint'","note4":"the diff-filter option below gets all files but deleted ones","lint-staged":"git diff --diff-filter=ACMRTUXB --cached --name-only | grep '.*\\..jsx$' | grep -v 'node_modules' | xargs eslint --ext .js --ext .jsx","requireGitClean":"/bin/bash -c 'source ./scripts.sh && git_require_clean_work_tree'","nsp":"nsp audit-package","note5":"--no-verify skips the commit hook","dmn":"dmn gen -f . && if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != '' ]]; then git add .npmignore && git commit --no-verify -m'update npmignore'; fi","doctoc":"doctoc README.md && if [ -f CONTRIBUTING.md ]; then doctoc CONTRIBUTING.md; fi && if [[ $(git diff --shortstat -- README.md 2> /dev/null | tail -n1) != '' || $(git diff --shortstat -- CONTRIBUTING.md 2> /dev/null | tail -n1) != '' ]]; then git add README.md CONTRIBUTING.md && git commit --no-verify -m'table of contents update'; fi","gitPull":"git pull --rebase origin master","gitPush":"git push --follow-tags --no-verify && git push --tags --no-verify","build-es5":"NODE_ENV=production && babel index.jsx > index.es5","release":"f () { source ./scripts.sh && npm run requireGitClean && npm run gitPull && npm run dmn && npm run doctoc && npm run build-es5 && npm run lint && npm test && npm_release public $@; }; f"},"config":{"notes":"important to correct the path of npm so that the git hook doesn't error","ghooks":{"pre-commit":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm run lint-staged","pre-push":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm run dmn && npm run doctoc && npm run lint && npm test","update":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm install"}},"main":"index.es5","browser":"index.es5","devDependencies":{"babel":"^5.6.14","babel-plugin-closure-elimination":"^0.0.1","babel-plugin-undefined-to-void":"^1.1.6","babel-runtime":"^5.6.15","babel-tape-runner":"^1.1.0","babelify":"^6.0.2","browserify":"^9.0.8","dmn":"^1.0.5","doctoc":"^0.14.2","eslint":"^0.24.0","eslint-plugin-react":"^2.6.4","ghooks":"^0.3.2","hihat":"^1.2.1","in-publish":"^1.1.1","nodemon":"^1.2.1","nsp":"^1.0.1","react":"^0.13.3","react-a11y":"^0.2.6","react-test-tree":"^0.2.0","sinon":"^1.12.2","smokestack":"^3.2.0","smokestack-watch":"^0.4.1","tap-closer":"^1.0.0","tap-dev-tool":"^1.3.0","tap-spec":"^4.0.2","tape":"^4.0.0"},"peerDependencies":{"react":">=0.13.3"},"dependencies":{"lodash":"^3.10.0","raf":"^3.0.0"},"gitHead":"39270e3285bb52a0f5fa0e41285d8fe807cd6acd","bugs":{"url":"https://github.com/joeybaker/react-element-query/issues"},"homepage":"https://github.com/joeybaker/react-element-query#readme","_id":"react-element-query@1.1.1","_shasum":"01d788cb39359d5a45a9150b2f2ea4078e5627f4","_from":".","_npmVersion":"2.13.5","_nodeVersion":"2.5.0","_npmUser":{"name":"joeybaker","email":"joey@byjoeybaker.com"},"dist":{"shasum":"01d788cb39359d5a45a9150b2f2ea4078e5627f4","tarball":"https://registry.npmjs.org/react-element-query/-/react-element-query-1.1.1.tgz","integrity":"sha512-vxhc1NUcBe09dHk86tagzq2Ok/hsw/AjPfUXs1xzn2WPvPM2ScvYBOx7UZ4vq2kMTyBzob78Qt+T1TQDYkh3HQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbrgS9az6m/2pNsFaMX0dS+Uoc02HntZ/hW3GYKNSy2wIhAN9enN5y6pgMgjLG3uMem9s6Qkyu3lt2WbxMCnuKPRCh"}]},"maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"}]},"2.0.0":{"version":"2.0.0","name":"react-element-query","description":"Element queries for react components.","author":{"name":"Joey Baker","email":"joey@byjoeybaker.com","url":"http://byjoeybaker.com"},"repository":{"type":"git","url":"git+https://github.com/joeybaker/react-element-query.git"},"license":"Artistic-2.0","directories":{"test":"test"},"keywords":["css","element query","react"],"scripts":{"start":"f () { node dev.js ${@-example} | garnish; }; f","test":"npm run -s test-server && npm run -s test-browser","test-browser":"browserify -t babelify test/browser.jsx | tap-closer | smokestack -b firefox | tap-spec","test-server":"babel-tape-runner test/server.jsx | tap-spec","tdd-server":"nodemon -x npm -i node_modules/ -e js,jsx -- run -s test-server","tdd-browser":"hihat test/browser.jsx -- --transform babelify --debug -p tap-dev-tool","watch":"babel index.js --watch --out-file index.es5","note1":"we can't have nice things. prepublish also runs on npm install https://github.com/npm/npm/issues/6394 in-publish hacks around this","prepublish":"in-publish && npm prune && npm run -s gitPush || in-install","note2":"eslint will always pull from the global eslintrc file, disable that so that we're only looking at the local","note3":"travis doesn't play nicely with !#/bin/bash in the script file, so we have to explicitly set bash","lint":"/bin/bash -c 'source ./scripts.sh && lint'","note4":"the diff-filter option below gets all files but deleted ones","lint-staged":"git diff --diff-filter=ACMRTUXB --cached --name-only | grep '.*\\..jsx$' | grep -v 'node_modules' | xargs eslint --ext .js --ext .jsx","requireGitClean":"/bin/bash -c 'source ./scripts.sh && git_require_clean_work_tree'","nsp":"nsp audit-package","note5":"--no-verify skips the commit hook","dmn":"dmn gen -f . && if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != '' ]]; then git add .npmignore && git commit --no-verify -m'update npmignore'; fi","doctoc":"doctoc README.md && if [ -f CONTRIBUTING.md ]; then doctoc CONTRIBUTING.md; fi && if [[ $(git diff --shortstat -- README.md 2> /dev/null | tail -n1) != '' || $(git diff --shortstat -- CONTRIBUTING.md 2> /dev/null | tail -n1) != '' ]]; then git add README.md CONTRIBUTING.md && git commit --no-verify -m'table of contents update'; fi","gitPull":"git pull --rebase origin master","gitPush":"git push --follow-tags --no-verify && git push --tags --no-verify","build-es5":"NODE_ENV=production && babel index.jsx > index.es5","release":"f () { source ./scripts.sh && npm run requireGitClean && npm run gitPull && npm run dmn && npm run doctoc && npm run build-es5 && npm run lint && npm test && npm_release public $@; }; f"},"config":{"notes":"important to correct the path of npm so that the git hook doesn't error","ghooks":{"pre-commit":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm run lint-staged","pre-push":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm run dmn && npm run doctoc && npm run lint && npm test","update":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm install"}},"main":"index.es5","browser":"index.es5","devDependencies":{"babel":"^5.6.14","babel-eslint":"^4.1.3","babel-plugin-closure-elimination":"^0.0.2","babel-plugin-undefined-to-void":"^1.1.6","babel-runtime":"^5.6.15","babel-tape-runner":"^1.1.0","babelify":"^6.0.2","browserify":"^12.0.1","dmn":"^1.0.5","doctoc":"^0.15.0","eslint":"^1.7.3","eslint-plugin-react":"^3.6.3","ghooks":"^0.3.2","hihat":"^2.5.0","in-publish":"^2.0.0","nodemon":"^1.2.1","nsp":"^1.0.1","react":"^0.14.1","react-a11y":"^0.2.6","react-dom":"^0.14.1","react-test-tree":"^1.0.0-rc4","sinon":"^1.12.2","smokestack":"^3.2.0","smokestack-watch":"^0.4.1","tap-closer":"^1.0.0","tap-dev-tool":"^1.3.0","tap-spec":"^4.0.2","tape":"^4.0.0"},"peerDependencies":{"react":">=0.13.3 || >=0.14","react-dom":">=0.14.1"},"dependencies":{"lodash":"^3.10.1","pure-render-decorator":"^0.2.0","raf":"^3.0.0"},"gitHead":"15788d96fca6737ff1ac50c6c64e3f3852fe7720","bugs":{"url":"https://github.com/joeybaker/react-element-query/issues"},"homepage":"https://github.com/joeybaker/react-element-query#readme","_id":"react-element-query@2.0.0","_shasum":"5e0134d04cb9fb610887df66dfb1032e79bd9211","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.0.0","_npmUser":{"name":"joeybaker","email":"joey@byjoeybaker.com"},"dist":{"shasum":"5e0134d04cb9fb610887df66dfb1032e79bd9211","tarball":"https://registry.npmjs.org/react-element-query/-/react-element-query-2.0.0.tgz","integrity":"sha512-uNjNZkZur3zI6dtRmqFsWrfqcvNSdbQzIYTpzSSLQphZxAOIF1FjycHs26Ntm/6S/nrTiaSFvnhb0r8WoEQTPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYCAU/yTduw8BRRfjyC+NMiQWmcXCS2yOWL85ZigVobAIhAKFXuXMfWdNzgjvZQml+yy8KrMHZyefJZF01ceIi4Q/J"}]},"maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"}]},"2.0.1":{"version":"2.0.1","name":"react-element-query","description":"Element queries for react components.","author":{"name":"Joey Baker","email":"joey@byjoeybaker.com","url":"http://byjoeybaker.com"},"repository":{"type":"git","url":"git+https://github.com/joeybaker/react-element-query.git"},"license":"Artistic-2.0","directories":{"test":"test"},"keywords":["css","element query","react"],"scripts":{"start":"f () { node dev.js ${@-example} | garnish; }; f","test":"npm run -s test-server && npm run -s test-browser","test-browser":"browserify -t babelify test/browser.jsx | tap-closer | smokestack -b firefox | tap-spec","test-server":"babel-tape-runner test/server.jsx | tap-spec","tdd-server":"nodemon -x npm -i node_modules/ -e js,jsx -- run -s test-server","tdd-browser":"hihat test/browser.jsx -- --transform babelify --debug -p tap-dev-tool","watch":"babel index.js --watch --out-file index.es5","note1":"we can't have nice things. prepublish also runs on npm install https://github.com/npm/npm/issues/6394 in-publish hacks around this","prepublish":"in-publish && npm prune && npm run -s gitPush || in-install","note2":"eslint will always pull from the global eslintrc file, disable that so that we're only looking at the local","note3":"travis doesn't play nicely with !#/bin/bash in the script file, so we have to explicitly set bash","lint":"/bin/bash -c 'source ./scripts.sh && lint'","note4":"the diff-filter option below gets all files but deleted ones","lint-staged":"git diff --diff-filter=ACMRTUXB --cached --name-only | grep '.*\\..jsx$' | grep -v 'node_modules' | xargs eslint --ext .js --ext .jsx","requireGitClean":"/bin/bash -c 'source ./scripts.sh && git_require_clean_work_tree'","nsp":"nsp check","note5":"--no-verify skips the commit hook","dmn":"dmn gen -f . && if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != '' ]]; then git add .npmignore && git commit --no-verify -m'update npmignore'; fi","doctoc":"doctoc README.md && if [ -f CONTRIBUTING.md ]; then doctoc CONTRIBUTING.md; fi && if [[ $(git diff --shortstat -- README.md 2> /dev/null | tail -n1) != '' || $(git diff --shortstat -- CONTRIBUTING.md 2> /dev/null | tail -n1) != '' ]]; then git add README.md CONTRIBUTING.md && git commit --no-verify -m'table of contents update'; fi","gitPull":"git pull --rebase origin master","gitPush":"git push --follow-tags --no-verify && git push --tags --no-verify","build-es5":"NODE_ENV=production && babel index.jsx > index.es5","release":"f () { source ./scripts.sh && npm run requireGitClean && npm run gitPull && npm run dmn && npm run doctoc && npm run build-es5 && npm run lint && npm test && npm_release public $@; }; f"},"config":{"notes":"important to correct the path of npm so that the git hook doesn't error","ghooks":{"pre-commit":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm run lint-staged","pre-push":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm run dmn && npm run doctoc && npm run lint && npm test","update":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm install"}},"main":"index.es5","browser":"index.es5","devDependencies":{"babel":"^5.6.14","babel-eslint":"^4.1.3","babel-plugin-closure-elimination":"^0.0.2","babel-plugin-undefined-to-void":"^1.1.6","babel-runtime":"^5.6.15","babel-tape-runner":"^1.1.0","babelify":"^6.0.2","browserify":"^12.0.1","dmn":"^1.0.5","doctoc":"^0.15.0","eslint":"^1.7.3","eslint-plugin-react":"^3.6.3","ghooks":"^0.3.2","hihat":"^2.5.0","in-publish":"^2.0.0","nodemon":"^1.2.1","nsp":"^2.0.0","react":"^0.14.1","react-a11y":"^0.2.6","react-dom":"^0.14.1","react-test-tree":"^1.0.0-rc4","sinon":"^1.12.2","smokestack":"^3.2.0","smokestack-watch":"^0.4.1","tap-closer":"^1.0.0","tap-dev-tool":"^1.3.0","tap-spec":"^4.0.2","tape":"^4.0.0"},"peerDependencies":{"react":">=0.13.3 || >=0.14","react-dom":">=0.14.1"},"dependencies":{"lodash":"^3.10.1","pure-render-decorator":"^0.2.0","raf":"^3.0.0"},"gitHead":"eb4ad9046ef5d2555a05ea5c965e133a5ba33571","bugs":{"url":"https://github.com/joeybaker/react-element-query/issues"},"homepage":"https://github.com/joeybaker/react-element-query#readme","_id":"react-element-query@2.0.1","_shasum":"a9fad78861bcddde4b6f292047ec145a8f9249b2","_from":".","_npmVersion":"3.5.0","_nodeVersion":"5.1.0","_npmUser":{"name":"joeybaker","email":"joey@byjoeybaker.com"},"dist":{"shasum":"a9fad78861bcddde4b6f292047ec145a8f9249b2","tarball":"https://registry.npmjs.org/react-element-query/-/react-element-query-2.0.1.tgz","integrity":"sha512-stHYNc8iVWu9O3rlrPivsvuM27jDN30yCi7pGtKyiCYoWw+rjGtX+t00TKkQucQNeAcdUNEACuVGj3mXjuMEdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7lTWmntx4e0SlcTESSoovtLPwCwJbodyJ/EtjZY5UDQIhAKnG5srisUgCqi85vPldKsZxRP64eSUug9AiGfqdJn8O"}]},"maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"}]},"2.0.2":{"version":"2.0.2","name":"react-element-query","description":"Element queries for react components.","author":{"name":"Joey Baker","email":"joey@byjoeybaker.com","url":"http://byjoeybaker.com"},"repository":{"type":"git","url":"git+https://github.com/joeybaker/react-element-query.git"},"license":"Artistic-2.0","directories":{"test":"test"},"keywords":["css","element query","react"],"scripts":{"start":"f () { node dev.js ${@-example} | garnish; }; f","test":"npm run -s test-server && npm run -s test-browser","test-browser":"browserify -t babelify test/browser.jsx | tap-closer | smokestack -b firefox | tap-spec","test-server":"babel-tape-runner test/server.jsx | tap-spec","tdd-server":"nodemon -x npm -i node_modules/ -e js,jsx -- run -s test-server","tdd-browser":"hihat test/browser.jsx -- --transform babelify --debug -p tap-dev-tool","watch":"babel index.js --watch --out-file index.es5","note1":"we can't have nice things. prepublish also runs on npm install https://github.com/npm/npm/issues/6394 in-publish hacks around this","prepublish":"in-publish && npm prune && npm run -s gitPush || in-install","note2":"eslint will always pull from the global eslintrc file, disable that so that we're only looking at the local","note3":"travis doesn't play nicely with !#/bin/bash in the script file, so we have to explicitly set bash","lint":"/bin/bash -c 'source ./scripts.sh && lint'","note4":"the diff-filter option below gets all files but deleted ones","lint-staged":"git diff --diff-filter=ACMRTUXB --cached --name-only | grep '.*\\..jsx$' | grep -v 'node_modules' | xargs eslint --ext .js --ext .jsx","requireGitClean":"/bin/bash -c 'source ./scripts.sh && git_require_clean_work_tree'","nsp":"nsp check","note5":"--no-verify skips the commit hook","dmn":"dmn gen -f . && if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != '' ]]; then git add .npmignore && git commit --no-verify -m'update npmignore'; fi","doctoc":"doctoc README.md && if [ -f CONTRIBUTING.md ]; then doctoc CONTRIBUTING.md; fi && if [[ $(git diff --shortstat -- README.md 2> /dev/null | tail -n1) != '' || $(git diff --shortstat -- CONTRIBUTING.md 2> /dev/null | tail -n1) != '' ]]; then git add README.md CONTRIBUTING.md && git commit --no-verify -m'table of contents update'; fi","gitPull":"git pull --rebase origin master","gitPush":"git push --follow-tags --no-verify && git push --tags --no-verify","build-es5":"NODE_ENV=production && babel index.jsx > index.es5","release":"f () { source ./scripts.sh && npm run requireGitClean && npm run gitPull && npm run dmn && npm run doctoc && npm run build-es5 && npm run lint && npm test && npm_release public $@; }; f"},"config":{"notes":"important to correct the path of npm so that the git hook doesn't error","ghooks":{"pre-commit":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm run lint-staged","pre-push":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm run dmn && npm run doctoc && npm run lint && npm test","update":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm install"}},"main":"index.es5","browser":"index.es5","devDependencies":{"babel":"^5.6.14","babel-eslint":"^6.0.4","babel-plugin-closure-elimination":"^0.0.2","babel-plugin-undefined-to-void":"^1.1.6","babel-runtime":"^5.6.15","babel-tape-runner":"^1.1.0","babelify":"^6.0.2","browserify":"^12.0.1","dmn":"^1.0.5","doctoc":"^0.15.0","eslint":"^2.8.0","eslint-plugin-react":"^5.0.1","ghooks":"^0.3.2","hihat":"^2.5.0","in-publish":"^2.0.0","nodemon":"^1.2.1","nsp":"^2.0.0","react":"^0.14.1","react-a11y":"^0.2.6","react-dom":"^0.14.1","react-test-tree":"^1.0.0-rc4","sinon":"^1.12.2","smokestack":"^3.2.0","smokestack-watch":"^0.4.1","tap-closer":"^1.0.0","tap-dev-tool":"^1.3.0","tap-spec":"^4.0.2","tape":"^4.0.0"},"peerDependencies":{"react":">=0.13.3 || >=0.14","react-dom":">=0.14.1"},"dependencies":{"lodash.first":"^3.0.0","lodash.identity":"^3.0.0","lodash.isnumber":"^3.0.3","lodash.sortby":"^4.4.2","pure-render-decorator":"^1.1.0","raf":"^3.0.0"},"gitHead":"7bc901a4b47b34228f8b7ff7fa8ade3f306ff871","bugs":{"url":"https://github.com/joeybaker/react-element-query/issues"},"homepage":"https://github.com/joeybaker/react-element-query#readme","_id":"react-element-query@2.0.2","_shasum":"49bd76527b3e562ace9c516aca845527e9d90b82","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.0","_npmUser":{"name":"joeybaker","email":"joey@byjoeybaker.com"},"dist":{"shasum":"49bd76527b3e562ace9c516aca845527e9d90b82","tarball":"https://registry.npmjs.org/react-element-query/-/react-element-query-2.0.2.tgz","integrity":"sha512-2Zhzotd7fWQYarmHEEivz5zuDdxjnSIR52G7b35AdLTOLB5V6yDb6iC8Rc+iF1CR2aG6Jo+Ij0G/JaI9LHwFvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfqCt+yKgdcWE3FRhna9ViVcZ7xr8xu7m+8hVxtWL+KQIgbBIBxwOnpxwk2VsoNk7d1w+LyG2q0mkOBORorek15aw="}]},"maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"},{"name":"jokeyrhyme","email":"jokeyrhyme@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-element-query-2.0.2.tgz_1462146487297_0.560747480019927"}},"3.0.0":{"version":"3.0.0","name":"react-element-query","description":"Element queries for react components.","author":{"name":"Joey Baker","email":"joey@byjoeybaker.com","url":"http://byjoeybaker.com"},"repository":{"type":"git","url":"git+https://github.com/joeybaker/react-element-query.git"},"license":"Artistic-2.0","directories":{"test":"test"},"keywords":["css","element query","react"],"scripts":{"start":"f () { node dev.js ${@-example} | garnish; }; f","test":"npm run -s test-server && npm run -s test-browser","test-browser":"browserify -t babelify test/browser.jsx --external react/addons --external react/lib/ReactContext --external react/lib/ExecutionEnvironment | tap-closer | smokestack -b firefox | tap-spec","test-server":"babel-tape-runner test/server.jsx | tap-spec","tdd-server":"nodemon -x npm -i node_modules/ -e js,jsx -- run -s test-server","tdd-browser":"mkdir -p .cache; mkdir -p .cache/test; touch .cache/test/browser.js 2> /dev/null; watchify test/browser.jsx --transform babelify --external react/addons --external react/lib/ReactContext --external react/lib/ExecutionEnvironment --debug --outfile .cache/test/browser.js & devtool --watch .cache/test/browser.js --console --browser-field --no-node-timers --show .cache/test/browser.js | faucet","watch":"babel index.js --watch --out-file index.es5","note1":"we can't have nice things. prepublish also runs on npm install https://github.com/npm/npm/issues/6394 in-publish hacks around this","prepublish":"in-publish && npm prune && npm run -s gitPush || in-install","note2":"eslint will always pull from the global eslintrc file, disable that so that we're only looking at the local","note3":"travis doesn't play nicely with !#/bin/bash in the script file, so we have to explicitly set bash","lint":"/bin/bash -c 'source ./scripts.sh && lint'","note4":"the diff-filter option below gets all files but deleted ones","lint-staged":"git diff --diff-filter=ACMRTUXB --cached --name-only | grep '.*\\..jsx$' | grep -v 'node_modules' | xargs eslint --ext .js --ext .jsx","requireGitClean":"/bin/bash -c 'source ./scripts.sh && git_require_clean_work_tree'","nsp":"nsp check","note5":"--no-verify skips the commit hook","dmn":"dmn gen -f . && if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != '' ]]; then git add .npmignore && git commit --no-verify -m'update npmignore'; fi","doctoc":"doctoc README.md && if [ -f CONTRIBUTING.md ]; then doctoc CONTRIBUTING.md; fi && if [[ $(git diff --shortstat -- README.md 2> /dev/null | tail -n1) != '' || $(git diff --shortstat -- CONTRIBUTING.md 2> /dev/null | tail -n1) != '' ]]; then git add README.md CONTRIBUTING.md && git commit --no-verify -m'table of contents update'; fi","gitPull":"git pull --rebase origin master","gitPush":"git push --follow-tags --no-verify && git push --tags --no-verify","build":"NODE_ENV=production && babel index.jsx > index.es5","release":"f () { source ./scripts.sh && npm run requireGitClean && npm run gitPull && npm run dmn && npm run doctoc && npm run build && npm run lint && npm test && npm_release public $@; }; f"},"config":{"notes":"important to correct the path of npm so that the git hook doesn't error","ghooks":{"pre-commit":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm run lint-staged","pre-push":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm run dmn && npm run doctoc && npm run lint && npm test","update":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm install"}},"main":"index.es5","browser":"index.es5","devDependencies":{"babel-cli":"^6.14.0","babel-eslint":"^6.1.2","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-transform-class-properties":"^6.11.5","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-object-rest-spread":"^6.8.0","babel-plugin-transform-undefined-to-void":"^6.8.0","babel-preset-latest":"^6.14.0","babel-preset-react":"^6.11.1","babel-tape-runner":"^2.0.1","babelify":"^7.3.0","browserify":"^13.1.0","devtool":"^2.2.0","dmn":"^1.0.5","doctoc":"^1.2.0","enzyme":"^2.4.1","eslint":"^3.4.0","eslint-plugin-react":"^6.2.0","faucet":"0.0.1","ghooks":"^1.3.2","hihat":"^2.6.4","in-publish":"^2.0.0","nodemon":"^1.10.2","nsp":"^2.6.1","react":"^15.3.1","react-a11y":"^0.3.3","react-addons-test-utils":"^15.3.1","react-dom":"^15.3.1","sinon":"^1.17.5","smokestack":"^3.2.0","smokestack-watch":"^0.4.1","tap-closer":"^1.0.0","tap-dev-tool":"^1.3.0","tap-spec":"^4.1.1","tape":"^4.6.0","watchify":"^3.7.0"},"peerDependencies":{"react":">=0.15.0","react-dom":">=0.15.0"},"dependencies":{"autobind-decorator":"^1.3.3","lodash.first":"^3.0.0","lodash.identity":"^3.0.0","lodash.isnumber":"^3.0.3","lodash.sortby":"^4.7.0","pure-render-decorator":"^1.1.1","raf":"^3.3.0"},"gitHead":"a643d4ae3b65b18641a2c93addbbd3118b488b4c","bugs":{"url":"https://github.com/joeybaker/react-element-query/issues"},"homepage":"https://github.com/joeybaker/react-element-query#readme","_id":"react-element-query@3.0.0","_shasum":"7b3b4e9ff8047a5944965423c1181d588ad5883f","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"joeybaker","email":"joey@byjoeybaker.com"},"dist":{"shasum":"7b3b4e9ff8047a5944965423c1181d588ad5883f","tarball":"https://registry.npmjs.org/react-element-query/-/react-element-query-3.0.0.tgz","integrity":"sha512-Hv6Tk3QMFvBF2yGCciADQwugllV8VK3SZ+ygvrccnK8fvTrCHKN+WvQeujyJp75M7DzuWSp15yzEZMbFrwsi9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqhrM6Rkbg4y+l6oRL/65WIXZQhLeArGAnzE9vhQwSWgIhAL2fYFDfX9emj6F4uAZLqHikxfKBNTRANvY6J+kHBMCI"}]},"maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"},{"name":"jokeyrhyme","email":"jokeyrhyme@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/react-element-query-3.0.0.tgz_1472858909275_0.6274294229224324"}},"3.0.1":{"version":"3.0.1","name":"react-element-query","description":"Element queries for react components.","author":{"name":"Joey Baker","email":"joey@byjoeybaker.com","url":"http://byjoeybaker.com"},"repository":{"type":"git","url":"git+https://github.com/joeybaker/react-element-query.git"},"license":"Artistic-2.0","directories":{"test":"test"},"keywords":["css","element query","react"],"scripts":{"start":"f () { node dev.js ${@-example} | garnish; }; f","test":"npm run -s test-server && npm run -s test-browser","test-browser":"browserify -t babelify test/browser.jsx --external react/addons --external react/lib/ReactContext --external react/lib/ExecutionEnvironment | tap-closer | smokestack -b firefox | tap-spec","test-server":"babel-tape-runner test/server.jsx | tap-spec","tdd-server":"nodemon -x npm -i node_modules/ -e js,jsx -- run -s test-server","tdd-browser":"mkdir -p .cache; mkdir -p .cache/test; touch .cache/test/browser.js 2> /dev/null; watchify test/browser.jsx --transform babelify --external react/addons --external react/lib/ReactContext --external react/lib/ExecutionEnvironment --debug --outfile .cache/test/browser.js & devtool --watch .cache/test/browser.js --console --browser-field --no-node-timers --show .cache/test/browser.js | faucet","watch":"babel index.js --watch --out-file index.es5","note1":"we can't have nice things. prepublish also runs on npm install https://github.com/npm/npm/issues/6394 in-publish hacks around this","prepublish":"in-publish && npm prune && npm run -s gitPush || in-install","note2":"eslint will always pull from the global eslintrc file, disable that so that we're only looking at the local","note3":"travis doesn't play nicely with !#/bin/bash in the script file, so we have to explicitly set bash","lint":"/bin/bash -c 'source ./scripts.sh && lint'","note4":"the diff-filter option below gets all files but deleted ones","lint-staged":"git diff --diff-filter=ACMRTUXB --cached --name-only | grep '.*\\..jsx$' | grep -v 'node_modules' | xargs eslint --ext .js --ext .jsx","requireGitClean":"/bin/bash -c 'source ./scripts.sh && git_require_clean_work_tree'","nsp":"nsp check","note5":"--no-verify skips the commit hook","dmn":"dmn gen -f . && if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != '' ]]; then git add .npmignore && git commit --no-verify -m'update npmignore'; fi","doctoc":"doctoc README.md && if [ -f CONTRIBUTING.md ]; then doctoc CONTRIBUTING.md; fi && if [[ $(git diff --shortstat -- README.md 2> /dev/null | tail -n1) != '' || $(git diff --shortstat -- CONTRIBUTING.md 2> /dev/null | tail -n1) != '' ]]; then git add README.md CONTRIBUTING.md && git commit --no-verify -m'table of contents update'; fi","gitPull":"git pull --rebase origin master","gitPush":"git push --follow-tags --no-verify && git push --tags --no-verify","build":"NODE_ENV=production && babel index.jsx > index.es5","release":"f () { source ./scripts.sh && npm run requireGitClean && npm run gitPull && npm run dmn && npm run doctoc && npm run build && npm run lint && npm test && npm_release public $@; }; f"},"config":{"notes":"important to correct the path of npm so that the git hook doesn't error","ghooks":{"pre-commit":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm run lint-staged","pre-push":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm run dmn && npm run doctoc && npm run lint && npm test","update":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm install"}},"main":"index.es5","browser":"index.es5","devDependencies":{"babel-cli":"^6.14.0","babel-eslint":"^6.1.2","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-transform-class-properties":"^6.11.5","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-object-rest-spread":"^6.8.0","babel-plugin-transform-undefined-to-void":"^6.8.0","babel-preset-latest":"^6.14.0","babel-preset-react":"^6.11.1","babel-tape-runner":"^2.0.1","babelify":"^7.3.0","browserify":"^13.1.0","devtool":"^2.2.0","dmn":"^1.0.5","doctoc":"^1.2.0","enzyme":"^2.4.1","eslint":"^3.4.0","eslint-plugin-react":"^6.2.0","faucet":"0.0.1","ghooks":"^1.3.2","hihat":"^2.6.4","in-publish":"^2.0.0","nodemon":"^1.10.2","nsp":"^2.6.1","react":"^15.3.1","react-a11y":"^0.3.3","react-addons-test-utils":"^15.3.1","react-dom":"^15.3.1","sinon":"^1.17.5","smokestack":"^3.2.0","smokestack-watch":"^0.4.1","tap-closer":"^1.0.0","tap-dev-tool":"^1.3.0","tap-spec":"^4.1.1","tape":"^4.6.0","watchify":"^3.7.0"},"peerDependencies":{"react":">=0.15.0","react-dom":">=0.15.0"},"dependencies":{"autobind-decorator":"^1.3.3","lodash.first":"^3.0.0","lodash.identity":"^3.0.0","lodash.isnumber":"^3.0.3","lodash.sortby":"^4.7.0","pure-render-decorator":"^1.1.1","raf":"^3.3.0"},"gitHead":"1cadf2767d5651a2da3c190f72cb8a9aabd46d25","bugs":{"url":"https://github.com/joeybaker/react-element-query/issues"},"homepage":"https://github.com/joeybaker/react-element-query#readme","_id":"react-element-query@3.0.1","_shasum":"ea99b3a0d53d4a5d0f4c7900c3ca3cd5b89fecea","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"joeybaker","email":"joey@byjoeybaker.com"},"dist":{"shasum":"ea99b3a0d53d4a5d0f4c7900c3ca3cd5b89fecea","tarball":"https://registry.npmjs.org/react-element-query/-/react-element-query-3.0.1.tgz","integrity":"sha512-pTF2MGNFyvwDbbIWEkisTeEad04E8p6HvJ+DpHwFA4f80H+IXoDkwGoxyvS+tgos3dxU0Kh3pO7FMqPJMI2Hzg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3vR8lT6UVzIM4mlTkwIQ3c/4kJKQO+x+zXtj4AY5n3wIgeC9umPrTH4lRUy5sM/GmTZ4t6rtbOuegnomSrX+xrm8="}]},"maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"},{"name":"jokeyrhyme","email":"jokeyrhyme@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-element-query-3.0.1.tgz_1472860099317_0.5192211093381047"}},"3.0.2":{"version":"3.0.2","name":"react-element-query","description":"Element queries for react components.","author":{"name":"Joey Baker","email":"joey@byjoeybaker.com","url":"http://byjoeybaker.com"},"repository":{"type":"git","url":"git+https://github.com/joeybaker/react-element-query.git"},"license":"Artistic-2.0","directories":{"test":"test"},"keywords":["css","element query","react"],"scripts":{"start":"f () { node dev.js ${@-example} | garnish; }; f","test":"npm run -s test-server && npm run -s test-browser","test-browser":"browserify -t babelify test/browser.jsx --external react/addons --external react/lib/ReactContext --external react/lib/ExecutionEnvironment | tap-closer | smokestack -b firefox | tap-spec","test-server":"babel-tape-runner test/server.jsx | tap-spec","tdd-server":"nodemon -x npm -i node_modules/ -e js,jsx -- run -s test-server","tdd-browser":"mkdir -p .cache; mkdir -p .cache/test; touch .cache/test/browser.js 2> /dev/null; watchify test/browser.jsx --transform babelify --external react/addons --external react/lib/ReactContext --external react/lib/ExecutionEnvironment --debug --outfile .cache/test/browser.js & devtool --watch .cache/test/browser.js --console --browser-field --no-node-timers --show .cache/test/browser.js | faucet","watch":"babel src --watch --out-dir dist","note1":"we can't have nice things. prepublish also runs on npm install https://github.com/npm/npm/issues/6394 in-publish hacks around this","prepublish":"in-publish && npm prune && npm run -s gitPush || in-install","note2":"eslint will always pull from the global eslintrc file, disable that so that we're only looking at the local","note3":"travis doesn't play nicely with !#/bin/bash in the script file, so we have to explicitly set bash","lint":"/bin/bash -c 'source ./scripts.sh && lint'","note4":"the diff-filter option below gets all files but deleted ones","lint-staged":"git diff --diff-filter=ACMRTUXB --cached --name-only | grep '.*\\..jsx$' | grep -v 'node_modules' | xargs eslint --ext .js --ext .jsx","requireGitClean":"/bin/bash -c 'source ./scripts.sh && git_require_clean_work_tree'","nsp":"nsp check","note5":"--no-verify skips the commit hook","dmn":"dmn gen -f . && if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != '' ]]; then git add .npmignore && git commit --no-verify -m'update npmignore'; fi","doctoc":"doctoc README.md && if [ -f CONTRIBUTING.md ]; then doctoc CONTRIBUTING.md; fi && if [[ $(git diff --shortstat -- README.md 2> /dev/null | tail -n1) != '' || $(git diff --shortstat -- CONTRIBUTING.md 2> /dev/null | tail -n1) != '' ]]; then git add README.md CONTRIBUTING.md && git commit --no-verify -m'table of contents update'; fi","gitPull":"git pull --rebase origin master","gitPush":"git push --follow-tags --no-verify && git push --tags --no-verify","build":"NODE_ENV=production && babel src --out-dir dist","release":"f () { source ./scripts.sh && npm run requireGitClean && npm run gitPull && npm run dmn && npm run doctoc && npm run build && npm run lint && npm test && npm_release public $@; }; f"},"config":{"notes":"important to correct the path of npm so that the git hook doesn't error","ghooks":{"pre-commit":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm run lint-staged","pre-push":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm run dmn && npm run doctoc && npm run lint && npm test","update":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm install"}},"main":"dist/index.js","browser":"dist/index.js","devDependencies":{"babel-cli":"^6.14.0","babel-eslint":"^6.1.2","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-transform-class-properties":"^6.11.5","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-object-rest-spread":"^6.8.0","babel-plugin-transform-undefined-to-void":"^6.8.0","babel-preset-latest":"^6.14.0","babel-preset-react":"^6.11.1","babel-tape-runner":"^2.0.1","babelify":"^7.3.0","browserify":"^13.1.0","devtool":"^2.2.0","dmn":"^1.0.5","doctoc":"^1.2.0","enzyme":"^2.4.1","eslint":"^3.4.0","eslint-plugin-react":"^6.2.0","faucet":"0.0.1","ghooks":"^1.3.2","hihat":"^2.6.4","in-publish":"^2.0.0","nodemon":"^1.10.2","nsp":"^2.6.1","react":"^15.3.1","react-a11y":"^0.3.3","react-addons-test-utils":"^15.3.1","react-dom":"^15.3.1","sinon":"^1.17.5","smokestack":"^3.2.0","smokestack-watch":"^0.4.1","tap-closer":"^1.0.0","tap-dev-tool":"^1.3.0","tap-spec":"^4.1.1","tape":"^4.6.0","watchify":"^3.7.0"},"peerDependencies":{"react":">=0.15.0","react-dom":">=0.15.0"},"dependencies":{"autobind-decorator":"^1.3.3","lodash.first":"^3.0.0","lodash.identity":"^3.0.0","lodash.isnumber":"^3.0.3","lodash.sortby":"^4.7.0","pure-render-decorator":"^1.1.1","raf":"^3.3.0"},"gitHead":"b05a653cfbdef80bb57fa2d7be03bc8f4857b3bc","bugs":{"url":"https://github.com/joeybaker/react-element-query/issues"},"homepage":"https://github.com/joeybaker/react-element-query#readme","_id":"react-element-query@3.0.2","_shasum":"7e93e23365ee73f60d8ded7e9380240d70f75f0d","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.1","_npmUser":{"name":"joeybaker","email":"joey@byjoeybaker.com"},"dist":{"shasum":"7e93e23365ee73f60d8ded7e9380240d70f75f0d","tarball":"https://registry.npmjs.org/react-element-query/-/react-element-query-3.0.2.tgz","integrity":"sha512-LcdA6nmOYdprEtuyDzSSFGMlcgsnkz43XEfWjFa88lOb/2KZ64twjP10DrgUtYKxW/4UzBkxR8VFJfZkuL37xg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/SrrHe0scSeqGXqThlXb3yCFOu46Ygb6+855frvQc8gIgW0ZhAypedd2Ex695kV+OEmSR9e5y4Q32YKto3+RWuSY="}]},"maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"},{"name":"jokeyrhyme","email":"jokeyrhyme@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-element-query-3.0.2.tgz_1479359895532_0.192856352776289"}},"3.0.3":{"version":"3.0.3","name":"react-element-query","description":"Element queries for react components.","author":{"name":"Joey Baker","email":"joey@byjoeybaker.com","url":"http://byjoeybaker.com"},"repository":{"type":"git","url":"git+https://github.com/joeybaker/react-element-query.git"},"license":"Artistic-2.0","directories":{"test":"test"},"keywords":["css","element query","react"],"scripts":{"start":"f () { node dev.js ${@-example} | garnish; }; f","test":"npm run -s test-server && npm run -s test-browser","test-browser":"browserify -t babelify test/browser.jsx --external react/addons --external react/lib/ReactContext --external react/lib/ExecutionEnvironment | tap-closer | smokestack -b firefox | tap-spec","test-server":"babel-tape-runner test/server.jsx | tap-spec","tdd-server":"nodemon -x npm -i node_modules/ -e js,jsx -- run -s test-server","tdd-browser":"mkdir -p .cache; mkdir -p .cache/test; touch .cache/test/browser.js 2> /dev/null; watchify test/browser.jsx --transform babelify --external react/addons --external react/lib/ReactContext --external react/lib/ExecutionEnvironment --debug --outfile .cache/test/browser.js & devtool --watch .cache/test/browser.js --console --browser-field --no-node-timers --show .cache/test/browser.js | faucet","watch":"babel src --watch --out-dir dist","note1":"we can't have nice things. prepublish also runs on npm install https://github.com/npm/npm/issues/6394 in-publish hacks around this","note2":"eslint will always pull from the global eslintrc file, disable that so that we're only looking at the local","note3":"travis doesn't play nicely with !#/bin/bash in the script file, so we have to explicitly set bash","lint":"/bin/bash -c 'source ./scripts.sh && lint'","note4":"the diff-filter option below gets all files but deleted ones","lint-staged":"git diff --diff-filter=ACMRTUXB --cached --name-only | grep '.*\\..jsx$' | grep -v 'node_modules' | xargs eslint --ext .js --ext .jsx","requireGitClean":"/bin/bash -c 'source ./scripts.sh && git_require_clean_work_tree'","nsp":"nsp check","note5":"--no-verify skips the commit hook","dmn":"dmn gen -f . && if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != '' ]]; then git add .npmignore && git commit --no-verify -m'update npmignore'; fi","doctoc":"doctoc README.md && if [ -f CONTRIBUTING.md ]; then doctoc CONTRIBUTING.md; fi && if [[ $(git diff --shortstat -- README.md 2> /dev/null | tail -n1) != '' || $(git diff --shortstat -- CONTRIBUTING.md 2> /dev/null | tail -n1) != '' ]]; then git add README.md CONTRIBUTING.md && git commit --no-verify -m'table of contents update'; fi","gitPull":"git pull --rebase origin master","gitPush":"git push --follow-tags --no-verify && git push --tags --no-verify","build":"NODE_ENV=production && babel src --out-dir dist","release":"f () { source ./scripts.sh && npm run requireGitClean && npm run gitPull && npm run dmn && npm run doctoc && npm run build && npm run lint && npm test && npm_release public $@; }; f"},"config":{"notes":"important to correct the path of npm so that the git hook doesn't error","ghooks":{"pre-commit":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm run lint-staged","pre-push":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm run dmn && npm run doctoc && npm run lint && npm test","update":"PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm install"}},"main":"dist/index.js","browser":"dist/index.js","devDependencies":{"babel-cli":"^6.14.0","babel-eslint":"^7.2.3","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-transform-class-properties":"^6.11.5","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-object-rest-spread":"^6.8.0","babel-plugin-transform-undefined-to-void":"^6.8.0","babel-preset-latest":"^6.14.0","babel-preset-react":"^6.11.1","babel-tape-runner":"^2.0.1","babelify":"^7.3.0","browserify":"^14.0.0","devtool":"^2.2.0","dmn":"^1.0.5","doctoc":"^1.2.0","enzyme":"^2.8.2","eslint":"^4.1.1","eslint-plugin-react":"^7.1.0","faucet":"0.0.1","ghooks":"^1.3.2","hihat":"^2.6.4","in-publish":"^2.0.0","nodemon":"^1.10.2","nsp":"^2.6.1","prop-types":"^15.5.8","react":"^15.5.4","react-a11y":"^0.3.3","react-addons-test-utils":"^15.3.1","react-dom":"^15.5.4","react-test-renderer":"^15.5.4","sinon":"^3.0.0","smokestack":"^3.2.0","smokestack-watch":"^0.4.1","tap-closer":"^1.0.0","tap-dev-tool":"^1.3.0","tap-spec":"^4.1.1","tape":"^4.6.0","watchify":"^3.7.0"},"peerDependencies":{"react":">=0.15.0","react-dom":">=0.15.0"},"dependencies":{"autobind-decorator":"^2.0.0","lodash.first":"^3.0.0","lodash.identity":"^3.0.0","lodash.isnumber":"^3.0.3","lodash.sortby":"^4.7.0","proptypes":"^1.0.0","raf":"^3.3.0"},"gitHead":"c48db58b2323d71d343c86a2534ca71ba8c231d2","bugs":{"url":"https://github.com/joeybaker/react-element-query/issues"},"homepage":"https://github.com/joeybaker/react-element-query#readme","_id":"react-element-query@3.0.3","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"joeybaker","email":"joey@byjoeybaker.com"},"dist":{"integrity":"sha512-B10DLMh5WiuBHixBVzgTWxFfcAE+VVjOjI3UverDUR4QAxvOFdlgMXjgGBaThVIrftG+EQ58EBrG1FuYnqqS7g==","shasum":"f75fcd3a9530966f36ecc73520de3fd0ac703abb","tarball":"https://registry.npmjs.org/react-element-query/-/react-element-query-3.0.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBgUTMCPs3JhsAsO+mu26r7gclQs+Z30x75+2ARq8U+UAiBngMu4z9fTApbkrJvlAm4h3URdio2M8/G4uTYhzf09Ew=="}]},"maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"},{"name":"jokeyrhyme","email":"jokeyrhyme@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-element-query-3.0.3.tgz_1513616643318_0.08890987816266716"}}},"readme":"# react-element-query [![NPM version][npm-image]][npm-url] [![Dependency Status][daviddm-url]][daviddm-image] [![Build Status][travis-image]][travis-url]\n\nOnce you start thinking in components, media queries, which are reliant on the size of the whole screen, don't work well because components are frequently not the full screen-width.\n\nElement queries solve this, but CSS [won't have element queries for a while](http://discourse.specifiction.org/t/element-queries/26). [eq.js](https://github.com/snugug/eq.js) does a good job, but it doesn't play nicely with React. Besides which, using the React render pipeline has some nice performance and API benefits.\n\nThis component is performant, and works on both the server and the client.\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n**Table of Contents**  *generated with [DocToc](http://doctoc.herokuapp.com/)*\n\n- [Install](#install)\n  - [React 15](#react-15)\n  - [React 0.14](#react-014)\n  - [React 0.13](#react-013)\n- [Usage](#usage)\n- [Props](#props)\n  - [`<Array> sizes` **Required**](#array-sizes-required)\n  - [`<Function> makeClassName`](#function-makeclassname)\n  - [`<String> default`](#string-default)\n  - [`<Node> children`](#node-children)\n- [Methods](#methods)\n  - [`static` ElementQuery.register `({component: <React Element> element, sizes: <Array>, node: <DOMNode>[, onResize:  <Function>]})`](#static-elementqueryregister-component-react-element-element-sizes-array-node-domnode-onresize--function)\n  - [`static` ElementQuery.unregister `(<React Element> element)`](#static-elementqueryunregister-react-element-element)\n  - [`static` ElementQuery.listen()](#static-elementquerylisten)\n  - [`static` ElementQuery.unregister()](#static-elementqueryunregister)\n- [Developing](#developing)\n  - [Requirements](#requirements)\n  - [Tests](#tests)\n- [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Install\n\n```sh\nnpm i -S react-element-query\n```\n\n### React 15\nVersion 3.0 supports React 15.\n\n```sh\nnpm i -S react-element-query@3\n```\n\n### React 0.14\nVersion 2.0 supports React 0.14.\n\n```sh\nnpm i -S react-element-query@2\n```\n\n### React 0.13\nIf you need react 0.13 compatibility, install version 1.x.\n\n```sh\nnpm i -S react-element-query@1\n```\n\n\n## Usage\n\n```js\n  import React from 'react'\n  import ElementQuery from 'react-element-query'\n  React.render((<ElementQuery\n    sizes={[{name: 'large', width: 300}, {name: 'small', width: 150}]}\n    >\n    <h1>I have a `.small` when over 150px and `.large` when over 300px</h1>\n  </ElementQuery>), document.createElement('div'))\n```\n\n## Props\n### `<Array> sizes` **Required**\nAn array of objects containing minimum widths and classnames to apply. `[{name: 'large', width: 300}]` will apply the class `.large` to the child when the element is `300px` or larger.\n\n### `<Function> makeClassName`\nTakes the `name` for the matched size and returns a different classname. Useful if you want to apply a namespace to all your class names.\n\n### `<String> default`\nThe server has no way to know the browser window width, and therefore, can't calculate the element width, so by default, it assumes there is no element query class applied. If you'd like to set a different default, pass a size name. Defaults to `''`.\n\n### `<Node> children`\nThe child that will get the element query magic. A few caveats:\n\n* This _must_ be a single child\n* This _must_ be a valid DOM element. e.g. `<div />` not `<MyComponent />`\n\n## Methods\n### `static` ElementQuery.register `({component: <React Element> element, sizes: <Array>, node: <DOMNode>[, onResize:  <Function>]})`\nAllows you to use the ElementQuery throttled resize event for your own purposes. This allows you to have only one resize listener attached over your whole app.\n\n`onResize` is an optional callback so that is called with the arguments: `<React Element> element, <Array> sizes`. If not defined, the default behavior is used.\n\n### `static` ElementQuery.unregister `(<React Element> element)`\nOnce a component is registered, you can unregister it. Do this when the component is unmounted.\n\n### `static` ElementQuery.listen()\nManually attach the resize listener. This is called automatically when a component is registered.\n\n### `static` ElementQuery.unregister()\nManually remove the resize listener. This is called automatically when all components have been unregistered.\n\n\n## Developing\nTo publish, run `npm run release -- [{patch,minor,major}]`\n\n_NOTE: you might need to `sudo ln -s /usr/local/bin/node /usr/bin/node` to ensure node is in your path for the git hooks to work_\n\n### Requirements\n* **npm > 2.0.0** So that passing args to a npm script will work. `npm i -g npm`\n* **git > 1.8.3** So that `git push --follow-tags` will work. `brew install git`\n\n### Tests\nTests are in [tape](https://github.com/substack/tape).\n\n* `npm test` will run both server and browser tests\n* `npm run test-browser` and `npm run test-server` run their respective tests\n* `npm run tdd-server` will run the server tests on every file change.\n* `npm run tdd-browser` will run the browser tests on every file change.\n\n## License\n\nArtistic 2.0 © [Joey Baker](http://byjoeybaker.com) and contributors. A copy of the license can be found in the file `LICENSE`.\n\n\n[npm-url]: https://npmjs.org/package/react-element-query\n[npm-image]: https://badge.fury.io/js/react-element-query.svg\n[travis-url]: https://travis-ci.org/joeybaker/react-element-query\n[travis-image]: https://travis-ci.org/joeybaker/react-element-query.svg?branch=master\n[daviddm-url]: https://david-dm.org/joeybaker/react-element-query.svg?theme=shields.io\n[daviddm-image]: https://david-dm.org/joeybaker/react-element-query\n","maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"},{"name":"jokeyrhyme","email":"jokeyrhyme@gmail.com"}],"time":{"modified":"2022-06-25T20:56:20.967Z","created":"2015-07-09T22:27:44.993Z","1.0.0":"2015-07-09T22:27:44.993Z","1.1.0":"2015-07-23T20:46:44.679Z","1.1.1":"2015-08-15T18:51:29.780Z","2.0.0":"2015-11-11T18:13:45.338Z","2.0.1":"2015-12-03T20:56:58.459Z","2.0.2":"2016-05-01T23:48:07.702Z","3.0.0":"2016-09-02T23:28:33.017Z","3.0.1":"2016-09-02T23:48:19.585Z","3.0.2":"2016-11-17T05:18:15.776Z","3.0.3":"2017-12-18T17:04:03.401Z"},"homepage":"https://github.com/joeybaker/react-element-query#readme","keywords":["css","element query","react"],"repository":{"type":"git","url":"git+https://github.com/joeybaker/react-element-query.git"},"author":{"name":"Joey Baker","email":"joey@byjoeybaker.com","url":"http://byjoeybaker.com"},"bugs":{"url":"https://github.com/joeybaker/react-element-query/issues"},"license":"Artistic-2.0","readmeFilename":"README.md","users":{"kylegach":true}}