├── .babelrc.js ├── .circleci └── config.yml ├── .eslintrc ├── .flowconfig ├── .gitignore ├── .npmignore ├── LICENSE.md ├── README.md ├── flow-typed └── npm │ ├── @babel │ ├── cli_vx.x.x.js │ ├── core_vx.x.x.js │ ├── plugin-proposal-class-properties_vx.x.x.js │ ├── plugin-proposal-export-default-from_vx.x.x.js │ ├── plugin-proposal-export-namespace-from_vx.x.x.js │ ├── plugin-proposal-object-rest-spread_vx.x.x.js │ ├── plugin-syntax-dynamic-import_vx.x.x.js │ ├── plugin-transform-runtime_vx.x.x.js │ ├── preset-env_vx.x.x.js │ ├── preset-flow_vx.x.x.js │ ├── preset-react_vx.x.x.js │ ├── register_v7.x.x.js │ └── runtime_vx.x.x.js │ ├── @commitlint │ ├── cli_vx.x.x.js │ └── config-conventional_vx.x.x.js │ ├── @jedwards1211 │ ├── commitlint-config_vx.x.x.js │ ├── eslint-config-flow_vx.x.x.js │ ├── eslint-config-react_vx.x.x.js │ └── eslint-config_vx.x.x.js │ ├── @material-ui │ └── core_vx.x.x.js │ ├── babel-eslint_vx.x.x.js │ ├── babel-plugin-istanbul_vx.x.x.js │ ├── babel-plugin-transform-object-rest-spread_vx.x.x.js │ ├── chai_v4.x.x.js │ ├── codecov_vx.x.x.js │ ├── copy_vx.x.x.js │ ├── cross-env_vx.x.x.js │ ├── enzyme-adapter-react-16_vx.x.x.js │ ├── enzyme_v3.x.x.js │ ├── eslint-config-prettier_vx.x.x.js │ ├── eslint-plugin-flowtype_vx.x.x.js │ ├── eslint-plugin-react_vx.x.x.js │ ├── eslint-watch_vx.x.x.js │ ├── eslint_vx.x.x.js │ ├── flow-bin_v0.x.x.js │ ├── flow-copy-source_vx.x.x.js │ ├── flow-watch_vx.x.x.js │ ├── husky_vx.x.x.js │ ├── istanbul_vx.x.x.js │ ├── jsdom-global_vx.x.x.js │ ├── jsdom_vx.x.x.js │ ├── lint-staged_vx.x.x.js │ ├── mocha_v6.x.x.js │ ├── nyc_vx.x.x.js │ ├── prettier-eslint_vx.x.x.js │ ├── prettier_v1.x.x.js │ ├── prop-types_v15.x.x.js │ ├── rimraf_v2.x.x.js │ └── semantic-release_vx.x.x.js ├── index.js ├── package.json ├── src └── index.js ├── test ├── .eslintrc ├── configure.js └── index.js └── yarn.lock /.babelrc.js: -------------------------------------------------------------------------------- 1 | module.exports = function(api) { 2 | const plugins = [ 3 | '@babel/plugin-transform-flow-strip-types', 4 | '@babel/plugin-syntax-dynamic-import', 5 | '@babel/plugin-proposal-export-default-from', 6 | '@babel/plugin-proposal-export-namespace-from', 7 | '@babel/plugin-proposal-object-rest-spread', 8 | 'babel-plugin-flow-react-proptypes', 9 | '@babel/plugin-proposal-class-properties', 10 | ] 11 | const presets = [ 12 | [ 13 | '@babel/preset-env', 14 | api.env('es5') 15 | ? { forceAllTransforms: true } 16 | : { targets: { node: 'current' } }, 17 | ], 18 | '@babel/preset-react', 19 | '@babel/preset-flow', 20 | ] 21 | 22 | if (api.env(['test', 'coverage', 'es5'])) { 23 | plugins.push('@babel/plugin-transform-runtime') 24 | } 25 | if (api.env('coverage')) { 26 | plugins.push('babel-plugin-istanbul') 27 | } 28 | 29 | return { plugins, presets } 30 | } 31 | -------------------------------------------------------------------------------- /.circleci/config.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | jobs: 3 | build: 4 | docker: 5 | - image: circleci/node:8 6 | 7 | steps: 8 | - checkout 9 | - restore_cache: 10 | name: Restore Yarn Package Cache 11 | keys: 12 | - v1-yarn-packages-{{ checksum "yarn.lock" }} 13 | 14 | - run: 15 | name: Setup NPM Token 16 | command: | 17 | yarn config set registry "https://registry.npmjs.org/" 18 | echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc 19 | echo "registry=https://registry.npmjs.org/" >> .npmrc 20 | 21 | - run: 22 | name: Install Dependencies 23 | command: yarn install --frozen-lockfile 24 | - save_cache: 25 | name: Save Yarn Package Cache 26 | key: v1-yarn-packages-{{ checksum "yarn.lock" }} 27 | paths: 28 | - ~/.cache/yarn 29 | 30 | - run: 31 | name: build 32 | command: yarn run prepublishOnly 33 | - run: 34 | name: upload test coverage 35 | command: yarn codecov || true 36 | - run: 37 | name: release 38 | command: yarn run semantic-release || true 39 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": [ 3 | "@jedwards1211/eslint-config-react", 4 | "@jedwards1211/eslint-config-flow", 5 | "eslint-config-prettier" 6 | ], 7 | "parser": "babel-eslint", 8 | "parserOptions": { 9 | "ecmaVersion": 6, 10 | "sourceType": "module" 11 | }, 12 | "env": { 13 | "es6": true 14 | }, 15 | "settings": { 16 | "react": { 17 | "pragma": "React", 18 | "version": "detect", 19 | "flowVersion": "detect" 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | /[^/\\]+\.js$ 3 | /[^/\\]+\.js\.flow$ 4 | /es/.* 5 | /lib/.* 6 | /node_modules/.*/fbjs/.* 7 | /node_modules/fbjs/.* 8 | /node_modules/.*/test/.* 9 | /node_modules/.*/config-chain/.* 10 | 11 | [include] 12 | ./src 13 | ./test 14 | 15 | [libs] 16 | 17 | [options] 18 | module.system=node 19 | esproposal.class_static_fields=enable 20 | esproposal.class_instance_fields=enable 21 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .eslintcache 2 | .nyc_output 3 | coverage 4 | es 5 | node_modules 6 | .eslintcache 7 | /*.js 8 | /*.js.flow 9 | !/.babelrc.js 10 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | ** 2 | !**/*.js 3 | !**/*.js.flow 4 | !/*.md 5 | !yarn.lock 6 | /lib 7 | /src 8 | /stories 9 | /test 10 | /coverage 11 | /flow-typed 12 | __tests__ 13 | /.* 14 | !/.flowconfig 15 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016-present Andy Edwards 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # material-ui-render-props-styles 2 | 3 | [![CircleCI](https://circleci.com/gh/jcoreio/material-ui-render-props-styles.svg?style=svg)](https://circleci.com/gh/jcoreio/material-ui-render-props-styles) 4 | [![Coverage Status](https://codecov.io/gh/jcoreio/material-ui-render-props-styles/branch/master/graph/badge.svg)](https://codecov.io/gh/jcoreio/material-ui-render-props-styles) 5 | [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) 6 | [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) 7 | [![npm version](https://badge.fury.io/js/react-library-skeleton.svg)](https://badge.fury.io/js/react-library-skeleton) 8 | 9 | [Render props](https://reactjs.org/docs/render-props.html) component wrapper for Material UI [`withStyles`](https://material-ui-next.com/customization/css-in-js/#withstyles-styles-options-higher-order-component) HoC 10 | 11 | ## Usage 12 | 13 | ```sh 14 | npm install --save material-ui-render-props-styles 15 | ``` 16 | 17 | If you are using Webpack or another bundler that supports the `"module"` field 18 | in `package.json` and building for legacy browsers, make sure to add a build 19 | rule to transpile this package. 20 | 21 | If you are using `create-react-app`, you will need to import from `material-ui-render-props-styles/index` 22 | to prevent minification errors until https://github.com/facebook/create-react-app/pull/5005 lands (hopefully). 23 | 24 | ```js 25 | import createStyled from 'material-ui-render-props-styles' 26 | 27 | const styles = theme => { 28 | root: { 29 | backgroundColor: theme.palette.primary.light, 30 | }, 31 | } 32 | 33 | // accepts same options as withStyles 34 | const Styled = createStyled(styles) 35 | 36 | const PrimaryDiv = ({children}) => ( 37 | 38 | {({classes}) => ( 39 |
40 | {children} 41 |
42 | )} 43 |
44 | ) 45 | ``` 46 | 47 | ## Flow types 48 | 49 | This package exports a `Classes` utility type that used to work with older versions of Flow. 50 | However, due to truly awful Flow bugs (which I spent hours trying to create a minimum repro case for, but failing) 51 | I'm unfortunately unable to offer useful Flow types at this time. I have tried everything :cry: 52 | 53 | ## Tips 54 | 55 | Calling `createStyled` within your `render` function will cause problems, because that will 56 | create a new component class on each render. So make sure you call it outside of your `render` function. 57 | 58 | The `withTheme` option is only necessary if you want your `children` function to receive the `theme`. 59 | If your `styles` is a `theme => ({ })` function it will work even without the `withTheme` option. 60 | I have had this same confusion in the past about `withStyles`. 61 | 62 | ## Props 63 | 64 | ### `children: (options: {classes: Object, theme: any}) => React.Node` 65 | 66 | The render function. It's passed the `classes` injected by JSS, and 67 | the `theme` injected by Material-UI (if `withTheme` is true), and should 68 | return the content to display. 69 | 70 | ### `classes?: {[className: string]: string}` 71 | 72 | Override class names for the inner component 73 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/cli_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 73d335f1339a34e54e8090ebf544fc9f 2 | // flow-typed version: <>/@babel/cli_v^7.1.5/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@babel/cli' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@babel/cli' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@babel/cli/bin/babel-external-helpers' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module '@babel/cli/bin/babel' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module '@babel/cli/lib/babel-external-helpers' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module '@babel/cli/lib/babel/dir' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module '@babel/cli/lib/babel/file' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module '@babel/cli/lib/babel/index' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module '@babel/cli/lib/babel/options' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module '@babel/cli/lib/babel/util' { 54 | declare module.exports: any 55 | } 56 | 57 | // Filename aliases 58 | declare module '@babel/cli/bin/babel-external-helpers.js' { 59 | declare module.exports: $Exports<'@babel/cli/bin/babel-external-helpers'> 60 | } 61 | declare module '@babel/cli/bin/babel.js' { 62 | declare module.exports: $Exports<'@babel/cli/bin/babel'> 63 | } 64 | declare module '@babel/cli/index' { 65 | declare module.exports: $Exports<'@babel/cli'> 66 | } 67 | declare module '@babel/cli/index.js' { 68 | declare module.exports: $Exports<'@babel/cli'> 69 | } 70 | declare module '@babel/cli/lib/babel-external-helpers.js' { 71 | declare module.exports: $Exports<'@babel/cli/lib/babel-external-helpers'> 72 | } 73 | declare module '@babel/cli/lib/babel/dir.js' { 74 | declare module.exports: $Exports<'@babel/cli/lib/babel/dir'> 75 | } 76 | declare module '@babel/cli/lib/babel/file.js' { 77 | declare module.exports: $Exports<'@babel/cli/lib/babel/file'> 78 | } 79 | declare module '@babel/cli/lib/babel/index.js' { 80 | declare module.exports: $Exports<'@babel/cli/lib/babel/index'> 81 | } 82 | declare module '@babel/cli/lib/babel/options.js' { 83 | declare module.exports: $Exports<'@babel/cli/lib/babel/options'> 84 | } 85 | declare module '@babel/cli/lib/babel/util.js' { 86 | declare module.exports: $Exports<'@babel/cli/lib/babel/util'> 87 | } 88 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/core_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 5433fd5f9add9579015069ea40bdac65 2 | // flow-typed version: <>/@babel/core_v^7.1.6/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@babel/core' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@babel/core' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@babel/core/lib/config/caching' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module '@babel/core/lib/config/config-chain' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module '@babel/core/lib/config/config-descriptors' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module '@babel/core/lib/config/files/configuration' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module '@babel/core/lib/config/files/index-browser' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module '@babel/core/lib/config/files/index' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module '@babel/core/lib/config/files/package' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module '@babel/core/lib/config/files/plugins' { 54 | declare module.exports: any 55 | } 56 | 57 | declare module '@babel/core/lib/config/files/types' { 58 | declare module.exports: any 59 | } 60 | 61 | declare module '@babel/core/lib/config/files/utils' { 62 | declare module.exports: any 63 | } 64 | 65 | declare module '@babel/core/lib/config/full' { 66 | declare module.exports: any 67 | } 68 | 69 | declare module '@babel/core/lib/config/helpers/config-api' { 70 | declare module.exports: any 71 | } 72 | 73 | declare module '@babel/core/lib/config/helpers/environment' { 74 | declare module.exports: any 75 | } 76 | 77 | declare module '@babel/core/lib/config/index' { 78 | declare module.exports: any 79 | } 80 | 81 | declare module '@babel/core/lib/config/item' { 82 | declare module.exports: any 83 | } 84 | 85 | declare module '@babel/core/lib/config/partial' { 86 | declare module.exports: any 87 | } 88 | 89 | declare module '@babel/core/lib/config/pattern-to-regex' { 90 | declare module.exports: any 91 | } 92 | 93 | declare module '@babel/core/lib/config/plugin' { 94 | declare module.exports: any 95 | } 96 | 97 | declare module '@babel/core/lib/config/util' { 98 | declare module.exports: any 99 | } 100 | 101 | declare module '@babel/core/lib/config/validation/option-assertions' { 102 | declare module.exports: any 103 | } 104 | 105 | declare module '@babel/core/lib/config/validation/options' { 106 | declare module.exports: any 107 | } 108 | 109 | declare module '@babel/core/lib/config/validation/plugins' { 110 | declare module.exports: any 111 | } 112 | 113 | declare module '@babel/core/lib/config/validation/removed' { 114 | declare module.exports: any 115 | } 116 | 117 | declare module '@babel/core/lib/index' { 118 | declare module.exports: any 119 | } 120 | 121 | declare module '@babel/core/lib/parse' { 122 | declare module.exports: any 123 | } 124 | 125 | declare module '@babel/core/lib/tools/build-external-helpers' { 126 | declare module.exports: any 127 | } 128 | 129 | declare module '@babel/core/lib/transform-ast' { 130 | declare module.exports: any 131 | } 132 | 133 | declare module '@babel/core/lib/transform-file-browser' { 134 | declare module.exports: any 135 | } 136 | 137 | declare module '@babel/core/lib/transform-file' { 138 | declare module.exports: any 139 | } 140 | 141 | declare module '@babel/core/lib/transform' { 142 | declare module.exports: any 143 | } 144 | 145 | declare module '@babel/core/lib/transformation/block-hoist-plugin' { 146 | declare module.exports: any 147 | } 148 | 149 | declare module '@babel/core/lib/transformation/file/file' { 150 | declare module.exports: any 151 | } 152 | 153 | declare module '@babel/core/lib/transformation/file/generate' { 154 | declare module.exports: any 155 | } 156 | 157 | declare module '@babel/core/lib/transformation/file/merge-map' { 158 | declare module.exports: any 159 | } 160 | 161 | declare module '@babel/core/lib/transformation/index' { 162 | declare module.exports: any 163 | } 164 | 165 | declare module '@babel/core/lib/transformation/normalize-file' { 166 | declare module.exports: any 167 | } 168 | 169 | declare module '@babel/core/lib/transformation/normalize-opts' { 170 | declare module.exports: any 171 | } 172 | 173 | declare module '@babel/core/lib/transformation/plugin-pass' { 174 | declare module.exports: any 175 | } 176 | 177 | declare module '@babel/core/lib/transformation/util/missing-plugin-helper' { 178 | declare module.exports: any 179 | } 180 | 181 | // Filename aliases 182 | declare module '@babel/core/lib/config/caching.js' { 183 | declare module.exports: $Exports<'@babel/core/lib/config/caching'> 184 | } 185 | declare module '@babel/core/lib/config/config-chain.js' { 186 | declare module.exports: $Exports<'@babel/core/lib/config/config-chain'> 187 | } 188 | declare module '@babel/core/lib/config/config-descriptors.js' { 189 | declare module.exports: $Exports<'@babel/core/lib/config/config-descriptors'> 190 | } 191 | declare module '@babel/core/lib/config/files/configuration.js' { 192 | declare module.exports: $Exports<'@babel/core/lib/config/files/configuration'> 193 | } 194 | declare module '@babel/core/lib/config/files/index-browser.js' { 195 | declare module.exports: $Exports<'@babel/core/lib/config/files/index-browser'> 196 | } 197 | declare module '@babel/core/lib/config/files/index.js' { 198 | declare module.exports: $Exports<'@babel/core/lib/config/files/index'> 199 | } 200 | declare module '@babel/core/lib/config/files/package.js' { 201 | declare module.exports: $Exports<'@babel/core/lib/config/files/package'> 202 | } 203 | declare module '@babel/core/lib/config/files/plugins.js' { 204 | declare module.exports: $Exports<'@babel/core/lib/config/files/plugins'> 205 | } 206 | declare module '@babel/core/lib/config/files/types.js' { 207 | declare module.exports: $Exports<'@babel/core/lib/config/files/types'> 208 | } 209 | declare module '@babel/core/lib/config/files/utils.js' { 210 | declare module.exports: $Exports<'@babel/core/lib/config/files/utils'> 211 | } 212 | declare module '@babel/core/lib/config/full.js' { 213 | declare module.exports: $Exports<'@babel/core/lib/config/full'> 214 | } 215 | declare module '@babel/core/lib/config/helpers/config-api.js' { 216 | declare module.exports: $Exports<'@babel/core/lib/config/helpers/config-api'> 217 | } 218 | declare module '@babel/core/lib/config/helpers/environment.js' { 219 | declare module.exports: $Exports<'@babel/core/lib/config/helpers/environment'> 220 | } 221 | declare module '@babel/core/lib/config/index.js' { 222 | declare module.exports: $Exports<'@babel/core/lib/config/index'> 223 | } 224 | declare module '@babel/core/lib/config/item.js' { 225 | declare module.exports: $Exports<'@babel/core/lib/config/item'> 226 | } 227 | declare module '@babel/core/lib/config/partial.js' { 228 | declare module.exports: $Exports<'@babel/core/lib/config/partial'> 229 | } 230 | declare module '@babel/core/lib/config/pattern-to-regex.js' { 231 | declare module.exports: $Exports<'@babel/core/lib/config/pattern-to-regex'> 232 | } 233 | declare module '@babel/core/lib/config/plugin.js' { 234 | declare module.exports: $Exports<'@babel/core/lib/config/plugin'> 235 | } 236 | declare module '@babel/core/lib/config/util.js' { 237 | declare module.exports: $Exports<'@babel/core/lib/config/util'> 238 | } 239 | declare module '@babel/core/lib/config/validation/option-assertions.js' { 240 | declare module.exports: $Exports< 241 | '@babel/core/lib/config/validation/option-assertions' 242 | > 243 | } 244 | declare module '@babel/core/lib/config/validation/options.js' { 245 | declare module.exports: $Exports<'@babel/core/lib/config/validation/options'> 246 | } 247 | declare module '@babel/core/lib/config/validation/plugins.js' { 248 | declare module.exports: $Exports<'@babel/core/lib/config/validation/plugins'> 249 | } 250 | declare module '@babel/core/lib/config/validation/removed.js' { 251 | declare module.exports: $Exports<'@babel/core/lib/config/validation/removed'> 252 | } 253 | declare module '@babel/core/lib/index.js' { 254 | declare module.exports: $Exports<'@babel/core/lib/index'> 255 | } 256 | declare module '@babel/core/lib/parse.js' { 257 | declare module.exports: $Exports<'@babel/core/lib/parse'> 258 | } 259 | declare module '@babel/core/lib/tools/build-external-helpers.js' { 260 | declare module.exports: $Exports< 261 | '@babel/core/lib/tools/build-external-helpers' 262 | > 263 | } 264 | declare module '@babel/core/lib/transform-ast.js' { 265 | declare module.exports: $Exports<'@babel/core/lib/transform-ast'> 266 | } 267 | declare module '@babel/core/lib/transform-file-browser.js' { 268 | declare module.exports: $Exports<'@babel/core/lib/transform-file-browser'> 269 | } 270 | declare module '@babel/core/lib/transform-file.js' { 271 | declare module.exports: $Exports<'@babel/core/lib/transform-file'> 272 | } 273 | declare module '@babel/core/lib/transform.js' { 274 | declare module.exports: $Exports<'@babel/core/lib/transform'> 275 | } 276 | declare module '@babel/core/lib/transformation/block-hoist-plugin.js' { 277 | declare module.exports: $Exports< 278 | '@babel/core/lib/transformation/block-hoist-plugin' 279 | > 280 | } 281 | declare module '@babel/core/lib/transformation/file/file.js' { 282 | declare module.exports: $Exports<'@babel/core/lib/transformation/file/file'> 283 | } 284 | declare module '@babel/core/lib/transformation/file/generate.js' { 285 | declare module.exports: $Exports< 286 | '@babel/core/lib/transformation/file/generate' 287 | > 288 | } 289 | declare module '@babel/core/lib/transformation/file/merge-map.js' { 290 | declare module.exports: $Exports< 291 | '@babel/core/lib/transformation/file/merge-map' 292 | > 293 | } 294 | declare module '@babel/core/lib/transformation/index.js' { 295 | declare module.exports: $Exports<'@babel/core/lib/transformation/index'> 296 | } 297 | declare module '@babel/core/lib/transformation/normalize-file.js' { 298 | declare module.exports: $Exports< 299 | '@babel/core/lib/transformation/normalize-file' 300 | > 301 | } 302 | declare module '@babel/core/lib/transformation/normalize-opts.js' { 303 | declare module.exports: $Exports< 304 | '@babel/core/lib/transformation/normalize-opts' 305 | > 306 | } 307 | declare module '@babel/core/lib/transformation/plugin-pass.js' { 308 | declare module.exports: $Exports<'@babel/core/lib/transformation/plugin-pass'> 309 | } 310 | declare module '@babel/core/lib/transformation/util/missing-plugin-helper.js' { 311 | declare module.exports: $Exports< 312 | '@babel/core/lib/transformation/util/missing-plugin-helper' 313 | > 314 | } 315 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/plugin-proposal-class-properties_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 718374575e6d09433693483bbbbcb496 2 | // flow-typed version: <>/@babel/plugin-proposal-class-properties_v^7.1.0/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@babel/plugin-proposal-class-properties' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@babel/plugin-proposal-class-properties' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@babel/plugin-proposal-class-properties/lib/index' { 26 | declare module.exports: any 27 | } 28 | 29 | // Filename aliases 30 | declare module '@babel/plugin-proposal-class-properties/lib/index.js' { 31 | declare module.exports: $Exports< 32 | '@babel/plugin-proposal-class-properties/lib/index' 33 | > 34 | } 35 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/plugin-proposal-export-default-from_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: e41b2a654eeea90f87f30f788e533f35 2 | // flow-typed version: <>/@babel/plugin-proposal-export-default-from_v^7.0.0/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@babel/plugin-proposal-export-default-from' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@babel/plugin-proposal-export-default-from' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@babel/plugin-proposal-export-default-from/lib/index' { 26 | declare module.exports: any 27 | } 28 | 29 | // Filename aliases 30 | declare module '@babel/plugin-proposal-export-default-from/lib/index.js' { 31 | declare module.exports: $Exports< 32 | '@babel/plugin-proposal-export-default-from/lib/index' 33 | > 34 | } 35 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/plugin-proposal-export-namespace-from_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: fa6142d32040c55baeb7d5509f708293 2 | // flow-typed version: <>/@babel/plugin-proposal-export-namespace-from_v^7.0.0/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@babel/plugin-proposal-export-namespace-from' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@babel/plugin-proposal-export-namespace-from' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@babel/plugin-proposal-export-namespace-from/lib/index' { 26 | declare module.exports: any 27 | } 28 | 29 | // Filename aliases 30 | declare module '@babel/plugin-proposal-export-namespace-from/lib/index.js' { 31 | declare module.exports: $Exports< 32 | '@babel/plugin-proposal-export-namespace-from/lib/index' 33 | > 34 | } 35 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/plugin-proposal-object-rest-spread_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 6d639a9c6723e31eb5bccd31f10f2068 2 | // flow-typed version: <>/@babel/plugin-proposal-object-rest-spread_v^7.0.0/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@babel/plugin-proposal-object-rest-spread' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@babel/plugin-proposal-object-rest-spread' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@babel/plugin-proposal-object-rest-spread/lib/index' { 26 | declare module.exports: any 27 | } 28 | 29 | // Filename aliases 30 | declare module '@babel/plugin-proposal-object-rest-spread/lib/index.js' { 31 | declare module.exports: $Exports< 32 | '@babel/plugin-proposal-object-rest-spread/lib/index' 33 | > 34 | } 35 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/plugin-syntax-dynamic-import_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 33e017471b3eb435f9feb0ed618e4afe 2 | // flow-typed version: <>/@babel/plugin-syntax-dynamic-import_v^7.0.0/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@babel/plugin-syntax-dynamic-import' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@babel/plugin-syntax-dynamic-import' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@babel/plugin-syntax-dynamic-import/lib/index' { 26 | declare module.exports: any 27 | } 28 | 29 | // Filename aliases 30 | declare module '@babel/plugin-syntax-dynamic-import/lib/index.js' { 31 | declare module.exports: $Exports< 32 | '@babel/plugin-syntax-dynamic-import/lib/index' 33 | > 34 | } 35 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/plugin-transform-runtime_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: bc99e640b471dedbf9e041f8738709a2 2 | // flow-typed version: <>/@babel/plugin-transform-runtime_v^7.1.0/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@babel/plugin-transform-runtime' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@babel/plugin-transform-runtime' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@babel/plugin-transform-runtime/lib/definitions' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module '@babel/plugin-transform-runtime/lib/index' { 30 | declare module.exports: any 31 | } 32 | 33 | // Filename aliases 34 | declare module '@babel/plugin-transform-runtime/lib/definitions.js' { 35 | declare module.exports: $Exports< 36 | '@babel/plugin-transform-runtime/lib/definitions' 37 | > 38 | } 39 | declare module '@babel/plugin-transform-runtime/lib/index.js' { 40 | declare module.exports: $Exports<'@babel/plugin-transform-runtime/lib/index'> 41 | } 42 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/preset-env_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: bdb2a58217a5af77ad190bfcbd530917 2 | // flow-typed version: <>/@babel/preset-env_v^7.1.6/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@babel/preset-env' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@babel/preset-env' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@babel/preset-env/data/built-in-features' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module '@babel/preset-env/data/plugin-features' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module '@babel/preset-env/data/shipped-proposals' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module '@babel/preset-env/data/unreleased-labels' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module '@babel/preset-env/lib/available-plugins' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module '@babel/preset-env/lib/built-in-definitions' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module '@babel/preset-env/lib/debug' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module '@babel/preset-env/lib/default-includes' { 54 | declare module.exports: any 55 | } 56 | 57 | declare module '@babel/preset-env/lib/defaults' { 58 | declare module.exports: any 59 | } 60 | 61 | declare module '@babel/preset-env/lib/index' { 62 | declare module.exports: any 63 | } 64 | 65 | declare module '@babel/preset-env/lib/module-transformations' { 66 | declare module.exports: any 67 | } 68 | 69 | declare module '@babel/preset-env/lib/normalize-options' { 70 | declare module.exports: any 71 | } 72 | 73 | declare module '@babel/preset-env/lib/options' { 74 | declare module.exports: any 75 | } 76 | 77 | declare module '@babel/preset-env/lib/targets-parser' { 78 | declare module.exports: any 79 | } 80 | 81 | declare module '@babel/preset-env/lib/use-built-ins-entry-plugin' { 82 | declare module.exports: any 83 | } 84 | 85 | declare module '@babel/preset-env/lib/use-built-ins-plugin' { 86 | declare module.exports: any 87 | } 88 | 89 | declare module '@babel/preset-env/lib/utils' { 90 | declare module.exports: any 91 | } 92 | 93 | // Filename aliases 94 | declare module '@babel/preset-env/data/built-in-features.js' { 95 | declare module.exports: $Exports<'@babel/preset-env/data/built-in-features'> 96 | } 97 | declare module '@babel/preset-env/data/plugin-features.js' { 98 | declare module.exports: $Exports<'@babel/preset-env/data/plugin-features'> 99 | } 100 | declare module '@babel/preset-env/data/shipped-proposals.js' { 101 | declare module.exports: $Exports<'@babel/preset-env/data/shipped-proposals'> 102 | } 103 | declare module '@babel/preset-env/data/unreleased-labels.js' { 104 | declare module.exports: $Exports<'@babel/preset-env/data/unreleased-labels'> 105 | } 106 | declare module '@babel/preset-env/lib/available-plugins.js' { 107 | declare module.exports: $Exports<'@babel/preset-env/lib/available-plugins'> 108 | } 109 | declare module '@babel/preset-env/lib/built-in-definitions.js' { 110 | declare module.exports: $Exports<'@babel/preset-env/lib/built-in-definitions'> 111 | } 112 | declare module '@babel/preset-env/lib/debug.js' { 113 | declare module.exports: $Exports<'@babel/preset-env/lib/debug'> 114 | } 115 | declare module '@babel/preset-env/lib/default-includes.js' { 116 | declare module.exports: $Exports<'@babel/preset-env/lib/default-includes'> 117 | } 118 | declare module '@babel/preset-env/lib/defaults.js' { 119 | declare module.exports: $Exports<'@babel/preset-env/lib/defaults'> 120 | } 121 | declare module '@babel/preset-env/lib/index.js' { 122 | declare module.exports: $Exports<'@babel/preset-env/lib/index'> 123 | } 124 | declare module '@babel/preset-env/lib/module-transformations.js' { 125 | declare module.exports: $Exports< 126 | '@babel/preset-env/lib/module-transformations' 127 | > 128 | } 129 | declare module '@babel/preset-env/lib/normalize-options.js' { 130 | declare module.exports: $Exports<'@babel/preset-env/lib/normalize-options'> 131 | } 132 | declare module '@babel/preset-env/lib/options.js' { 133 | declare module.exports: $Exports<'@babel/preset-env/lib/options'> 134 | } 135 | declare module '@babel/preset-env/lib/targets-parser.js' { 136 | declare module.exports: $Exports<'@babel/preset-env/lib/targets-parser'> 137 | } 138 | declare module '@babel/preset-env/lib/use-built-ins-entry-plugin.js' { 139 | declare module.exports: $Exports< 140 | '@babel/preset-env/lib/use-built-ins-entry-plugin' 141 | > 142 | } 143 | declare module '@babel/preset-env/lib/use-built-ins-plugin.js' { 144 | declare module.exports: $Exports<'@babel/preset-env/lib/use-built-ins-plugin'> 145 | } 146 | declare module '@babel/preset-env/lib/utils.js' { 147 | declare module.exports: $Exports<'@babel/preset-env/lib/utils'> 148 | } 149 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/preset-flow_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 5b9bfd292c7aa4268d5a46ca575fd72d 2 | // flow-typed version: <>/@babel/preset-flow_v^7.0.0/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@babel/preset-flow' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@babel/preset-flow' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@babel/preset-flow/lib/index' { 26 | declare module.exports: any 27 | } 28 | 29 | // Filename aliases 30 | declare module '@babel/preset-flow/lib/index.js' { 31 | declare module.exports: $Exports<'@babel/preset-flow/lib/index'> 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/preset-react_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 6bdb5e63554023c04ff5e6fdc44f110c 2 | // flow-typed version: <>/@babel/preset-react_v^7.0.0/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@babel/preset-react' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@babel/preset-react' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@babel/preset-react/lib/index' { 26 | declare module.exports: any 27 | } 28 | 29 | // Filename aliases 30 | declare module '@babel/preset-react/lib/index.js' { 31 | declare module.exports: $Exports<'@babel/preset-react/lib/index'> 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/register_v7.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 5934458d8287c23337a0363563a548f9 2 | // flow-typed version: b77688cf5d/@babel/register_v7.x.x/flow_>=v0.30.x 3 | 4 | declare module '@babel/register' { 5 | declare type Ignore = 6 | | boolean 7 | | string 8 | | RegExp 9 | | ((filename: string) => boolean) 10 | declare type Options = {| 11 | ast?: boolean, 12 | auxiliaryCommentAfter?: ?string, 13 | auxiliaryCommentBefore?: ?string, 14 | babelrc?: boolean, 15 | code?: boolean, 16 | comments?: boolean, 17 | compact?: 'auto' | boolean, 18 | configFile?: string | boolean, 19 | env?: Object, 20 | extends?: ?string, 21 | extensions?: Array, 22 | filename?: string, 23 | filenameRelative?: string, 24 | generatorOpts?: Object, 25 | getModuleId?: void | null | ((moduleName: string) => string), 26 | highlightCode?: boolean, 27 | ignore?: Ignore | Array, 28 | inputSourceMap?: Object, 29 | minified?: boolean, 30 | moduleId?: string, 31 | moduleIds?: boolean, 32 | moduleRoot?: string, 33 | only?: RegExp, 34 | parserOpts?: Object, 35 | plugins?: Array<[string, Object] | string>, 36 | presets?: Array, 37 | retainLines?: boolean, 38 | resolveModuleSource?: 39 | | null 40 | | ((source: string, filename: string) => boolean), 41 | shouldPrintComment?: null | ((commentContents: string) => string), 42 | sourceFileName?: string, 43 | sourceMaps?: boolean | 'inline' | 'both', 44 | sourceMapTarget?: string, 45 | sourceRoot?: string, 46 | sourceType?: 'script' | 'module', 47 | wrapPluginVisitorMethod?: 48 | | null 49 | | (( 50 | pluginAlias: string, 51 | visitorType: string, 52 | callback: Function 53 | ) => boolean), 54 | extensions?: Array, 55 | cache?: boolean, 56 | |} 57 | 58 | declare module.exports: (options?: Options) => void 59 | } 60 | -------------------------------------------------------------------------------- /flow-typed/npm/@commitlint/cli_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 88ac0e8eb8a48b51f03ecdc2c5609881 2 | // flow-typed version: <>/@commitlint/cli_v^6.0.2/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@commitlint/cli' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@commitlint/cli' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@commitlint/cli/fixtures/empty/commitlint.config' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module '@commitlint/cli/fixtures/extends-root/extended' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module '@commitlint/cli/fixtures/inner-scope/commitlint.config' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module '@commitlint/cli/fixtures/inner-scope/inner-scope/commitlint.config' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module '@commitlint/cli/fixtures/issue-prefixes/commitlint.config' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module '@commitlint/cli/fixtures/outer-scope/commitlint.config' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module '@commitlint/cli/fixtures/parser-preset/commitlint.config' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module '@commitlint/cli/fixtures/parser-preset/parser-preset' { 54 | declare module.exports: any 55 | } 56 | 57 | declare module '@commitlint/cli/fixtures/signoff/commitlint.config' { 58 | declare module.exports: any 59 | } 60 | 61 | declare module '@commitlint/cli/fixtures/simple/commitlint.config' { 62 | declare module.exports: any 63 | } 64 | 65 | declare module '@commitlint/cli/fixtures/specify-config-file/commitlint.config' { 66 | declare module.exports: any 67 | } 68 | 69 | declare module '@commitlint/cli/fixtures/specify-config-file/config/commitlint.config' { 70 | declare module.exports: any 71 | } 72 | 73 | declare module '@commitlint/cli/lib/cli' { 74 | declare module.exports: any 75 | } 76 | 77 | declare module '@commitlint/cli/lib/cli.test' { 78 | declare module.exports: any 79 | } 80 | 81 | declare module '@commitlint/cli/lib/help' { 82 | declare module.exports: any 83 | } 84 | 85 | declare module '@commitlint/cli/src/cli' { 86 | declare module.exports: any 87 | } 88 | 89 | declare module '@commitlint/cli/src/cli.test' { 90 | declare module.exports: any 91 | } 92 | 93 | declare module '@commitlint/cli/src/help' { 94 | declare module.exports: any 95 | } 96 | 97 | // Filename aliases 98 | declare module '@commitlint/cli/fixtures/empty/commitlint.config.js' { 99 | declare module.exports: $Exports< 100 | '@commitlint/cli/fixtures/empty/commitlint.config' 101 | > 102 | } 103 | declare module '@commitlint/cli/fixtures/extends-root/extended.js' { 104 | declare module.exports: $Exports< 105 | '@commitlint/cli/fixtures/extends-root/extended' 106 | > 107 | } 108 | declare module '@commitlint/cli/fixtures/inner-scope/commitlint.config.js' { 109 | declare module.exports: $Exports< 110 | '@commitlint/cli/fixtures/inner-scope/commitlint.config' 111 | > 112 | } 113 | declare module '@commitlint/cli/fixtures/inner-scope/inner-scope/commitlint.config.js' { 114 | declare module.exports: $Exports< 115 | '@commitlint/cli/fixtures/inner-scope/inner-scope/commitlint.config' 116 | > 117 | } 118 | declare module '@commitlint/cli/fixtures/issue-prefixes/commitlint.config.js' { 119 | declare module.exports: $Exports< 120 | '@commitlint/cli/fixtures/issue-prefixes/commitlint.config' 121 | > 122 | } 123 | declare module '@commitlint/cli/fixtures/outer-scope/commitlint.config.js' { 124 | declare module.exports: $Exports< 125 | '@commitlint/cli/fixtures/outer-scope/commitlint.config' 126 | > 127 | } 128 | declare module '@commitlint/cli/fixtures/parser-preset/commitlint.config.js' { 129 | declare module.exports: $Exports< 130 | '@commitlint/cli/fixtures/parser-preset/commitlint.config' 131 | > 132 | } 133 | declare module '@commitlint/cli/fixtures/parser-preset/parser-preset.js' { 134 | declare module.exports: $Exports< 135 | '@commitlint/cli/fixtures/parser-preset/parser-preset' 136 | > 137 | } 138 | declare module '@commitlint/cli/fixtures/signoff/commitlint.config.js' { 139 | declare module.exports: $Exports< 140 | '@commitlint/cli/fixtures/signoff/commitlint.config' 141 | > 142 | } 143 | declare module '@commitlint/cli/fixtures/simple/commitlint.config.js' { 144 | declare module.exports: $Exports< 145 | '@commitlint/cli/fixtures/simple/commitlint.config' 146 | > 147 | } 148 | declare module '@commitlint/cli/fixtures/specify-config-file/commitlint.config.js' { 149 | declare module.exports: $Exports< 150 | '@commitlint/cli/fixtures/specify-config-file/commitlint.config' 151 | > 152 | } 153 | declare module '@commitlint/cli/fixtures/specify-config-file/config/commitlint.config.js' { 154 | declare module.exports: $Exports< 155 | '@commitlint/cli/fixtures/specify-config-file/config/commitlint.config' 156 | > 157 | } 158 | declare module '@commitlint/cli/index' { 159 | declare module.exports: $Exports<'@commitlint/cli'> 160 | } 161 | declare module '@commitlint/cli/index.js' { 162 | declare module.exports: $Exports<'@commitlint/cli'> 163 | } 164 | declare module '@commitlint/cli/lib/cli.js' { 165 | declare module.exports: $Exports<'@commitlint/cli/lib/cli'> 166 | } 167 | declare module '@commitlint/cli/lib/cli.test.js' { 168 | declare module.exports: $Exports<'@commitlint/cli/lib/cli.test'> 169 | } 170 | declare module '@commitlint/cli/lib/help.js' { 171 | declare module.exports: $Exports<'@commitlint/cli/lib/help'> 172 | } 173 | declare module '@commitlint/cli/src/cli.js' { 174 | declare module.exports: $Exports<'@commitlint/cli/src/cli'> 175 | } 176 | declare module '@commitlint/cli/src/cli.test.js' { 177 | declare module.exports: $Exports<'@commitlint/cli/src/cli.test'> 178 | } 179 | declare module '@commitlint/cli/src/help.js' { 180 | declare module.exports: $Exports<'@commitlint/cli/src/help'> 181 | } 182 | -------------------------------------------------------------------------------- /flow-typed/npm/@commitlint/config-conventional_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 2f856f9b3309f114f665b26b8d6cd9fa 2 | // flow-typed version: <>/@commitlint/config-conventional_v^6.0.2/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@commitlint/config-conventional' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@commitlint/config-conventional' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | 26 | // Filename aliases 27 | declare module '@commitlint/config-conventional/index' { 28 | declare module.exports: $Exports<'@commitlint/config-conventional'> 29 | } 30 | declare module '@commitlint/config-conventional/index.js' { 31 | declare module.exports: $Exports<'@commitlint/config-conventional'> 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/@jedwards1211/commitlint-config_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: f238595b40d244877e4305bbfbbce779 2 | // flow-typed version: <>/@jedwards1211/commitlint-config_v^1.0.0/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@jedwards1211/commitlint-config' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@jedwards1211/commitlint-config' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@jedwards1211/commitlint-config/commitlint.config' { 26 | declare module.exports: any 27 | } 28 | 29 | // Filename aliases 30 | declare module '@jedwards1211/commitlint-config/commitlint.config.js' { 31 | declare module.exports: $Exports< 32 | '@jedwards1211/commitlint-config/commitlint.config' 33 | > 34 | } 35 | -------------------------------------------------------------------------------- /flow-typed/npm/@jedwards1211/eslint-config-flow_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 27fda80d9587db2eed28e2f70602ab76 2 | // flow-typed version: <>/@jedwards1211/eslint-config-flow_v^1.0.2/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@jedwards1211/eslint-config-flow' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@jedwards1211/eslint-config-flow' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | 26 | // Filename aliases 27 | declare module '@jedwards1211/eslint-config-flow/index' { 28 | declare module.exports: $Exports<'@jedwards1211/eslint-config-flow'> 29 | } 30 | declare module '@jedwards1211/eslint-config-flow/index.js' { 31 | declare module.exports: $Exports<'@jedwards1211/eslint-config-flow'> 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/@jedwards1211/eslint-config-react_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: aad51a2dd36a7655119fb82235dcfade 2 | // flow-typed version: <>/@jedwards1211/eslint-config-react_v^4.0.0/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@jedwards1211/eslint-config-react' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@jedwards1211/eslint-config-react' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | 26 | // Filename aliases 27 | declare module '@jedwards1211/eslint-config-react/index' { 28 | declare module.exports: $Exports<'@jedwards1211/eslint-config-react'> 29 | } 30 | declare module '@jedwards1211/eslint-config-react/index.js' { 31 | declare module.exports: $Exports<'@jedwards1211/eslint-config-react'> 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/@jedwards1211/eslint-config_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 5c85130f68f849c1aee1105d5e0987a7 2 | // flow-typed version: <>/@jedwards1211/eslint-config_v^2.0.0/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@jedwards1211/eslint-config' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@jedwards1211/eslint-config' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | 26 | // Filename aliases 27 | declare module '@jedwards1211/eslint-config/index' { 28 | declare module.exports: $Exports<'@jedwards1211/eslint-config'> 29 | } 30 | declare module '@jedwards1211/eslint-config/index.js' { 31 | declare module.exports: $Exports<'@jedwards1211/eslint-config'> 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-eslint_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 86e5338b2d327138a51e611bc63a0fc5 2 | // flow-typed version: <>/babel-eslint_v^10.0.1/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-eslint' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'babel-eslint' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'babel-eslint/lib/analyze-scope' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'babel-eslint/lib/babylon-to-espree/attachComments' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'babel-eslint/lib/babylon-to-espree/convertComments' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'babel-eslint/lib/babylon-to-espree/convertTemplateType' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'babel-eslint/lib/babylon-to-espree/index' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module 'babel-eslint/lib/babylon-to-espree/toAST' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module 'babel-eslint/lib/babylon-to-espree/toToken' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module 'babel-eslint/lib/babylon-to-espree/toTokens' { 54 | declare module.exports: any 55 | } 56 | 57 | declare module 'babel-eslint/lib/index' { 58 | declare module.exports: any 59 | } 60 | 61 | declare module 'babel-eslint/lib/parse-with-scope' { 62 | declare module.exports: any 63 | } 64 | 65 | declare module 'babel-eslint/lib/parse' { 66 | declare module.exports: any 67 | } 68 | 69 | declare module 'babel-eslint/lib/visitor-keys' { 70 | declare module.exports: any 71 | } 72 | 73 | // Filename aliases 74 | declare module 'babel-eslint/lib/analyze-scope.js' { 75 | declare module.exports: $Exports<'babel-eslint/lib/analyze-scope'> 76 | } 77 | declare module 'babel-eslint/lib/babylon-to-espree/attachComments.js' { 78 | declare module.exports: $Exports< 79 | 'babel-eslint/lib/babylon-to-espree/attachComments' 80 | > 81 | } 82 | declare module 'babel-eslint/lib/babylon-to-espree/convertComments.js' { 83 | declare module.exports: $Exports< 84 | 'babel-eslint/lib/babylon-to-espree/convertComments' 85 | > 86 | } 87 | declare module 'babel-eslint/lib/babylon-to-espree/convertTemplateType.js' { 88 | declare module.exports: $Exports< 89 | 'babel-eslint/lib/babylon-to-espree/convertTemplateType' 90 | > 91 | } 92 | declare module 'babel-eslint/lib/babylon-to-espree/index.js' { 93 | declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/index'> 94 | } 95 | declare module 'babel-eslint/lib/babylon-to-espree/toAST.js' { 96 | declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/toAST'> 97 | } 98 | declare module 'babel-eslint/lib/babylon-to-espree/toToken.js' { 99 | declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/toToken'> 100 | } 101 | declare module 'babel-eslint/lib/babylon-to-espree/toTokens.js' { 102 | declare module.exports: $Exports< 103 | 'babel-eslint/lib/babylon-to-espree/toTokens' 104 | > 105 | } 106 | declare module 'babel-eslint/lib/index.js' { 107 | declare module.exports: $Exports<'babel-eslint/lib/index'> 108 | } 109 | declare module 'babel-eslint/lib/parse-with-scope.js' { 110 | declare module.exports: $Exports<'babel-eslint/lib/parse-with-scope'> 111 | } 112 | declare module 'babel-eslint/lib/parse.js' { 113 | declare module.exports: $Exports<'babel-eslint/lib/parse'> 114 | } 115 | declare module 'babel-eslint/lib/visitor-keys.js' { 116 | declare module.exports: $Exports<'babel-eslint/lib/visitor-keys'> 117 | } 118 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-plugin-istanbul_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 9412f9f135b42ec77f9e71faf0429d5a 2 | // flow-typed version: <>/babel-plugin-istanbul_v^5.1.0/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-plugin-istanbul' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'babel-plugin-istanbul' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'babel-plugin-istanbul/lib/index' { 26 | declare module.exports: any 27 | } 28 | 29 | // Filename aliases 30 | declare module 'babel-plugin-istanbul/lib/index.js' { 31 | declare module.exports: $Exports<'babel-plugin-istanbul/lib/index'> 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-plugin-transform-object-rest-spread_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: ab75ba92cf0a7d3d715ee95980548ddb 2 | // flow-typed version: <>/babel-plugin-transform-object-rest-spread_v^6.26.0/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-plugin-transform-object-rest-spread' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'babel-plugin-transform-object-rest-spread' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'babel-plugin-transform-object-rest-spread/lib/index' { 26 | declare module.exports: any 27 | } 28 | 29 | // Filename aliases 30 | declare module 'babel-plugin-transform-object-rest-spread/lib/index.js' { 31 | declare module.exports: $Exports< 32 | 'babel-plugin-transform-object-rest-spread/lib/index' 33 | > 34 | } 35 | -------------------------------------------------------------------------------- /flow-typed/npm/chai_v4.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 3d012055643ffc7325a13636ed48af8a 2 | // flow-typed version: f04d291d8b/chai_v4.x.x/flow_>=v0.25.0 3 | 4 | declare module 'chai' { 5 | declare type ExpectChain = { 6 | and: ExpectChain, 7 | at: ExpectChain, 8 | be: ExpectChain, 9 | been: ExpectChain, 10 | have: ExpectChain, 11 | has: ExpectChain, 12 | is: ExpectChain, 13 | of: ExpectChain, 14 | same: ExpectChain, 15 | that: ExpectChain, 16 | to: ExpectChain, 17 | which: ExpectChain, 18 | with: ExpectChain, 19 | 20 | not: ExpectChain, 21 | deep: ExpectChain, 22 | any: ExpectChain, 23 | all: ExpectChain, 24 | own: ExpectChain, 25 | 26 | a: ExpectChain & ((type: string, message?: string) => ExpectChain), 27 | an: ExpectChain & ((type: string, message?: string) => ExpectChain), 28 | 29 | include: ExpectChain & 30 | ((value: mixed, message?: string) => ExpectChain), 31 | includes: ExpectChain & 32 | ((value: mixed, message?: string) => ExpectChain), 33 | contain: ExpectChain & 34 | ((value: mixed, message?: string) => ExpectChain), 35 | contains: ExpectChain & 36 | ((value: mixed, message?: string) => ExpectChain), 37 | 38 | eq: (value: T, message?: string) => ExpectChain, 39 | eql: (value: T, message?: string) => ExpectChain, 40 | equal: (value: T, message?: string) => ExpectChain, 41 | equals: (value: T, message?: string) => ExpectChain, 42 | 43 | above: (value: T & number, message?: string) => ExpectChain, 44 | gt: (value: T & number, message?: string) => ExpectChain, 45 | greaterThan: (value: T & number, message?: string) => ExpectChain, 46 | least: (value: T & number, message?: string) => ExpectChain, 47 | below: (value: T & number, message?: string) => ExpectChain, 48 | lessThan: (value: T & number, message?: string) => ExpectChain, 49 | lt: (value: T & number, message?: string) => ExpectChain, 50 | most: (value: T & number, message?: string) => ExpectChain, 51 | within: ( 52 | start: T & number, 53 | finish: T & number, 54 | message?: string 55 | ) => ExpectChain, 56 | 57 | instanceof: (constructor: mixed, message?: string) => ExpectChain, 58 | nested: ExpectChain, 59 | property:

( 60 | name: string, 61 | value?: P, 62 | message?: string 63 | ) => ExpectChain

& ((name: string) => ExpectChain), 64 | 65 | length: ( 66 | value: number, 67 | message?: string 68 | ) => ExpectChain | ExpectChain, 69 | lengthOf: (value: number, message?: string) => ExpectChain, 70 | 71 | match: (regex: RegExp, message?: string) => ExpectChain, 72 | matches: (regex: RegExp, message?: string) => ExpectChain, 73 | 74 | string: (string: string, message?: string) => ExpectChain, 75 | 76 | key: (key: string) => ExpectChain, 77 | keys: ( 78 | key: string | Array, 79 | ...keys: Array 80 | ) => ExpectChain, 81 | 82 | throw: ( 83 | err?: Class | Error | RegExp | string, 84 | errMsgMatcher?: RegExp | string, 85 | msg?: string 86 | ) => ExpectChain, 87 | 88 | respondTo: (method: string, message?: string) => ExpectChain, 89 | itself: ExpectChain, 90 | 91 | satisfy: ( 92 | method: (value: T) => boolean, 93 | message?: string 94 | ) => ExpectChain, 95 | 96 | closeTo: ( 97 | expected: T & number, 98 | delta: number, 99 | message?: string 100 | ) => ExpectChain, 101 | 102 | members: (set: mixed, message?: string) => ExpectChain, 103 | oneOf: (list: Array, message?: string) => ExpectChain, 104 | 105 | change: (obj: mixed, key: string, message?: string) => ExpectChain, 106 | increase: (obj: mixed, key: string, message?: string) => ExpectChain, 107 | decrease: (obj: mixed, key: string, message?: string) => ExpectChain, 108 | 109 | by: (delta: number, message?: string) => ExpectChain, 110 | ordered: ExpectChain, 111 | 112 | // dirty-chai 113 | ok: () => ExpectChain, 114 | true: () => ExpectChain, 115 | false: () => ExpectChain, 116 | null: () => ExpectChain, 117 | undefined: () => ExpectChain, 118 | exist: () => ExpectChain, 119 | empty: () => ExpectChain, 120 | 121 | extensible: () => ExpectChain, 122 | sealed: () => ExpectChain, 123 | frozen: () => ExpectChain, 124 | NaN: () => ExpectChain, 125 | 126 | // chai-immutable 127 | size: (n: number) => ExpectChain, 128 | 129 | // sinon-chai 130 | called: () => ExpectChain, 131 | callCount: (n: number) => ExpectChain, 132 | calledOnce: () => ExpectChain, 133 | calledTwice: () => ExpectChain, 134 | calledThrice: () => ExpectChain, 135 | calledBefore: (spy: mixed) => ExpectChain, 136 | calledAfter: (spy: mixed) => ExpectChain, 137 | calledImmediatelyBefore: (spy: mixed) => ExpectChain, 138 | calledImmediatelyAfter: (spy: mixed) => ExpectChain, 139 | calledWith: (...args: Array) => ExpectChain, 140 | calledOnceWith: (...args: Array) => ExpectChain, 141 | calledWithMatch: (...args: Array) => ExpectChain, 142 | calledWithExactly: (...args: Array) => ExpectChain, 143 | calledOnceWithExactly: (...args: Array) => ExpectChain, 144 | returned: (returnVal: mixed) => ExpectChain, 145 | alwaysReturned: (returnVal: mixed) => ExpectChain, 146 | 147 | // chai-as-promised 148 | eventually: ExpectChain, 149 | resolvedWith: (value: mixed) => Promise & ExpectChain, 150 | resolved: () => Promise & ExpectChain, 151 | rejectedWith: ( 152 | value: mixed, 153 | errMsgMatcher?: RegExp | string, 154 | msg?: string 155 | ) => Promise & ExpectChain, 156 | rejected: () => Promise & ExpectChain, 157 | notify: (callback: () => mixed) => ExpectChain, 158 | fulfilled: () => Promise & ExpectChain, 159 | 160 | // chai-subset 161 | containSubset: (obj: {} | Array<{}>) => ExpectChain, 162 | 163 | // chai-redux-mock-store 164 | dispatchedActions: ( 165 | actions: Array<{} | ((action: {}) => any)> 166 | ) => ExpectChain, 167 | dispatchedTypes: (actions: Array) => ExpectChain, 168 | 169 | // chai-enzyme 170 | attr: (key: string, val?: any) => ExpectChain, 171 | data: (key: string, val?: any) => ExpectChain, 172 | prop: (key: string, val?: any) => ExpectChain, 173 | state: (key: string, val?: any) => ExpectChain, 174 | value: (val: string) => ExpectChain, 175 | className: (val: string) => ExpectChain, 176 | text: (val: string) => ExpectChain, 177 | 178 | // chai-karma-snapshot 179 | matchSnapshot: (lang?: any, update?: boolean, msg?: any) => ExpectChain, 180 | } 181 | 182 | declare function expect(actual: T, message?: string): ExpectChain 183 | 184 | declare function use(plugin: (chai: Object, utils: Object) => void): void 185 | 186 | declare class assert { 187 | static (expression: mixed, message?: string): void; 188 | static fail( 189 | actual: mixed, 190 | expected: mixed, 191 | message?: string, 192 | operator?: string 193 | ): void; 194 | 195 | static isOk(object: mixed, message?: string): void; 196 | static isNotOk(object: mixed, message?: string): void; 197 | 198 | static empty(object: mixed, message?: string): void; 199 | static isEmpty(object: mixed, message?: string): void; 200 | static notEmpty(object: mixed, message?: string): void; 201 | static isNotEmpty(object: mixed, message?: string): void; 202 | 203 | static equal(actual: mixed, expected: mixed, message?: string): void; 204 | static notEqual(actual: mixed, expected: mixed, message?: string): void; 205 | 206 | static strictEqual(act: mixed, exp: mixed, msg?: string): void; 207 | static notStrictEqual(act: mixed, exp: mixed, msg?: string): void; 208 | 209 | static deepEqual(act: mixed, exp: mixed, msg?: string): void; 210 | static notDeepEqual(act: mixed, exp: mixed, msg?: string): void; 211 | 212 | static ok(val: mixed, msg?: string): void; 213 | static isTrue(val: mixed, msg?: string): void; 214 | static isNotTrue(val: mixed, msg?: string): void; 215 | static isFalse(val: mixed, msg?: string): void; 216 | static isNotFalse(val: mixed, msg?: string): void; 217 | 218 | static isNull(val: mixed, msg?: string): void; 219 | static isNotNull(val: mixed, msg?: string): void; 220 | 221 | static isUndefined(val: mixed, msg?: string): void; 222 | static isDefined(val: mixed, msg?: string): void; 223 | 224 | static isNaN(val: mixed, msg?: string): void; 225 | static isNotNaN(val: mixed, msg?: string): void; 226 | 227 | static isAbove(val: number, abv: number, msg?: string): void; 228 | static isBelow(val: number, blw: number, msg?: string): void; 229 | 230 | static isAtMost(val: number, atmst: number, msg?: string): void; 231 | static isAtLeast(val: number, atlst: number, msg?: string): void; 232 | 233 | static isFunction(val: mixed, msg?: string): void; 234 | static isNotFunction(val: mixed, msg?: string): void; 235 | 236 | static isObject(val: mixed, msg?: string): void; 237 | static isNotObject(val: mixed, msg?: string): void; 238 | 239 | static isArray(val: mixed, msg?: string): void; 240 | static isNotArray(val: mixed, msg?: string): void; 241 | 242 | static isString(val: mixed, msg?: string): void; 243 | static isNotString(val: mixed, msg?: string): void; 244 | 245 | static isNumber(val: mixed, msg?: string): void; 246 | static isNotNumber(val: mixed, msg?: string): void; 247 | 248 | static isBoolean(val: mixed, msg?: string): void; 249 | static isNotBoolean(val: mixed, msg?: string): void; 250 | 251 | static typeOf(val: mixed, type: string, msg?: string): void; 252 | static notTypeOf(val: mixed, type: string, msg?: string): void; 253 | 254 | static instanceOf(val: mixed, constructor: Class<*>, msg?: string): void; 255 | static notInstanceOf(val: mixed, constructor: Class<*>, msg?: string): void; 256 | 257 | static include(exp: string, inc: mixed, msg?: string): void; 258 | static include(exp: Array, inc: T, msg?: string): void; 259 | 260 | static notInclude(exp: string, inc: mixed, msg?: string): void; 261 | static notInclude(exp: Array, inc: T, msg?: string): void; 262 | 263 | static match(exp: mixed, re: RegExp, msg?: string): void; 264 | static notMatch(exp: mixed, re: RegExp, msg?: string): void; 265 | 266 | static property(obj: Object, prop: string, msg?: string): void; 267 | static notProperty(obj: Object, prop: string, msg?: string): void; 268 | static deepProperty(obj: Object, prop: string, msg?: string): void; 269 | static notDeepProperty(obj: Object, prop: string, msg?: string): void; 270 | 271 | static propertyVal( 272 | obj: Object, 273 | prop: string, 274 | val: mixed, 275 | msg?: string 276 | ): void; 277 | static propertyNotVal( 278 | obj: Object, 279 | prop: string, 280 | val: mixed, 281 | msg?: string 282 | ): void; 283 | 284 | static deepPropertyVal( 285 | obj: Object, 286 | prop: string, 287 | val: mixed, 288 | msg?: string 289 | ): void; 290 | static deepPropertyNotVal( 291 | obj: Object, 292 | prop: string, 293 | val: mixed, 294 | msg?: string 295 | ): void; 296 | 297 | static lengthOf(exp: mixed, len: number, msg?: string): void; 298 | 299 | static throws( 300 | func: () => any, 301 | err?: Class | Error | RegExp | string, 302 | errorMsgMatcher?: string | RegExp, 303 | msg?: string 304 | ): void; 305 | static doesNotThrow( 306 | func: () => any, 307 | err?: Class | Error | RegExp | string, 308 | errorMsgMatcher?: string | RegExp, 309 | msg?: string 310 | ): void; 311 | 312 | static closeTo( 313 | actual: number, 314 | expected: number, 315 | delta: number, 316 | msg?: string 317 | ): void; 318 | static approximately( 319 | actual: number, 320 | expected: number, 321 | delta: number, 322 | msg?: string 323 | ): void; 324 | 325 | // chai-immutable 326 | static sizeOf(val: mixed, length: number): void; 327 | } 328 | 329 | declare var config: { 330 | includeStack: boolean, 331 | showDiff: boolean, 332 | truncateThreshold: number, 333 | } 334 | } 335 | -------------------------------------------------------------------------------- /flow-typed/npm/codecov_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 159854102f4f88c8ad2f74dd4d915d4c 2 | // flow-typed version: <>/codecov_v^3.1.0/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'codecov' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'codecov' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'codecov/lib/codecov' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'codecov/lib/detect' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'codecov/lib/git' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'codecov/lib/offline' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'codecov/lib/services/appveyor' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module 'codecov/lib/services/buildkite' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module 'codecov/lib/services/circle' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module 'codecov/lib/services/codeship' { 54 | declare module.exports: any 55 | } 56 | 57 | declare module 'codecov/lib/services/drone' { 58 | declare module.exports: any 59 | } 60 | 61 | declare module 'codecov/lib/services/gitlab' { 62 | declare module.exports: any 63 | } 64 | 65 | declare module 'codecov/lib/services/jenkins' { 66 | declare module.exports: any 67 | } 68 | 69 | declare module 'codecov/lib/services/localGit' { 70 | declare module.exports: any 71 | } 72 | 73 | declare module 'codecov/lib/services/semaphore' { 74 | declare module.exports: any 75 | } 76 | 77 | declare module 'codecov/lib/services/shippable' { 78 | declare module.exports: any 79 | } 80 | 81 | declare module 'codecov/lib/services/snap' { 82 | declare module.exports: any 83 | } 84 | 85 | declare module 'codecov/lib/services/travis' { 86 | declare module.exports: any 87 | } 88 | 89 | declare module 'codecov/lib/services/wercker' { 90 | declare module.exports: any 91 | } 92 | 93 | declare module 'codecov/test/detect' { 94 | declare module.exports: any 95 | } 96 | 97 | declare module 'codecov/test/git' { 98 | declare module.exports: any 99 | } 100 | 101 | declare module 'codecov/test/index' { 102 | declare module.exports: any 103 | } 104 | 105 | declare module 'codecov/test/services/appveyor' { 106 | declare module.exports: any 107 | } 108 | 109 | declare module 'codecov/test/services/buildkite' { 110 | declare module.exports: any 111 | } 112 | 113 | declare module 'codecov/test/services/circle' { 114 | declare module.exports: any 115 | } 116 | 117 | declare module 'codecov/test/services/codeship' { 118 | declare module.exports: any 119 | } 120 | 121 | declare module 'codecov/test/services/drone' { 122 | declare module.exports: any 123 | } 124 | 125 | declare module 'codecov/test/services/gitlab' { 126 | declare module.exports: any 127 | } 128 | 129 | declare module 'codecov/test/services/jenkins' { 130 | declare module.exports: any 131 | } 132 | 133 | declare module 'codecov/test/services/localGit' { 134 | declare module.exports: any 135 | } 136 | 137 | declare module 'codecov/test/services/semaphore' { 138 | declare module.exports: any 139 | } 140 | 141 | declare module 'codecov/test/services/shippable' { 142 | declare module.exports: any 143 | } 144 | 145 | declare module 'codecov/test/services/snap' { 146 | declare module.exports: any 147 | } 148 | 149 | declare module 'codecov/test/services/travis' { 150 | declare module.exports: any 151 | } 152 | 153 | declare module 'codecov/test/services/wercker' { 154 | declare module.exports: any 155 | } 156 | 157 | declare module 'codecov/test/upload' { 158 | declare module.exports: any 159 | } 160 | 161 | declare module 'codecov/testinit' { 162 | declare module.exports: any 163 | } 164 | 165 | // Filename aliases 166 | declare module 'codecov/index' { 167 | declare module.exports: $Exports<'codecov'> 168 | } 169 | declare module 'codecov/index.js' { 170 | declare module.exports: $Exports<'codecov'> 171 | } 172 | declare module 'codecov/lib/codecov.js' { 173 | declare module.exports: $Exports<'codecov/lib/codecov'> 174 | } 175 | declare module 'codecov/lib/detect.js' { 176 | declare module.exports: $Exports<'codecov/lib/detect'> 177 | } 178 | declare module 'codecov/lib/git.js' { 179 | declare module.exports: $Exports<'codecov/lib/git'> 180 | } 181 | declare module 'codecov/lib/offline.js' { 182 | declare module.exports: $Exports<'codecov/lib/offline'> 183 | } 184 | declare module 'codecov/lib/services/appveyor.js' { 185 | declare module.exports: $Exports<'codecov/lib/services/appveyor'> 186 | } 187 | declare module 'codecov/lib/services/buildkite.js' { 188 | declare module.exports: $Exports<'codecov/lib/services/buildkite'> 189 | } 190 | declare module 'codecov/lib/services/circle.js' { 191 | declare module.exports: $Exports<'codecov/lib/services/circle'> 192 | } 193 | declare module 'codecov/lib/services/codeship.js' { 194 | declare module.exports: $Exports<'codecov/lib/services/codeship'> 195 | } 196 | declare module 'codecov/lib/services/drone.js' { 197 | declare module.exports: $Exports<'codecov/lib/services/drone'> 198 | } 199 | declare module 'codecov/lib/services/gitlab.js' { 200 | declare module.exports: $Exports<'codecov/lib/services/gitlab'> 201 | } 202 | declare module 'codecov/lib/services/jenkins.js' { 203 | declare module.exports: $Exports<'codecov/lib/services/jenkins'> 204 | } 205 | declare module 'codecov/lib/services/localGit.js' { 206 | declare module.exports: $Exports<'codecov/lib/services/localGit'> 207 | } 208 | declare module 'codecov/lib/services/semaphore.js' { 209 | declare module.exports: $Exports<'codecov/lib/services/semaphore'> 210 | } 211 | declare module 'codecov/lib/services/shippable.js' { 212 | declare module.exports: $Exports<'codecov/lib/services/shippable'> 213 | } 214 | declare module 'codecov/lib/services/snap.js' { 215 | declare module.exports: $Exports<'codecov/lib/services/snap'> 216 | } 217 | declare module 'codecov/lib/services/travis.js' { 218 | declare module.exports: $Exports<'codecov/lib/services/travis'> 219 | } 220 | declare module 'codecov/lib/services/wercker.js' { 221 | declare module.exports: $Exports<'codecov/lib/services/wercker'> 222 | } 223 | declare module 'codecov/test/detect.js' { 224 | declare module.exports: $Exports<'codecov/test/detect'> 225 | } 226 | declare module 'codecov/test/git.js' { 227 | declare module.exports: $Exports<'codecov/test/git'> 228 | } 229 | declare module 'codecov/test/index.js' { 230 | declare module.exports: $Exports<'codecov/test/index'> 231 | } 232 | declare module 'codecov/test/services/appveyor.js' { 233 | declare module.exports: $Exports<'codecov/test/services/appveyor'> 234 | } 235 | declare module 'codecov/test/services/buildkite.js' { 236 | declare module.exports: $Exports<'codecov/test/services/buildkite'> 237 | } 238 | declare module 'codecov/test/services/circle.js' { 239 | declare module.exports: $Exports<'codecov/test/services/circle'> 240 | } 241 | declare module 'codecov/test/services/codeship.js' { 242 | declare module.exports: $Exports<'codecov/test/services/codeship'> 243 | } 244 | declare module 'codecov/test/services/drone.js' { 245 | declare module.exports: $Exports<'codecov/test/services/drone'> 246 | } 247 | declare module 'codecov/test/services/gitlab.js' { 248 | declare module.exports: $Exports<'codecov/test/services/gitlab'> 249 | } 250 | declare module 'codecov/test/services/jenkins.js' { 251 | declare module.exports: $Exports<'codecov/test/services/jenkins'> 252 | } 253 | declare module 'codecov/test/services/localGit.js' { 254 | declare module.exports: $Exports<'codecov/test/services/localGit'> 255 | } 256 | declare module 'codecov/test/services/semaphore.js' { 257 | declare module.exports: $Exports<'codecov/test/services/semaphore'> 258 | } 259 | declare module 'codecov/test/services/shippable.js' { 260 | declare module.exports: $Exports<'codecov/test/services/shippable'> 261 | } 262 | declare module 'codecov/test/services/snap.js' { 263 | declare module.exports: $Exports<'codecov/test/services/snap'> 264 | } 265 | declare module 'codecov/test/services/travis.js' { 266 | declare module.exports: $Exports<'codecov/test/services/travis'> 267 | } 268 | declare module 'codecov/test/services/wercker.js' { 269 | declare module.exports: $Exports<'codecov/test/services/wercker'> 270 | } 271 | declare module 'codecov/test/upload.js' { 272 | declare module.exports: $Exports<'codecov/test/upload'> 273 | } 274 | declare module 'codecov/testinit.js' { 275 | declare module.exports: $Exports<'codecov/testinit'> 276 | } 277 | -------------------------------------------------------------------------------- /flow-typed/npm/copy_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 113a0e5787561a0c1ef742a7a4a33a39 2 | // flow-typed version: <>/copy_v^0.3.2/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'copy' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'copy' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'copy/bin/cli' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'copy/lib/base' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'copy/lib/dest' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'copy/lib/invalid' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'copy/lib/once' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module 'copy/lib/recurse' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module 'copy/lib/utils' { 50 | declare module.exports: any 51 | } 52 | 53 | // Filename aliases 54 | declare module 'copy/bin/cli.js' { 55 | declare module.exports: $Exports<'copy/bin/cli'> 56 | } 57 | declare module 'copy/index' { 58 | declare module.exports: $Exports<'copy'> 59 | } 60 | declare module 'copy/index.js' { 61 | declare module.exports: $Exports<'copy'> 62 | } 63 | declare module 'copy/lib/base.js' { 64 | declare module.exports: $Exports<'copy/lib/base'> 65 | } 66 | declare module 'copy/lib/dest.js' { 67 | declare module.exports: $Exports<'copy/lib/dest'> 68 | } 69 | declare module 'copy/lib/invalid.js' { 70 | declare module.exports: $Exports<'copy/lib/invalid'> 71 | } 72 | declare module 'copy/lib/once.js' { 73 | declare module.exports: $Exports<'copy/lib/once'> 74 | } 75 | declare module 'copy/lib/recurse.js' { 76 | declare module.exports: $Exports<'copy/lib/recurse'> 77 | } 78 | declare module 'copy/lib/utils.js' { 79 | declare module.exports: $Exports<'copy/lib/utils'> 80 | } 81 | -------------------------------------------------------------------------------- /flow-typed/npm/cross-env_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 6c5adb49a92b8cea2b3e291d0ffd9ef0 2 | // flow-typed version: <>/cross-env_v^5.2.0/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'cross-env' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'cross-env' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'cross-env/dist/bin/cross-env-shell' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'cross-env/dist/bin/cross-env' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'cross-env/dist/command' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'cross-env/dist/index' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'cross-env/dist/variable' { 42 | declare module.exports: any 43 | } 44 | 45 | // Filename aliases 46 | declare module 'cross-env/dist/bin/cross-env-shell.js' { 47 | declare module.exports: $Exports<'cross-env/dist/bin/cross-env-shell'> 48 | } 49 | declare module 'cross-env/dist/bin/cross-env.js' { 50 | declare module.exports: $Exports<'cross-env/dist/bin/cross-env'> 51 | } 52 | declare module 'cross-env/dist/command.js' { 53 | declare module.exports: $Exports<'cross-env/dist/command'> 54 | } 55 | declare module 'cross-env/dist/index.js' { 56 | declare module.exports: $Exports<'cross-env/dist/index'> 57 | } 58 | declare module 'cross-env/dist/variable.js' { 59 | declare module.exports: $Exports<'cross-env/dist/variable'> 60 | } 61 | -------------------------------------------------------------------------------- /flow-typed/npm/enzyme-adapter-react-16_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: cf1782a1d86d8d896d6b3f2a01b24225 2 | // flow-typed version: <>/enzyme-adapter-react-16_v^1.7.1/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'enzyme-adapter-react-16' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'enzyme-adapter-react-16' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'enzyme-adapter-react-16/build/detectFiberTags' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'enzyme-adapter-react-16/build/findCurrentFiberUsingSlowPath' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'enzyme-adapter-react-16/build/index' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'enzyme-adapter-react-16/build/ReactSixteenAdapter' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'enzyme-adapter-react-16/src/detectFiberTags' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module 'enzyme-adapter-react-16/src/findCurrentFiberUsingSlowPath' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module 'enzyme-adapter-react-16/src/index' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module 'enzyme-adapter-react-16/src/ReactSixteenAdapter' { 54 | declare module.exports: any 55 | } 56 | 57 | // Filename aliases 58 | declare module 'enzyme-adapter-react-16/build/detectFiberTags.js' { 59 | declare module.exports: $Exports< 60 | 'enzyme-adapter-react-16/build/detectFiberTags' 61 | > 62 | } 63 | declare module 'enzyme-adapter-react-16/build/findCurrentFiberUsingSlowPath.js' { 64 | declare module.exports: $Exports< 65 | 'enzyme-adapter-react-16/build/findCurrentFiberUsingSlowPath' 66 | > 67 | } 68 | declare module 'enzyme-adapter-react-16/build/index.js' { 69 | declare module.exports: $Exports<'enzyme-adapter-react-16/build/index'> 70 | } 71 | declare module 'enzyme-adapter-react-16/build/ReactSixteenAdapter.js' { 72 | declare module.exports: $Exports< 73 | 'enzyme-adapter-react-16/build/ReactSixteenAdapter' 74 | > 75 | } 76 | declare module 'enzyme-adapter-react-16/src/detectFiberTags.js' { 77 | declare module.exports: $Exports< 78 | 'enzyme-adapter-react-16/src/detectFiberTags' 79 | > 80 | } 81 | declare module 'enzyme-adapter-react-16/src/findCurrentFiberUsingSlowPath.js' { 82 | declare module.exports: $Exports< 83 | 'enzyme-adapter-react-16/src/findCurrentFiberUsingSlowPath' 84 | > 85 | } 86 | declare module 'enzyme-adapter-react-16/src/index.js' { 87 | declare module.exports: $Exports<'enzyme-adapter-react-16/src/index'> 88 | } 89 | declare module 'enzyme-adapter-react-16/src/ReactSixteenAdapter.js' { 90 | declare module.exports: $Exports< 91 | 'enzyme-adapter-react-16/src/ReactSixteenAdapter' 92 | > 93 | } 94 | -------------------------------------------------------------------------------- /flow-typed/npm/enzyme_v3.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: f6bad512110ebc6da85b1ddda297fe3d 2 | // flow-typed version: f04d291d8b/enzyme_v3.x.x/flow_>=v0.53.x 3 | 4 | declare module 'enzyme' { 5 | declare type PredicateFunction> = ( 6 | wrapper: T, 7 | index: number 8 | ) => boolean 9 | declare type UntypedSelector = 10 | | string 11 | | { [key: string]: number | string | boolean } 12 | declare type EnzymeSelector = UntypedSelector | React$ElementType 13 | 14 | // CheerioWrapper is a type alias for an actual cheerio instance 15 | // TODO: Reference correct type from cheerio's type declarations 16 | declare type CheerioWrapper = any 17 | 18 | declare class Wrapper { 19 | equals(node: React$Element): boolean; 20 | find(selector: UntypedSelector): this; 21 | find(selector: T): ReactWrapper; 22 | findWhere(predicate: PredicateFunction): this; 23 | filter(selector: UntypedSelector): this; 24 | filter(selector: T): ReactWrapper; 25 | filterWhere(predicate: PredicateFunction): this; 26 | hostNodes(): this; 27 | contains(nodes: React$Node): boolean; 28 | containsMatchingElement(node: React$Node): boolean; 29 | containsAllMatchingElements(nodes: React$Node): boolean; 30 | containsAnyMatchingElements(nodes: React$Node): boolean; 31 | dive(option?: { context?: Object }): this; 32 | exists(selector?: EnzymeSelector): boolean; 33 | isEmptyRender(): boolean; 34 | matchesElement(node: React$Node): boolean; 35 | hasClass(className: string): boolean; 36 | is(selector: EnzymeSelector): boolean; 37 | isEmpty(): boolean; 38 | not(selector: EnzymeSelector): this; 39 | children(selector?: UntypedSelector): this; 40 | children(selector: T): ReactWrapper; 41 | childAt(index: number): this; 42 | parents(selector?: UntypedSelector): this; 43 | parents(selector: T): ReactWrapper; 44 | parent(): this; 45 | closest(selector: UntypedSelector): this; 46 | closest(selector: T): ReactWrapper; 47 | render(): CheerioWrapper; 48 | renderProp(propName: string): (...args: Array) => this; 49 | unmount(): this; 50 | text(): string; 51 | html(): string; 52 | get(index: number): React$Node; 53 | getDOMNode(): HTMLElement | HTMLInputElement; 54 | at(index: number): this; 55 | first(): this; 56 | last(): this; 57 | state(key?: string): any; 58 | context(key?: string): any; 59 | props(): Object; 60 | prop(key: string): any; 61 | key(): string; 62 | simulate(event: string, ...args: Array): this; 63 | simulateError(error: Error): this; 64 | slice(begin?: number, end?: number): this; 65 | setState(state: {}, callback?: () => void): this; 66 | setProps(props: {}, callback?: () => void): this; 67 | setContext(context: Object): this; 68 | instance(): React$ElementRef; 69 | update(): this; 70 | debug(options?: Object): string; 71 | type(): string | Function | null; 72 | name(): string; 73 | forEach(fn: (node: this, index: number) => mixed): this; 74 | map(fn: (node: this, index: number) => T): Array; 75 | reduce( 76 | fn: (value: T, node: this, index: number) => T, 77 | initialValue?: T 78 | ): Array; 79 | reduceRight( 80 | fn: (value: T, node: this, index: number) => T, 81 | initialValue?: T 82 | ): Array; 83 | some(selector: EnzymeSelector): boolean; 84 | someWhere(predicate: PredicateFunction): boolean; 85 | every(selector: EnzymeSelector): boolean; 86 | everyWhere(predicate: PredicateFunction): boolean; 87 | length: number; 88 | } 89 | 90 | declare class ReactWrapper extends Wrapper { 91 | constructor( 92 | nodes: React$Element, 93 | root: any, 94 | options?: ?Object 95 | ): ReactWrapper; 96 | mount(): this; 97 | ref(refName: string): this; 98 | detach(): void; 99 | } 100 | 101 | declare class ShallowWrapper extends Wrapper { 102 | constructor( 103 | nodes: React$Element, 104 | root: any, 105 | options?: ?Object 106 | ): ShallowWrapper; 107 | equals(node: React$Node): boolean; 108 | shallow(options?: { context?: Object }): ShallowWrapper; 109 | getElement(): React$Node; 110 | getElements(): Array; 111 | } 112 | 113 | declare function shallow( 114 | node: React$Element, 115 | options?: { context?: Object, disableLifecycleMethods?: boolean } 116 | ): ShallowWrapper 117 | declare function mount( 118 | node: React$Element, 119 | options?: { 120 | context?: Object, 121 | attachTo?: HTMLElement, 122 | childContextTypes?: Object, 123 | } 124 | ): ReactWrapper 125 | declare function render( 126 | node: React$Element, 127 | options?: { context?: Object } 128 | ): CheerioWrapper 129 | 130 | declare module.exports: { 131 | configure(options: { 132 | Adapter?: any, 133 | disableLifecycleMethods?: boolean, 134 | }): void, 135 | render: typeof render, 136 | mount: typeof mount, 137 | shallow: typeof shallow, 138 | ShallowWrapper: typeof ShallowWrapper, 139 | ReactWrapper: typeof ReactWrapper, 140 | } 141 | } 142 | -------------------------------------------------------------------------------- /flow-typed/npm/eslint-config-prettier_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 05e3b1338a735c9d987e5e211465d735 2 | // flow-typed version: <>/eslint-config-prettier_v^3.3.0/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'eslint-config-prettier' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'eslint-config-prettier' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'eslint-config-prettier/bin/cli' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'eslint-config-prettier/bin/validators' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'eslint-config-prettier/flowtype' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'eslint-config-prettier/react' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'eslint-config-prettier/standard' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module 'eslint-config-prettier/unicorn' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module 'eslint-config-prettier/vue' { 50 | declare module.exports: any 51 | } 52 | 53 | // Filename aliases 54 | declare module 'eslint-config-prettier/bin/cli.js' { 55 | declare module.exports: $Exports<'eslint-config-prettier/bin/cli'> 56 | } 57 | declare module 'eslint-config-prettier/bin/validators.js' { 58 | declare module.exports: $Exports<'eslint-config-prettier/bin/validators'> 59 | } 60 | declare module 'eslint-config-prettier/flowtype.js' { 61 | declare module.exports: $Exports<'eslint-config-prettier/flowtype'> 62 | } 63 | declare module 'eslint-config-prettier/index' { 64 | declare module.exports: $Exports<'eslint-config-prettier'> 65 | } 66 | declare module 'eslint-config-prettier/index.js' { 67 | declare module.exports: $Exports<'eslint-config-prettier'> 68 | } 69 | declare module 'eslint-config-prettier/react.js' { 70 | declare module.exports: $Exports<'eslint-config-prettier/react'> 71 | } 72 | declare module 'eslint-config-prettier/standard.js' { 73 | declare module.exports: $Exports<'eslint-config-prettier/standard'> 74 | } 75 | declare module 'eslint-config-prettier/unicorn.js' { 76 | declare module.exports: $Exports<'eslint-config-prettier/unicorn'> 77 | } 78 | declare module 'eslint-config-prettier/vue.js' { 79 | declare module.exports: $Exports<'eslint-config-prettier/vue'> 80 | } 81 | -------------------------------------------------------------------------------- /flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 015557eedc4ebe6c21888ead9f4687d0 2 | // flow-typed version: <>/eslint-plugin-flowtype_v^3.2.0/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'eslint-plugin-flowtype' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'eslint-plugin-flowtype' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'eslint-plugin-flowtype/dist/bin/addAssertions' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'eslint-plugin-flowtype/dist/bin/checkDocs' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'eslint-plugin-flowtype/dist/bin/checkTests' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'eslint-plugin-flowtype/dist/bin/utilities' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'eslint-plugin-flowtype/dist/index' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module 'eslint-plugin-flowtype/dist/rules/arrayStyle/index' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module 'eslint-plugin-flowtype/dist/rules/arrayStyle/isSimpleType' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module 'eslint-plugin-flowtype/dist/rules/arrayStyle/needWrap' { 54 | declare module.exports: any 55 | } 56 | 57 | declare module 'eslint-plugin-flowtype/dist/rules/arrayStyleComplexType' { 58 | declare module.exports: any 59 | } 60 | 61 | declare module 'eslint-plugin-flowtype/dist/rules/arrayStyleSimpleType' { 62 | declare module.exports: any 63 | } 64 | 65 | declare module 'eslint-plugin-flowtype/dist/rules/booleanStyle' { 66 | declare module.exports: any 67 | } 68 | 69 | declare module 'eslint-plugin-flowtype/dist/rules/defineFlowType' { 70 | declare module.exports: any 71 | } 72 | 73 | declare module 'eslint-plugin-flowtype/dist/rules/delimiterDangle' { 74 | declare module.exports: any 75 | } 76 | 77 | declare module 'eslint-plugin-flowtype/dist/rules/genericSpacing' { 78 | declare module.exports: any 79 | } 80 | 81 | declare module 'eslint-plugin-flowtype/dist/rules/newlineAfterFlowAnnotation' { 82 | declare module.exports: any 83 | } 84 | 85 | declare module 'eslint-plugin-flowtype/dist/rules/noDupeKeys' { 86 | declare module.exports: any 87 | } 88 | 89 | declare module 'eslint-plugin-flowtype/dist/rules/noExistentialType' { 90 | declare module.exports: any 91 | } 92 | 93 | declare module 'eslint-plugin-flowtype/dist/rules/noFlowFixMeComments' { 94 | declare module.exports: any 95 | } 96 | 97 | declare module 'eslint-plugin-flowtype/dist/rules/noMutableArray' { 98 | declare module.exports: any 99 | } 100 | 101 | declare module 'eslint-plugin-flowtype/dist/rules/noPrimitiveConstructorTypes' { 102 | declare module.exports: any 103 | } 104 | 105 | declare module 'eslint-plugin-flowtype/dist/rules/noTypesMissingFileAnnotation' { 106 | declare module.exports: any 107 | } 108 | 109 | declare module 'eslint-plugin-flowtype/dist/rules/noUnusedExpressions' { 110 | declare module.exports: any 111 | } 112 | 113 | declare module 'eslint-plugin-flowtype/dist/rules/noWeakTypes' { 114 | declare module.exports: any 115 | } 116 | 117 | declare module 'eslint-plugin-flowtype/dist/rules/objectTypeDelimiter' { 118 | declare module.exports: any 119 | } 120 | 121 | declare module 'eslint-plugin-flowtype/dist/rules/requireCompoundTypeAlias' { 122 | declare module.exports: any 123 | } 124 | 125 | declare module 'eslint-plugin-flowtype/dist/rules/requireExactType' { 126 | declare module.exports: any 127 | } 128 | 129 | declare module 'eslint-plugin-flowtype/dist/rules/requireParameterType' { 130 | declare module.exports: any 131 | } 132 | 133 | declare module 'eslint-plugin-flowtype/dist/rules/requireReturnType' { 134 | declare module.exports: any 135 | } 136 | 137 | declare module 'eslint-plugin-flowtype/dist/rules/requireTypesAtTop' { 138 | declare module.exports: any 139 | } 140 | 141 | declare module 'eslint-plugin-flowtype/dist/rules/requireValidFileAnnotation' { 142 | declare module.exports: any 143 | } 144 | 145 | declare module 'eslint-plugin-flowtype/dist/rules/requireVariableType' { 146 | declare module.exports: any 147 | } 148 | 149 | declare module 'eslint-plugin-flowtype/dist/rules/semi' { 150 | declare module.exports: any 151 | } 152 | 153 | declare module 'eslint-plugin-flowtype/dist/rules/sortKeys' { 154 | declare module.exports: any 155 | } 156 | 157 | declare module 'eslint-plugin-flowtype/dist/rules/spaceAfterTypeColon' { 158 | declare module.exports: any 159 | } 160 | 161 | declare module 'eslint-plugin-flowtype/dist/rules/spaceBeforeGenericBracket' { 162 | declare module.exports: any 163 | } 164 | 165 | declare module 'eslint-plugin-flowtype/dist/rules/spaceBeforeTypeColon' { 166 | declare module.exports: any 167 | } 168 | 169 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateFunctions' { 170 | declare module.exports: any 171 | } 172 | 173 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateObjectTypeIndexer' { 174 | declare module.exports: any 175 | } 176 | 177 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateObjectTypeProperty' { 178 | declare module.exports: any 179 | } 180 | 181 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateReturnType' { 182 | declare module.exports: any 183 | } 184 | 185 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateTypeCastExpression' { 186 | declare module.exports: any 187 | } 188 | 189 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateTypical' { 190 | declare module.exports: any 191 | } 192 | 193 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateVariables' { 194 | declare module.exports: any 195 | } 196 | 197 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/index' { 198 | declare module.exports: any 199 | } 200 | 201 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/reporter' { 202 | declare module.exports: any 203 | } 204 | 205 | declare module 'eslint-plugin-flowtype/dist/rules/typeIdMatch' { 206 | declare module.exports: any 207 | } 208 | 209 | declare module 'eslint-plugin-flowtype/dist/rules/typeImportStyle' { 210 | declare module.exports: any 211 | } 212 | 213 | declare module 'eslint-plugin-flowtype/dist/rules/unionIntersectionSpacing' { 214 | declare module.exports: any 215 | } 216 | 217 | declare module 'eslint-plugin-flowtype/dist/rules/useFlowType' { 218 | declare module.exports: any 219 | } 220 | 221 | declare module 'eslint-plugin-flowtype/dist/rules/validSyntax' { 222 | declare module.exports: any 223 | } 224 | 225 | declare module 'eslint-plugin-flowtype/dist/utilities/checkFlowFileAnnotation' { 226 | declare module.exports: any 227 | } 228 | 229 | declare module 'eslint-plugin-flowtype/dist/utilities/fuzzyStringMatch' { 230 | declare module.exports: any 231 | } 232 | 233 | declare module 'eslint-plugin-flowtype/dist/utilities/getParameterName' { 234 | declare module.exports: any 235 | } 236 | 237 | declare module 'eslint-plugin-flowtype/dist/utilities/getTokenAfterParens' { 238 | declare module.exports: any 239 | } 240 | 241 | declare module 'eslint-plugin-flowtype/dist/utilities/getTokenBeforeParens' { 242 | declare module.exports: any 243 | } 244 | 245 | declare module 'eslint-plugin-flowtype/dist/utilities/index' { 246 | declare module.exports: any 247 | } 248 | 249 | declare module 'eslint-plugin-flowtype/dist/utilities/isFlowFile' { 250 | declare module.exports: any 251 | } 252 | 253 | declare module 'eslint-plugin-flowtype/dist/utilities/isFlowFileAnnotation' { 254 | declare module.exports: any 255 | } 256 | 257 | declare module 'eslint-plugin-flowtype/dist/utilities/iterateFunctionNodes' { 258 | declare module.exports: any 259 | } 260 | 261 | declare module 'eslint-plugin-flowtype/dist/utilities/quoteName' { 262 | declare module.exports: any 263 | } 264 | 265 | declare module 'eslint-plugin-flowtype/dist/utilities/spacingFixers' { 266 | declare module.exports: any 267 | } 268 | 269 | // Filename aliases 270 | declare module 'eslint-plugin-flowtype/dist/bin/addAssertions.js' { 271 | declare module.exports: $Exports< 272 | 'eslint-plugin-flowtype/dist/bin/addAssertions' 273 | > 274 | } 275 | declare module 'eslint-plugin-flowtype/dist/bin/checkDocs.js' { 276 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/bin/checkDocs'> 277 | } 278 | declare module 'eslint-plugin-flowtype/dist/bin/checkTests.js' { 279 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/bin/checkTests'> 280 | } 281 | declare module 'eslint-plugin-flowtype/dist/bin/utilities.js' { 282 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/bin/utilities'> 283 | } 284 | declare module 'eslint-plugin-flowtype/dist/index.js' { 285 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/index'> 286 | } 287 | declare module 'eslint-plugin-flowtype/dist/rules/arrayStyle/index.js' { 288 | declare module.exports: $Exports< 289 | 'eslint-plugin-flowtype/dist/rules/arrayStyle/index' 290 | > 291 | } 292 | declare module 'eslint-plugin-flowtype/dist/rules/arrayStyle/isSimpleType.js' { 293 | declare module.exports: $Exports< 294 | 'eslint-plugin-flowtype/dist/rules/arrayStyle/isSimpleType' 295 | > 296 | } 297 | declare module 'eslint-plugin-flowtype/dist/rules/arrayStyle/needWrap.js' { 298 | declare module.exports: $Exports< 299 | 'eslint-plugin-flowtype/dist/rules/arrayStyle/needWrap' 300 | > 301 | } 302 | declare module 'eslint-plugin-flowtype/dist/rules/arrayStyleComplexType.js' { 303 | declare module.exports: $Exports< 304 | 'eslint-plugin-flowtype/dist/rules/arrayStyleComplexType' 305 | > 306 | } 307 | declare module 'eslint-plugin-flowtype/dist/rules/arrayStyleSimpleType.js' { 308 | declare module.exports: $Exports< 309 | 'eslint-plugin-flowtype/dist/rules/arrayStyleSimpleType' 310 | > 311 | } 312 | declare module 'eslint-plugin-flowtype/dist/rules/booleanStyle.js' { 313 | declare module.exports: $Exports< 314 | 'eslint-plugin-flowtype/dist/rules/booleanStyle' 315 | > 316 | } 317 | declare module 'eslint-plugin-flowtype/dist/rules/defineFlowType.js' { 318 | declare module.exports: $Exports< 319 | 'eslint-plugin-flowtype/dist/rules/defineFlowType' 320 | > 321 | } 322 | declare module 'eslint-plugin-flowtype/dist/rules/delimiterDangle.js' { 323 | declare module.exports: $Exports< 324 | 'eslint-plugin-flowtype/dist/rules/delimiterDangle' 325 | > 326 | } 327 | declare module 'eslint-plugin-flowtype/dist/rules/genericSpacing.js' { 328 | declare module.exports: $Exports< 329 | 'eslint-plugin-flowtype/dist/rules/genericSpacing' 330 | > 331 | } 332 | declare module 'eslint-plugin-flowtype/dist/rules/newlineAfterFlowAnnotation.js' { 333 | declare module.exports: $Exports< 334 | 'eslint-plugin-flowtype/dist/rules/newlineAfterFlowAnnotation' 335 | > 336 | } 337 | declare module 'eslint-plugin-flowtype/dist/rules/noDupeKeys.js' { 338 | declare module.exports: $Exports< 339 | 'eslint-plugin-flowtype/dist/rules/noDupeKeys' 340 | > 341 | } 342 | declare module 'eslint-plugin-flowtype/dist/rules/noExistentialType.js' { 343 | declare module.exports: $Exports< 344 | 'eslint-plugin-flowtype/dist/rules/noExistentialType' 345 | > 346 | } 347 | declare module 'eslint-plugin-flowtype/dist/rules/noFlowFixMeComments.js' { 348 | declare module.exports: $Exports< 349 | 'eslint-plugin-flowtype/dist/rules/noFlowFixMeComments' 350 | > 351 | } 352 | declare module 'eslint-plugin-flowtype/dist/rules/noMutableArray.js' { 353 | declare module.exports: $Exports< 354 | 'eslint-plugin-flowtype/dist/rules/noMutableArray' 355 | > 356 | } 357 | declare module 'eslint-plugin-flowtype/dist/rules/noPrimitiveConstructorTypes.js' { 358 | declare module.exports: $Exports< 359 | 'eslint-plugin-flowtype/dist/rules/noPrimitiveConstructorTypes' 360 | > 361 | } 362 | declare module 'eslint-plugin-flowtype/dist/rules/noTypesMissingFileAnnotation.js' { 363 | declare module.exports: $Exports< 364 | 'eslint-plugin-flowtype/dist/rules/noTypesMissingFileAnnotation' 365 | > 366 | } 367 | declare module 'eslint-plugin-flowtype/dist/rules/noUnusedExpressions.js' { 368 | declare module.exports: $Exports< 369 | 'eslint-plugin-flowtype/dist/rules/noUnusedExpressions' 370 | > 371 | } 372 | declare module 'eslint-plugin-flowtype/dist/rules/noWeakTypes.js' { 373 | declare module.exports: $Exports< 374 | 'eslint-plugin-flowtype/dist/rules/noWeakTypes' 375 | > 376 | } 377 | declare module 'eslint-plugin-flowtype/dist/rules/objectTypeDelimiter.js' { 378 | declare module.exports: $Exports< 379 | 'eslint-plugin-flowtype/dist/rules/objectTypeDelimiter' 380 | > 381 | } 382 | declare module 'eslint-plugin-flowtype/dist/rules/requireCompoundTypeAlias.js' { 383 | declare module.exports: $Exports< 384 | 'eslint-plugin-flowtype/dist/rules/requireCompoundTypeAlias' 385 | > 386 | } 387 | declare module 'eslint-plugin-flowtype/dist/rules/requireExactType.js' { 388 | declare module.exports: $Exports< 389 | 'eslint-plugin-flowtype/dist/rules/requireExactType' 390 | > 391 | } 392 | declare module 'eslint-plugin-flowtype/dist/rules/requireParameterType.js' { 393 | declare module.exports: $Exports< 394 | 'eslint-plugin-flowtype/dist/rules/requireParameterType' 395 | > 396 | } 397 | declare module 'eslint-plugin-flowtype/dist/rules/requireReturnType.js' { 398 | declare module.exports: $Exports< 399 | 'eslint-plugin-flowtype/dist/rules/requireReturnType' 400 | > 401 | } 402 | declare module 'eslint-plugin-flowtype/dist/rules/requireTypesAtTop.js' { 403 | declare module.exports: $Exports< 404 | 'eslint-plugin-flowtype/dist/rules/requireTypesAtTop' 405 | > 406 | } 407 | declare module 'eslint-plugin-flowtype/dist/rules/requireValidFileAnnotation.js' { 408 | declare module.exports: $Exports< 409 | 'eslint-plugin-flowtype/dist/rules/requireValidFileAnnotation' 410 | > 411 | } 412 | declare module 'eslint-plugin-flowtype/dist/rules/requireVariableType.js' { 413 | declare module.exports: $Exports< 414 | 'eslint-plugin-flowtype/dist/rules/requireVariableType' 415 | > 416 | } 417 | declare module 'eslint-plugin-flowtype/dist/rules/semi.js' { 418 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/semi'> 419 | } 420 | declare module 'eslint-plugin-flowtype/dist/rules/sortKeys.js' { 421 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/sortKeys'> 422 | } 423 | declare module 'eslint-plugin-flowtype/dist/rules/spaceAfterTypeColon.js' { 424 | declare module.exports: $Exports< 425 | 'eslint-plugin-flowtype/dist/rules/spaceAfterTypeColon' 426 | > 427 | } 428 | declare module 'eslint-plugin-flowtype/dist/rules/spaceBeforeGenericBracket.js' { 429 | declare module.exports: $Exports< 430 | 'eslint-plugin-flowtype/dist/rules/spaceBeforeGenericBracket' 431 | > 432 | } 433 | declare module 'eslint-plugin-flowtype/dist/rules/spaceBeforeTypeColon.js' { 434 | declare module.exports: $Exports< 435 | 'eslint-plugin-flowtype/dist/rules/spaceBeforeTypeColon' 436 | > 437 | } 438 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateFunctions.js' { 439 | declare module.exports: $Exports< 440 | 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateFunctions' 441 | > 442 | } 443 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateObjectTypeIndexer.js' { 444 | declare module.exports: $Exports< 445 | 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateObjectTypeIndexer' 446 | > 447 | } 448 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateObjectTypeProperty.js' { 449 | declare module.exports: $Exports< 450 | 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateObjectTypeProperty' 451 | > 452 | } 453 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateReturnType.js' { 454 | declare module.exports: $Exports< 455 | 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateReturnType' 456 | > 457 | } 458 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateTypeCastExpression.js' { 459 | declare module.exports: $Exports< 460 | 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateTypeCastExpression' 461 | > 462 | } 463 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateTypical.js' { 464 | declare module.exports: $Exports< 465 | 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateTypical' 466 | > 467 | } 468 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateVariables.js' { 469 | declare module.exports: $Exports< 470 | 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateVariables' 471 | > 472 | } 473 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/index.js' { 474 | declare module.exports: $Exports< 475 | 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/index' 476 | > 477 | } 478 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/reporter.js' { 479 | declare module.exports: $Exports< 480 | 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/reporter' 481 | > 482 | } 483 | declare module 'eslint-plugin-flowtype/dist/rules/typeIdMatch.js' { 484 | declare module.exports: $Exports< 485 | 'eslint-plugin-flowtype/dist/rules/typeIdMatch' 486 | > 487 | } 488 | declare module 'eslint-plugin-flowtype/dist/rules/typeImportStyle.js' { 489 | declare module.exports: $Exports< 490 | 'eslint-plugin-flowtype/dist/rules/typeImportStyle' 491 | > 492 | } 493 | declare module 'eslint-plugin-flowtype/dist/rules/unionIntersectionSpacing.js' { 494 | declare module.exports: $Exports< 495 | 'eslint-plugin-flowtype/dist/rules/unionIntersectionSpacing' 496 | > 497 | } 498 | declare module 'eslint-plugin-flowtype/dist/rules/useFlowType.js' { 499 | declare module.exports: $Exports< 500 | 'eslint-plugin-flowtype/dist/rules/useFlowType' 501 | > 502 | } 503 | declare module 'eslint-plugin-flowtype/dist/rules/validSyntax.js' { 504 | declare module.exports: $Exports< 505 | 'eslint-plugin-flowtype/dist/rules/validSyntax' 506 | > 507 | } 508 | declare module 'eslint-plugin-flowtype/dist/utilities/checkFlowFileAnnotation.js' { 509 | declare module.exports: $Exports< 510 | 'eslint-plugin-flowtype/dist/utilities/checkFlowFileAnnotation' 511 | > 512 | } 513 | declare module 'eslint-plugin-flowtype/dist/utilities/fuzzyStringMatch.js' { 514 | declare module.exports: $Exports< 515 | 'eslint-plugin-flowtype/dist/utilities/fuzzyStringMatch' 516 | > 517 | } 518 | declare module 'eslint-plugin-flowtype/dist/utilities/getParameterName.js' { 519 | declare module.exports: $Exports< 520 | 'eslint-plugin-flowtype/dist/utilities/getParameterName' 521 | > 522 | } 523 | declare module 'eslint-plugin-flowtype/dist/utilities/getTokenAfterParens.js' { 524 | declare module.exports: $Exports< 525 | 'eslint-plugin-flowtype/dist/utilities/getTokenAfterParens' 526 | > 527 | } 528 | declare module 'eslint-plugin-flowtype/dist/utilities/getTokenBeforeParens.js' { 529 | declare module.exports: $Exports< 530 | 'eslint-plugin-flowtype/dist/utilities/getTokenBeforeParens' 531 | > 532 | } 533 | declare module 'eslint-plugin-flowtype/dist/utilities/index.js' { 534 | declare module.exports: $Exports< 535 | 'eslint-plugin-flowtype/dist/utilities/index' 536 | > 537 | } 538 | declare module 'eslint-plugin-flowtype/dist/utilities/isFlowFile.js' { 539 | declare module.exports: $Exports< 540 | 'eslint-plugin-flowtype/dist/utilities/isFlowFile' 541 | > 542 | } 543 | declare module 'eslint-plugin-flowtype/dist/utilities/isFlowFileAnnotation.js' { 544 | declare module.exports: $Exports< 545 | 'eslint-plugin-flowtype/dist/utilities/isFlowFileAnnotation' 546 | > 547 | } 548 | declare module 'eslint-plugin-flowtype/dist/utilities/iterateFunctionNodes.js' { 549 | declare module.exports: $Exports< 550 | 'eslint-plugin-flowtype/dist/utilities/iterateFunctionNodes' 551 | > 552 | } 553 | declare module 'eslint-plugin-flowtype/dist/utilities/quoteName.js' { 554 | declare module.exports: $Exports< 555 | 'eslint-plugin-flowtype/dist/utilities/quoteName' 556 | > 557 | } 558 | declare module 'eslint-plugin-flowtype/dist/utilities/spacingFixers.js' { 559 | declare module.exports: $Exports< 560 | 'eslint-plugin-flowtype/dist/utilities/spacingFixers' 561 | > 562 | } 563 | -------------------------------------------------------------------------------- /flow-typed/npm/eslint-plugin-react_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 151c9c642fc9dea26b2c4d5e9c9d8879 2 | // flow-typed version: <>/eslint-plugin-react_v^7.11.1/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'eslint-plugin-react' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'eslint-plugin-react' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'eslint-plugin-react/lib/rules/boolean-prop-naming' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'eslint-plugin-react/lib/rules/button-has-type' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'eslint-plugin-react/lib/rules/default-props-match-prop-types' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'eslint-plugin-react/lib/rules/destructuring-assignment' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'eslint-plugin-react/lib/rules/display-name' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module 'eslint-plugin-react/lib/rules/forbid-component-props' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module 'eslint-plugin-react/lib/rules/forbid-dom-props' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module 'eslint-plugin-react/lib/rules/forbid-elements' { 54 | declare module.exports: any 55 | } 56 | 57 | declare module 'eslint-plugin-react/lib/rules/forbid-foreign-prop-types' { 58 | declare module.exports: any 59 | } 60 | 61 | declare module 'eslint-plugin-react/lib/rules/forbid-prop-types' { 62 | declare module.exports: any 63 | } 64 | 65 | declare module 'eslint-plugin-react/lib/rules/jsx-boolean-value' { 66 | declare module.exports: any 67 | } 68 | 69 | declare module 'eslint-plugin-react/lib/rules/jsx-child-element-spacing' { 70 | declare module.exports: any 71 | } 72 | 73 | declare module 'eslint-plugin-react/lib/rules/jsx-closing-bracket-location' { 74 | declare module.exports: any 75 | } 76 | 77 | declare module 'eslint-plugin-react/lib/rules/jsx-closing-tag-location' { 78 | declare module.exports: any 79 | } 80 | 81 | declare module 'eslint-plugin-react/lib/rules/jsx-curly-brace-presence' { 82 | declare module.exports: any 83 | } 84 | 85 | declare module 'eslint-plugin-react/lib/rules/jsx-curly-spacing' { 86 | declare module.exports: any 87 | } 88 | 89 | declare module 'eslint-plugin-react/lib/rules/jsx-equals-spacing' { 90 | declare module.exports: any 91 | } 92 | 93 | declare module 'eslint-plugin-react/lib/rules/jsx-filename-extension' { 94 | declare module.exports: any 95 | } 96 | 97 | declare module 'eslint-plugin-react/lib/rules/jsx-first-prop-new-line' { 98 | declare module.exports: any 99 | } 100 | 101 | declare module 'eslint-plugin-react/lib/rules/jsx-handler-names' { 102 | declare module.exports: any 103 | } 104 | 105 | declare module 'eslint-plugin-react/lib/rules/jsx-indent-props' { 106 | declare module.exports: any 107 | } 108 | 109 | declare module 'eslint-plugin-react/lib/rules/jsx-indent' { 110 | declare module.exports: any 111 | } 112 | 113 | declare module 'eslint-plugin-react/lib/rules/jsx-key' { 114 | declare module.exports: any 115 | } 116 | 117 | declare module 'eslint-plugin-react/lib/rules/jsx-max-depth' { 118 | declare module.exports: any 119 | } 120 | 121 | declare module 'eslint-plugin-react/lib/rules/jsx-max-props-per-line' { 122 | declare module.exports: any 123 | } 124 | 125 | declare module 'eslint-plugin-react/lib/rules/jsx-no-bind' { 126 | declare module.exports: any 127 | } 128 | 129 | declare module 'eslint-plugin-react/lib/rules/jsx-no-comment-textnodes' { 130 | declare module.exports: any 131 | } 132 | 133 | declare module 'eslint-plugin-react/lib/rules/jsx-no-duplicate-props' { 134 | declare module.exports: any 135 | } 136 | 137 | declare module 'eslint-plugin-react/lib/rules/jsx-no-literals' { 138 | declare module.exports: any 139 | } 140 | 141 | declare module 'eslint-plugin-react/lib/rules/jsx-no-target-blank' { 142 | declare module.exports: any 143 | } 144 | 145 | declare module 'eslint-plugin-react/lib/rules/jsx-no-undef' { 146 | declare module.exports: any 147 | } 148 | 149 | declare module 'eslint-plugin-react/lib/rules/jsx-one-expression-per-line' { 150 | declare module.exports: any 151 | } 152 | 153 | declare module 'eslint-plugin-react/lib/rules/jsx-pascal-case' { 154 | declare module.exports: any 155 | } 156 | 157 | declare module 'eslint-plugin-react/lib/rules/jsx-props-no-multi-spaces' { 158 | declare module.exports: any 159 | } 160 | 161 | declare module 'eslint-plugin-react/lib/rules/jsx-sort-default-props' { 162 | declare module.exports: any 163 | } 164 | 165 | declare module 'eslint-plugin-react/lib/rules/jsx-sort-props' { 166 | declare module.exports: any 167 | } 168 | 169 | declare module 'eslint-plugin-react/lib/rules/jsx-space-before-closing' { 170 | declare module.exports: any 171 | } 172 | 173 | declare module 'eslint-plugin-react/lib/rules/jsx-tag-spacing' { 174 | declare module.exports: any 175 | } 176 | 177 | declare module 'eslint-plugin-react/lib/rules/jsx-uses-react' { 178 | declare module.exports: any 179 | } 180 | 181 | declare module 'eslint-plugin-react/lib/rules/jsx-uses-vars' { 182 | declare module.exports: any 183 | } 184 | 185 | declare module 'eslint-plugin-react/lib/rules/jsx-wrap-multilines' { 186 | declare module.exports: any 187 | } 188 | 189 | declare module 'eslint-plugin-react/lib/rules/no-access-state-in-setstate' { 190 | declare module.exports: any 191 | } 192 | 193 | declare module 'eslint-plugin-react/lib/rules/no-array-index-key' { 194 | declare module.exports: any 195 | } 196 | 197 | declare module 'eslint-plugin-react/lib/rules/no-children-prop' { 198 | declare module.exports: any 199 | } 200 | 201 | declare module 'eslint-plugin-react/lib/rules/no-danger-with-children' { 202 | declare module.exports: any 203 | } 204 | 205 | declare module 'eslint-plugin-react/lib/rules/no-danger' { 206 | declare module.exports: any 207 | } 208 | 209 | declare module 'eslint-plugin-react/lib/rules/no-deprecated' { 210 | declare module.exports: any 211 | } 212 | 213 | declare module 'eslint-plugin-react/lib/rules/no-did-mount-set-state' { 214 | declare module.exports: any 215 | } 216 | 217 | declare module 'eslint-plugin-react/lib/rules/no-did-update-set-state' { 218 | declare module.exports: any 219 | } 220 | 221 | declare module 'eslint-plugin-react/lib/rules/no-direct-mutation-state' { 222 | declare module.exports: any 223 | } 224 | 225 | declare module 'eslint-plugin-react/lib/rules/no-find-dom-node' { 226 | declare module.exports: any 227 | } 228 | 229 | declare module 'eslint-plugin-react/lib/rules/no-is-mounted' { 230 | declare module.exports: any 231 | } 232 | 233 | declare module 'eslint-plugin-react/lib/rules/no-multi-comp' { 234 | declare module.exports: any 235 | } 236 | 237 | declare module 'eslint-plugin-react/lib/rules/no-redundant-should-component-update' { 238 | declare module.exports: any 239 | } 240 | 241 | declare module 'eslint-plugin-react/lib/rules/no-render-return-value' { 242 | declare module.exports: any 243 | } 244 | 245 | declare module 'eslint-plugin-react/lib/rules/no-set-state' { 246 | declare module.exports: any 247 | } 248 | 249 | declare module 'eslint-plugin-react/lib/rules/no-string-refs' { 250 | declare module.exports: any 251 | } 252 | 253 | declare module 'eslint-plugin-react/lib/rules/no-this-in-sfc' { 254 | declare module.exports: any 255 | } 256 | 257 | declare module 'eslint-plugin-react/lib/rules/no-typos' { 258 | declare module.exports: any 259 | } 260 | 261 | declare module 'eslint-plugin-react/lib/rules/no-unescaped-entities' { 262 | declare module.exports: any 263 | } 264 | 265 | declare module 'eslint-plugin-react/lib/rules/no-unknown-property' { 266 | declare module.exports: any 267 | } 268 | 269 | declare module 'eslint-plugin-react/lib/rules/no-unsafe' { 270 | declare module.exports: any 271 | } 272 | 273 | declare module 'eslint-plugin-react/lib/rules/no-unused-prop-types' { 274 | declare module.exports: any 275 | } 276 | 277 | declare module 'eslint-plugin-react/lib/rules/no-unused-state' { 278 | declare module.exports: any 279 | } 280 | 281 | declare module 'eslint-plugin-react/lib/rules/no-will-update-set-state' { 282 | declare module.exports: any 283 | } 284 | 285 | declare module 'eslint-plugin-react/lib/rules/prefer-es6-class' { 286 | declare module.exports: any 287 | } 288 | 289 | declare module 'eslint-plugin-react/lib/rules/prefer-stateless-function' { 290 | declare module.exports: any 291 | } 292 | 293 | declare module 'eslint-plugin-react/lib/rules/prop-types' { 294 | declare module.exports: any 295 | } 296 | 297 | declare module 'eslint-plugin-react/lib/rules/react-in-jsx-scope' { 298 | declare module.exports: any 299 | } 300 | 301 | declare module 'eslint-plugin-react/lib/rules/require-default-props' { 302 | declare module.exports: any 303 | } 304 | 305 | declare module 'eslint-plugin-react/lib/rules/require-optimization' { 306 | declare module.exports: any 307 | } 308 | 309 | declare module 'eslint-plugin-react/lib/rules/require-render-return' { 310 | declare module.exports: any 311 | } 312 | 313 | declare module 'eslint-plugin-react/lib/rules/self-closing-comp' { 314 | declare module.exports: any 315 | } 316 | 317 | declare module 'eslint-plugin-react/lib/rules/sort-comp' { 318 | declare module.exports: any 319 | } 320 | 321 | declare module 'eslint-plugin-react/lib/rules/sort-prop-types' { 322 | declare module.exports: any 323 | } 324 | 325 | declare module 'eslint-plugin-react/lib/rules/style-prop-object' { 326 | declare module.exports: any 327 | } 328 | 329 | declare module 'eslint-plugin-react/lib/rules/void-dom-elements-no-children' { 330 | declare module.exports: any 331 | } 332 | 333 | declare module 'eslint-plugin-react/lib/util/annotations' { 334 | declare module.exports: any 335 | } 336 | 337 | declare module 'eslint-plugin-react/lib/util/ast' { 338 | declare module.exports: any 339 | } 340 | 341 | declare module 'eslint-plugin-react/lib/util/Components' { 342 | declare module.exports: any 343 | } 344 | 345 | declare module 'eslint-plugin-react/lib/util/docsUrl' { 346 | declare module.exports: any 347 | } 348 | 349 | declare module 'eslint-plugin-react/lib/util/getTokenBeforeClosingBracket' { 350 | declare module.exports: any 351 | } 352 | 353 | declare module 'eslint-plugin-react/lib/util/jsx' { 354 | declare module.exports: any 355 | } 356 | 357 | declare module 'eslint-plugin-react/lib/util/log' { 358 | declare module.exports: any 359 | } 360 | 361 | declare module 'eslint-plugin-react/lib/util/makeNoMethodSetStateRule' { 362 | declare module.exports: any 363 | } 364 | 365 | declare module 'eslint-plugin-react/lib/util/pragma' { 366 | declare module.exports: any 367 | } 368 | 369 | declare module 'eslint-plugin-react/lib/util/props' { 370 | declare module.exports: any 371 | } 372 | 373 | declare module 'eslint-plugin-react/lib/util/propTypes' { 374 | declare module.exports: any 375 | } 376 | 377 | declare module 'eslint-plugin-react/lib/util/variable' { 378 | declare module.exports: any 379 | } 380 | 381 | declare module 'eslint-plugin-react/lib/util/version' { 382 | declare module.exports: any 383 | } 384 | 385 | // Filename aliases 386 | declare module 'eslint-plugin-react/index' { 387 | declare module.exports: $Exports<'eslint-plugin-react'> 388 | } 389 | declare module 'eslint-plugin-react/index.js' { 390 | declare module.exports: $Exports<'eslint-plugin-react'> 391 | } 392 | declare module 'eslint-plugin-react/lib/rules/boolean-prop-naming.js' { 393 | declare module.exports: $Exports< 394 | 'eslint-plugin-react/lib/rules/boolean-prop-naming' 395 | > 396 | } 397 | declare module 'eslint-plugin-react/lib/rules/button-has-type.js' { 398 | declare module.exports: $Exports< 399 | 'eslint-plugin-react/lib/rules/button-has-type' 400 | > 401 | } 402 | declare module 'eslint-plugin-react/lib/rules/default-props-match-prop-types.js' { 403 | declare module.exports: $Exports< 404 | 'eslint-plugin-react/lib/rules/default-props-match-prop-types' 405 | > 406 | } 407 | declare module 'eslint-plugin-react/lib/rules/destructuring-assignment.js' { 408 | declare module.exports: $Exports< 409 | 'eslint-plugin-react/lib/rules/destructuring-assignment' 410 | > 411 | } 412 | declare module 'eslint-plugin-react/lib/rules/display-name.js' { 413 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/display-name'> 414 | } 415 | declare module 'eslint-plugin-react/lib/rules/forbid-component-props.js' { 416 | declare module.exports: $Exports< 417 | 'eslint-plugin-react/lib/rules/forbid-component-props' 418 | > 419 | } 420 | declare module 'eslint-plugin-react/lib/rules/forbid-dom-props.js' { 421 | declare module.exports: $Exports< 422 | 'eslint-plugin-react/lib/rules/forbid-dom-props' 423 | > 424 | } 425 | declare module 'eslint-plugin-react/lib/rules/forbid-elements.js' { 426 | declare module.exports: $Exports< 427 | 'eslint-plugin-react/lib/rules/forbid-elements' 428 | > 429 | } 430 | declare module 'eslint-plugin-react/lib/rules/forbid-foreign-prop-types.js' { 431 | declare module.exports: $Exports< 432 | 'eslint-plugin-react/lib/rules/forbid-foreign-prop-types' 433 | > 434 | } 435 | declare module 'eslint-plugin-react/lib/rules/forbid-prop-types.js' { 436 | declare module.exports: $Exports< 437 | 'eslint-plugin-react/lib/rules/forbid-prop-types' 438 | > 439 | } 440 | declare module 'eslint-plugin-react/lib/rules/jsx-boolean-value.js' { 441 | declare module.exports: $Exports< 442 | 'eslint-plugin-react/lib/rules/jsx-boolean-value' 443 | > 444 | } 445 | declare module 'eslint-plugin-react/lib/rules/jsx-child-element-spacing.js' { 446 | declare module.exports: $Exports< 447 | 'eslint-plugin-react/lib/rules/jsx-child-element-spacing' 448 | > 449 | } 450 | declare module 'eslint-plugin-react/lib/rules/jsx-closing-bracket-location.js' { 451 | declare module.exports: $Exports< 452 | 'eslint-plugin-react/lib/rules/jsx-closing-bracket-location' 453 | > 454 | } 455 | declare module 'eslint-plugin-react/lib/rules/jsx-closing-tag-location.js' { 456 | declare module.exports: $Exports< 457 | 'eslint-plugin-react/lib/rules/jsx-closing-tag-location' 458 | > 459 | } 460 | declare module 'eslint-plugin-react/lib/rules/jsx-curly-brace-presence.js' { 461 | declare module.exports: $Exports< 462 | 'eslint-plugin-react/lib/rules/jsx-curly-brace-presence' 463 | > 464 | } 465 | declare module 'eslint-plugin-react/lib/rules/jsx-curly-spacing.js' { 466 | declare module.exports: $Exports< 467 | 'eslint-plugin-react/lib/rules/jsx-curly-spacing' 468 | > 469 | } 470 | declare module 'eslint-plugin-react/lib/rules/jsx-equals-spacing.js' { 471 | declare module.exports: $Exports< 472 | 'eslint-plugin-react/lib/rules/jsx-equals-spacing' 473 | > 474 | } 475 | declare module 'eslint-plugin-react/lib/rules/jsx-filename-extension.js' { 476 | declare module.exports: $Exports< 477 | 'eslint-plugin-react/lib/rules/jsx-filename-extension' 478 | > 479 | } 480 | declare module 'eslint-plugin-react/lib/rules/jsx-first-prop-new-line.js' { 481 | declare module.exports: $Exports< 482 | 'eslint-plugin-react/lib/rules/jsx-first-prop-new-line' 483 | > 484 | } 485 | declare module 'eslint-plugin-react/lib/rules/jsx-handler-names.js' { 486 | declare module.exports: $Exports< 487 | 'eslint-plugin-react/lib/rules/jsx-handler-names' 488 | > 489 | } 490 | declare module 'eslint-plugin-react/lib/rules/jsx-indent-props.js' { 491 | declare module.exports: $Exports< 492 | 'eslint-plugin-react/lib/rules/jsx-indent-props' 493 | > 494 | } 495 | declare module 'eslint-plugin-react/lib/rules/jsx-indent.js' { 496 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-indent'> 497 | } 498 | declare module 'eslint-plugin-react/lib/rules/jsx-key.js' { 499 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-key'> 500 | } 501 | declare module 'eslint-plugin-react/lib/rules/jsx-max-depth.js' { 502 | declare module.exports: $Exports< 503 | 'eslint-plugin-react/lib/rules/jsx-max-depth' 504 | > 505 | } 506 | declare module 'eslint-plugin-react/lib/rules/jsx-max-props-per-line.js' { 507 | declare module.exports: $Exports< 508 | 'eslint-plugin-react/lib/rules/jsx-max-props-per-line' 509 | > 510 | } 511 | declare module 'eslint-plugin-react/lib/rules/jsx-no-bind.js' { 512 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-bind'> 513 | } 514 | declare module 'eslint-plugin-react/lib/rules/jsx-no-comment-textnodes.js' { 515 | declare module.exports: $Exports< 516 | 'eslint-plugin-react/lib/rules/jsx-no-comment-textnodes' 517 | > 518 | } 519 | declare module 'eslint-plugin-react/lib/rules/jsx-no-duplicate-props.js' { 520 | declare module.exports: $Exports< 521 | 'eslint-plugin-react/lib/rules/jsx-no-duplicate-props' 522 | > 523 | } 524 | declare module 'eslint-plugin-react/lib/rules/jsx-no-literals.js' { 525 | declare module.exports: $Exports< 526 | 'eslint-plugin-react/lib/rules/jsx-no-literals' 527 | > 528 | } 529 | declare module 'eslint-plugin-react/lib/rules/jsx-no-target-blank.js' { 530 | declare module.exports: $Exports< 531 | 'eslint-plugin-react/lib/rules/jsx-no-target-blank' 532 | > 533 | } 534 | declare module 'eslint-plugin-react/lib/rules/jsx-no-undef.js' { 535 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-undef'> 536 | } 537 | declare module 'eslint-plugin-react/lib/rules/jsx-one-expression-per-line.js' { 538 | declare module.exports: $Exports< 539 | 'eslint-plugin-react/lib/rules/jsx-one-expression-per-line' 540 | > 541 | } 542 | declare module 'eslint-plugin-react/lib/rules/jsx-pascal-case.js' { 543 | declare module.exports: $Exports< 544 | 'eslint-plugin-react/lib/rules/jsx-pascal-case' 545 | > 546 | } 547 | declare module 'eslint-plugin-react/lib/rules/jsx-props-no-multi-spaces.js' { 548 | declare module.exports: $Exports< 549 | 'eslint-plugin-react/lib/rules/jsx-props-no-multi-spaces' 550 | > 551 | } 552 | declare module 'eslint-plugin-react/lib/rules/jsx-sort-default-props.js' { 553 | declare module.exports: $Exports< 554 | 'eslint-plugin-react/lib/rules/jsx-sort-default-props' 555 | > 556 | } 557 | declare module 'eslint-plugin-react/lib/rules/jsx-sort-props.js' { 558 | declare module.exports: $Exports< 559 | 'eslint-plugin-react/lib/rules/jsx-sort-props' 560 | > 561 | } 562 | declare module 'eslint-plugin-react/lib/rules/jsx-space-before-closing.js' { 563 | declare module.exports: $Exports< 564 | 'eslint-plugin-react/lib/rules/jsx-space-before-closing' 565 | > 566 | } 567 | declare module 'eslint-plugin-react/lib/rules/jsx-tag-spacing.js' { 568 | declare module.exports: $Exports< 569 | 'eslint-plugin-react/lib/rules/jsx-tag-spacing' 570 | > 571 | } 572 | declare module 'eslint-plugin-react/lib/rules/jsx-uses-react.js' { 573 | declare module.exports: $Exports< 574 | 'eslint-plugin-react/lib/rules/jsx-uses-react' 575 | > 576 | } 577 | declare module 'eslint-plugin-react/lib/rules/jsx-uses-vars.js' { 578 | declare module.exports: $Exports< 579 | 'eslint-plugin-react/lib/rules/jsx-uses-vars' 580 | > 581 | } 582 | declare module 'eslint-plugin-react/lib/rules/jsx-wrap-multilines.js' { 583 | declare module.exports: $Exports< 584 | 'eslint-plugin-react/lib/rules/jsx-wrap-multilines' 585 | > 586 | } 587 | declare module 'eslint-plugin-react/lib/rules/no-access-state-in-setstate.js' { 588 | declare module.exports: $Exports< 589 | 'eslint-plugin-react/lib/rules/no-access-state-in-setstate' 590 | > 591 | } 592 | declare module 'eslint-plugin-react/lib/rules/no-array-index-key.js' { 593 | declare module.exports: $Exports< 594 | 'eslint-plugin-react/lib/rules/no-array-index-key' 595 | > 596 | } 597 | declare module 'eslint-plugin-react/lib/rules/no-children-prop.js' { 598 | declare module.exports: $Exports< 599 | 'eslint-plugin-react/lib/rules/no-children-prop' 600 | > 601 | } 602 | declare module 'eslint-plugin-react/lib/rules/no-danger-with-children.js' { 603 | declare module.exports: $Exports< 604 | 'eslint-plugin-react/lib/rules/no-danger-with-children' 605 | > 606 | } 607 | declare module 'eslint-plugin-react/lib/rules/no-danger.js' { 608 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-danger'> 609 | } 610 | declare module 'eslint-plugin-react/lib/rules/no-deprecated.js' { 611 | declare module.exports: $Exports< 612 | 'eslint-plugin-react/lib/rules/no-deprecated' 613 | > 614 | } 615 | declare module 'eslint-plugin-react/lib/rules/no-did-mount-set-state.js' { 616 | declare module.exports: $Exports< 617 | 'eslint-plugin-react/lib/rules/no-did-mount-set-state' 618 | > 619 | } 620 | declare module 'eslint-plugin-react/lib/rules/no-did-update-set-state.js' { 621 | declare module.exports: $Exports< 622 | 'eslint-plugin-react/lib/rules/no-did-update-set-state' 623 | > 624 | } 625 | declare module 'eslint-plugin-react/lib/rules/no-direct-mutation-state.js' { 626 | declare module.exports: $Exports< 627 | 'eslint-plugin-react/lib/rules/no-direct-mutation-state' 628 | > 629 | } 630 | declare module 'eslint-plugin-react/lib/rules/no-find-dom-node.js' { 631 | declare module.exports: $Exports< 632 | 'eslint-plugin-react/lib/rules/no-find-dom-node' 633 | > 634 | } 635 | declare module 'eslint-plugin-react/lib/rules/no-is-mounted.js' { 636 | declare module.exports: $Exports< 637 | 'eslint-plugin-react/lib/rules/no-is-mounted' 638 | > 639 | } 640 | declare module 'eslint-plugin-react/lib/rules/no-multi-comp.js' { 641 | declare module.exports: $Exports< 642 | 'eslint-plugin-react/lib/rules/no-multi-comp' 643 | > 644 | } 645 | declare module 'eslint-plugin-react/lib/rules/no-redundant-should-component-update.js' { 646 | declare module.exports: $Exports< 647 | 'eslint-plugin-react/lib/rules/no-redundant-should-component-update' 648 | > 649 | } 650 | declare module 'eslint-plugin-react/lib/rules/no-render-return-value.js' { 651 | declare module.exports: $Exports< 652 | 'eslint-plugin-react/lib/rules/no-render-return-value' 653 | > 654 | } 655 | declare module 'eslint-plugin-react/lib/rules/no-set-state.js' { 656 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-set-state'> 657 | } 658 | declare module 'eslint-plugin-react/lib/rules/no-string-refs.js' { 659 | declare module.exports: $Exports< 660 | 'eslint-plugin-react/lib/rules/no-string-refs' 661 | > 662 | } 663 | declare module 'eslint-plugin-react/lib/rules/no-this-in-sfc.js' { 664 | declare module.exports: $Exports< 665 | 'eslint-plugin-react/lib/rules/no-this-in-sfc' 666 | > 667 | } 668 | declare module 'eslint-plugin-react/lib/rules/no-typos.js' { 669 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-typos'> 670 | } 671 | declare module 'eslint-plugin-react/lib/rules/no-unescaped-entities.js' { 672 | declare module.exports: $Exports< 673 | 'eslint-plugin-react/lib/rules/no-unescaped-entities' 674 | > 675 | } 676 | declare module 'eslint-plugin-react/lib/rules/no-unknown-property.js' { 677 | declare module.exports: $Exports< 678 | 'eslint-plugin-react/lib/rules/no-unknown-property' 679 | > 680 | } 681 | declare module 'eslint-plugin-react/lib/rules/no-unsafe.js' { 682 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-unsafe'> 683 | } 684 | declare module 'eslint-plugin-react/lib/rules/no-unused-prop-types.js' { 685 | declare module.exports: $Exports< 686 | 'eslint-plugin-react/lib/rules/no-unused-prop-types' 687 | > 688 | } 689 | declare module 'eslint-plugin-react/lib/rules/no-unused-state.js' { 690 | declare module.exports: $Exports< 691 | 'eslint-plugin-react/lib/rules/no-unused-state' 692 | > 693 | } 694 | declare module 'eslint-plugin-react/lib/rules/no-will-update-set-state.js' { 695 | declare module.exports: $Exports< 696 | 'eslint-plugin-react/lib/rules/no-will-update-set-state' 697 | > 698 | } 699 | declare module 'eslint-plugin-react/lib/rules/prefer-es6-class.js' { 700 | declare module.exports: $Exports< 701 | 'eslint-plugin-react/lib/rules/prefer-es6-class' 702 | > 703 | } 704 | declare module 'eslint-plugin-react/lib/rules/prefer-stateless-function.js' { 705 | declare module.exports: $Exports< 706 | 'eslint-plugin-react/lib/rules/prefer-stateless-function' 707 | > 708 | } 709 | declare module 'eslint-plugin-react/lib/rules/prop-types.js' { 710 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/prop-types'> 711 | } 712 | declare module 'eslint-plugin-react/lib/rules/react-in-jsx-scope.js' { 713 | declare module.exports: $Exports< 714 | 'eslint-plugin-react/lib/rules/react-in-jsx-scope' 715 | > 716 | } 717 | declare module 'eslint-plugin-react/lib/rules/require-default-props.js' { 718 | declare module.exports: $Exports< 719 | 'eslint-plugin-react/lib/rules/require-default-props' 720 | > 721 | } 722 | declare module 'eslint-plugin-react/lib/rules/require-optimization.js' { 723 | declare module.exports: $Exports< 724 | 'eslint-plugin-react/lib/rules/require-optimization' 725 | > 726 | } 727 | declare module 'eslint-plugin-react/lib/rules/require-render-return.js' { 728 | declare module.exports: $Exports< 729 | 'eslint-plugin-react/lib/rules/require-render-return' 730 | > 731 | } 732 | declare module 'eslint-plugin-react/lib/rules/self-closing-comp.js' { 733 | declare module.exports: $Exports< 734 | 'eslint-plugin-react/lib/rules/self-closing-comp' 735 | > 736 | } 737 | declare module 'eslint-plugin-react/lib/rules/sort-comp.js' { 738 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/sort-comp'> 739 | } 740 | declare module 'eslint-plugin-react/lib/rules/sort-prop-types.js' { 741 | declare module.exports: $Exports< 742 | 'eslint-plugin-react/lib/rules/sort-prop-types' 743 | > 744 | } 745 | declare module 'eslint-plugin-react/lib/rules/style-prop-object.js' { 746 | declare module.exports: $Exports< 747 | 'eslint-plugin-react/lib/rules/style-prop-object' 748 | > 749 | } 750 | declare module 'eslint-plugin-react/lib/rules/void-dom-elements-no-children.js' { 751 | declare module.exports: $Exports< 752 | 'eslint-plugin-react/lib/rules/void-dom-elements-no-children' 753 | > 754 | } 755 | declare module 'eslint-plugin-react/lib/util/annotations.js' { 756 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/annotations'> 757 | } 758 | declare module 'eslint-plugin-react/lib/util/ast.js' { 759 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/ast'> 760 | } 761 | declare module 'eslint-plugin-react/lib/util/Components.js' { 762 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/Components'> 763 | } 764 | declare module 'eslint-plugin-react/lib/util/docsUrl.js' { 765 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/docsUrl'> 766 | } 767 | declare module 'eslint-plugin-react/lib/util/getTokenBeforeClosingBracket.js' { 768 | declare module.exports: $Exports< 769 | 'eslint-plugin-react/lib/util/getTokenBeforeClosingBracket' 770 | > 771 | } 772 | declare module 'eslint-plugin-react/lib/util/jsx.js' { 773 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/jsx'> 774 | } 775 | declare module 'eslint-plugin-react/lib/util/log.js' { 776 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/log'> 777 | } 778 | declare module 'eslint-plugin-react/lib/util/makeNoMethodSetStateRule.js' { 779 | declare module.exports: $Exports< 780 | 'eslint-plugin-react/lib/util/makeNoMethodSetStateRule' 781 | > 782 | } 783 | declare module 'eslint-plugin-react/lib/util/pragma.js' { 784 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/pragma'> 785 | } 786 | declare module 'eslint-plugin-react/lib/util/props.js' { 787 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/props'> 788 | } 789 | declare module 'eslint-plugin-react/lib/util/propTypes.js' { 790 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/propTypes'> 791 | } 792 | declare module 'eslint-plugin-react/lib/util/variable.js' { 793 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/variable'> 794 | } 795 | declare module 'eslint-plugin-react/lib/util/version.js' { 796 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/version'> 797 | } 798 | -------------------------------------------------------------------------------- /flow-typed/npm/eslint-watch_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: daa487a022e08bf062edbb17f6346ce5 2 | // flow-typed version: <>/eslint-watch_v^4.0.2/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'eslint-watch' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'eslint-watch' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'eslint-watch/build/arg-parser' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'eslint-watch/build/eslint/cli' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'eslint-watch/build/eslint/help' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'eslint-watch/build/executor' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'eslint-watch/build/formatters/helpers/characters' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module 'eslint-watch/build/formatters/helpers/clear-terminal' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module 'eslint-watch/build/formatters/helpers/error-warning' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module 'eslint-watch/build/formatters/helpers/success' { 54 | declare module.exports: any 55 | } 56 | 57 | declare module 'eslint-watch/build/formatters/simple-detail' { 58 | declare module.exports: any 59 | } 60 | 61 | declare module 'eslint-watch/build/formatters/simple-success' { 62 | declare module.exports: any 63 | } 64 | 65 | declare module 'eslint-watch/build/formatters/simple' { 66 | declare module.exports: any 67 | } 68 | 69 | declare module 'eslint-watch/build/index' { 70 | declare module.exports: any 71 | } 72 | 73 | declare module 'eslint-watch/build/logger' { 74 | declare module.exports: any 75 | } 76 | 77 | declare module 'eslint-watch/build/options' { 78 | declare module.exports: any 79 | } 80 | 81 | declare module 'eslint-watch/build/settings' { 82 | declare module.exports: any 83 | } 84 | 85 | declare module 'eslint-watch/build/watcher' { 86 | declare module.exports: any 87 | } 88 | 89 | // Filename aliases 90 | declare module 'eslint-watch/build/arg-parser.js' { 91 | declare module.exports: $Exports<'eslint-watch/build/arg-parser'> 92 | } 93 | declare module 'eslint-watch/build/eslint/cli.js' { 94 | declare module.exports: $Exports<'eslint-watch/build/eslint/cli'> 95 | } 96 | declare module 'eslint-watch/build/eslint/help.js' { 97 | declare module.exports: $Exports<'eslint-watch/build/eslint/help'> 98 | } 99 | declare module 'eslint-watch/build/executor.js' { 100 | declare module.exports: $Exports<'eslint-watch/build/executor'> 101 | } 102 | declare module 'eslint-watch/build/formatters/helpers/characters.js' { 103 | declare module.exports: $Exports< 104 | 'eslint-watch/build/formatters/helpers/characters' 105 | > 106 | } 107 | declare module 'eslint-watch/build/formatters/helpers/clear-terminal.js' { 108 | declare module.exports: $Exports< 109 | 'eslint-watch/build/formatters/helpers/clear-terminal' 110 | > 111 | } 112 | declare module 'eslint-watch/build/formatters/helpers/error-warning.js' { 113 | declare module.exports: $Exports< 114 | 'eslint-watch/build/formatters/helpers/error-warning' 115 | > 116 | } 117 | declare module 'eslint-watch/build/formatters/helpers/success.js' { 118 | declare module.exports: $Exports< 119 | 'eslint-watch/build/formatters/helpers/success' 120 | > 121 | } 122 | declare module 'eslint-watch/build/formatters/simple-detail.js' { 123 | declare module.exports: $Exports< 124 | 'eslint-watch/build/formatters/simple-detail' 125 | > 126 | } 127 | declare module 'eslint-watch/build/formatters/simple-success.js' { 128 | declare module.exports: $Exports< 129 | 'eslint-watch/build/formatters/simple-success' 130 | > 131 | } 132 | declare module 'eslint-watch/build/formatters/simple.js' { 133 | declare module.exports: $Exports<'eslint-watch/build/formatters/simple'> 134 | } 135 | declare module 'eslint-watch/build/index.js' { 136 | declare module.exports: $Exports<'eslint-watch/build/index'> 137 | } 138 | declare module 'eslint-watch/build/logger.js' { 139 | declare module.exports: $Exports<'eslint-watch/build/logger'> 140 | } 141 | declare module 'eslint-watch/build/options.js' { 142 | declare module.exports: $Exports<'eslint-watch/build/options'> 143 | } 144 | declare module 'eslint-watch/build/settings.js' { 145 | declare module.exports: $Exports<'eslint-watch/build/settings'> 146 | } 147 | declare module 'eslint-watch/build/watcher.js' { 148 | declare module.exports: $Exports<'eslint-watch/build/watcher'> 149 | } 150 | -------------------------------------------------------------------------------- /flow-typed/npm/flow-bin_v0.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 6a5610678d4b01e13bbfbbc62bdaf583 2 | // flow-typed version: 3817bc6980/flow-bin_v0.x.x/flow_>=v0.25.x 3 | 4 | declare module "flow-bin" { 5 | declare module.exports: string; 6 | } 7 | -------------------------------------------------------------------------------- /flow-typed/npm/flow-copy-source_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: f26b03891425823019e9a37ef0abab86 2 | // flow-typed version: <>/flow-copy-source_v^2.0.2/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'flow-copy-source' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'flow-copy-source' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'flow-copy-source/bin/flow-copy-source' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'flow-copy-source/src/index' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'flow-copy-source/src/kefir-copy-file' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'flow-copy-source/src/kefir-glob' { 38 | declare module.exports: any 39 | } 40 | 41 | // Filename aliases 42 | declare module 'flow-copy-source/bin/flow-copy-source.js' { 43 | declare module.exports: $Exports<'flow-copy-source/bin/flow-copy-source'> 44 | } 45 | declare module 'flow-copy-source/src/index.js' { 46 | declare module.exports: $Exports<'flow-copy-source/src/index'> 47 | } 48 | declare module 'flow-copy-source/src/kefir-copy-file.js' { 49 | declare module.exports: $Exports<'flow-copy-source/src/kefir-copy-file'> 50 | } 51 | declare module 'flow-copy-source/src/kefir-glob.js' { 52 | declare module.exports: $Exports<'flow-copy-source/src/kefir-glob'> 53 | } 54 | -------------------------------------------------------------------------------- /flow-typed/npm/flow-watch_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: a3fe33a211bc985978ce684ff824c0d2 2 | // flow-typed version: <>/flow-watch_v^1.1.4/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'flow-watch' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'flow-watch' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'flow-watch/src/flow-watch' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'flow-watch/src/runFlow' { 30 | declare module.exports: any 31 | } 32 | 33 | // Filename aliases 34 | declare module 'flow-watch/src/flow-watch.js' { 35 | declare module.exports: $Exports<'flow-watch/src/flow-watch'> 36 | } 37 | declare module 'flow-watch/src/runFlow.js' { 38 | declare module.exports: $Exports<'flow-watch/src/runFlow'> 39 | } 40 | -------------------------------------------------------------------------------- /flow-typed/npm/husky_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: f7d8a7e1d55e7d9f3e7d0855ddac8c6f 2 | // flow-typed version: <>/husky_v^1.1.4/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'husky' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'husky' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'husky/husky' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'husky/lib/getConf' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'husky/lib/installer/bin' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'husky/lib/installer/getScript' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'husky/lib/installer/index' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module 'husky/lib/installer/is' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module 'husky/lib/installer/resolveGitDir' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module 'husky/lib/runner/bin' { 54 | declare module.exports: any 55 | } 56 | 57 | declare module 'husky/lib/runner/index' { 58 | declare module.exports: any 59 | } 60 | 61 | declare module 'husky/lib/upgrader/bin' { 62 | declare module.exports: any 63 | } 64 | 65 | declare module 'husky/lib/upgrader/index' { 66 | declare module.exports: any 67 | } 68 | 69 | declare module 'husky/run' { 70 | declare module.exports: any 71 | } 72 | 73 | // Filename aliases 74 | declare module 'husky/husky.js' { 75 | declare module.exports: $Exports<'husky/husky'> 76 | } 77 | declare module 'husky/lib/getConf.js' { 78 | declare module.exports: $Exports<'husky/lib/getConf'> 79 | } 80 | declare module 'husky/lib/installer/bin.js' { 81 | declare module.exports: $Exports<'husky/lib/installer/bin'> 82 | } 83 | declare module 'husky/lib/installer/getScript.js' { 84 | declare module.exports: $Exports<'husky/lib/installer/getScript'> 85 | } 86 | declare module 'husky/lib/installer/index.js' { 87 | declare module.exports: $Exports<'husky/lib/installer/index'> 88 | } 89 | declare module 'husky/lib/installer/is.js' { 90 | declare module.exports: $Exports<'husky/lib/installer/is'> 91 | } 92 | declare module 'husky/lib/installer/resolveGitDir.js' { 93 | declare module.exports: $Exports<'husky/lib/installer/resolveGitDir'> 94 | } 95 | declare module 'husky/lib/runner/bin.js' { 96 | declare module.exports: $Exports<'husky/lib/runner/bin'> 97 | } 98 | declare module 'husky/lib/runner/index.js' { 99 | declare module.exports: $Exports<'husky/lib/runner/index'> 100 | } 101 | declare module 'husky/lib/upgrader/bin.js' { 102 | declare module.exports: $Exports<'husky/lib/upgrader/bin'> 103 | } 104 | declare module 'husky/lib/upgrader/index.js' { 105 | declare module.exports: $Exports<'husky/lib/upgrader/index'> 106 | } 107 | declare module 'husky/run.js' { 108 | declare module.exports: $Exports<'husky/run'> 109 | } 110 | -------------------------------------------------------------------------------- /flow-typed/npm/istanbul_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: d121b53d7d118b590e8925bbd7bdbbf5 2 | // flow-typed version: <>/istanbul_v^0.4.5/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'istanbul' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'istanbul' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'istanbul/lib/assets/sorter' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'istanbul/lib/assets/vendor/prettify' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'istanbul/lib/cli' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'istanbul/lib/collector' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'istanbul/lib/command/check-coverage' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module 'istanbul/lib/command/common/run-with-cover' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module 'istanbul/lib/command/cover' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module 'istanbul/lib/command/help' { 54 | declare module.exports: any 55 | } 56 | 57 | declare module 'istanbul/lib/command/index' { 58 | declare module.exports: any 59 | } 60 | 61 | declare module 'istanbul/lib/command/instrument' { 62 | declare module.exports: any 63 | } 64 | 65 | declare module 'istanbul/lib/command/report' { 66 | declare module.exports: any 67 | } 68 | 69 | declare module 'istanbul/lib/command/test' { 70 | declare module.exports: any 71 | } 72 | 73 | declare module 'istanbul/lib/config' { 74 | declare module.exports: any 75 | } 76 | 77 | declare module 'istanbul/lib/hook' { 78 | declare module.exports: any 79 | } 80 | 81 | declare module 'istanbul/lib/instrumenter' { 82 | declare module.exports: any 83 | } 84 | 85 | declare module 'istanbul/lib/object-utils' { 86 | declare module.exports: any 87 | } 88 | 89 | declare module 'istanbul/lib/register-plugins' { 90 | declare module.exports: any 91 | } 92 | 93 | declare module 'istanbul/lib/report/clover' { 94 | declare module.exports: any 95 | } 96 | 97 | declare module 'istanbul/lib/report/cobertura' { 98 | declare module.exports: any 99 | } 100 | 101 | declare module 'istanbul/lib/report/common/defaults' { 102 | declare module.exports: any 103 | } 104 | 105 | declare module 'istanbul/lib/report/html' { 106 | declare module.exports: any 107 | } 108 | 109 | declare module 'istanbul/lib/report/index' { 110 | declare module.exports: any 111 | } 112 | 113 | declare module 'istanbul/lib/report/json-summary' { 114 | declare module.exports: any 115 | } 116 | 117 | declare module 'istanbul/lib/report/json' { 118 | declare module.exports: any 119 | } 120 | 121 | declare module 'istanbul/lib/report/lcov' { 122 | declare module.exports: any 123 | } 124 | 125 | declare module 'istanbul/lib/report/lcovonly' { 126 | declare module.exports: any 127 | } 128 | 129 | declare module 'istanbul/lib/report/none' { 130 | declare module.exports: any 131 | } 132 | 133 | declare module 'istanbul/lib/report/teamcity' { 134 | declare module.exports: any 135 | } 136 | 137 | declare module 'istanbul/lib/report/text-lcov' { 138 | declare module.exports: any 139 | } 140 | 141 | declare module 'istanbul/lib/report/text-summary' { 142 | declare module.exports: any 143 | } 144 | 145 | declare module 'istanbul/lib/report/text' { 146 | declare module.exports: any 147 | } 148 | 149 | declare module 'istanbul/lib/reporter' { 150 | declare module.exports: any 151 | } 152 | 153 | declare module 'istanbul/lib/store/fslookup' { 154 | declare module.exports: any 155 | } 156 | 157 | declare module 'istanbul/lib/store/index' { 158 | declare module.exports: any 159 | } 160 | 161 | declare module 'istanbul/lib/store/memory' { 162 | declare module.exports: any 163 | } 164 | 165 | declare module 'istanbul/lib/store/tmp' { 166 | declare module.exports: any 167 | } 168 | 169 | declare module 'istanbul/lib/util/factory' { 170 | declare module.exports: any 171 | } 172 | 173 | declare module 'istanbul/lib/util/file-matcher' { 174 | declare module.exports: any 175 | } 176 | 177 | declare module 'istanbul/lib/util/file-writer' { 178 | declare module.exports: any 179 | } 180 | 181 | declare module 'istanbul/lib/util/help-formatter' { 182 | declare module.exports: any 183 | } 184 | 185 | declare module 'istanbul/lib/util/input-error' { 186 | declare module.exports: any 187 | } 188 | 189 | declare module 'istanbul/lib/util/insertion-text' { 190 | declare module.exports: any 191 | } 192 | 193 | declare module 'istanbul/lib/util/meta' { 194 | declare module.exports: any 195 | } 196 | 197 | declare module 'istanbul/lib/util/tree-summarizer' { 198 | declare module.exports: any 199 | } 200 | 201 | declare module 'istanbul/lib/util/writer' { 202 | declare module.exports: any 203 | } 204 | 205 | declare module 'istanbul/lib/util/yui-load-hook' { 206 | declare module.exports: any 207 | } 208 | 209 | // Filename aliases 210 | declare module 'istanbul/index' { 211 | declare module.exports: $Exports<'istanbul'> 212 | } 213 | declare module 'istanbul/index.js' { 214 | declare module.exports: $Exports<'istanbul'> 215 | } 216 | declare module 'istanbul/lib/assets/sorter.js' { 217 | declare module.exports: $Exports<'istanbul/lib/assets/sorter'> 218 | } 219 | declare module 'istanbul/lib/assets/vendor/prettify.js' { 220 | declare module.exports: $Exports<'istanbul/lib/assets/vendor/prettify'> 221 | } 222 | declare module 'istanbul/lib/cli.js' { 223 | declare module.exports: $Exports<'istanbul/lib/cli'> 224 | } 225 | declare module 'istanbul/lib/collector.js' { 226 | declare module.exports: $Exports<'istanbul/lib/collector'> 227 | } 228 | declare module 'istanbul/lib/command/check-coverage.js' { 229 | declare module.exports: $Exports<'istanbul/lib/command/check-coverage'> 230 | } 231 | declare module 'istanbul/lib/command/common/run-with-cover.js' { 232 | declare module.exports: $Exports<'istanbul/lib/command/common/run-with-cover'> 233 | } 234 | declare module 'istanbul/lib/command/cover.js' { 235 | declare module.exports: $Exports<'istanbul/lib/command/cover'> 236 | } 237 | declare module 'istanbul/lib/command/help.js' { 238 | declare module.exports: $Exports<'istanbul/lib/command/help'> 239 | } 240 | declare module 'istanbul/lib/command/index.js' { 241 | declare module.exports: $Exports<'istanbul/lib/command/index'> 242 | } 243 | declare module 'istanbul/lib/command/instrument.js' { 244 | declare module.exports: $Exports<'istanbul/lib/command/instrument'> 245 | } 246 | declare module 'istanbul/lib/command/report.js' { 247 | declare module.exports: $Exports<'istanbul/lib/command/report'> 248 | } 249 | declare module 'istanbul/lib/command/test.js' { 250 | declare module.exports: $Exports<'istanbul/lib/command/test'> 251 | } 252 | declare module 'istanbul/lib/config.js' { 253 | declare module.exports: $Exports<'istanbul/lib/config'> 254 | } 255 | declare module 'istanbul/lib/hook.js' { 256 | declare module.exports: $Exports<'istanbul/lib/hook'> 257 | } 258 | declare module 'istanbul/lib/instrumenter.js' { 259 | declare module.exports: $Exports<'istanbul/lib/instrumenter'> 260 | } 261 | declare module 'istanbul/lib/object-utils.js' { 262 | declare module.exports: $Exports<'istanbul/lib/object-utils'> 263 | } 264 | declare module 'istanbul/lib/register-plugins.js' { 265 | declare module.exports: $Exports<'istanbul/lib/register-plugins'> 266 | } 267 | declare module 'istanbul/lib/report/clover.js' { 268 | declare module.exports: $Exports<'istanbul/lib/report/clover'> 269 | } 270 | declare module 'istanbul/lib/report/cobertura.js' { 271 | declare module.exports: $Exports<'istanbul/lib/report/cobertura'> 272 | } 273 | declare module 'istanbul/lib/report/common/defaults.js' { 274 | declare module.exports: $Exports<'istanbul/lib/report/common/defaults'> 275 | } 276 | declare module 'istanbul/lib/report/html.js' { 277 | declare module.exports: $Exports<'istanbul/lib/report/html'> 278 | } 279 | declare module 'istanbul/lib/report/index.js' { 280 | declare module.exports: $Exports<'istanbul/lib/report/index'> 281 | } 282 | declare module 'istanbul/lib/report/json-summary.js' { 283 | declare module.exports: $Exports<'istanbul/lib/report/json-summary'> 284 | } 285 | declare module 'istanbul/lib/report/json.js' { 286 | declare module.exports: $Exports<'istanbul/lib/report/json'> 287 | } 288 | declare module 'istanbul/lib/report/lcov.js' { 289 | declare module.exports: $Exports<'istanbul/lib/report/lcov'> 290 | } 291 | declare module 'istanbul/lib/report/lcovonly.js' { 292 | declare module.exports: $Exports<'istanbul/lib/report/lcovonly'> 293 | } 294 | declare module 'istanbul/lib/report/none.js' { 295 | declare module.exports: $Exports<'istanbul/lib/report/none'> 296 | } 297 | declare module 'istanbul/lib/report/teamcity.js' { 298 | declare module.exports: $Exports<'istanbul/lib/report/teamcity'> 299 | } 300 | declare module 'istanbul/lib/report/text-lcov.js' { 301 | declare module.exports: $Exports<'istanbul/lib/report/text-lcov'> 302 | } 303 | declare module 'istanbul/lib/report/text-summary.js' { 304 | declare module.exports: $Exports<'istanbul/lib/report/text-summary'> 305 | } 306 | declare module 'istanbul/lib/report/text.js' { 307 | declare module.exports: $Exports<'istanbul/lib/report/text'> 308 | } 309 | declare module 'istanbul/lib/reporter.js' { 310 | declare module.exports: $Exports<'istanbul/lib/reporter'> 311 | } 312 | declare module 'istanbul/lib/store/fslookup.js' { 313 | declare module.exports: $Exports<'istanbul/lib/store/fslookup'> 314 | } 315 | declare module 'istanbul/lib/store/index.js' { 316 | declare module.exports: $Exports<'istanbul/lib/store/index'> 317 | } 318 | declare module 'istanbul/lib/store/memory.js' { 319 | declare module.exports: $Exports<'istanbul/lib/store/memory'> 320 | } 321 | declare module 'istanbul/lib/store/tmp.js' { 322 | declare module.exports: $Exports<'istanbul/lib/store/tmp'> 323 | } 324 | declare module 'istanbul/lib/util/factory.js' { 325 | declare module.exports: $Exports<'istanbul/lib/util/factory'> 326 | } 327 | declare module 'istanbul/lib/util/file-matcher.js' { 328 | declare module.exports: $Exports<'istanbul/lib/util/file-matcher'> 329 | } 330 | declare module 'istanbul/lib/util/file-writer.js' { 331 | declare module.exports: $Exports<'istanbul/lib/util/file-writer'> 332 | } 333 | declare module 'istanbul/lib/util/help-formatter.js' { 334 | declare module.exports: $Exports<'istanbul/lib/util/help-formatter'> 335 | } 336 | declare module 'istanbul/lib/util/input-error.js' { 337 | declare module.exports: $Exports<'istanbul/lib/util/input-error'> 338 | } 339 | declare module 'istanbul/lib/util/insertion-text.js' { 340 | declare module.exports: $Exports<'istanbul/lib/util/insertion-text'> 341 | } 342 | declare module 'istanbul/lib/util/meta.js' { 343 | declare module.exports: $Exports<'istanbul/lib/util/meta'> 344 | } 345 | declare module 'istanbul/lib/util/tree-summarizer.js' { 346 | declare module.exports: $Exports<'istanbul/lib/util/tree-summarizer'> 347 | } 348 | declare module 'istanbul/lib/util/writer.js' { 349 | declare module.exports: $Exports<'istanbul/lib/util/writer'> 350 | } 351 | declare module 'istanbul/lib/util/yui-load-hook.js' { 352 | declare module.exports: $Exports<'istanbul/lib/util/yui-load-hook'> 353 | } 354 | -------------------------------------------------------------------------------- /flow-typed/npm/jsdom-global_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 6a908536b2ea9dbc743e96ca3db3cd39 2 | // flow-typed version: <>/jsdom-global_v^3.0.2/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'jsdom-global' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'jsdom-global' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'jsdom-global/browser' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'jsdom-global/keys' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'jsdom-global/register' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'jsdom-global/test' { 38 | declare module.exports: any 39 | } 40 | 41 | // Filename aliases 42 | declare module 'jsdom-global/browser.js' { 43 | declare module.exports: $Exports<'jsdom-global/browser'> 44 | } 45 | declare module 'jsdom-global/index' { 46 | declare module.exports: $Exports<'jsdom-global'> 47 | } 48 | declare module 'jsdom-global/index.js' { 49 | declare module.exports: $Exports<'jsdom-global'> 50 | } 51 | declare module 'jsdom-global/keys.js' { 52 | declare module.exports: $Exports<'jsdom-global/keys'> 53 | } 54 | declare module 'jsdom-global/register.js' { 55 | declare module.exports: $Exports<'jsdom-global/register'> 56 | } 57 | declare module 'jsdom-global/test.js' { 58 | declare module.exports: $Exports<'jsdom-global/test'> 59 | } 60 | -------------------------------------------------------------------------------- /flow-typed/npm/lint-staged_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 49c11b60f8b35b82a5217b0408255150 2 | // flow-typed version: <>/lint-staged_v^8.0.4/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'lint-staged' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'lint-staged' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'lint-staged/src/calcChunkSize' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'lint-staged/src/checkPkgScripts' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'lint-staged/src/findBin' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'lint-staged/src/generateTasks' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'lint-staged/src/getConfig' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module 'lint-staged/src/gitWorkflow' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module 'lint-staged/src/index' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module 'lint-staged/src/makeCmdTasks' { 54 | declare module.exports: any 55 | } 56 | 57 | declare module 'lint-staged/src/printErrors' { 58 | declare module.exports: any 59 | } 60 | 61 | declare module 'lint-staged/src/resolveGitDir' { 62 | declare module.exports: any 63 | } 64 | 65 | declare module 'lint-staged/src/resolveTaskFn' { 66 | declare module.exports: any 67 | } 68 | 69 | declare module 'lint-staged/src/runAll' { 70 | declare module.exports: any 71 | } 72 | 73 | // Filename aliases 74 | declare module 'lint-staged/index' { 75 | declare module.exports: $Exports<'lint-staged'> 76 | } 77 | declare module 'lint-staged/index.js' { 78 | declare module.exports: $Exports<'lint-staged'> 79 | } 80 | declare module 'lint-staged/src/calcChunkSize.js' { 81 | declare module.exports: $Exports<'lint-staged/src/calcChunkSize'> 82 | } 83 | declare module 'lint-staged/src/checkPkgScripts.js' { 84 | declare module.exports: $Exports<'lint-staged/src/checkPkgScripts'> 85 | } 86 | declare module 'lint-staged/src/findBin.js' { 87 | declare module.exports: $Exports<'lint-staged/src/findBin'> 88 | } 89 | declare module 'lint-staged/src/generateTasks.js' { 90 | declare module.exports: $Exports<'lint-staged/src/generateTasks'> 91 | } 92 | declare module 'lint-staged/src/getConfig.js' { 93 | declare module.exports: $Exports<'lint-staged/src/getConfig'> 94 | } 95 | declare module 'lint-staged/src/gitWorkflow.js' { 96 | declare module.exports: $Exports<'lint-staged/src/gitWorkflow'> 97 | } 98 | declare module 'lint-staged/src/index.js' { 99 | declare module.exports: $Exports<'lint-staged/src/index'> 100 | } 101 | declare module 'lint-staged/src/makeCmdTasks.js' { 102 | declare module.exports: $Exports<'lint-staged/src/makeCmdTasks'> 103 | } 104 | declare module 'lint-staged/src/printErrors.js' { 105 | declare module.exports: $Exports<'lint-staged/src/printErrors'> 106 | } 107 | declare module 'lint-staged/src/resolveGitDir.js' { 108 | declare module.exports: $Exports<'lint-staged/src/resolveGitDir'> 109 | } 110 | declare module 'lint-staged/src/resolveTaskFn.js' { 111 | declare module.exports: $Exports<'lint-staged/src/resolveTaskFn'> 112 | } 113 | declare module 'lint-staged/src/runAll.js' { 114 | declare module.exports: $Exports<'lint-staged/src/runAll'> 115 | } 116 | -------------------------------------------------------------------------------- /flow-typed/npm/mocha_v6.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 20b0652486d454dcf866e33655eab87e 2 | // flow-typed version: 43576b1807/mocha_v6.x.x/flow_>=v0.28.x 3 | 4 | declare interface $npm$mocha$SetupOptions { 5 | slow?: number; 6 | timeout?: number; 7 | ui?: string; 8 | globals?: Array; 9 | reporter?: any; 10 | bail?: boolean; 11 | ignoreLeaks?: boolean; 12 | grep?: any; 13 | } 14 | 15 | declare type $npm$mocha$done = (error?: any) => any 16 | 17 | // declare interface $npm$mocha$SuiteCallbackContext { 18 | // timeout(ms: number): void; 19 | // retries(n: number): void; 20 | // slow(ms: number): void; 21 | // } 22 | 23 | // declare interface $npm$mocha$TestCallbackContext { 24 | // skip(): void; 25 | // timeout(ms: number): void; 26 | // retries(n: number): void; 27 | // slow(ms: number): void; 28 | // [index: string]: any; 29 | // } 30 | 31 | declare interface $npm$mocha$Suite { 32 | parent: $npm$mocha$Suite; 33 | title: string; 34 | fullTitle(): string; 35 | } 36 | 37 | declare interface $npm$mocha$ContextDefinition { 38 | ( 39 | description: string, 40 | callback: () => /* this: $npm$mocha$SuiteCallbackContext */ void 41 | ): $npm$mocha$Suite; 42 | only( 43 | description: string, 44 | callback: () => /* this: $npm$mocha$SuiteCallbackContext */ void 45 | ): $npm$mocha$Suite; 46 | skip( 47 | description: string, 48 | callback: () => /* this: $npm$mocha$SuiteCallbackContext */ void 49 | ): void; 50 | timeout(ms: number): void; 51 | } 52 | 53 | declare interface $npm$mocha$TestDefinition { 54 | ( 55 | expectation: string, 56 | callback?: ( 57 | /* this: $npm$mocha$TestCallbackContext, */ done: $npm$mocha$done 58 | ) => mixed 59 | ): $npm$mocha$Test; 60 | only( 61 | expectation: string, 62 | callback?: ( 63 | /* this: $npm$mocha$TestCallbackContext, */ done: $npm$mocha$done 64 | ) => mixed 65 | ): $npm$mocha$Test; 66 | skip( 67 | expectation: string, 68 | callback?: ( 69 | /* this: $npm$mocha$TestCallbackContext, */ done: $npm$mocha$done 70 | ) => mixed 71 | ): void; 72 | timeout(ms: number): void; 73 | state: 'failed' | 'passed'; 74 | } 75 | 76 | declare interface $npm$mocha$Runner {} 77 | 78 | declare class $npm$mocha$BaseReporter { 79 | stats: { 80 | suites: number, 81 | tests: number, 82 | passes: number, 83 | pending: number, 84 | failures: number, 85 | }; 86 | 87 | constructor(runner: $npm$mocha$Runner): $npm$mocha$BaseReporter; 88 | } 89 | 90 | declare class $npm$mocha$DocReporter extends $npm$mocha$BaseReporter {} 91 | declare class $npm$mocha$DotReporter extends $npm$mocha$BaseReporter {} 92 | declare class $npm$mocha$HTMLReporter extends $npm$mocha$BaseReporter {} 93 | declare class $npm$mocha$HTMLCovReporter extends $npm$mocha$BaseReporter {} 94 | declare class $npm$mocha$JSONReporter extends $npm$mocha$BaseReporter {} 95 | declare class $npm$mocha$JSONCovReporter extends $npm$mocha$BaseReporter {} 96 | declare class $npm$mocha$JSONStreamReporter extends $npm$mocha$BaseReporter {} 97 | declare class $npm$mocha$LandingReporter extends $npm$mocha$BaseReporter {} 98 | declare class $npm$mocha$ListReporter extends $npm$mocha$BaseReporter {} 99 | declare class $npm$mocha$MarkdownReporter extends $npm$mocha$BaseReporter {} 100 | declare class $npm$mocha$MinReporter extends $npm$mocha$BaseReporter {} 101 | declare class $npm$mocha$NyanReporter extends $npm$mocha$BaseReporter {} 102 | declare class $npm$mocha$ProgressReporter extends $npm$mocha$BaseReporter { 103 | constructor( 104 | runner: $npm$mocha$Runner, 105 | options?: { 106 | open?: string, 107 | complete?: string, 108 | incomplete?: string, 109 | close?: string, 110 | } 111 | ): $npm$mocha$ProgressReporter; 112 | } 113 | declare class $npm$mocha$SpecReporter extends $npm$mocha$BaseReporter {} 114 | declare class $npm$mocha$TAPReporter extends $npm$mocha$BaseReporter {} 115 | declare class $npm$mocha$XUnitReporter extends $npm$mocha$BaseReporter { 116 | constructor( 117 | runner: $npm$mocha$Runner, 118 | options?: any 119 | ): $npm$mocha$XUnitReporter; 120 | } 121 | 122 | declare class $npm$mocha$Mocha { 123 | currentTest: $npm$mocha$TestDefinition; 124 | constructor(options?: { 125 | grep?: RegExp, 126 | ui?: string, 127 | reporter?: string, 128 | timeout?: number, 129 | reporterOptions?: any, 130 | slow?: number, 131 | bail?: boolean, 132 | }): $npm$mocha$Mocha; 133 | setup(options: $npm$mocha$SetupOptions): this; 134 | bail(value?: boolean): this; 135 | addFile(file: string): this; 136 | reporter(name: string): this; 137 | reporter(reporter: (runner: $npm$mocha$Runner, options: any) => any): this; 138 | ui(value: string): this; 139 | grep(value: string): this; 140 | grep(value: RegExp): this; 141 | invert(): this; 142 | ignoreLeaks(value: boolean): this; 143 | checkLeaks(): this; 144 | throwError(error: Error): void; 145 | growl(): this; 146 | globals(value: string): this; 147 | globals(values: Array): this; 148 | useColors(value: boolean): this; 149 | useInlineDiffs(value: boolean): this; 150 | timeout(value: number): this; 151 | slow(value: number): this; 152 | enableTimeouts(value: boolean): this; 153 | asyncOnly(value: boolean): this; 154 | noHighlighting(value: boolean): this; 155 | run(onComplete?: (failures: number) => void): $npm$mocha$Runner; 156 | 157 | static reporters: { 158 | Doc: $npm$mocha$DocReporter, 159 | Dot: $npm$mocha$DotReporter, 160 | HTML: $npm$mocha$HTMLReporter, 161 | HTMLCov: $npm$mocha$HTMLCovReporter, 162 | JSON: $npm$mocha$JSONReporter, 163 | JSONCov: $npm$mocha$JSONCovReporter, 164 | JSONStream: $npm$mocha$JSONStreamReporter, 165 | Landing: $npm$mocha$LandingReporter, 166 | List: $npm$mocha$ListReporter, 167 | Markdown: $npm$mocha$MarkdownReporter, 168 | Min: $npm$mocha$MinReporter, 169 | Nyan: $npm$mocha$NyanReporter, 170 | Progress: $npm$mocha$ProgressReporter, 171 | }; 172 | } 173 | 174 | // declare interface $npm$mocha$HookCallbackContext { 175 | // skip(): void; 176 | // timeout(ms: number): void; 177 | // [index: string]: any; 178 | // } 179 | 180 | declare interface $npm$mocha$Runnable { 181 | title: string; 182 | fn: Function; 183 | async: boolean; 184 | sync: boolean; 185 | timedOut: boolean; 186 | } 187 | 188 | declare interface $npm$mocha$Test extends $npm$mocha$Runnable { 189 | parent: $npm$mocha$Suite; 190 | pending: boolean; 191 | state: 'failed' | 'passed' | void; 192 | fullTitle(): string; 193 | timeout(ms: number): void; 194 | } 195 | 196 | // declare interface $npm$mocha$BeforeAndAfterContext extends $npm$mocha$HookCallbackContext { 197 | // currentTest: $npm$mocha$Test; 198 | // } 199 | 200 | declare var mocha: $npm$mocha$Mocha 201 | declare var describe: $npm$mocha$ContextDefinition 202 | declare var xdescribe: $npm$mocha$ContextDefinition 203 | declare var context: $npm$mocha$ContextDefinition 204 | declare var suite: $npm$mocha$ContextDefinition 205 | declare var it: $npm$mocha$TestDefinition 206 | declare var xit: $npm$mocha$TestDefinition 207 | declare var test: $npm$mocha$TestDefinition 208 | declare var specify: $npm$mocha$TestDefinition 209 | 210 | declare function run(): void 211 | 212 | declare function setup( 213 | callback: ( 214 | /* this: $npm$mocha$BeforeAndAfterContext, */ done: $npm$mocha$done 215 | ) => mixed 216 | ): void 217 | declare function teardown( 218 | callback: ( 219 | /* this: $npm$mocha$BeforeAndAfterContext, */ done: $npm$mocha$done 220 | ) => mixed 221 | ): void 222 | declare function suiteSetup( 223 | callback: ( 224 | /* this: $npm$mocha$HookCallbackContext, */ done: $npm$mocha$done 225 | ) => mixed 226 | ): void 227 | declare function suiteTeardown( 228 | callback: ( 229 | /* this: $npm$mocha$HookCallbackContext, */ done: $npm$mocha$done 230 | ) => mixed 231 | ): void 232 | declare function before( 233 | callback: ( 234 | /* this: $npm$mocha$HookCallbackContext, */ done: $npm$mocha$done 235 | ) => mixed 236 | ): void 237 | declare function before( 238 | description: string, 239 | callback: ( 240 | /* this: $npm$mocha$HookCallbackContext, */ done: $npm$mocha$done 241 | ) => mixed 242 | ): void 243 | declare function after( 244 | callback: ( 245 | /* this: $npm$mocha$HookCallbackContext, */ done: $npm$mocha$done 246 | ) => mixed 247 | ): void 248 | declare function after( 249 | description: string, 250 | callback: ( 251 | /* this: $npm$mocha$HookCallbackContext, */ done: $npm$mocha$done 252 | ) => mixed 253 | ): void 254 | declare function beforeEach( 255 | callback: ( 256 | /* this: $npm$mocha$BeforeAndAfterContext, */ done: $npm$mocha$done 257 | ) => mixed 258 | ): void 259 | declare function beforeEach( 260 | description: string, 261 | callback: ( 262 | /* this: $npm$mocha$BeforeAndAfterContext, */ done: $npm$mocha$done 263 | ) => mixed 264 | ): void 265 | declare function afterEach( 266 | callback: ( 267 | /* this: $npm$mocha$BeforeAndAfterContext, */ done: $npm$mocha$done 268 | ) => mixed 269 | ): void 270 | declare function afterEach( 271 | description: string, 272 | callback: ( 273 | /* this: $npm$mocha$BeforeAndAfterContext, */ done: $npm$mocha$done 274 | ) => mixed 275 | ): void 276 | 277 | declare module 'mocha' { 278 | declare export var mocha: typeof mocha 279 | declare export var describe: typeof describe 280 | declare export var xdescribe: typeof xdescribe 281 | declare export var context: typeof context 282 | declare export var suite: typeof suite 283 | declare export var it: typeof it 284 | declare export var xit: typeof xit 285 | declare export var test: typeof test 286 | declare export var specify: typeof specify 287 | 288 | declare export var run: typeof run 289 | 290 | declare export var setup: typeof setup 291 | declare export var teardown: typeof teardown 292 | declare export var suiteSetup: typeof suiteSetup 293 | declare export var suiteTeardown: typeof suiteTeardown 294 | declare export var before: typeof before 295 | declare export var before: typeof before 296 | declare export var after: typeof after 297 | declare export var after: typeof after 298 | declare export var beforeEach: typeof beforeEach 299 | declare export var beforeEach: typeof beforeEach 300 | declare export var afterEach: typeof afterEach 301 | declare export var afterEach: typeof afterEach 302 | 303 | declare export default $npm$mocha$Mocha 304 | } 305 | -------------------------------------------------------------------------------- /flow-typed/npm/nyc_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 27fa5ccad37057e5176289a78cbe33f0 2 | // flow-typed version: <>/nyc_v^13.1.0/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'nyc' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'nyc' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'nyc/bin/nyc' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'nyc/bin/wrap' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'nyc/lib/commands/check-coverage' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'nyc/lib/commands/instrument' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'nyc/lib/commands/merge' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module 'nyc/lib/commands/report' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module 'nyc/lib/config-util' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module 'nyc/lib/hash' { 54 | declare module.exports: any 55 | } 56 | 57 | declare module 'nyc/lib/instrumenters/istanbul' { 58 | declare module.exports: any 59 | } 60 | 61 | declare module 'nyc/lib/instrumenters/noop' { 62 | declare module.exports: any 63 | } 64 | 65 | declare module 'nyc/lib/process-args' { 66 | declare module.exports: any 67 | } 68 | 69 | declare module 'nyc/lib/process' { 70 | declare module.exports: any 71 | } 72 | 73 | declare module 'nyc/lib/self-coverage-helper' { 74 | declare module.exports: any 75 | } 76 | 77 | declare module 'nyc/lib/source-maps' { 78 | declare module.exports: any 79 | } 80 | 81 | // Filename aliases 82 | declare module 'nyc/bin/nyc.js' { 83 | declare module.exports: $Exports<'nyc/bin/nyc'> 84 | } 85 | declare module 'nyc/bin/wrap.js' { 86 | declare module.exports: $Exports<'nyc/bin/wrap'> 87 | } 88 | declare module 'nyc/index' { 89 | declare module.exports: $Exports<'nyc'> 90 | } 91 | declare module 'nyc/index.js' { 92 | declare module.exports: $Exports<'nyc'> 93 | } 94 | declare module 'nyc/lib/commands/check-coverage.js' { 95 | declare module.exports: $Exports<'nyc/lib/commands/check-coverage'> 96 | } 97 | declare module 'nyc/lib/commands/instrument.js' { 98 | declare module.exports: $Exports<'nyc/lib/commands/instrument'> 99 | } 100 | declare module 'nyc/lib/commands/merge.js' { 101 | declare module.exports: $Exports<'nyc/lib/commands/merge'> 102 | } 103 | declare module 'nyc/lib/commands/report.js' { 104 | declare module.exports: $Exports<'nyc/lib/commands/report'> 105 | } 106 | declare module 'nyc/lib/config-util.js' { 107 | declare module.exports: $Exports<'nyc/lib/config-util'> 108 | } 109 | declare module 'nyc/lib/hash.js' { 110 | declare module.exports: $Exports<'nyc/lib/hash'> 111 | } 112 | declare module 'nyc/lib/instrumenters/istanbul.js' { 113 | declare module.exports: $Exports<'nyc/lib/instrumenters/istanbul'> 114 | } 115 | declare module 'nyc/lib/instrumenters/noop.js' { 116 | declare module.exports: $Exports<'nyc/lib/instrumenters/noop'> 117 | } 118 | declare module 'nyc/lib/process-args.js' { 119 | declare module.exports: $Exports<'nyc/lib/process-args'> 120 | } 121 | declare module 'nyc/lib/process.js' { 122 | declare module.exports: $Exports<'nyc/lib/process'> 123 | } 124 | declare module 'nyc/lib/self-coverage-helper.js' { 125 | declare module.exports: $Exports<'nyc/lib/self-coverage-helper'> 126 | } 127 | declare module 'nyc/lib/source-maps.js' { 128 | declare module.exports: $Exports<'nyc/lib/source-maps'> 129 | } 130 | -------------------------------------------------------------------------------- /flow-typed/npm/prettier-eslint_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 612cb114a732d753397f2170af4573de 2 | // flow-typed version: <>/prettier-eslint_v^8.8.2/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'prettier-eslint' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'prettier-eslint' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'prettier-eslint/dist/index' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'prettier-eslint/dist/utils' { 30 | declare module.exports: any 31 | } 32 | 33 | // Filename aliases 34 | declare module 'prettier-eslint/dist/index.js' { 35 | declare module.exports: $Exports<'prettier-eslint/dist/index'> 36 | } 37 | declare module 'prettier-eslint/dist/utils.js' { 38 | declare module.exports: $Exports<'prettier-eslint/dist/utils'> 39 | } 40 | -------------------------------------------------------------------------------- /flow-typed/npm/prettier_v1.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 066c92e9ccb5f0711df8d73cbca837d6 2 | // flow-typed version: 9e32affdbd/prettier_v1.x.x/flow_>=v0.56.x 3 | 4 | declare module 'prettier' { 5 | declare export type AST = Object 6 | declare export type Doc = Object 7 | declare export type FastPath = Object 8 | 9 | declare export type PrettierParserName = 10 | | 'babylon' 11 | | 'flow' 12 | | 'typescript' 13 | | 'postcss' 14 | | 'css' 15 | | 'less' 16 | | 'scss' 17 | | 'json' 18 | | 'graphql' 19 | | 'markdown' 20 | | 'vue' 21 | 22 | declare export type PrettierParser = { 23 | [name: PrettierParserName]: (text: string, options?: Object) => AST, 24 | } 25 | 26 | declare export type CustomParser = ( 27 | text: string, 28 | parsers: PrettierParser, 29 | options: Options 30 | ) => AST 31 | 32 | declare export type Options = {| 33 | printWidth?: number, 34 | tabWidth?: number, 35 | useTabs?: boolean, 36 | semi?: boolean, 37 | singleQuote?: boolean, 38 | trailingComma?: 'none' | 'es5' | 'all', 39 | bracketSpacing?: boolean, 40 | jsxBracketSameLine?: boolean, 41 | arrowParens?: 'avoid' | 'always', 42 | rangeStart?: number, 43 | rangeEnd?: number, 44 | parser?: PrettierParserName | CustomParser, 45 | filepath?: string, 46 | requirePragma?: boolean, 47 | insertPragma?: boolean, 48 | proseWrap?: 'always' | 'never' | 'preserve', 49 | plugins?: Array, 50 | |} 51 | 52 | declare export type Plugin = { 53 | languages: SupportLanguage, 54 | parsers: { [parserName: string]: Parser }, 55 | printers: { [astFormat: string]: Printer }, 56 | } 57 | 58 | declare export type Parser = { 59 | parse: ( 60 | text: string, 61 | parsers: { [parserName: string]: Parser }, 62 | options: Object 63 | ) => AST, 64 | astFormat: string, 65 | } 66 | 67 | declare export type Printer = { 68 | print: ( 69 | path: FastPath, 70 | options: Object, 71 | print: (path: FastPath) => Doc 72 | ) => Doc, 73 | embed: ( 74 | path: FastPath, 75 | print: (path: FastPath) => Doc, 76 | textToDoc: (text: string, options: Object) => Doc, 77 | options: Object 78 | ) => ?Doc, 79 | } 80 | 81 | declare export type CursorOptions = {| 82 | cursorOffset: number, 83 | printWidth?: $PropertyType, 84 | tabWidth?: $PropertyType, 85 | useTabs?: $PropertyType, 86 | semi?: $PropertyType, 87 | singleQuote?: $PropertyType, 88 | trailingComma?: $PropertyType, 89 | bracketSpacing?: $PropertyType, 90 | jsxBracketSameLine?: $PropertyType, 91 | arrowParens?: $PropertyType, 92 | parser?: $PropertyType, 93 | filepath?: $PropertyType, 94 | requirePragma?: $PropertyType, 95 | insertPragma?: $PropertyType, 96 | proseWrap?: $PropertyType, 97 | plugins?: $PropertyType, 98 | |} 99 | 100 | declare export type CursorResult = {| 101 | formatted: string, 102 | cursorOffset: number, 103 | |} 104 | 105 | declare export type ResolveConfigOptions = {| 106 | useCache?: boolean, 107 | config?: string, 108 | editorconfig?: boolean, 109 | |} 110 | 111 | declare export type SupportLanguage = { 112 | name: string, 113 | since: string, 114 | parsers: Array, 115 | group?: string, 116 | tmScope: string, 117 | aceMode: string, 118 | codemirrorMode: string, 119 | codemirrorMimeType: string, 120 | aliases?: Array, 121 | extensions: Array, 122 | filenames?: Array, 123 | linguistLanguageId: number, 124 | vscodeLanguageIds: Array, 125 | } 126 | 127 | declare export type SupportOption = {| 128 | since: string, 129 | type: 'int' | 'boolean' | 'choice' | 'path', 130 | deprecated?: string, 131 | redirect?: SupportOptionRedirect, 132 | description: string, 133 | oppositeDescription?: string, 134 | default: SupportOptionValue, 135 | range?: SupportOptionRange, 136 | choices?: SupportOptionChoice, 137 | |} 138 | 139 | declare export type SupportOptionRedirect = {| 140 | options: string, 141 | value: SupportOptionValue, 142 | |} 143 | 144 | declare export type SupportOptionRange = {| 145 | start: number, 146 | end: number, 147 | step: number, 148 | |} 149 | 150 | declare export type SupportOptionChoice = {| 151 | value: boolean | string, 152 | description?: string, 153 | since?: string, 154 | deprecated?: string, 155 | redirect?: SupportOptionValue, 156 | |} 157 | 158 | declare export type SupportOptionValue = number | boolean | string 159 | 160 | declare export type SupportInfo = {| 161 | languages: Array, 162 | options: Array, 163 | |} 164 | 165 | declare export type Prettier = {| 166 | format: (source: string, options?: Options) => string, 167 | check: (source: string, options?: Options) => boolean, 168 | formatWithCursor: (source: string, options: CursorOptions) => CursorResult, 169 | resolveConfig: { 170 | (filePath: string, options?: ResolveConfigOptions): Promise, 171 | sync(filePath: string, options?: ResolveConfigOptions): ?Options, 172 | }, 173 | clearConfigCache: () => void, 174 | getSupportInfo: (version?: string) => SupportInfo, 175 | |} 176 | 177 | declare export default Prettier 178 | } 179 | -------------------------------------------------------------------------------- /flow-typed/npm/prop-types_v15.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: bfbfd99e158d6ba552a6d4d43e9ea945 2 | // flow-typed version: 84e615b60b/prop-types_v15.x.x/flow_>=v0.89.x 3 | 4 | type $npm$propTypes$ReactPropsCheckType = ( 5 | props: any, 6 | propName: string, 7 | componentName: string, 8 | href?: string 9 | ) => ?Error 10 | 11 | // Copied from: https://github.com/facebook/flow/blob/0938da8d7293d0077fbe95c3a3e0eebadb57b012/lib/react.js#L433-L449 12 | declare module 'prop-types' { 13 | declare var array: React$PropType$Primitive> 14 | declare var bool: React$PropType$Primitive 15 | declare var func: React$PropType$Primitive<(...a: Array) => mixed> 16 | declare var number: React$PropType$Primitive 17 | declare var object: React$PropType$Primitive<{ +[string]: mixed }> 18 | declare var string: React$PropType$Primitive 19 | declare var symbol: React$PropType$Primitive 20 | declare var any: React$PropType$Primitive 21 | declare var arrayOf: React$PropType$ArrayOf 22 | declare var element: React$PropType$Primitive 23 | declare var instanceOf: React$PropType$InstanceOf 24 | declare var node: React$PropType$Primitive 25 | declare var objectOf: React$PropType$ObjectOf 26 | declare var oneOf: React$PropType$OneOf 27 | declare var oneOfType: React$PropType$OneOfType 28 | declare var shape: React$PropType$Shape 29 | 30 | declare function checkPropTypes( 31 | propTypes: { [key: $Keys]: $npm$propTypes$ReactPropsCheckType }, 32 | values: V, 33 | location: string, 34 | componentName: string, 35 | getStack: ?() => ?string 36 | ): void 37 | } 38 | -------------------------------------------------------------------------------- /flow-typed/npm/rimraf_v2.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 1dff23447d5e18f5ac2b05aaec7cfb74 2 | // flow-typed version: a453e98ea2/rimraf_v2.x.x/flow_>=v0.25.0 3 | 4 | declare module 'rimraf' { 5 | declare type Options = { 6 | maxBusyTries?: number, 7 | emfileWait?: number, 8 | glob?: boolean, 9 | disableGlob?: boolean 10 | }; 11 | 12 | declare type Callback = (err: ?Error, path: ?string) => void; 13 | 14 | declare module.exports: { 15 | (f: string, opts?: Options | Callback, callback?: Callback): void; 16 | sync(path: string, opts?: Options): void; 17 | }; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/semantic-release_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 093904df96e1b73b4186bea57356c651 2 | // flow-typed version: <>/semantic-release_v^15.1.4/flow_v0.92.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'semantic-release' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'semantic-release' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'semantic-release/bin/semantic-release' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'semantic-release/cli' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'semantic-release/lib/definitions/constants' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'semantic-release/lib/definitions/errors' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'semantic-release/lib/definitions/plugins' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module 'semantic-release/lib/get-commits' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module 'semantic-release/lib/get-config' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module 'semantic-release/lib/get-error' { 54 | declare module.exports: any 55 | } 56 | 57 | declare module 'semantic-release/lib/get-git-auth-url' { 58 | declare module.exports: any 59 | } 60 | 61 | declare module 'semantic-release/lib/get-last-release' { 62 | declare module.exports: any 63 | } 64 | 65 | declare module 'semantic-release/lib/get-logger' { 66 | declare module.exports: any 67 | } 68 | 69 | declare module 'semantic-release/lib/get-next-version' { 70 | declare module.exports: any 71 | } 72 | 73 | declare module 'semantic-release/lib/git' { 74 | declare module.exports: any 75 | } 76 | 77 | declare module 'semantic-release/lib/hide-sensitive' { 78 | declare module.exports: any 79 | } 80 | 81 | declare module 'semantic-release/lib/plugins/index' { 82 | declare module.exports: any 83 | } 84 | 85 | declare module 'semantic-release/lib/plugins/normalize' { 86 | declare module.exports: any 87 | } 88 | 89 | declare module 'semantic-release/lib/plugins/pipeline' { 90 | declare module.exports: any 91 | } 92 | 93 | declare module 'semantic-release/lib/plugins/utils' { 94 | declare module.exports: any 95 | } 96 | 97 | declare module 'semantic-release/lib/utils' { 98 | declare module.exports: any 99 | } 100 | 101 | declare module 'semantic-release/lib/verify' { 102 | declare module.exports: any 103 | } 104 | 105 | // Filename aliases 106 | declare module 'semantic-release/bin/semantic-release.js' { 107 | declare module.exports: $Exports<'semantic-release/bin/semantic-release'> 108 | } 109 | declare module 'semantic-release/cli.js' { 110 | declare module.exports: $Exports<'semantic-release/cli'> 111 | } 112 | declare module 'semantic-release/index' { 113 | declare module.exports: $Exports<'semantic-release'> 114 | } 115 | declare module 'semantic-release/index.js' { 116 | declare module.exports: $Exports<'semantic-release'> 117 | } 118 | declare module 'semantic-release/lib/definitions/constants.js' { 119 | declare module.exports: $Exports<'semantic-release/lib/definitions/constants'> 120 | } 121 | declare module 'semantic-release/lib/definitions/errors.js' { 122 | declare module.exports: $Exports<'semantic-release/lib/definitions/errors'> 123 | } 124 | declare module 'semantic-release/lib/definitions/plugins.js' { 125 | declare module.exports: $Exports<'semantic-release/lib/definitions/plugins'> 126 | } 127 | declare module 'semantic-release/lib/get-commits.js' { 128 | declare module.exports: $Exports<'semantic-release/lib/get-commits'> 129 | } 130 | declare module 'semantic-release/lib/get-config.js' { 131 | declare module.exports: $Exports<'semantic-release/lib/get-config'> 132 | } 133 | declare module 'semantic-release/lib/get-error.js' { 134 | declare module.exports: $Exports<'semantic-release/lib/get-error'> 135 | } 136 | declare module 'semantic-release/lib/get-git-auth-url.js' { 137 | declare module.exports: $Exports<'semantic-release/lib/get-git-auth-url'> 138 | } 139 | declare module 'semantic-release/lib/get-last-release.js' { 140 | declare module.exports: $Exports<'semantic-release/lib/get-last-release'> 141 | } 142 | declare module 'semantic-release/lib/get-logger.js' { 143 | declare module.exports: $Exports<'semantic-release/lib/get-logger'> 144 | } 145 | declare module 'semantic-release/lib/get-next-version.js' { 146 | declare module.exports: $Exports<'semantic-release/lib/get-next-version'> 147 | } 148 | declare module 'semantic-release/lib/git.js' { 149 | declare module.exports: $Exports<'semantic-release/lib/git'> 150 | } 151 | declare module 'semantic-release/lib/hide-sensitive.js' { 152 | declare module.exports: $Exports<'semantic-release/lib/hide-sensitive'> 153 | } 154 | declare module 'semantic-release/lib/plugins/index.js' { 155 | declare module.exports: $Exports<'semantic-release/lib/plugins/index'> 156 | } 157 | declare module 'semantic-release/lib/plugins/normalize.js' { 158 | declare module.exports: $Exports<'semantic-release/lib/plugins/normalize'> 159 | } 160 | declare module 'semantic-release/lib/plugins/pipeline.js' { 161 | declare module.exports: $Exports<'semantic-release/lib/plugins/pipeline'> 162 | } 163 | declare module 'semantic-release/lib/plugins/utils.js' { 164 | declare module.exports: $Exports<'semantic-release/lib/plugins/utils'> 165 | } 166 | declare module 'semantic-release/lib/utils.js' { 167 | declare module.exports: $Exports<'semantic-release/lib/utils'> 168 | } 169 | declare module 'semantic-release/lib/verify.js' { 170 | declare module.exports: $Exports<'semantic-release/lib/verify'> 171 | } 172 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | var _interopRequireWildcard = require('@babel/runtime/helpers/interopRequireWildcard') 4 | 5 | var _interopRequireDefault = require('@babel/runtime/helpers/interopRequireDefault') 6 | 7 | Object.defineProperty(exports, '__esModule', { 8 | value: true, 9 | }) 10 | exports.default = createStyled 11 | 12 | var _objectWithoutProperties2 = _interopRequireDefault( 13 | require('@babel/runtime/helpers/objectWithoutProperties') 14 | ) 15 | 16 | var React = _interopRequireWildcard(require('react')) 17 | 18 | var _propTypes = _interopRequireDefault(require('prop-types')) 19 | 20 | var _withStyles = _interopRequireDefault( 21 | require('@material-ui/core/styles/withStyles') 22 | ) 23 | 24 | function createStyled(styles) { 25 | var options = 26 | arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {} 27 | 28 | function Styled(props) { 29 | var children = props.children, 30 | other = (0, _objectWithoutProperties2.default)(props, ['children']) 31 | return children(other) 32 | } 33 | 34 | Styled.propTypes = { 35 | children: _propTypes.default.func.isRequired, 36 | classes: _propTypes.default.object.isRequired, 37 | } 38 | return (0, _withStyles.default)(styles, options)(Styled) 39 | } 40 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "material-ui-render-props-styles", 3 | "version": "0.0.0-development", 4 | "description": "render props component wrapper for Material UI withStyles HoC", 5 | "main": "index.js", 6 | "module": "es/index.js", 7 | "sideEffects": false, 8 | "scripts": { 9 | "lint": "eslint src test --cache", 10 | "lint:fix": "eslint --fix src test --cache", 11 | "lint:watch": "esw --watch src test --cache", 12 | "prettier": "prettier --write *.json *.md *.js src/**/*.js test/**/*.js", 13 | "prettier:check": "prettier --list-different *.json *.md *.js src/**/*.js test/**/*.js", 14 | "flow": "flow", 15 | "flow:coverage": "for file in src/**.js test/**.js; do echo $file; flow coverage $file; done", 16 | "flow:watch": "flow-watch -e js,js.flow,flowconfig --ignore es/ --ignore node_modules/ --watch .flowconfig --watch src/ --watch test/", 17 | "clean": "rimraf es lib $(cd src; ls) *.js.flow", 18 | "build": "npm run clean && cross-env BABEL_ENV=production babel src --out-dir es && flow-copy-source -v src/ es && cross-env BABEL_ENV=es5 babel src --out-dir . && flow-copy-source -v src/ .", 19 | "test": "cross-env BABEL_ENV=es5 mocha $npm_package_config_mocha && cross-env BABEL_ENV=coverage nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha", 20 | "test:watch": "cross-env BABEL_ENV=test mocha --watch $npm_package_config_mocha", 21 | "test:debug": "cross-env BABEL_ENV=test mocha --inspect-brk $npm_package_config_mocha", 22 | "codecov": "nyc report --reporter=text-lcov > coverage.lcov; codecov", 23 | "prepublishOnly": "npm run clean && npm run prettier:check && npm run lint && flow && npm test && npm run build", 24 | "open:coverage": "open coverage/lcov-report/index.html", 25 | "semantic-release": "semantic-release", 26 | "storybook": "start-storybook -p 6006", 27 | "build-storybook": "build-storybook" 28 | }, 29 | "husky": { 30 | "hooks": { 31 | "pre-commit": "lint-staged && npm run lint && flow", 32 | "commit-msg": "commitlint -e $GIT_PARAMS", 33 | "pre-push": "npm test" 34 | } 35 | }, 36 | "lint-staged": { 37 | "*.{js,json,css,md}": [ 38 | "prettier --write", 39 | "git add" 40 | ] 41 | }, 42 | "commitlint": { 43 | "extends": [ 44 | "@jedwards1211/commitlint-config" 45 | ] 46 | }, 47 | "prettier": { 48 | "semi": false, 49 | "singleQuote": true, 50 | "trailingComma": "es5" 51 | }, 52 | "config": { 53 | "mocha": "-r @babel/register -r jsdom-global/register test/configure.js test/**.js", 54 | "commitizen": { 55 | "path": "cz-conventional-changelog" 56 | } 57 | }, 58 | "nyc": { 59 | "include": [ 60 | "src/**/*.js" 61 | ], 62 | "require": [ 63 | "@babel/register" 64 | ], 65 | "sourceMap": false, 66 | "instrument": false 67 | }, 68 | "repository": { 69 | "type": "git", 70 | "url": "https://github.com/jcoreio/material-ui-render-props-styles.git" 71 | }, 72 | "keywords": [ 73 | "material-ui", 74 | "theming", 75 | "css-in-js", 76 | "jss", 77 | "render-props" 78 | ], 79 | "author": "Andy Edwards", 80 | "license": "MIT", 81 | "bugs": { 82 | "url": "https://github.com/jcoreio/material-ui-render-props-styles/issues" 83 | }, 84 | "homepage": "https://github.com/jcoreio/material-ui-render-props-styles#readme", 85 | "devDependencies": { 86 | "@babel/cli": "^7.1.5", 87 | "@babel/core": "^7.1.6", 88 | "@babel/plugin-proposal-class-properties": "^7.1.0", 89 | "@babel/plugin-proposal-export-default-from": "^7.0.0", 90 | "@babel/plugin-proposal-export-namespace-from": "^7.0.0", 91 | "@babel/plugin-proposal-object-rest-spread": "^7.0.0", 92 | "@babel/plugin-syntax-dynamic-import": "^7.0.0", 93 | "@babel/plugin-transform-runtime": "^7.1.0", 94 | "@babel/preset-env": "^7.1.6", 95 | "@babel/preset-flow": "^7.0.0", 96 | "@babel/preset-react": "^7.0.0", 97 | "@babel/register": "^7.0.0", 98 | "@commitlint/cli": "^6.0.2", 99 | "@commitlint/config-conventional": "^6.0.2", 100 | "@jedwards1211/commitlint-config": "^1.0.0", 101 | "@jedwards1211/eslint-config": "^2.0.0", 102 | "@jedwards1211/eslint-config-flow": "^1.0.2", 103 | "@jedwards1211/eslint-config-react": "^4.0.0", 104 | "@material-ui/core": "^3.0.1", 105 | "babel-eslint": "^10.0.1", 106 | "babel-plugin-flow-react-proptypes": "^25.1.0", 107 | "babel-plugin-istanbul": "^5.1.0", 108 | "babel-plugin-transform-object-rest-spread": "^6.26.0", 109 | "chai": "^4.2.0", 110 | "codecov": "^3.1.0", 111 | "copy": "^0.3.2", 112 | "cross-env": "^5.2.0", 113 | "enzyme": "^3.8.0", 114 | "enzyme-adapter-react-16": "^1.7.1", 115 | "eslint": "^5.9.0", 116 | "eslint-config-prettier": "^3.3.0", 117 | "eslint-plugin-flowtype": "^3.2.0", 118 | "eslint-plugin-react": "^7.11.1", 119 | "eslint-watch": "^4.0.2", 120 | "flow-bin": "^0.92.0", 121 | "flow-copy-source": "^2.0.2", 122 | "flow-watch": "^1.1.4", 123 | "husky": "^1.1.4", 124 | "istanbul": "^0.4.5", 125 | "jsdom": "^11.5.1", 126 | "jsdom-global": "^3.0.2", 127 | "lint-staged": "^8.0.4", 128 | "mocha": "^6.0.0", 129 | "nyc": "^13.1.0", 130 | "prettier": "^1.15.2", 131 | "prettier-eslint": "^8.8.2", 132 | "react": "^16.6.3", 133 | "react-dom": "^16.6.3", 134 | "rimraf": "^2.6.0", 135 | "semantic-release": "^15.13.3" 136 | }, 137 | "dependencies": { 138 | "@babel/runtime": "^7.1.5", 139 | "prop-types": "^15.0.0" 140 | }, 141 | "peerDependencies": { 142 | "@material-ui/core": "^1.0.0 || ^3.0.0", 143 | "react": "^16.3.0" 144 | }, 145 | "renovate": { 146 | "extends": [ 147 | ":separateMajorReleases", 148 | ":combinePatchMinorReleases", 149 | ":ignoreUnstable", 150 | ":prImmediately", 151 | ":renovatePrefix", 152 | ":updateNotScheduled", 153 | ":preserveSemverRanges", 154 | ":semanticPrefixFixDepsChoreOthers", 155 | ":automergeDisabled", 156 | "group:monorepos" 157 | ], 158 | "automerge": true, 159 | "major": { 160 | "automerge": false 161 | } 162 | } 163 | } 164 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | import * as React from 'react' 4 | import PropTypes from 'prop-types' 5 | import withStyles from '@material-ui/core/styles/withStyles' 6 | 7 | export type ExtractClasses = ( 8 | styles: ((theme: any) => T) | T 9 | ) => { [name: $Keys]: string } 10 | export type Classes Object)> = $Call< 11 | ExtractClasses, 12 | Styles 13 | > 14 | 15 | export type Props = { 16 | classes?: ?$Shape>, 17 | children: (props: { classes: Classes, theme: Theme }) => React.Node, 18 | } 19 | 20 | type ExtractOptions = ((styles: any, options: O) => any) => O 21 | 22 | type Options = $Call 23 | 24 | export default function createStyled( 25 | styles: ((theme: Theme) => Styles) | Styles, 26 | options?: Options = {} 27 | ): React.ComponentType> { 28 | function Styled(props: { 29 | classes: Classes, 30 | theme: Theme, 31 | children: (props: { classes: Classes, theme: Theme }) => React.Node, 32 | }): React.Node { 33 | const { children, ...other } = props 34 | return children(other) 35 | } 36 | Styled.propTypes = { 37 | children: PropTypes.func.isRequired, 38 | classes: PropTypes.object.isRequired, 39 | } 40 | return withStyles(styles, options)(Styled) 41 | } 42 | -------------------------------------------------------------------------------- /test/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "mocha": true, 4 | "browser": true 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /test/configure.js: -------------------------------------------------------------------------------- 1 | import { before } from 'mocha' 2 | import { configure } from 'enzyme' 3 | import Adapter from 'enzyme-adapter-react-16' 4 | configure({ adapter: new Adapter() }) 5 | 6 | /* eslint-env node */ 7 | 8 | if (process.argv.indexOf('--watch') >= 0) { 9 | before(() => process.stdout.write('\u001b[2J\u001b[1;1H\u001b[3J')) 10 | } 11 | -------------------------------------------------------------------------------- /test/index.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | import { describe, it } from 'mocha' 4 | import * as React from 'react' 5 | import { mount } from 'enzyme' 6 | import { expect } from 'chai' 7 | import { MuiThemeProvider, createMuiTheme } from '@material-ui/core/styles' 8 | 9 | import createStyled from '../src' 10 | 11 | const theme = createMuiTheme({}) 12 | 13 | describe('createStyled', () => { 14 | it('injects classes', () => { 15 | const styles = theme => ({ 16 | root: { 17 | backgroundColor: theme.palette.primary.light, 18 | }, 19 | }) 20 | 21 | let root: ?HTMLDivElement 22 | 23 | const Styled = createStyled(styles) 24 | 25 | const StyledComponent = () => ( 26 | 27 | {({ classes }) => ( 28 |

(root = c)} className={classes.root} /> 29 | )} 30 | 31 | ) 32 | 33 | mount( 34 | 35 | 36 | 37 | ) 38 | if (!root) throw new Error('expected ref to
to be defined') 39 | expect(getComputedStyle(root).backgroundColor).to.equal( 40 | 'rgb(121, 134, 203)' 41 | ) 42 | }) 43 | it('injects theme when given withStyles: true', () => { 44 | const styles = theme => ({ 45 | root: { 46 | backgroundColor: theme.palette.primary.light, 47 | }, 48 | }) 49 | 50 | let root: ?HTMLDivElement 51 | 52 | const Styled = createStyled(styles, { withTheme: true }) 53 | 54 | const StyledComponent = () => ( 55 | 56 | {({ classes, theme }) => ( 57 |
(root = c)} 59 | className={classes.root} 60 | style={{ backgroundColor: theme.palette.primary.dark }} 61 | /> 62 | )} 63 | 64 | ) 65 | 66 | mount( 67 | 68 | 69 | 70 | ) 71 | if (!root) throw new Error('expected ref to
to be defined') 72 | expect(getComputedStyle(root).backgroundColor).to.equal('rgb(48, 63, 159)') 73 | }) 74 | it('merges passed classes', () => { 75 | const styles1 = theme => ({ 76 | root: { 77 | backgroundColor: theme.palette.primary.light, 78 | }, 79 | }) 80 | const styles2 = theme => ({ 81 | root: { 82 | backgroundColor: theme.palette.primary.dark, 83 | }, 84 | }) 85 | 86 | let root: ?HTMLDivElement 87 | 88 | const Styled1 = createStyled(styles1, { name: 'One' }) 89 | const Styled2 = createStyled(styles2, { name: 'Two' }) 90 | 91 | const StyledComponent = () => ( 92 | 93 | {({ classes }) => ( 94 | 95 | {({ classes }) => ( 96 |
(root = c)} className={classes.root} /> 97 | )} 98 | 99 | )} 100 | 101 | ) 102 | 103 | mount( 104 | 105 | 106 | 107 | ) 108 | 109 | if (!root) throw new Error('expected ref to
to be defined') 110 | expect(root.className).to.match(/One-root-\d+ Two-root-\d+/) 111 | }) 112 | }) 113 | --------------------------------------------------------------------------------