├── .babelrc ├── .editorconfig ├── .eslintignore ├── .eslintrc ├── .flowconfig ├── .gitignore ├── .postcssrc ├── .stylelintrc ├── LICENSE ├── README.md ├── __mocks__ └── fileMock.js ├── __setup__ ├── enzyme.js └── react.js ├── __tests__ ├── .eslintrc └── Counter-test.js ├── flow-typed └── npm │ ├── autoprefixer_vx.x.x.js │ ├── babel-core_vx.x.x.js │ ├── babel-eslint_vx.x.x.js │ ├── babel-jest_vx.x.x.js │ ├── babel-loader_vx.x.x.js │ ├── babel-plugin-transform-react-constant-elements_vx.x.x.js │ ├── babel-plugin-transform-react-inline-elements_vx.x.x.js │ ├── babel-preset-env_vx.x.x.js │ ├── babel-preset-react_vx.x.x.js │ ├── babel-preset-stage-2_vx.x.x.js │ ├── cross-env_vx.x.x.js │ ├── css-loader_vx.x.x.js │ ├── del-cli_vx.x.x.js │ ├── enzyme-adapter-react-16_vx.x.x.js │ ├── enzyme_v3.x.x.js │ ├── eslint-config-satya164_vx.x.x.js │ ├── eslint-loader_vx.x.x.js │ ├── eslint_vx.x.x.js │ ├── file-loader_vx.x.x.js │ ├── flow-bin_v0.x.x.js │ ├── identity-obj-proxy_vx.x.x.js │ ├── jest-cli_vx.x.x.js │ ├── postcss-loader_vx.x.x.js │ ├── prettier_vx.x.x.js │ ├── react-redux_v5.x.x.js │ ├── react-transform-catch-errors_vx.x.x.js │ ├── react-transform-hmr_vx.x.x.js │ ├── redbox-react_vx.x.x.js │ ├── redux-thunk_vx.x.x.js │ ├── redux_v3.x.x.js │ ├── style-loader_vx.x.x.js │ ├── styled-components_vx.x.x.js │ ├── stylelint-config-standard_vx.x.x.js │ ├── stylelint-config-styled-components_vx.x.x.js │ ├── stylelint-processor-styled-components_vx.x.x.js │ ├── stylelint_vx.x.x.js │ ├── url-loader_vx.x.x.js │ ├── webpack-dev-server_vx.x.x.js │ └── webpack_vx.x.x.js ├── interfaces ├── ImageStub.js └── StyleSheetStub.js ├── package.json ├── src ├── App.js ├── actions │ └── CounterActions.js ├── components │ └── Counter.js ├── constants │ └── actionTypes.js ├── containers │ ├── CounterContainer.js │ └── RootContainer.js ├── index.js ├── reducers │ ├── counter.js │ └── index.js ├── store │ ├── configureStore.dev.js │ ├── configureStore.js │ └── configureStore.prod.js └── types │ ├── Action.js │ ├── State.js │ └── Store.js ├── static └── index.html ├── webpack.config.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "env", 4 | "react", 5 | "stage-2" 6 | ], 7 | "env": { 8 | "production": { 9 | "plugins": [ 10 | "transform-react-constant-elements", 11 | "transform-react-inline-elements" 12 | ] 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig helps developers define and maintain consistent 2 | # coding styles between different editors and IDEs 3 | # editorconfig.org 4 | 5 | root = true 6 | 7 | 8 | [*] 9 | 10 | # change these settings to your own preference 11 | indent_style = space 12 | indent_size = 2 13 | 14 | # we recommend you to keep these unchanged 15 | end_of_line = lf 16 | charset = utf-8 17 | trim_trailing_whitespace = true 18 | insert_final_newline = true 19 | 20 | [*.md] 21 | trim_trailing_whitespace = false 22 | 23 | [{package,bower}.json] 24 | indent_style = space 25 | indent_size = 2 26 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | **/dist/* 2 | **/interfaces/* 3 | **/node_modules/* 4 | **/flow-typed/* 5 | **/webpack.config*.js 6 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "eslint-config-satya164", 3 | 4 | "env": { 5 | "browser": true, 6 | "node": true, 7 | "es6": true, 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | 3 | [include] 4 | 5 | [libs] 6 | interfaces/ 7 | 8 | [options] 9 | munge_underscores=true 10 | 11 | esproposal.class_static_fields=enable 12 | esproposal.class_instance_fields=enable 13 | 14 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(css\|scss\|less\)$' -> 'StyleSheetStub' 15 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf|ttf|otf\)$' -> 'ImageStub' 16 | 17 | suppress_type=$FlowIssue 18 | suppress_type=$FlowFixMe 19 | suppress_type=$FixMe 20 | 21 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue 22 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe 23 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | .DS_Store 3 | .sass-cache 4 | 5 | npm-debug.log 6 | node_modules/ 7 | bower_components/ 8 | dist/ 9 | build/ 10 | -------------------------------------------------------------------------------- /.postcssrc: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": { 3 | "autoprefixer": {} 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /.stylelintrc: -------------------------------------------------------------------------------- 1 | { 2 | "processors": ["stylelint-processor-styled-components"], 3 | "extends": [ 4 | "stylelint-config-standard", 5 | "stylelint-config-styled-components" 6 | ], 7 | "syntax": "scss" 8 | } 9 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Satyajit Sahoo 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 13 | all 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 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Bolierplate for React projects 2 | ============================== 3 | 4 | An simple webpack boilerplate for React projects. 5 | 6 | ## Features 7 | 8 | * Transpiling ES201x and JSX via [Babel](https://babeljs.io) 9 | * Type checking with [Flow](http://flowtype.org/) 10 | * Linting with [ESLint](http://eslint.org/) 11 | * Testing React Components with [Jest](https://facebook.github.io/jest/) 12 | * [Redux](http://redux.js.org/) with [Redux Dev Tools](https://github.com/gaearon/redux-devtools) 13 | 14 | ## Usage 15 | 16 | * `yarn start` - Start webpack server for developement 17 | * `yarn test` - Run tests with Jest 18 | * `yarn run lint` - Lint files with ESLint 19 | * `yarn run flow` - Typecheck files with Flow 20 | * `yarn run build` - Build bundle for production 21 | * `yarn run clean` - Cleanup build directories 22 | 23 | Check the `scripts` section in `package.json` for more details. 24 | -------------------------------------------------------------------------------- /__mocks__/fileMock.js: -------------------------------------------------------------------------------- 1 | export default 'test-file-stub'; 2 | -------------------------------------------------------------------------------- /__setup__/enzyme.js: -------------------------------------------------------------------------------- 1 | import Enzyme from 'enzyme'; 2 | import Adapter from 'enzyme-adapter-react-16'; 3 | 4 | Enzyme.configure({ adapter: new Adapter() }); 5 | -------------------------------------------------------------------------------- /__setup__/react.js: -------------------------------------------------------------------------------- 1 | /* eslint-env node */ 2 | 3 | global.requestAnimationFrame = callback => setTimeout(callback, 0); 4 | -------------------------------------------------------------------------------- /__tests__/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../.eslintrc", 3 | "env": { 4 | "jest": true 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /__tests__/Counter-test.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { render } from 'enzyme'; 3 | import Counter from '../src/components/Counter'; 4 | 5 | describe('Counter', () => { 6 | it('renders counter with value', () => { 7 | const num = Math.round(Math.random() * 100); 8 | 9 | // Render a the counter in the document 10 | const wrapper = render( 11 | null} 14 | decrement={() => null} 15 | incrementIfEven={() => null} 16 | /> 17 | ); 18 | 19 | // Verify the passed number is displayed 20 | expect(wrapper.text()).toContain(num); 21 | }); 22 | }); 23 | -------------------------------------------------------------------------------- /flow-typed/npm/autoprefixer_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 0878e2951ad428b8e9a83e43f287fe3b 2 | // flow-typed version: <>/autoprefixer_v^8.0.0/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'autoprefixer' 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 'autoprefixer' { 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 'autoprefixer/data/prefixes' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'autoprefixer/lib/at-rule' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'autoprefixer/lib/autoprefixer' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'autoprefixer/lib/brackets' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'autoprefixer/lib/browsers' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'autoprefixer/lib/declaration' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'autoprefixer/lib/hacks/align-content' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'autoprefixer/lib/hacks/align-items' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module 'autoprefixer/lib/hacks/align-self' { 58 | declare module.exports: any; 59 | } 60 | 61 | declare module 'autoprefixer/lib/hacks/animation' { 62 | declare module.exports: any; 63 | } 64 | 65 | declare module 'autoprefixer/lib/hacks/appearance' { 66 | declare module.exports: any; 67 | } 68 | 69 | declare module 'autoprefixer/lib/hacks/background-size' { 70 | declare module.exports: any; 71 | } 72 | 73 | declare module 'autoprefixer/lib/hacks/block-logical' { 74 | declare module.exports: any; 75 | } 76 | 77 | declare module 'autoprefixer/lib/hacks/border-image' { 78 | declare module.exports: any; 79 | } 80 | 81 | declare module 'autoprefixer/lib/hacks/border-radius' { 82 | declare module.exports: any; 83 | } 84 | 85 | declare module 'autoprefixer/lib/hacks/break-props' { 86 | declare module.exports: any; 87 | } 88 | 89 | declare module 'autoprefixer/lib/hacks/cross-fade' { 90 | declare module.exports: any; 91 | } 92 | 93 | declare module 'autoprefixer/lib/hacks/display-flex' { 94 | declare module.exports: any; 95 | } 96 | 97 | declare module 'autoprefixer/lib/hacks/display-grid' { 98 | declare module.exports: any; 99 | } 100 | 101 | declare module 'autoprefixer/lib/hacks/filter-value' { 102 | declare module.exports: any; 103 | } 104 | 105 | declare module 'autoprefixer/lib/hacks/filter' { 106 | declare module.exports: any; 107 | } 108 | 109 | declare module 'autoprefixer/lib/hacks/flex-basis' { 110 | declare module.exports: any; 111 | } 112 | 113 | declare module 'autoprefixer/lib/hacks/flex-direction' { 114 | declare module.exports: any; 115 | } 116 | 117 | declare module 'autoprefixer/lib/hacks/flex-flow' { 118 | declare module.exports: any; 119 | } 120 | 121 | declare module 'autoprefixer/lib/hacks/flex-grow' { 122 | declare module.exports: any; 123 | } 124 | 125 | declare module 'autoprefixer/lib/hacks/flex-shrink' { 126 | declare module.exports: any; 127 | } 128 | 129 | declare module 'autoprefixer/lib/hacks/flex-spec' { 130 | declare module.exports: any; 131 | } 132 | 133 | declare module 'autoprefixer/lib/hacks/flex-wrap' { 134 | declare module.exports: any; 135 | } 136 | 137 | declare module 'autoprefixer/lib/hacks/flex' { 138 | declare module.exports: any; 139 | } 140 | 141 | declare module 'autoprefixer/lib/hacks/fullscreen' { 142 | declare module.exports: any; 143 | } 144 | 145 | declare module 'autoprefixer/lib/hacks/gradient' { 146 | declare module.exports: any; 147 | } 148 | 149 | declare module 'autoprefixer/lib/hacks/grid-area' { 150 | declare module.exports: any; 151 | } 152 | 153 | declare module 'autoprefixer/lib/hacks/grid-column-align' { 154 | declare module.exports: any; 155 | } 156 | 157 | declare module 'autoprefixer/lib/hacks/grid-end' { 158 | declare module.exports: any; 159 | } 160 | 161 | declare module 'autoprefixer/lib/hacks/grid-row-align' { 162 | declare module.exports: any; 163 | } 164 | 165 | declare module 'autoprefixer/lib/hacks/grid-row-column' { 166 | declare module.exports: any; 167 | } 168 | 169 | declare module 'autoprefixer/lib/hacks/grid-rows-columns' { 170 | declare module.exports: any; 171 | } 172 | 173 | declare module 'autoprefixer/lib/hacks/grid-shorthand' { 174 | declare module.exports: any; 175 | } 176 | 177 | declare module 'autoprefixer/lib/hacks/grid-start' { 178 | declare module.exports: any; 179 | } 180 | 181 | declare module 'autoprefixer/lib/hacks/grid-template-areas' { 182 | declare module.exports: any; 183 | } 184 | 185 | declare module 'autoprefixer/lib/hacks/grid-template' { 186 | declare module.exports: any; 187 | } 188 | 189 | declare module 'autoprefixer/lib/hacks/image-rendering' { 190 | declare module.exports: any; 191 | } 192 | 193 | declare module 'autoprefixer/lib/hacks/image-set' { 194 | declare module.exports: any; 195 | } 196 | 197 | declare module 'autoprefixer/lib/hacks/inline-logical' { 198 | declare module.exports: any; 199 | } 200 | 201 | declare module 'autoprefixer/lib/hacks/intrinsic' { 202 | declare module.exports: any; 203 | } 204 | 205 | declare module 'autoprefixer/lib/hacks/justify-content' { 206 | declare module.exports: any; 207 | } 208 | 209 | declare module 'autoprefixer/lib/hacks/mask-border' { 210 | declare module.exports: any; 211 | } 212 | 213 | declare module 'autoprefixer/lib/hacks/order' { 214 | declare module.exports: any; 215 | } 216 | 217 | declare module 'autoprefixer/lib/hacks/pixelated' { 218 | declare module.exports: any; 219 | } 220 | 221 | declare module 'autoprefixer/lib/hacks/placeholder' { 222 | declare module.exports: any; 223 | } 224 | 225 | declare module 'autoprefixer/lib/hacks/text-decoration' { 226 | declare module.exports: any; 227 | } 228 | 229 | declare module 'autoprefixer/lib/hacks/text-emphasis-position' { 230 | declare module.exports: any; 231 | } 232 | 233 | declare module 'autoprefixer/lib/hacks/transform-decl' { 234 | declare module.exports: any; 235 | } 236 | 237 | declare module 'autoprefixer/lib/hacks/writing-mode' { 238 | declare module.exports: any; 239 | } 240 | 241 | declare module 'autoprefixer/lib/info' { 242 | declare module.exports: any; 243 | } 244 | 245 | declare module 'autoprefixer/lib/old-selector' { 246 | declare module.exports: any; 247 | } 248 | 249 | declare module 'autoprefixer/lib/old-value' { 250 | declare module.exports: any; 251 | } 252 | 253 | declare module 'autoprefixer/lib/prefixer' { 254 | declare module.exports: any; 255 | } 256 | 257 | declare module 'autoprefixer/lib/prefixes' { 258 | declare module.exports: any; 259 | } 260 | 261 | declare module 'autoprefixer/lib/processor' { 262 | declare module.exports: any; 263 | } 264 | 265 | declare module 'autoprefixer/lib/resolution' { 266 | declare module.exports: any; 267 | } 268 | 269 | declare module 'autoprefixer/lib/selector' { 270 | declare module.exports: any; 271 | } 272 | 273 | declare module 'autoprefixer/lib/supports' { 274 | declare module.exports: any; 275 | } 276 | 277 | declare module 'autoprefixer/lib/transition' { 278 | declare module.exports: any; 279 | } 280 | 281 | declare module 'autoprefixer/lib/utils' { 282 | declare module.exports: any; 283 | } 284 | 285 | declare module 'autoprefixer/lib/value' { 286 | declare module.exports: any; 287 | } 288 | 289 | // Filename aliases 290 | declare module 'autoprefixer/data/prefixes.js' { 291 | declare module.exports: $Exports<'autoprefixer/data/prefixes'>; 292 | } 293 | declare module 'autoprefixer/lib/at-rule.js' { 294 | declare module.exports: $Exports<'autoprefixer/lib/at-rule'>; 295 | } 296 | declare module 'autoprefixer/lib/autoprefixer.js' { 297 | declare module.exports: $Exports<'autoprefixer/lib/autoprefixer'>; 298 | } 299 | declare module 'autoprefixer/lib/brackets.js' { 300 | declare module.exports: $Exports<'autoprefixer/lib/brackets'>; 301 | } 302 | declare module 'autoprefixer/lib/browsers.js' { 303 | declare module.exports: $Exports<'autoprefixer/lib/browsers'>; 304 | } 305 | declare module 'autoprefixer/lib/declaration.js' { 306 | declare module.exports: $Exports<'autoprefixer/lib/declaration'>; 307 | } 308 | declare module 'autoprefixer/lib/hacks/align-content.js' { 309 | declare module.exports: $Exports<'autoprefixer/lib/hacks/align-content'>; 310 | } 311 | declare module 'autoprefixer/lib/hacks/align-items.js' { 312 | declare module.exports: $Exports<'autoprefixer/lib/hacks/align-items'>; 313 | } 314 | declare module 'autoprefixer/lib/hacks/align-self.js' { 315 | declare module.exports: $Exports<'autoprefixer/lib/hacks/align-self'>; 316 | } 317 | declare module 'autoprefixer/lib/hacks/animation.js' { 318 | declare module.exports: $Exports<'autoprefixer/lib/hacks/animation'>; 319 | } 320 | declare module 'autoprefixer/lib/hacks/appearance.js' { 321 | declare module.exports: $Exports<'autoprefixer/lib/hacks/appearance'>; 322 | } 323 | declare module 'autoprefixer/lib/hacks/background-size.js' { 324 | declare module.exports: $Exports<'autoprefixer/lib/hacks/background-size'>; 325 | } 326 | declare module 'autoprefixer/lib/hacks/block-logical.js' { 327 | declare module.exports: $Exports<'autoprefixer/lib/hacks/block-logical'>; 328 | } 329 | declare module 'autoprefixer/lib/hacks/border-image.js' { 330 | declare module.exports: $Exports<'autoprefixer/lib/hacks/border-image'>; 331 | } 332 | declare module 'autoprefixer/lib/hacks/border-radius.js' { 333 | declare module.exports: $Exports<'autoprefixer/lib/hacks/border-radius'>; 334 | } 335 | declare module 'autoprefixer/lib/hacks/break-props.js' { 336 | declare module.exports: $Exports<'autoprefixer/lib/hacks/break-props'>; 337 | } 338 | declare module 'autoprefixer/lib/hacks/cross-fade.js' { 339 | declare module.exports: $Exports<'autoprefixer/lib/hacks/cross-fade'>; 340 | } 341 | declare module 'autoprefixer/lib/hacks/display-flex.js' { 342 | declare module.exports: $Exports<'autoprefixer/lib/hacks/display-flex'>; 343 | } 344 | declare module 'autoprefixer/lib/hacks/display-grid.js' { 345 | declare module.exports: $Exports<'autoprefixer/lib/hacks/display-grid'>; 346 | } 347 | declare module 'autoprefixer/lib/hacks/filter-value.js' { 348 | declare module.exports: $Exports<'autoprefixer/lib/hacks/filter-value'>; 349 | } 350 | declare module 'autoprefixer/lib/hacks/filter.js' { 351 | declare module.exports: $Exports<'autoprefixer/lib/hacks/filter'>; 352 | } 353 | declare module 'autoprefixer/lib/hacks/flex-basis.js' { 354 | declare module.exports: $Exports<'autoprefixer/lib/hacks/flex-basis'>; 355 | } 356 | declare module 'autoprefixer/lib/hacks/flex-direction.js' { 357 | declare module.exports: $Exports<'autoprefixer/lib/hacks/flex-direction'>; 358 | } 359 | declare module 'autoprefixer/lib/hacks/flex-flow.js' { 360 | declare module.exports: $Exports<'autoprefixer/lib/hacks/flex-flow'>; 361 | } 362 | declare module 'autoprefixer/lib/hacks/flex-grow.js' { 363 | declare module.exports: $Exports<'autoprefixer/lib/hacks/flex-grow'>; 364 | } 365 | declare module 'autoprefixer/lib/hacks/flex-shrink.js' { 366 | declare module.exports: $Exports<'autoprefixer/lib/hacks/flex-shrink'>; 367 | } 368 | declare module 'autoprefixer/lib/hacks/flex-spec.js' { 369 | declare module.exports: $Exports<'autoprefixer/lib/hacks/flex-spec'>; 370 | } 371 | declare module 'autoprefixer/lib/hacks/flex-wrap.js' { 372 | declare module.exports: $Exports<'autoprefixer/lib/hacks/flex-wrap'>; 373 | } 374 | declare module 'autoprefixer/lib/hacks/flex.js' { 375 | declare module.exports: $Exports<'autoprefixer/lib/hacks/flex'>; 376 | } 377 | declare module 'autoprefixer/lib/hacks/fullscreen.js' { 378 | declare module.exports: $Exports<'autoprefixer/lib/hacks/fullscreen'>; 379 | } 380 | declare module 'autoprefixer/lib/hacks/gradient.js' { 381 | declare module.exports: $Exports<'autoprefixer/lib/hacks/gradient'>; 382 | } 383 | declare module 'autoprefixer/lib/hacks/grid-area.js' { 384 | declare module.exports: $Exports<'autoprefixer/lib/hacks/grid-area'>; 385 | } 386 | declare module 'autoprefixer/lib/hacks/grid-column-align.js' { 387 | declare module.exports: $Exports<'autoprefixer/lib/hacks/grid-column-align'>; 388 | } 389 | declare module 'autoprefixer/lib/hacks/grid-end.js' { 390 | declare module.exports: $Exports<'autoprefixer/lib/hacks/grid-end'>; 391 | } 392 | declare module 'autoprefixer/lib/hacks/grid-row-align.js' { 393 | declare module.exports: $Exports<'autoprefixer/lib/hacks/grid-row-align'>; 394 | } 395 | declare module 'autoprefixer/lib/hacks/grid-row-column.js' { 396 | declare module.exports: $Exports<'autoprefixer/lib/hacks/grid-row-column'>; 397 | } 398 | declare module 'autoprefixer/lib/hacks/grid-rows-columns.js' { 399 | declare module.exports: $Exports<'autoprefixer/lib/hacks/grid-rows-columns'>; 400 | } 401 | declare module 'autoprefixer/lib/hacks/grid-shorthand.js' { 402 | declare module.exports: $Exports<'autoprefixer/lib/hacks/grid-shorthand'>; 403 | } 404 | declare module 'autoprefixer/lib/hacks/grid-start.js' { 405 | declare module.exports: $Exports<'autoprefixer/lib/hacks/grid-start'>; 406 | } 407 | declare module 'autoprefixer/lib/hacks/grid-template-areas.js' { 408 | declare module.exports: $Exports<'autoprefixer/lib/hacks/grid-template-areas'>; 409 | } 410 | declare module 'autoprefixer/lib/hacks/grid-template.js' { 411 | declare module.exports: $Exports<'autoprefixer/lib/hacks/grid-template'>; 412 | } 413 | declare module 'autoprefixer/lib/hacks/image-rendering.js' { 414 | declare module.exports: $Exports<'autoprefixer/lib/hacks/image-rendering'>; 415 | } 416 | declare module 'autoprefixer/lib/hacks/image-set.js' { 417 | declare module.exports: $Exports<'autoprefixer/lib/hacks/image-set'>; 418 | } 419 | declare module 'autoprefixer/lib/hacks/inline-logical.js' { 420 | declare module.exports: $Exports<'autoprefixer/lib/hacks/inline-logical'>; 421 | } 422 | declare module 'autoprefixer/lib/hacks/intrinsic.js' { 423 | declare module.exports: $Exports<'autoprefixer/lib/hacks/intrinsic'>; 424 | } 425 | declare module 'autoprefixer/lib/hacks/justify-content.js' { 426 | declare module.exports: $Exports<'autoprefixer/lib/hacks/justify-content'>; 427 | } 428 | declare module 'autoprefixer/lib/hacks/mask-border.js' { 429 | declare module.exports: $Exports<'autoprefixer/lib/hacks/mask-border'>; 430 | } 431 | declare module 'autoprefixer/lib/hacks/order.js' { 432 | declare module.exports: $Exports<'autoprefixer/lib/hacks/order'>; 433 | } 434 | declare module 'autoprefixer/lib/hacks/pixelated.js' { 435 | declare module.exports: $Exports<'autoprefixer/lib/hacks/pixelated'>; 436 | } 437 | declare module 'autoprefixer/lib/hacks/placeholder.js' { 438 | declare module.exports: $Exports<'autoprefixer/lib/hacks/placeholder'>; 439 | } 440 | declare module 'autoprefixer/lib/hacks/text-decoration.js' { 441 | declare module.exports: $Exports<'autoprefixer/lib/hacks/text-decoration'>; 442 | } 443 | declare module 'autoprefixer/lib/hacks/text-emphasis-position.js' { 444 | declare module.exports: $Exports<'autoprefixer/lib/hacks/text-emphasis-position'>; 445 | } 446 | declare module 'autoprefixer/lib/hacks/transform-decl.js' { 447 | declare module.exports: $Exports<'autoprefixer/lib/hacks/transform-decl'>; 448 | } 449 | declare module 'autoprefixer/lib/hacks/writing-mode.js' { 450 | declare module.exports: $Exports<'autoprefixer/lib/hacks/writing-mode'>; 451 | } 452 | declare module 'autoprefixer/lib/info.js' { 453 | declare module.exports: $Exports<'autoprefixer/lib/info'>; 454 | } 455 | declare module 'autoprefixer/lib/old-selector.js' { 456 | declare module.exports: $Exports<'autoprefixer/lib/old-selector'>; 457 | } 458 | declare module 'autoprefixer/lib/old-value.js' { 459 | declare module.exports: $Exports<'autoprefixer/lib/old-value'>; 460 | } 461 | declare module 'autoprefixer/lib/prefixer.js' { 462 | declare module.exports: $Exports<'autoprefixer/lib/prefixer'>; 463 | } 464 | declare module 'autoprefixer/lib/prefixes.js' { 465 | declare module.exports: $Exports<'autoprefixer/lib/prefixes'>; 466 | } 467 | declare module 'autoprefixer/lib/processor.js' { 468 | declare module.exports: $Exports<'autoprefixer/lib/processor'>; 469 | } 470 | declare module 'autoprefixer/lib/resolution.js' { 471 | declare module.exports: $Exports<'autoprefixer/lib/resolution'>; 472 | } 473 | declare module 'autoprefixer/lib/selector.js' { 474 | declare module.exports: $Exports<'autoprefixer/lib/selector'>; 475 | } 476 | declare module 'autoprefixer/lib/supports.js' { 477 | declare module.exports: $Exports<'autoprefixer/lib/supports'>; 478 | } 479 | declare module 'autoprefixer/lib/transition.js' { 480 | declare module.exports: $Exports<'autoprefixer/lib/transition'>; 481 | } 482 | declare module 'autoprefixer/lib/utils.js' { 483 | declare module.exports: $Exports<'autoprefixer/lib/utils'>; 484 | } 485 | declare module 'autoprefixer/lib/value.js' { 486 | declare module.exports: $Exports<'autoprefixer/lib/value'>; 487 | } 488 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-core_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: e901b874b415527e753a20ff93f2347d 2 | // flow-typed version: <>/babel-core_v^6.26.0/flow_v0.65.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/api/browser' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'babel-core/lib/api/node' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'babel-core/lib/helpers/get-possible-plugin-names' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'babel-core/lib/helpers/get-possible-preset-names' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'babel-core/lib/helpers/merge' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'babel-core/lib/helpers/normalize-ast' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'babel-core/lib/helpers/resolve-from-possible-names' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'babel-core/lib/helpers/resolve-plugin' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module 'babel-core/lib/helpers/resolve-preset' { 58 | declare module.exports: any; 59 | } 60 | 61 | declare module 'babel-core/lib/helpers/resolve' { 62 | declare module.exports: any; 63 | } 64 | 65 | declare module 'babel-core/lib/store' { 66 | declare module.exports: any; 67 | } 68 | 69 | declare module 'babel-core/lib/tools/build-external-helpers' { 70 | declare module.exports: any; 71 | } 72 | 73 | declare module 'babel-core/lib/transformation/file/index' { 74 | declare module.exports: any; 75 | } 76 | 77 | declare module 'babel-core/lib/transformation/file/logger' { 78 | declare module.exports: any; 79 | } 80 | 81 | declare module 'babel-core/lib/transformation/file/metadata' { 82 | declare module.exports: any; 83 | } 84 | 85 | declare module 'babel-core/lib/transformation/file/options/build-config-chain' { 86 | declare module.exports: any; 87 | } 88 | 89 | declare module 'babel-core/lib/transformation/file/options/config' { 90 | declare module.exports: any; 91 | } 92 | 93 | declare module 'babel-core/lib/transformation/file/options/index' { 94 | declare module.exports: any; 95 | } 96 | 97 | declare module 'babel-core/lib/transformation/file/options/option-manager' { 98 | declare module.exports: any; 99 | } 100 | 101 | declare module 'babel-core/lib/transformation/file/options/parsers' { 102 | declare module.exports: any; 103 | } 104 | 105 | declare module 'babel-core/lib/transformation/file/options/removed' { 106 | declare module.exports: any; 107 | } 108 | 109 | declare module 'babel-core/lib/transformation/internal-plugins/block-hoist' { 110 | declare module.exports: any; 111 | } 112 | 113 | declare module 'babel-core/lib/transformation/internal-plugins/shadow-functions' { 114 | declare module.exports: any; 115 | } 116 | 117 | declare module 'babel-core/lib/transformation/pipeline' { 118 | declare module.exports: any; 119 | } 120 | 121 | declare module 'babel-core/lib/transformation/plugin-pass' { 122 | declare module.exports: any; 123 | } 124 | 125 | declare module 'babel-core/lib/transformation/plugin' { 126 | declare module.exports: any; 127 | } 128 | 129 | declare module 'babel-core/lib/util' { 130 | declare module.exports: any; 131 | } 132 | 133 | declare module 'babel-core/register' { 134 | declare module.exports: any; 135 | } 136 | 137 | // Filename aliases 138 | declare module 'babel-core/index' { 139 | declare module.exports: $Exports<'babel-core'>; 140 | } 141 | declare module 'babel-core/index.js' { 142 | declare module.exports: $Exports<'babel-core'>; 143 | } 144 | declare module 'babel-core/lib/api/browser.js' { 145 | declare module.exports: $Exports<'babel-core/lib/api/browser'>; 146 | } 147 | declare module 'babel-core/lib/api/node.js' { 148 | declare module.exports: $Exports<'babel-core/lib/api/node'>; 149 | } 150 | declare module 'babel-core/lib/helpers/get-possible-plugin-names.js' { 151 | declare module.exports: $Exports<'babel-core/lib/helpers/get-possible-plugin-names'>; 152 | } 153 | declare module 'babel-core/lib/helpers/get-possible-preset-names.js' { 154 | declare module.exports: $Exports<'babel-core/lib/helpers/get-possible-preset-names'>; 155 | } 156 | declare module 'babel-core/lib/helpers/merge.js' { 157 | declare module.exports: $Exports<'babel-core/lib/helpers/merge'>; 158 | } 159 | declare module 'babel-core/lib/helpers/normalize-ast.js' { 160 | declare module.exports: $Exports<'babel-core/lib/helpers/normalize-ast'>; 161 | } 162 | declare module 'babel-core/lib/helpers/resolve-from-possible-names.js' { 163 | declare module.exports: $Exports<'babel-core/lib/helpers/resolve-from-possible-names'>; 164 | } 165 | declare module 'babel-core/lib/helpers/resolve-plugin.js' { 166 | declare module.exports: $Exports<'babel-core/lib/helpers/resolve-plugin'>; 167 | } 168 | declare module 'babel-core/lib/helpers/resolve-preset.js' { 169 | declare module.exports: $Exports<'babel-core/lib/helpers/resolve-preset'>; 170 | } 171 | declare module 'babel-core/lib/helpers/resolve.js' { 172 | declare module.exports: $Exports<'babel-core/lib/helpers/resolve'>; 173 | } 174 | declare module 'babel-core/lib/store.js' { 175 | declare module.exports: $Exports<'babel-core/lib/store'>; 176 | } 177 | declare module 'babel-core/lib/tools/build-external-helpers.js' { 178 | declare module.exports: $Exports<'babel-core/lib/tools/build-external-helpers'>; 179 | } 180 | declare module 'babel-core/lib/transformation/file/index.js' { 181 | declare module.exports: $Exports<'babel-core/lib/transformation/file/index'>; 182 | } 183 | declare module 'babel-core/lib/transformation/file/logger.js' { 184 | declare module.exports: $Exports<'babel-core/lib/transformation/file/logger'>; 185 | } 186 | declare module 'babel-core/lib/transformation/file/metadata.js' { 187 | declare module.exports: $Exports<'babel-core/lib/transformation/file/metadata'>; 188 | } 189 | declare module 'babel-core/lib/transformation/file/options/build-config-chain.js' { 190 | declare module.exports: $Exports<'babel-core/lib/transformation/file/options/build-config-chain'>; 191 | } 192 | declare module 'babel-core/lib/transformation/file/options/config.js' { 193 | declare module.exports: $Exports<'babel-core/lib/transformation/file/options/config'>; 194 | } 195 | declare module 'babel-core/lib/transformation/file/options/index.js' { 196 | declare module.exports: $Exports<'babel-core/lib/transformation/file/options/index'>; 197 | } 198 | declare module 'babel-core/lib/transformation/file/options/option-manager.js' { 199 | declare module.exports: $Exports<'babel-core/lib/transformation/file/options/option-manager'>; 200 | } 201 | declare module 'babel-core/lib/transformation/file/options/parsers.js' { 202 | declare module.exports: $Exports<'babel-core/lib/transformation/file/options/parsers'>; 203 | } 204 | declare module 'babel-core/lib/transformation/file/options/removed.js' { 205 | declare module.exports: $Exports<'babel-core/lib/transformation/file/options/removed'>; 206 | } 207 | declare module 'babel-core/lib/transformation/internal-plugins/block-hoist.js' { 208 | declare module.exports: $Exports<'babel-core/lib/transformation/internal-plugins/block-hoist'>; 209 | } 210 | declare module 'babel-core/lib/transformation/internal-plugins/shadow-functions.js' { 211 | declare module.exports: $Exports<'babel-core/lib/transformation/internal-plugins/shadow-functions'>; 212 | } 213 | declare module 'babel-core/lib/transformation/pipeline.js' { 214 | declare module.exports: $Exports<'babel-core/lib/transformation/pipeline'>; 215 | } 216 | declare module 'babel-core/lib/transformation/plugin-pass.js' { 217 | declare module.exports: $Exports<'babel-core/lib/transformation/plugin-pass'>; 218 | } 219 | declare module 'babel-core/lib/transformation/plugin.js' { 220 | declare module.exports: $Exports<'babel-core/lib/transformation/plugin'>; 221 | } 222 | declare module 'babel-core/lib/util.js' { 223 | declare module.exports: $Exports<'babel-core/lib/util'>; 224 | } 225 | declare module 'babel-core/register.js' { 226 | declare module.exports: $Exports<'babel-core/register'>; 227 | } 228 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-eslint_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 383770dc36a1e17b84733051e79db13c 2 | // flow-typed version: <>/babel-eslint_v^8.2.1/flow_v0.65.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-patch' { 62 | declare module.exports: any; 63 | } 64 | 65 | declare module 'babel-eslint/lib/parse-with-scope' { 66 | declare module.exports: any; 67 | } 68 | 69 | declare module 'babel-eslint/lib/parse' { 70 | declare module.exports: any; 71 | } 72 | 73 | declare module 'babel-eslint/lib/patch-eslint-scope' { 74 | declare module.exports: any; 75 | } 76 | 77 | declare module 'babel-eslint/lib/visitor-keys' { 78 | declare module.exports: any; 79 | } 80 | 81 | // Filename aliases 82 | declare module 'babel-eslint/lib/analyze-scope.js' { 83 | declare module.exports: $Exports<'babel-eslint/lib/analyze-scope'>; 84 | } 85 | declare module 'babel-eslint/lib/babylon-to-espree/attachComments.js' { 86 | declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/attachComments'>; 87 | } 88 | declare module 'babel-eslint/lib/babylon-to-espree/convertComments.js' { 89 | declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/convertComments'>; 90 | } 91 | declare module 'babel-eslint/lib/babylon-to-espree/convertTemplateType.js' { 92 | declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/convertTemplateType'>; 93 | } 94 | declare module 'babel-eslint/lib/babylon-to-espree/index.js' { 95 | declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/index'>; 96 | } 97 | declare module 'babel-eslint/lib/babylon-to-espree/toAST.js' { 98 | declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/toAST'>; 99 | } 100 | declare module 'babel-eslint/lib/babylon-to-espree/toToken.js' { 101 | declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/toToken'>; 102 | } 103 | declare module 'babel-eslint/lib/babylon-to-espree/toTokens.js' { 104 | declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/toTokens'>; 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-patch.js' { 110 | declare module.exports: $Exports<'babel-eslint/lib/parse-with-patch'>; 111 | } 112 | declare module 'babel-eslint/lib/parse-with-scope.js' { 113 | declare module.exports: $Exports<'babel-eslint/lib/parse-with-scope'>; 114 | } 115 | declare module 'babel-eslint/lib/parse.js' { 116 | declare module.exports: $Exports<'babel-eslint/lib/parse'>; 117 | } 118 | declare module 'babel-eslint/lib/patch-eslint-scope.js' { 119 | declare module.exports: $Exports<'babel-eslint/lib/patch-eslint-scope'>; 120 | } 121 | declare module 'babel-eslint/lib/visitor-keys.js' { 122 | declare module.exports: $Exports<'babel-eslint/lib/visitor-keys'>; 123 | } 124 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-jest_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 50617bb33a4cde19cf0e7ac4a118aae2 2 | // flow-typed version: <>/babel-jest_v^22.2.2/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-jest' 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-jest' { 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-jest/build/index' { 26 | declare module.exports: any; 27 | } 28 | 29 | // Filename aliases 30 | declare module 'babel-jest/build/index.js' { 31 | declare module.exports: $Exports<'babel-jest/build/index'>; 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-loader_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 5e49a61272bf7c5950868e139b533242 2 | // flow-typed version: <>/babel-loader_v^7.1.2/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-loader' 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-loader' { 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-loader/lib/fs-cache' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'babel-loader/lib/index' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'babel-loader/lib/resolve-rc' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'babel-loader/lib/utils/exists' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'babel-loader/lib/utils/read' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'babel-loader/lib/utils/relative' { 46 | declare module.exports: any; 47 | } 48 | 49 | // Filename aliases 50 | declare module 'babel-loader/lib/fs-cache.js' { 51 | declare module.exports: $Exports<'babel-loader/lib/fs-cache'>; 52 | } 53 | declare module 'babel-loader/lib/index.js' { 54 | declare module.exports: $Exports<'babel-loader/lib/index'>; 55 | } 56 | declare module 'babel-loader/lib/resolve-rc.js' { 57 | declare module.exports: $Exports<'babel-loader/lib/resolve-rc'>; 58 | } 59 | declare module 'babel-loader/lib/utils/exists.js' { 60 | declare module.exports: $Exports<'babel-loader/lib/utils/exists'>; 61 | } 62 | declare module 'babel-loader/lib/utils/read.js' { 63 | declare module.exports: $Exports<'babel-loader/lib/utils/read'>; 64 | } 65 | declare module 'babel-loader/lib/utils/relative.js' { 66 | declare module.exports: $Exports<'babel-loader/lib/utils/relative'>; 67 | } 68 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-plugin-transform-react-constant-elements_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 6e8eacd0659d135c1d34d62c2412c865 2 | // flow-typed version: <>/babel-plugin-transform-react-constant-elements_v^6.23.0/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-plugin-transform-react-constant-elements' 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-react-constant-elements' { 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-react-constant-elements/lib/index' { 26 | declare module.exports: any; 27 | } 28 | 29 | // Filename aliases 30 | declare module 'babel-plugin-transform-react-constant-elements/lib/index.js' { 31 | declare module.exports: $Exports<'babel-plugin-transform-react-constant-elements/lib/index'>; 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-plugin-transform-react-inline-elements_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: a989618467b29cb63e5973f457de4be4 2 | // flow-typed version: <>/babel-plugin-transform-react-inline-elements_v^6.22.0/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-plugin-transform-react-inline-elements' 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-react-inline-elements' { 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-react-inline-elements/lib/index' { 26 | declare module.exports: any; 27 | } 28 | 29 | // Filename aliases 30 | declare module 'babel-plugin-transform-react-inline-elements/lib/index.js' { 31 | declare module.exports: $Exports<'babel-plugin-transform-react-inline-elements/lib/index'>; 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-preset-env_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 6b30a19e7e74f426446f54a13326abc6 2 | // flow-typed version: <>/babel-preset-env_v^1.6.1/flow_v0.65.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/lib/default-includes' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'babel-preset-env/lib/index' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'babel-preset-env/lib/module-transformations' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'babel-preset-env/lib/normalize-options' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'babel-preset-env/lib/targets-parser' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'babel-preset-env/lib/transform-polyfill-require-plugin' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module 'babel-preset-env/lib/utils' { 58 | declare module.exports: any; 59 | } 60 | 61 | // Filename aliases 62 | declare module 'babel-preset-env/data/built-in-features.js' { 63 | declare module.exports: $Exports<'babel-preset-env/data/built-in-features'>; 64 | } 65 | declare module 'babel-preset-env/data/plugin-features.js' { 66 | declare module.exports: $Exports<'babel-preset-env/data/plugin-features'>; 67 | } 68 | declare module 'babel-preset-env/lib/default-includes.js' { 69 | declare module.exports: $Exports<'babel-preset-env/lib/default-includes'>; 70 | } 71 | declare module 'babel-preset-env/lib/index.js' { 72 | declare module.exports: $Exports<'babel-preset-env/lib/index'>; 73 | } 74 | declare module 'babel-preset-env/lib/module-transformations.js' { 75 | declare module.exports: $Exports<'babel-preset-env/lib/module-transformations'>; 76 | } 77 | declare module 'babel-preset-env/lib/normalize-options.js' { 78 | declare module.exports: $Exports<'babel-preset-env/lib/normalize-options'>; 79 | } 80 | declare module 'babel-preset-env/lib/targets-parser.js' { 81 | declare module.exports: $Exports<'babel-preset-env/lib/targets-parser'>; 82 | } 83 | declare module 'babel-preset-env/lib/transform-polyfill-require-plugin.js' { 84 | declare module.exports: $Exports<'babel-preset-env/lib/transform-polyfill-require-plugin'>; 85 | } 86 | declare module 'babel-preset-env/lib/utils.js' { 87 | declare module.exports: $Exports<'babel-preset-env/lib/utils'>; 88 | } 89 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-preset-react_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: f48b66c8da84a2483a0b0f5b9398daa7 2 | // flow-typed version: <>/babel-preset-react_v^6.24.1/flow_v0.65.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-preset-stage-2_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: aaab8e4fd0fd3b0b50e0302104fb8792 2 | // flow-typed version: <>/babel-preset-stage-2_v^6.24.1/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-preset-stage-2' 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-stage-2' { 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-stage-2/lib/index' { 26 | declare module.exports: any; 27 | } 28 | 29 | // Filename aliases 30 | declare module 'babel-preset-stage-2/lib/index.js' { 31 | declare module.exports: $Exports<'babel-preset-stage-2/lib/index'>; 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/cross-env_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 5cb71c1f062843f7939a61185f30edf3 2 | // flow-typed version: <>/cross-env_v^5.1.3/flow_v0.65.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/css-loader_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: a60b7e34e3c6dcc1ab11205a19a85972 2 | // flow-typed version: <>/css-loader_v^0.28.9/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'css-loader' 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 'css-loader' { 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 'css-loader/lib/compile-exports' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'css-loader/lib/createResolver' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'css-loader/lib/css-base' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'css-loader/lib/getImportPrefix' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'css-loader/lib/getLocalIdent' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'css-loader/lib/loader' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'css-loader/lib/localsLoader' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'css-loader/lib/processCss' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module 'css-loader/lib/url/escape' { 58 | declare module.exports: any; 59 | } 60 | 61 | declare module 'css-loader/locals' { 62 | declare module.exports: any; 63 | } 64 | 65 | // Filename aliases 66 | declare module 'css-loader/index' { 67 | declare module.exports: $Exports<'css-loader'>; 68 | } 69 | declare module 'css-loader/index.js' { 70 | declare module.exports: $Exports<'css-loader'>; 71 | } 72 | declare module 'css-loader/lib/compile-exports.js' { 73 | declare module.exports: $Exports<'css-loader/lib/compile-exports'>; 74 | } 75 | declare module 'css-loader/lib/createResolver.js' { 76 | declare module.exports: $Exports<'css-loader/lib/createResolver'>; 77 | } 78 | declare module 'css-loader/lib/css-base.js' { 79 | declare module.exports: $Exports<'css-loader/lib/css-base'>; 80 | } 81 | declare module 'css-loader/lib/getImportPrefix.js' { 82 | declare module.exports: $Exports<'css-loader/lib/getImportPrefix'>; 83 | } 84 | declare module 'css-loader/lib/getLocalIdent.js' { 85 | declare module.exports: $Exports<'css-loader/lib/getLocalIdent'>; 86 | } 87 | declare module 'css-loader/lib/loader.js' { 88 | declare module.exports: $Exports<'css-loader/lib/loader'>; 89 | } 90 | declare module 'css-loader/lib/localsLoader.js' { 91 | declare module.exports: $Exports<'css-loader/lib/localsLoader'>; 92 | } 93 | declare module 'css-loader/lib/processCss.js' { 94 | declare module.exports: $Exports<'css-loader/lib/processCss'>; 95 | } 96 | declare module 'css-loader/lib/url/escape.js' { 97 | declare module.exports: $Exports<'css-loader/lib/url/escape'>; 98 | } 99 | declare module 'css-loader/locals.js' { 100 | declare module.exports: $Exports<'css-loader/locals'>; 101 | } 102 | -------------------------------------------------------------------------------- /flow-typed/npm/del-cli_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 8841c5fdf631a4e77e4c4747054a57e6 2 | // flow-typed version: <>/del-cli_v^1.1.0/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'del-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 'del-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 'del-cli/cli' { 26 | declare module.exports: any; 27 | } 28 | 29 | // Filename aliases 30 | declare module 'del-cli/cli.js' { 31 | declare module.exports: $Exports<'del-cli/cli'>; 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/enzyme-adapter-react-16_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: d574609843c5d38256df2739873bc1b8 2 | // flow-typed version: <>/enzyme-adapter-react-16_v^1.1.1/flow_v0.65.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/index' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'enzyme-adapter-react-16/build/ReactSixteenAdapter' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'enzyme-adapter-react-16/src/index' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'enzyme-adapter-react-16/src/ReactSixteenAdapter' { 38 | declare module.exports: any; 39 | } 40 | 41 | // Filename aliases 42 | declare module 'enzyme-adapter-react-16/build/index.js' { 43 | declare module.exports: $Exports<'enzyme-adapter-react-16/build/index'>; 44 | } 45 | declare module 'enzyme-adapter-react-16/build/ReactSixteenAdapter.js' { 46 | declare module.exports: $Exports<'enzyme-adapter-react-16/build/ReactSixteenAdapter'>; 47 | } 48 | declare module 'enzyme-adapter-react-16/src/index.js' { 49 | declare module.exports: $Exports<'enzyme-adapter-react-16/src/index'>; 50 | } 51 | declare module 'enzyme-adapter-react-16/src/ReactSixteenAdapter.js' { 52 | declare module.exports: $Exports<'enzyme-adapter-react-16/src/ReactSixteenAdapter'>; 53 | } 54 | -------------------------------------------------------------------------------- /flow-typed/npm/enzyme_v3.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 7be2af8800fdadaea6ac0404d256bafc 2 | // flow-typed version: 6ce6a0467c/enzyme_v3.x.x/flow_>=v0.53.x 3 | 4 | import * as React from "react"; 5 | 6 | declare module "enzyme" { 7 | declare type PredicateFunction = ( 8 | wrapper: T, 9 | index: number 10 | ) => boolean; 11 | declare type NodeOrNodes = React.Node | Array; 12 | declare type EnzymeSelector = string | Class> | Object; 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 | find(selector: EnzymeSelector): this, 20 | findWhere(predicate: PredicateFunction): this, 21 | filter(selector: EnzymeSelector): this, 22 | filterWhere(predicate: PredicateFunction): this, 23 | hostNodes(): this, 24 | contains(nodeOrNodes: NodeOrNodes): boolean, 25 | containsMatchingElement(node: React.Node): boolean, 26 | containsAllMatchingElements(nodes: NodeOrNodes): boolean, 27 | containsAnyMatchingElements(nodes: NodeOrNodes): boolean, 28 | dive(option?: { context?: Object }): this, 29 | exists(): boolean, 30 | isEmptyRender(): boolean, 31 | matchesElement(node: React.Node): boolean, 32 | hasClass(className: string): boolean, 33 | is(selector: EnzymeSelector): boolean, 34 | isEmpty(): boolean, 35 | not(selector: EnzymeSelector): this, 36 | children(selector?: EnzymeSelector): this, 37 | childAt(index: number): this, 38 | parents(selector?: EnzymeSelector): this, 39 | parent(): this, 40 | closest(selector: EnzymeSelector): this, 41 | render(): CheerioWrapper, 42 | unmount(): this, 43 | text(): string, 44 | html(): string, 45 | get(index: number): React.Node, 46 | getDOMNode(): HTMLElement | HTMLInputElement, 47 | at(index: number): this, 48 | first(): this, 49 | last(): this, 50 | state(key?: string): any, 51 | context(key?: string): any, 52 | props(): Object, 53 | prop(key: string): any, 54 | key(): string, 55 | simulate(event: string, ...args: Array): this, 56 | setState(state: {}, callback?: Function): this, 57 | setProps(props: {}): this, 58 | setContext(context: Object): this, 59 | instance(): React.Component<*, *>, 60 | update(): this, 61 | debug(options?: Object): string, 62 | type(): string | Function | null, 63 | name(): string, 64 | forEach(fn: (node: this, index: number) => mixed): this, 65 | map(fn: (node: this, index: number) => T): Array, 66 | reduce( 67 | fn: (value: T, node: this, index: number) => T, 68 | initialValue?: T 69 | ): Array, 70 | reduceRight( 71 | fn: (value: T, node: this, index: number) => T, 72 | initialValue?: T 73 | ): Array, 74 | some(selector: EnzymeSelector): boolean, 75 | someWhere(predicate: PredicateFunction): boolean, 76 | every(selector: EnzymeSelector): boolean, 77 | everyWhere(predicate: PredicateFunction): boolean, 78 | length: number 79 | } 80 | 81 | declare class ReactWrapper extends Wrapper { 82 | constructor(nodes: NodeOrNodes, root: any, options?: ?Object): ReactWrapper, 83 | mount(): this, 84 | ref(refName: string): this, 85 | detach(): void 86 | } 87 | 88 | declare class ShallowWrapper extends Wrapper { 89 | constructor( 90 | nodes: NodeOrNodes, 91 | root: any, 92 | options?: ?Object 93 | ): ShallowWrapper, 94 | equals(node: React.Node): boolean, 95 | shallow(options?: { context?: Object }): ShallowWrapper, 96 | getElement(): React.Node, 97 | getElements(): Array 98 | } 99 | 100 | declare function shallow( 101 | node: React.Node, 102 | options?: { context?: Object, disableLifecycleMethods?: boolean } 103 | ): ShallowWrapper; 104 | declare function mount( 105 | node: React.Node, 106 | options?: { 107 | context?: Object, 108 | attachTo?: HTMLElement, 109 | childContextTypes?: Object 110 | } 111 | ): ReactWrapper; 112 | declare function render( 113 | node: React.Node, 114 | options?: { context?: Object } 115 | ): CheerioWrapper; 116 | 117 | declare module.exports: { 118 | configure(options: { 119 | Adapter?: any, 120 | disableLifecycleMethods?: boolean 121 | }): void, 122 | render: typeof render, 123 | mount: typeof mount, 124 | shallow: typeof shallow, 125 | ShallowWrapper: typeof ShallowWrapper, 126 | ReactWrapper: typeof ReactWrapper 127 | }; 128 | } 129 | -------------------------------------------------------------------------------- /flow-typed/npm/eslint-config-satya164_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 80cdbf5974b51bb879cb3919b5f4e268 2 | // flow-typed version: <>/eslint-config-satya164_v^1.0.1/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'eslint-config-satya164' 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-satya164' { 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 | 27 | // Filename aliases 28 | declare module 'eslint-config-satya164/index' { 29 | declare module.exports: $Exports<'eslint-config-satya164'>; 30 | } 31 | declare module 'eslint-config-satya164/index.js' { 32 | declare module.exports: $Exports<'eslint-config-satya164'>; 33 | } 34 | -------------------------------------------------------------------------------- /flow-typed/npm/eslint-loader_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 11d5075f389a50a8830ebd8ae1789724 2 | // flow-typed version: <>/eslint-loader_v^1.9.0/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'eslint-loader' 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-loader' { 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 | 27 | // Filename aliases 28 | declare module 'eslint-loader/index' { 29 | declare module.exports: $Exports<'eslint-loader'>; 30 | } 31 | declare module 'eslint-loader/index.js' { 32 | declare module.exports: $Exports<'eslint-loader'>; 33 | } 34 | -------------------------------------------------------------------------------- /flow-typed/npm/file-loader_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: a98b69efee59be40b6dcd2721cf777a1 2 | // flow-typed version: <>/file-loader_v^1.1.6/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'file-loader' 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 'file-loader' { 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 'file-loader/dist/cjs' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'file-loader/dist/index' { 30 | declare module.exports: any; 31 | } 32 | 33 | // Filename aliases 34 | declare module 'file-loader/dist/cjs.js' { 35 | declare module.exports: $Exports<'file-loader/dist/cjs'>; 36 | } 37 | declare module 'file-loader/dist/index.js' { 38 | declare module.exports: $Exports<'file-loader/dist/index'>; 39 | } 40 | -------------------------------------------------------------------------------- /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/identity-obj-proxy_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: cdf69913ab91b70a0c9cf63e8cabf82b 2 | // flow-typed version: <>/identity-obj-proxy_v^3.0.0/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'identity-obj-proxy' 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 'identity-obj-proxy' { 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 'identity-obj-proxy/src/__tests__/import-es6-export-test' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'identity-obj-proxy/src/__tests__/import-es6-import-export-test' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'identity-obj-proxy/src/__tests__/import-es6-import-test' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'identity-obj-proxy/src/__tests__/import-vanilla-test' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'identity-obj-proxy/src/__tests__/index-test' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'identity-obj-proxy/src/__tests__/require-es6-export-test' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'identity-obj-proxy/src/__tests__/require-es6-import-export-test' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'identity-obj-proxy/src/__tests__/require-es6-import-test' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module 'identity-obj-proxy/src/__tests__/require-vanilla-test' { 58 | declare module.exports: any; 59 | } 60 | 61 | declare module 'identity-obj-proxy/src/index' { 62 | declare module.exports: any; 63 | } 64 | 65 | declare module 'identity-obj-proxy/src/test-redirections/idObjES6Export' { 66 | declare module.exports: any; 67 | } 68 | 69 | declare module 'identity-obj-proxy/src/test-redirections/idObjES6Import' { 70 | declare module.exports: any; 71 | } 72 | 73 | declare module 'identity-obj-proxy/src/test-redirections/idObjES6ImportExport' { 74 | declare module.exports: any; 75 | } 76 | 77 | // Filename aliases 78 | declare module 'identity-obj-proxy/src/__tests__/import-es6-export-test.js' { 79 | declare module.exports: $Exports<'identity-obj-proxy/src/__tests__/import-es6-export-test'>; 80 | } 81 | declare module 'identity-obj-proxy/src/__tests__/import-es6-import-export-test.js' { 82 | declare module.exports: $Exports<'identity-obj-proxy/src/__tests__/import-es6-import-export-test'>; 83 | } 84 | declare module 'identity-obj-proxy/src/__tests__/import-es6-import-test.js' { 85 | declare module.exports: $Exports<'identity-obj-proxy/src/__tests__/import-es6-import-test'>; 86 | } 87 | declare module 'identity-obj-proxy/src/__tests__/import-vanilla-test.js' { 88 | declare module.exports: $Exports<'identity-obj-proxy/src/__tests__/import-vanilla-test'>; 89 | } 90 | declare module 'identity-obj-proxy/src/__tests__/index-test.js' { 91 | declare module.exports: $Exports<'identity-obj-proxy/src/__tests__/index-test'>; 92 | } 93 | declare module 'identity-obj-proxy/src/__tests__/require-es6-export-test.js' { 94 | declare module.exports: $Exports<'identity-obj-proxy/src/__tests__/require-es6-export-test'>; 95 | } 96 | declare module 'identity-obj-proxy/src/__tests__/require-es6-import-export-test.js' { 97 | declare module.exports: $Exports<'identity-obj-proxy/src/__tests__/require-es6-import-export-test'>; 98 | } 99 | declare module 'identity-obj-proxy/src/__tests__/require-es6-import-test.js' { 100 | declare module.exports: $Exports<'identity-obj-proxy/src/__tests__/require-es6-import-test'>; 101 | } 102 | declare module 'identity-obj-proxy/src/__tests__/require-vanilla-test.js' { 103 | declare module.exports: $Exports<'identity-obj-proxy/src/__tests__/require-vanilla-test'>; 104 | } 105 | declare module 'identity-obj-proxy/src/index.js' { 106 | declare module.exports: $Exports<'identity-obj-proxy/src/index'>; 107 | } 108 | declare module 'identity-obj-proxy/src/test-redirections/idObjES6Export.js' { 109 | declare module.exports: $Exports<'identity-obj-proxy/src/test-redirections/idObjES6Export'>; 110 | } 111 | declare module 'identity-obj-proxy/src/test-redirections/idObjES6Import.js' { 112 | declare module.exports: $Exports<'identity-obj-proxy/src/test-redirections/idObjES6Import'>; 113 | } 114 | declare module 'identity-obj-proxy/src/test-redirections/idObjES6ImportExport.js' { 115 | declare module.exports: $Exports<'identity-obj-proxy/src/test-redirections/idObjES6ImportExport'>; 116 | } 117 | -------------------------------------------------------------------------------- /flow-typed/npm/jest-cli_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: dc9877c894940080ec38989629315cf2 2 | // flow-typed version: <>/jest-cli_v^22.3.0/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'jest-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 'jest-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 'jest-cli/bin/jest' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'jest-cli/build/cli/args' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'jest-cli/build/cli/index' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'jest-cli/build/constants' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'jest-cli/build/failed_tests_cache' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'jest-cli/build/generate_empty_coverage' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'jest-cli/build/get_changed_files_promise' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'jest-cli/build/get_no_test_found_failed' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module 'jest-cli/build/get_no_test_found_message' { 58 | declare module.exports: any; 59 | } 60 | 61 | declare module 'jest-cli/build/get_no_test_found_related_to_changed_files' { 62 | declare module.exports: any; 63 | } 64 | 65 | declare module 'jest-cli/build/get_no_test_found_verbose' { 66 | declare module.exports: any; 67 | } 68 | 69 | declare module 'jest-cli/build/get_no_test_found' { 70 | declare module.exports: any; 71 | } 72 | 73 | declare module 'jest-cli/build/jest_hooks' { 74 | declare module.exports: any; 75 | } 76 | 77 | declare module 'jest-cli/build/jest' { 78 | declare module.exports: any; 79 | } 80 | 81 | declare module 'jest-cli/build/lib/active_filters_message' { 82 | declare module.exports: any; 83 | } 84 | 85 | declare module 'jest-cli/build/lib/colorize' { 86 | declare module.exports: any; 87 | } 88 | 89 | declare module 'jest-cli/build/lib/create_context' { 90 | declare module.exports: any; 91 | } 92 | 93 | declare module 'jest-cli/build/lib/format_test_name_by_pattern' { 94 | declare module.exports: any; 95 | } 96 | 97 | declare module 'jest-cli/build/lib/handle_deprecation_warnings' { 98 | declare module.exports: any; 99 | } 100 | 101 | declare module 'jest-cli/build/lib/is_valid_path' { 102 | declare module.exports: any; 103 | } 104 | 105 | declare module 'jest-cli/build/lib/log_debug_messages' { 106 | declare module.exports: any; 107 | } 108 | 109 | declare module 'jest-cli/build/lib/pattern_mode_helpers' { 110 | declare module.exports: any; 111 | } 112 | 113 | declare module 'jest-cli/build/lib/Prompt' { 114 | declare module.exports: any; 115 | } 116 | 117 | declare module 'jest-cli/build/lib/scroll_list' { 118 | declare module.exports: any; 119 | } 120 | 121 | declare module 'jest-cli/build/lib/terminal_utils' { 122 | declare module.exports: any; 123 | } 124 | 125 | declare module 'jest-cli/build/lib/update_global_config' { 126 | declare module.exports: any; 127 | } 128 | 129 | declare module 'jest-cli/build/pattern_prompt' { 130 | declare module.exports: any; 131 | } 132 | 133 | declare module 'jest-cli/build/plugins/quit' { 134 | declare module.exports: any; 135 | } 136 | 137 | declare module 'jest-cli/build/plugins/test_name_pattern' { 138 | declare module.exports: any; 139 | } 140 | 141 | declare module 'jest-cli/build/plugins/test_path_pattern' { 142 | declare module.exports: any; 143 | } 144 | 145 | declare module 'jest-cli/build/plugins/update_snapshots_interactive' { 146 | declare module.exports: any; 147 | } 148 | 149 | declare module 'jest-cli/build/plugins/update_snapshots' { 150 | declare module.exports: any; 151 | } 152 | 153 | declare module 'jest-cli/build/pluralize' { 154 | declare module.exports: any; 155 | } 156 | 157 | declare module 'jest-cli/build/pre_run_message' { 158 | declare module.exports: any; 159 | } 160 | 161 | declare module 'jest-cli/build/reporter_dispatcher' { 162 | declare module.exports: any; 163 | } 164 | 165 | declare module 'jest-cli/build/reporters/base_reporter' { 166 | declare module.exports: any; 167 | } 168 | 169 | declare module 'jest-cli/build/reporters/coverage_reporter' { 170 | declare module.exports: any; 171 | } 172 | 173 | declare module 'jest-cli/build/reporters/coverage_worker' { 174 | declare module.exports: any; 175 | } 176 | 177 | declare module 'jest-cli/build/reporters/default_reporter' { 178 | declare module.exports: any; 179 | } 180 | 181 | declare module 'jest-cli/build/reporters/get_result_header' { 182 | declare module.exports: any; 183 | } 184 | 185 | declare module 'jest-cli/build/reporters/get_snapshot_status' { 186 | declare module.exports: any; 187 | } 188 | 189 | declare module 'jest-cli/build/reporters/get_snapshot_summary' { 190 | declare module.exports: any; 191 | } 192 | 193 | declare module 'jest-cli/build/reporters/notify_reporter' { 194 | declare module.exports: any; 195 | } 196 | 197 | declare module 'jest-cli/build/reporters/Status' { 198 | declare module.exports: any; 199 | } 200 | 201 | declare module 'jest-cli/build/reporters/summary_reporter' { 202 | declare module.exports: any; 203 | } 204 | 205 | declare module 'jest-cli/build/reporters/utils' { 206 | declare module.exports: any; 207 | } 208 | 209 | declare module 'jest-cli/build/reporters/verbose_reporter' { 210 | declare module.exports: any; 211 | } 212 | 213 | declare module 'jest-cli/build/run_jest' { 214 | declare module.exports: any; 215 | } 216 | 217 | declare module 'jest-cli/build/search_source' { 218 | declare module.exports: any; 219 | } 220 | 221 | declare module 'jest-cli/build/snapshot_interactive_mode' { 222 | declare module.exports: any; 223 | } 224 | 225 | declare module 'jest-cli/build/test_name_pattern_prompt' { 226 | declare module.exports: any; 227 | } 228 | 229 | declare module 'jest-cli/build/test_path_pattern_prompt' { 230 | declare module.exports: any; 231 | } 232 | 233 | declare module 'jest-cli/build/test_path_pattern_to_regexp' { 234 | declare module.exports: any; 235 | } 236 | 237 | declare module 'jest-cli/build/test_result_helpers' { 238 | declare module.exports: any; 239 | } 240 | 241 | declare module 'jest-cli/build/test_scheduler' { 242 | declare module.exports: any; 243 | } 244 | 245 | declare module 'jest-cli/build/test_sequencer' { 246 | declare module.exports: any; 247 | } 248 | 249 | declare module 'jest-cli/build/test_watcher' { 250 | declare module.exports: any; 251 | } 252 | 253 | declare module 'jest-cli/build/types' { 254 | declare module.exports: any; 255 | } 256 | 257 | declare module 'jest-cli/build/watch_plugin' { 258 | declare module.exports: any; 259 | } 260 | 261 | declare module 'jest-cli/build/watch' { 262 | declare module.exports: any; 263 | } 264 | 265 | // Filename aliases 266 | declare module 'jest-cli/bin/jest.js' { 267 | declare module.exports: $Exports<'jest-cli/bin/jest'>; 268 | } 269 | declare module 'jest-cli/build/cli/args.js' { 270 | declare module.exports: $Exports<'jest-cli/build/cli/args'>; 271 | } 272 | declare module 'jest-cli/build/cli/index.js' { 273 | declare module.exports: $Exports<'jest-cli/build/cli/index'>; 274 | } 275 | declare module 'jest-cli/build/constants.js' { 276 | declare module.exports: $Exports<'jest-cli/build/constants'>; 277 | } 278 | declare module 'jest-cli/build/failed_tests_cache.js' { 279 | declare module.exports: $Exports<'jest-cli/build/failed_tests_cache'>; 280 | } 281 | declare module 'jest-cli/build/generate_empty_coverage.js' { 282 | declare module.exports: $Exports<'jest-cli/build/generate_empty_coverage'>; 283 | } 284 | declare module 'jest-cli/build/get_changed_files_promise.js' { 285 | declare module.exports: $Exports<'jest-cli/build/get_changed_files_promise'>; 286 | } 287 | declare module 'jest-cli/build/get_no_test_found_failed.js' { 288 | declare module.exports: $Exports<'jest-cli/build/get_no_test_found_failed'>; 289 | } 290 | declare module 'jest-cli/build/get_no_test_found_message.js' { 291 | declare module.exports: $Exports<'jest-cli/build/get_no_test_found_message'>; 292 | } 293 | declare module 'jest-cli/build/get_no_test_found_related_to_changed_files.js' { 294 | declare module.exports: $Exports<'jest-cli/build/get_no_test_found_related_to_changed_files'>; 295 | } 296 | declare module 'jest-cli/build/get_no_test_found_verbose.js' { 297 | declare module.exports: $Exports<'jest-cli/build/get_no_test_found_verbose'>; 298 | } 299 | declare module 'jest-cli/build/get_no_test_found.js' { 300 | declare module.exports: $Exports<'jest-cli/build/get_no_test_found'>; 301 | } 302 | declare module 'jest-cli/build/jest_hooks.js' { 303 | declare module.exports: $Exports<'jest-cli/build/jest_hooks'>; 304 | } 305 | declare module 'jest-cli/build/jest.js' { 306 | declare module.exports: $Exports<'jest-cli/build/jest'>; 307 | } 308 | declare module 'jest-cli/build/lib/active_filters_message.js' { 309 | declare module.exports: $Exports<'jest-cli/build/lib/active_filters_message'>; 310 | } 311 | declare module 'jest-cli/build/lib/colorize.js' { 312 | declare module.exports: $Exports<'jest-cli/build/lib/colorize'>; 313 | } 314 | declare module 'jest-cli/build/lib/create_context.js' { 315 | declare module.exports: $Exports<'jest-cli/build/lib/create_context'>; 316 | } 317 | declare module 'jest-cli/build/lib/format_test_name_by_pattern.js' { 318 | declare module.exports: $Exports<'jest-cli/build/lib/format_test_name_by_pattern'>; 319 | } 320 | declare module 'jest-cli/build/lib/handle_deprecation_warnings.js' { 321 | declare module.exports: $Exports<'jest-cli/build/lib/handle_deprecation_warnings'>; 322 | } 323 | declare module 'jest-cli/build/lib/is_valid_path.js' { 324 | declare module.exports: $Exports<'jest-cli/build/lib/is_valid_path'>; 325 | } 326 | declare module 'jest-cli/build/lib/log_debug_messages.js' { 327 | declare module.exports: $Exports<'jest-cli/build/lib/log_debug_messages'>; 328 | } 329 | declare module 'jest-cli/build/lib/pattern_mode_helpers.js' { 330 | declare module.exports: $Exports<'jest-cli/build/lib/pattern_mode_helpers'>; 331 | } 332 | declare module 'jest-cli/build/lib/Prompt.js' { 333 | declare module.exports: $Exports<'jest-cli/build/lib/Prompt'>; 334 | } 335 | declare module 'jest-cli/build/lib/scroll_list.js' { 336 | declare module.exports: $Exports<'jest-cli/build/lib/scroll_list'>; 337 | } 338 | declare module 'jest-cli/build/lib/terminal_utils.js' { 339 | declare module.exports: $Exports<'jest-cli/build/lib/terminal_utils'>; 340 | } 341 | declare module 'jest-cli/build/lib/update_global_config.js' { 342 | declare module.exports: $Exports<'jest-cli/build/lib/update_global_config'>; 343 | } 344 | declare module 'jest-cli/build/pattern_prompt.js' { 345 | declare module.exports: $Exports<'jest-cli/build/pattern_prompt'>; 346 | } 347 | declare module 'jest-cli/build/plugins/quit.js' { 348 | declare module.exports: $Exports<'jest-cli/build/plugins/quit'>; 349 | } 350 | declare module 'jest-cli/build/plugins/test_name_pattern.js' { 351 | declare module.exports: $Exports<'jest-cli/build/plugins/test_name_pattern'>; 352 | } 353 | declare module 'jest-cli/build/plugins/test_path_pattern.js' { 354 | declare module.exports: $Exports<'jest-cli/build/plugins/test_path_pattern'>; 355 | } 356 | declare module 'jest-cli/build/plugins/update_snapshots_interactive.js' { 357 | declare module.exports: $Exports<'jest-cli/build/plugins/update_snapshots_interactive'>; 358 | } 359 | declare module 'jest-cli/build/plugins/update_snapshots.js' { 360 | declare module.exports: $Exports<'jest-cli/build/plugins/update_snapshots'>; 361 | } 362 | declare module 'jest-cli/build/pluralize.js' { 363 | declare module.exports: $Exports<'jest-cli/build/pluralize'>; 364 | } 365 | declare module 'jest-cli/build/pre_run_message.js' { 366 | declare module.exports: $Exports<'jest-cli/build/pre_run_message'>; 367 | } 368 | declare module 'jest-cli/build/reporter_dispatcher.js' { 369 | declare module.exports: $Exports<'jest-cli/build/reporter_dispatcher'>; 370 | } 371 | declare module 'jest-cli/build/reporters/base_reporter.js' { 372 | declare module.exports: $Exports<'jest-cli/build/reporters/base_reporter'>; 373 | } 374 | declare module 'jest-cli/build/reporters/coverage_reporter.js' { 375 | declare module.exports: $Exports<'jest-cli/build/reporters/coverage_reporter'>; 376 | } 377 | declare module 'jest-cli/build/reporters/coverage_worker.js' { 378 | declare module.exports: $Exports<'jest-cli/build/reporters/coverage_worker'>; 379 | } 380 | declare module 'jest-cli/build/reporters/default_reporter.js' { 381 | declare module.exports: $Exports<'jest-cli/build/reporters/default_reporter'>; 382 | } 383 | declare module 'jest-cli/build/reporters/get_result_header.js' { 384 | declare module.exports: $Exports<'jest-cli/build/reporters/get_result_header'>; 385 | } 386 | declare module 'jest-cli/build/reporters/get_snapshot_status.js' { 387 | declare module.exports: $Exports<'jest-cli/build/reporters/get_snapshot_status'>; 388 | } 389 | declare module 'jest-cli/build/reporters/get_snapshot_summary.js' { 390 | declare module.exports: $Exports<'jest-cli/build/reporters/get_snapshot_summary'>; 391 | } 392 | declare module 'jest-cli/build/reporters/notify_reporter.js' { 393 | declare module.exports: $Exports<'jest-cli/build/reporters/notify_reporter'>; 394 | } 395 | declare module 'jest-cli/build/reporters/Status.js' { 396 | declare module.exports: $Exports<'jest-cli/build/reporters/Status'>; 397 | } 398 | declare module 'jest-cli/build/reporters/summary_reporter.js' { 399 | declare module.exports: $Exports<'jest-cli/build/reporters/summary_reporter'>; 400 | } 401 | declare module 'jest-cli/build/reporters/utils.js' { 402 | declare module.exports: $Exports<'jest-cli/build/reporters/utils'>; 403 | } 404 | declare module 'jest-cli/build/reporters/verbose_reporter.js' { 405 | declare module.exports: $Exports<'jest-cli/build/reporters/verbose_reporter'>; 406 | } 407 | declare module 'jest-cli/build/run_jest.js' { 408 | declare module.exports: $Exports<'jest-cli/build/run_jest'>; 409 | } 410 | declare module 'jest-cli/build/search_source.js' { 411 | declare module.exports: $Exports<'jest-cli/build/search_source'>; 412 | } 413 | declare module 'jest-cli/build/snapshot_interactive_mode.js' { 414 | declare module.exports: $Exports<'jest-cli/build/snapshot_interactive_mode'>; 415 | } 416 | declare module 'jest-cli/build/test_name_pattern_prompt.js' { 417 | declare module.exports: $Exports<'jest-cli/build/test_name_pattern_prompt'>; 418 | } 419 | declare module 'jest-cli/build/test_path_pattern_prompt.js' { 420 | declare module.exports: $Exports<'jest-cli/build/test_path_pattern_prompt'>; 421 | } 422 | declare module 'jest-cli/build/test_path_pattern_to_regexp.js' { 423 | declare module.exports: $Exports<'jest-cli/build/test_path_pattern_to_regexp'>; 424 | } 425 | declare module 'jest-cli/build/test_result_helpers.js' { 426 | declare module.exports: $Exports<'jest-cli/build/test_result_helpers'>; 427 | } 428 | declare module 'jest-cli/build/test_scheduler.js' { 429 | declare module.exports: $Exports<'jest-cli/build/test_scheduler'>; 430 | } 431 | declare module 'jest-cli/build/test_sequencer.js' { 432 | declare module.exports: $Exports<'jest-cli/build/test_sequencer'>; 433 | } 434 | declare module 'jest-cli/build/test_watcher.js' { 435 | declare module.exports: $Exports<'jest-cli/build/test_watcher'>; 436 | } 437 | declare module 'jest-cli/build/types.js' { 438 | declare module.exports: $Exports<'jest-cli/build/types'>; 439 | } 440 | declare module 'jest-cli/build/watch_plugin.js' { 441 | declare module.exports: $Exports<'jest-cli/build/watch_plugin'>; 442 | } 443 | declare module 'jest-cli/build/watch.js' { 444 | declare module.exports: $Exports<'jest-cli/build/watch'>; 445 | } 446 | -------------------------------------------------------------------------------- /flow-typed/npm/postcss-loader_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 446c2e258686fcc9b4b65ed5b6e7aeef 2 | // flow-typed version: <>/postcss-loader_v^2.1.0/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'postcss-loader' 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 'postcss-loader' { 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 'postcss-loader/lib/Error' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'postcss-loader/lib/index' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'postcss-loader/lib/options' { 34 | declare module.exports: any; 35 | } 36 | 37 | // Filename aliases 38 | declare module 'postcss-loader/lib/Error.js' { 39 | declare module.exports: $Exports<'postcss-loader/lib/Error'>; 40 | } 41 | declare module 'postcss-loader/lib/index.js' { 42 | declare module.exports: $Exports<'postcss-loader/lib/index'>; 43 | } 44 | declare module 'postcss-loader/lib/options.js' { 45 | declare module.exports: $Exports<'postcss-loader/lib/options'>; 46 | } 47 | -------------------------------------------------------------------------------- /flow-typed/npm/prettier_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: e1f6c32bc9bbc2f41040316786c0804a 2 | // flow-typed version: <>/prettier_v^1.10.2/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '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 '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 'prettier/bin-prettier' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'prettier/parser-babylon' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'prettier/parser-flow' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'prettier/parser-glimmer' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'prettier/parser-graphql' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'prettier/parser-markdown' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'prettier/parser-parse5' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'prettier/parser-postcss' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module 'prettier/parser-typescript' { 58 | declare module.exports: any; 59 | } 60 | 61 | declare module 'prettier/parser-vue' { 62 | declare module.exports: any; 63 | } 64 | 65 | declare module 'prettier/third-party' { 66 | declare module.exports: any; 67 | } 68 | 69 | // Filename aliases 70 | declare module 'prettier/bin-prettier.js' { 71 | declare module.exports: $Exports<'prettier/bin-prettier'>; 72 | } 73 | declare module 'prettier/index' { 74 | declare module.exports: $Exports<'prettier'>; 75 | } 76 | declare module 'prettier/index.js' { 77 | declare module.exports: $Exports<'prettier'>; 78 | } 79 | declare module 'prettier/parser-babylon.js' { 80 | declare module.exports: $Exports<'prettier/parser-babylon'>; 81 | } 82 | declare module 'prettier/parser-flow.js' { 83 | declare module.exports: $Exports<'prettier/parser-flow'>; 84 | } 85 | declare module 'prettier/parser-glimmer.js' { 86 | declare module.exports: $Exports<'prettier/parser-glimmer'>; 87 | } 88 | declare module 'prettier/parser-graphql.js' { 89 | declare module.exports: $Exports<'prettier/parser-graphql'>; 90 | } 91 | declare module 'prettier/parser-markdown.js' { 92 | declare module.exports: $Exports<'prettier/parser-markdown'>; 93 | } 94 | declare module 'prettier/parser-parse5.js' { 95 | declare module.exports: $Exports<'prettier/parser-parse5'>; 96 | } 97 | declare module 'prettier/parser-postcss.js' { 98 | declare module.exports: $Exports<'prettier/parser-postcss'>; 99 | } 100 | declare module 'prettier/parser-typescript.js' { 101 | declare module.exports: $Exports<'prettier/parser-typescript'>; 102 | } 103 | declare module 'prettier/parser-vue.js' { 104 | declare module.exports: $Exports<'prettier/parser-vue'>; 105 | } 106 | declare module 'prettier/third-party.js' { 107 | declare module.exports: $Exports<'prettier/third-party'>; 108 | } 109 | -------------------------------------------------------------------------------- /flow-typed/npm/react-redux_v5.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 59b0c4be0e1408f21e2446be96c79804 2 | // flow-typed version: 9092387fd2/react-redux_v5.x.x/flow_>=v0.54.x 3 | 4 | import type { Dispatch, Store } from "redux"; 5 | 6 | declare module "react-redux" { 7 | /* 8 | 9 | S = State 10 | A = Action 11 | OP = OwnProps 12 | SP = StateProps 13 | DP = DispatchProps 14 | 15 | */ 16 | 17 | declare type MapStateToProps = ( 18 | state: S, 19 | ownProps: OP 20 | ) => ((state: S, ownProps: OP) => SP) | SP; 21 | 22 | declare type MapDispatchToProps = 23 | | ((dispatch: Dispatch, ownProps: OP) => DP) 24 | | DP; 25 | 26 | declare type MergeProps = ( 27 | stateProps: SP, 28 | dispatchProps: DP, 29 | ownProps: OP 30 | ) => P; 31 | 32 | declare type Context = { store: Store<*, *> }; 33 | 34 | declare type ComponentWithDefaultProps = Class< 35 | React$Component 36 | > & { defaultProps: DP }; 37 | 38 | declare class ConnectedComponentWithDefaultProps< 39 | OP, 40 | DP, 41 | CP 42 | > extends React$Component { 43 | static defaultProps: DP, // <= workaround for https://github.com/facebook/flow/issues/4644 44 | static WrappedComponent: Class>, 45 | getWrappedInstance(): React$Component, 46 | props: OP, 47 | state: void 48 | } 49 | 50 | declare class ConnectedComponent extends React$Component { 51 | static WrappedComponent: Class>, 52 | getWrappedInstance(): React$Component

, 53 | props: OP, 54 | state: void 55 | } 56 | 57 | declare type ConnectedComponentWithDefaultPropsClass = Class< 58 | ConnectedComponentWithDefaultProps 59 | >; 60 | 61 | declare type ConnectedComponentClass = Class< 62 | ConnectedComponent 63 | >; 64 | 65 | declare type Connector = (( 66 | component: ComponentWithDefaultProps 67 | ) => ConnectedComponentWithDefaultPropsClass) & 68 | ((component: React$ComponentType

) => ConnectedComponentClass); 69 | 70 | declare class Provider extends React$Component<{ 71 | store: Store, 72 | children?: any 73 | }> {} 74 | 75 | declare function createProvider( 76 | storeKey?: string, 77 | subKey?: string 78 | ): Provider<*, *>; 79 | 80 | declare type ConnectOptions = { 81 | pure?: boolean, 82 | withRef?: boolean 83 | }; 84 | 85 | declare type Null = null | void; 86 | 87 | declare function connect( 88 | ...rest: Array // <= workaround for https://github.com/facebook/flow/issues/2360 89 | ): Connector } & OP>>; 90 | 91 | declare function connect( 92 | mapStateToProps: Null, 93 | mapDispatchToProps: Null, 94 | mergeProps: Null, 95 | options: ConnectOptions 96 | ): Connector } & OP>>; 97 | 98 | declare function connect( 99 | mapStateToProps: MapStateToProps, 100 | mapDispatchToProps: Null, 101 | mergeProps: Null, 102 | options?: ConnectOptions 103 | ): Connector } & OP>>; 104 | 105 | declare function connect( 106 | mapStateToProps: Null, 107 | mapDispatchToProps: MapDispatchToProps, 108 | mergeProps: Null, 109 | options?: ConnectOptions 110 | ): Connector>; 111 | 112 | declare function connect( 113 | mapStateToProps: MapStateToProps, 114 | mapDispatchToProps: MapDispatchToProps, 115 | mergeProps: Null, 116 | options?: ConnectOptions 117 | ): Connector>; 118 | 119 | declare function connect( 120 | mapStateToProps: MapStateToProps, 121 | mapDispatchToProps: Null, 122 | mergeProps: MergeProps, 123 | options?: ConnectOptions 124 | ): Connector; 125 | 126 | declare function connect( 127 | mapStateToProps: MapStateToProps, 128 | mapDispatchToProps: MapDispatchToProps, 129 | mergeProps: MergeProps, 130 | options?: ConnectOptions 131 | ): Connector; 132 | } 133 | -------------------------------------------------------------------------------- /flow-typed/npm/react-transform-catch-errors_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: b93329c1de049669c27cd7971193aa19 2 | // flow-typed version: <>/react-transform-catch-errors_v^1.0.2/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'react-transform-catch-errors' 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 'react-transform-catch-errors' { 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 'react-transform-catch-errors/lib/index' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'react-transform-catch-errors/src/index' { 30 | declare module.exports: any; 31 | } 32 | 33 | // Filename aliases 34 | declare module 'react-transform-catch-errors/lib/index.js' { 35 | declare module.exports: $Exports<'react-transform-catch-errors/lib/index'>; 36 | } 37 | declare module 'react-transform-catch-errors/src/index.js' { 38 | declare module.exports: $Exports<'react-transform-catch-errors/src/index'>; 39 | } 40 | -------------------------------------------------------------------------------- /flow-typed/npm/react-transform-hmr_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 8afdd9db597ce30dbcb2086c969fe79f 2 | // flow-typed version: <>/react-transform-hmr_v^1.0.4/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'react-transform-hmr' 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 'react-transform-hmr' { 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 'react-transform-hmr/lib/index' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'react-transform-hmr/src/index' { 30 | declare module.exports: any; 31 | } 32 | 33 | // Filename aliases 34 | declare module 'react-transform-hmr/lib/index.js' { 35 | declare module.exports: $Exports<'react-transform-hmr/lib/index'>; 36 | } 37 | declare module 'react-transform-hmr/src/index.js' { 38 | declare module.exports: $Exports<'react-transform-hmr/src/index'>; 39 | } 40 | -------------------------------------------------------------------------------- /flow-typed/npm/redbox-react_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 49e5712922744fc3ed34ec0dd01291bf 2 | // flow-typed version: <>/redbox-react_v^1.5.0/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'redbox-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 'redbox-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 'redbox-react/dist/redbox' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'redbox-react/dist/redbox.min' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'redbox-react/lib/index' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'redbox-react/lib/lib' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'redbox-react/lib/style' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'redbox-react/src/index' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'redbox-react/src/lib' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'redbox-react/src/style' { 54 | declare module.exports: any; 55 | } 56 | 57 | // Filename aliases 58 | declare module 'redbox-react/dist/redbox.js' { 59 | declare module.exports: $Exports<'redbox-react/dist/redbox'>; 60 | } 61 | declare module 'redbox-react/dist/redbox.min.js' { 62 | declare module.exports: $Exports<'redbox-react/dist/redbox.min'>; 63 | } 64 | declare module 'redbox-react/lib/index.js' { 65 | declare module.exports: $Exports<'redbox-react/lib/index'>; 66 | } 67 | declare module 'redbox-react/lib/lib.js' { 68 | declare module.exports: $Exports<'redbox-react/lib/lib'>; 69 | } 70 | declare module 'redbox-react/lib/style.js' { 71 | declare module.exports: $Exports<'redbox-react/lib/style'>; 72 | } 73 | declare module 'redbox-react/src/index.js' { 74 | declare module.exports: $Exports<'redbox-react/src/index'>; 75 | } 76 | declare module 'redbox-react/src/lib.js' { 77 | declare module.exports: $Exports<'redbox-react/src/lib'>; 78 | } 79 | declare module 'redbox-react/src/style.js' { 80 | declare module.exports: $Exports<'redbox-react/src/style'>; 81 | } 82 | -------------------------------------------------------------------------------- /flow-typed/npm/redux-thunk_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: dbb5997b45ad04210649b6845473949e 2 | // flow-typed version: <>/redux-thunk_v^2.2.0/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'redux-thunk' 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 'redux-thunk' { 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 'redux-thunk/dist/redux-thunk' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'redux-thunk/dist/redux-thunk.min' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'redux-thunk/es/index' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'redux-thunk/lib/index' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'redux-thunk/src/index' { 42 | declare module.exports: any; 43 | } 44 | 45 | // Filename aliases 46 | declare module 'redux-thunk/dist/redux-thunk.js' { 47 | declare module.exports: $Exports<'redux-thunk/dist/redux-thunk'>; 48 | } 49 | declare module 'redux-thunk/dist/redux-thunk.min.js' { 50 | declare module.exports: $Exports<'redux-thunk/dist/redux-thunk.min'>; 51 | } 52 | declare module 'redux-thunk/es/index.js' { 53 | declare module.exports: $Exports<'redux-thunk/es/index'>; 54 | } 55 | declare module 'redux-thunk/lib/index.js' { 56 | declare module.exports: $Exports<'redux-thunk/lib/index'>; 57 | } 58 | declare module 'redux-thunk/src/index.js' { 59 | declare module.exports: $Exports<'redux-thunk/src/index'>; 60 | } 61 | -------------------------------------------------------------------------------- /flow-typed/npm/redux_v3.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: ec7daead5cb4fec5ab25fedbedef29e8 2 | // flow-typed version: 2c04631d20/redux_v3.x.x/flow_>=v0.55.x 3 | 4 | declare module 'redux' { 5 | 6 | /* 7 | 8 | S = State 9 | A = Action 10 | D = Dispatch 11 | 12 | */ 13 | 14 | declare export type DispatchAPI = (action: A) => A; 15 | declare export type Dispatch }> = DispatchAPI; 16 | 17 | declare export type MiddlewareAPI> = { 18 | dispatch: D; 19 | getState(): S; 20 | }; 21 | 22 | declare export type Store> = { 23 | // rewrite MiddlewareAPI members in order to get nicer error messages (intersections produce long messages) 24 | dispatch: D; 25 | getState(): S; 26 | subscribe(listener: () => void): () => void; 27 | replaceReducer(nextReducer: Reducer): void 28 | }; 29 | 30 | declare export type Reducer = (state: S, action: A) => S; 31 | 32 | declare export type CombinedReducer = (state: $Shape & {} | void, action: A) => S; 33 | 34 | declare export type Middleware> = 35 | (api: MiddlewareAPI) => 36 | (next: D) => D; 37 | 38 | declare export type StoreCreator> = { 39 | (reducer: Reducer, enhancer?: StoreEnhancer): Store; 40 | (reducer: Reducer, preloadedState: S, enhancer?: StoreEnhancer): Store; 41 | }; 42 | 43 | declare export type StoreEnhancer> = (next: StoreCreator) => StoreCreator; 44 | 45 | declare export function createStore(reducer: Reducer, enhancer?: StoreEnhancer): Store; 46 | declare export function createStore(reducer: Reducer, preloadedState: S, enhancer?: StoreEnhancer): Store; 47 | 48 | declare export function applyMiddleware(...middlewares: Array>): StoreEnhancer; 49 | 50 | declare export type ActionCreator = (...args: Array) => A; 51 | declare export type ActionCreators = { [key: K]: ActionCreator }; 52 | 53 | declare export function bindActionCreators, D: DispatchAPI>(actionCreator: C, dispatch: D): C; 54 | declare export function bindActionCreators, D: DispatchAPI>(actionCreators: C, dispatch: D): C; 55 | 56 | declare export function combineReducers(reducers: O): CombinedReducer<$ObjMap(r: Reducer) => S>, A>; 57 | 58 | declare export var compose: $Compose; 59 | } -------------------------------------------------------------------------------- /flow-typed/npm/style-loader_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 9e11cc02134f0687079f704e3a31c52e 2 | // flow-typed version: <>/style-loader_v^0.20.1/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'style-loader' 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 'style-loader' { 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 'style-loader/lib/addStyles' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'style-loader/lib/addStyleUrl' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'style-loader/lib/urls' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'style-loader/url' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'style-loader/useable' { 42 | declare module.exports: any; 43 | } 44 | 45 | // Filename aliases 46 | declare module 'style-loader/index' { 47 | declare module.exports: $Exports<'style-loader'>; 48 | } 49 | declare module 'style-loader/index.js' { 50 | declare module.exports: $Exports<'style-loader'>; 51 | } 52 | declare module 'style-loader/lib/addStyles.js' { 53 | declare module.exports: $Exports<'style-loader/lib/addStyles'>; 54 | } 55 | declare module 'style-loader/lib/addStyleUrl.js' { 56 | declare module.exports: $Exports<'style-loader/lib/addStyleUrl'>; 57 | } 58 | declare module 'style-loader/lib/urls.js' { 59 | declare module.exports: $Exports<'style-loader/lib/urls'>; 60 | } 61 | declare module 'style-loader/url.js' { 62 | declare module.exports: $Exports<'style-loader/url'>; 63 | } 64 | declare module 'style-loader/useable.js' { 65 | declare module.exports: $Exports<'style-loader/useable'>; 66 | } 67 | -------------------------------------------------------------------------------- /flow-typed/npm/styled-components_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: db5fcf4e0b3330c0e1b10190059f5296 2 | // flow-typed version: <>/styled-components_v^3.1.6/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'styled-components' 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 'styled-components' { 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 'styled-components/dist/styled-components-no-parser.browser.cjs' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'styled-components/dist/styled-components-no-parser.browser.es' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'styled-components/dist/styled-components-no-parser.cjs' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'styled-components/dist/styled-components-no-parser.es' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'styled-components/dist/styled-components-primitives.cjs' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'styled-components/dist/styled-components-primitives.es' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'styled-components/dist/styled-components.browser.cjs' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'styled-components/dist/styled-components.browser.es' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module 'styled-components/dist/styled-components.cjs' { 58 | declare module.exports: any; 59 | } 60 | 61 | declare module 'styled-components/dist/styled-components.es' { 62 | declare module.exports: any; 63 | } 64 | 65 | declare module 'styled-components/dist/styled-components' { 66 | declare module.exports: any; 67 | } 68 | 69 | declare module 'styled-components/dist/styled-components.min' { 70 | declare module.exports: any; 71 | } 72 | 73 | declare module 'styled-components/dist/styled-components.native.cjs' { 74 | declare module.exports: any; 75 | } 76 | 77 | declare module 'styled-components/flow-typed/danger-plugin-jest_vx.x.x' { 78 | declare module.exports: any; 79 | } 80 | 81 | declare module 'styled-components/flow-typed/enzyme_v3.x.x' { 82 | declare module.exports: any; 83 | } 84 | 85 | declare module 'styled-components/flow-typed/fbjs_vx.x.x' { 86 | declare module.exports: any; 87 | } 88 | 89 | declare module 'styled-components/flow-typed/lodash_v4.x.x' { 90 | declare module.exports: any; 91 | } 92 | 93 | declare module 'styled-components/flow-typed/npm/babel-cli_vx.x.x' { 94 | declare module.exports: any; 95 | } 96 | 97 | declare module 'styled-components/flow-typed/npm/babel-core_vx.x.x' { 98 | declare module.exports: any; 99 | } 100 | 101 | declare module 'styled-components/flow-typed/npm/babel-eslint_vx.x.x' { 102 | declare module.exports: any; 103 | } 104 | 105 | declare module 'styled-components/flow-typed/npm/babel-loader_vx.x.x' { 106 | declare module.exports: any; 107 | } 108 | 109 | declare module 'styled-components/flow-typed/npm/babel-plugin-add-module-exports_vx.x.x' { 110 | declare module.exports: any; 111 | } 112 | 113 | declare module 'styled-components/flow-typed/npm/babel-plugin-external-helpers_vx.x.x' { 114 | declare module.exports: any; 115 | } 116 | 117 | declare module 'styled-components/flow-typed/npm/babel-plugin-flow-react-proptypes_vx.x.x' { 118 | declare module.exports: any; 119 | } 120 | 121 | declare module 'styled-components/flow-typed/npm/babel-plugin-transform-class-properties_vx.x.x' { 122 | declare module.exports: any; 123 | } 124 | 125 | declare module 'styled-components/flow-typed/npm/babel-plugin-transform-flow-strip-types_vx.x.x' { 126 | declare module.exports: any; 127 | } 128 | 129 | declare module 'styled-components/flow-typed/npm/babel-plugin-transform-object-rest-spread_vx.x.x' { 130 | declare module.exports: any; 131 | } 132 | 133 | declare module 'styled-components/flow-typed/npm/babel-preset-latest_vx.x.x' { 134 | declare module.exports: any; 135 | } 136 | 137 | declare module 'styled-components/flow-typed/npm/babel-preset-react_vx.x.x' { 138 | declare module.exports: any; 139 | } 140 | 141 | declare module 'styled-components/flow-typed/npm/buffer_vx.x.x' { 142 | declare module.exports: any; 143 | } 144 | 145 | declare module 'styled-components/flow-typed/npm/chokidar_vx.x.x' { 146 | declare module.exports: any; 147 | } 148 | 149 | declare module 'styled-components/flow-typed/npm/css-to-react-native_v1.x.x' { 150 | declare module.exports: any; 151 | } 152 | 153 | declare module 'styled-components/flow-typed/npm/css-to-react-native_vx.x.x' { 154 | declare module.exports: any; 155 | } 156 | 157 | declare module 'styled-components/flow-typed/npm/eslint_vx.x.x' { 158 | declare module.exports: any; 159 | } 160 | 161 | declare module 'styled-components/flow-typed/npm/eslint-config-airbnb_vx.x.x' { 162 | declare module.exports: any; 163 | } 164 | 165 | declare module 'styled-components/flow-typed/npm/eslint-plugin-flowtype_vx.x.x' { 166 | declare module.exports: any; 167 | } 168 | 169 | declare module 'styled-components/flow-typed/npm/eslint-plugin-flowtype-errors_vx.x.x' { 170 | declare module.exports: any; 171 | } 172 | 173 | declare module 'styled-components/flow-typed/npm/eslint-plugin-import_vx.x.x' { 174 | declare module.exports: any; 175 | } 176 | 177 | declare module 'styled-components/flow-typed/npm/eslint-plugin-jsx-a11y_vx.x.x' { 178 | declare module.exports: any; 179 | } 180 | 181 | declare module 'styled-components/flow-typed/npm/eslint-plugin-react_vx.x.x' { 182 | declare module.exports: any; 183 | } 184 | 185 | declare module 'styled-components/flow-typed/npm/expect_vx.x.x' { 186 | declare module.exports: any; 187 | } 188 | 189 | declare module 'styled-components/flow-typed/npm/express_v4.x.x' { 190 | declare module.exports: any; 191 | } 192 | 193 | declare module 'styled-components/flow-typed/npm/flow-bin_v0.x.x' { 194 | declare module.exports: any; 195 | } 196 | 197 | declare module 'styled-components/flow-typed/npm/flow-copy-source_vx.x.x' { 198 | declare module.exports: any; 199 | } 200 | 201 | declare module 'styled-components/flow-typed/npm/inline-style-prefixer_vx.x.x' { 202 | declare module.exports: any; 203 | } 204 | 205 | declare module 'styled-components/flow-typed/npm/is-function_vx.x.x' { 206 | declare module.exports: any; 207 | } 208 | 209 | declare module 'styled-components/flow-typed/npm/is-plain-object_vx.x.x' { 210 | declare module.exports: any; 211 | } 212 | 213 | declare module 'styled-components/flow-typed/npm/jest_v19.x.x' { 214 | declare module.exports: any; 215 | } 216 | 217 | declare module 'styled-components/flow-typed/npm/jsdom_vx.x.x' { 218 | declare module.exports: any; 219 | } 220 | 221 | declare module 'styled-components/flow-typed/npm/lint-staged_vx.x.x' { 222 | declare module.exports: any; 223 | } 224 | 225 | declare module 'styled-components/flow-typed/npm/mocha_v2.4.x' { 226 | declare module.exports: any; 227 | } 228 | 229 | declare module 'styled-components/flow-typed/npm/mocha_v3.1.x' { 230 | declare module.exports: any; 231 | } 232 | 233 | declare module 'styled-components/flow-typed/npm/mocha-jsdom_vx.x.x' { 234 | declare module.exports: any; 235 | } 236 | 237 | declare module 'styled-components/flow-typed/npm/node-watch_vx.x.x' { 238 | declare module.exports: any; 239 | } 240 | 241 | declare module 'styled-components/flow-typed/npm/pre-commit_vx.x.x' { 242 | declare module.exports: any; 243 | } 244 | 245 | declare module 'styled-components/flow-typed/npm/react-addons-test-utils_v15.x.x' { 246 | declare module.exports: any; 247 | } 248 | 249 | declare module 'styled-components/flow-typed/npm/rollup_vx.x.x' { 250 | declare module.exports: any; 251 | } 252 | 253 | declare module 'styled-components/flow-typed/npm/rollup-plugin-babel_vx.x.x' { 254 | declare module.exports: any; 255 | } 256 | 257 | declare module 'styled-components/flow-typed/npm/rollup-plugin-commonjs_vx.x.x' { 258 | declare module.exports: any; 259 | } 260 | 261 | declare module 'styled-components/flow-typed/npm/rollup-plugin-flow_vx.x.x' { 262 | declare module.exports: any; 263 | } 264 | 265 | declare module 'styled-components/flow-typed/npm/rollup-plugin-inject_vx.x.x' { 266 | declare module.exports: any; 267 | } 268 | 269 | declare module 'styled-components/flow-typed/npm/rollup-plugin-json_vx.x.x' { 270 | declare module.exports: any; 271 | } 272 | 273 | declare module 'styled-components/flow-typed/npm/rollup-plugin-node-resolve_vx.x.x' { 274 | declare module.exports: any; 275 | } 276 | 277 | declare module 'styled-components/flow-typed/npm/rollup-plugin-replace_vx.x.x' { 278 | declare module.exports: any; 279 | } 280 | 281 | declare module 'styled-components/flow-typed/npm/rollup-plugin-uglify_vx.x.x' { 282 | declare module.exports: any; 283 | } 284 | 285 | declare module 'styled-components/flow-typed/npm/rollup-plugin-visualizer_vx.x.x' { 286 | declare module.exports: any; 287 | } 288 | 289 | declare module 'styled-components/flow-typed/npm/supports-color_v3.x.x' { 290 | declare module.exports: any; 291 | } 292 | 293 | declare module 'styled-components/flow-typed/react-native' { 294 | declare module.exports: any; 295 | } 296 | 297 | declare module 'styled-components/native/index' { 298 | declare module.exports: any; 299 | } 300 | 301 | declare module 'styled-components/src/constructors/constructWithOptions' { 302 | declare module.exports: any; 303 | } 304 | 305 | declare module 'styled-components/src/constructors/css' { 306 | declare module.exports: any; 307 | } 308 | 309 | declare module 'styled-components/src/constructors/injectGlobal' { 310 | declare module.exports: any; 311 | } 312 | 313 | declare module 'styled-components/src/constructors/keyframes' { 314 | declare module.exports: any; 315 | } 316 | 317 | declare module 'styled-components/src/constructors/styled' { 318 | declare module.exports: any; 319 | } 320 | 321 | declare module 'styled-components/src/constructors/test/injectGlobal.test' { 322 | declare module.exports: any; 323 | } 324 | 325 | declare module 'styled-components/src/constructors/test/keyframes.test' { 326 | declare module.exports: any; 327 | } 328 | 329 | declare module 'styled-components/src/constructors/test/styled.test' { 330 | declare module.exports: any; 331 | } 332 | 333 | declare module 'styled-components/src/hoc/withTheme' { 334 | declare module.exports: any; 335 | } 336 | 337 | declare module 'styled-components/src/index' { 338 | declare module.exports: any; 339 | } 340 | 341 | declare module 'styled-components/src/models/BrowserStyleSheet' { 342 | declare module.exports: any; 343 | } 344 | 345 | declare module 'styled-components/src/models/ComponentStyle' { 346 | declare module.exports: any; 347 | } 348 | 349 | declare module 'styled-components/src/models/InlineStyle' { 350 | declare module.exports: any; 351 | } 352 | 353 | declare module 'styled-components/src/models/ServerStyleSheet' { 354 | declare module.exports: any; 355 | } 356 | 357 | declare module 'styled-components/src/models/StyledComponent' { 358 | declare module.exports: any; 359 | } 360 | 361 | declare module 'styled-components/src/models/StyledNativeComponent' { 362 | declare module.exports: any; 363 | } 364 | 365 | declare module 'styled-components/src/models/StyleSheet' { 366 | declare module.exports: any; 367 | } 368 | 369 | declare module 'styled-components/src/models/StyleSheetManager' { 370 | declare module.exports: any; 371 | } 372 | 373 | declare module 'styled-components/src/models/test/ThemeProvider.test' { 374 | declare module.exports: any; 375 | } 376 | 377 | declare module 'styled-components/src/models/ThemeProvider' { 378 | declare module.exports: any; 379 | } 380 | 381 | declare module 'styled-components/src/native/index' { 382 | declare module.exports: any; 383 | } 384 | 385 | declare module 'styled-components/src/native/test/native.test' { 386 | declare module.exports: any; 387 | } 388 | 389 | declare module 'styled-components/src/native/test/theme.test' { 390 | declare module.exports: any; 391 | } 392 | 393 | declare module 'styled-components/src/no-parser/css' { 394 | declare module.exports: any; 395 | } 396 | 397 | declare module 'styled-components/src/no-parser/flatten' { 398 | declare module.exports: any; 399 | } 400 | 401 | declare module 'styled-components/src/no-parser/index' { 402 | declare module.exports: any; 403 | } 404 | 405 | declare module 'styled-components/src/no-parser/stringifyRules' { 406 | declare module.exports: any; 407 | } 408 | 409 | declare module 'styled-components/src/no-parser/test/basic.test' { 410 | declare module.exports: any; 411 | } 412 | 413 | declare module 'styled-components/src/no-parser/test/flatten.test' { 414 | declare module.exports: any; 415 | } 416 | 417 | declare module 'styled-components/src/no-parser/test/keyframes.test' { 418 | declare module.exports: any; 419 | } 420 | 421 | declare module 'styled-components/src/primitives/index' { 422 | declare module.exports: any; 423 | } 424 | 425 | declare module 'styled-components/src/primitives/test/primitives.test' { 426 | declare module.exports: any; 427 | } 428 | 429 | declare module 'styled-components/src/secretInternals' { 430 | declare module.exports: any; 431 | } 432 | 433 | declare module 'styled-components/src/test/attrs.test' { 434 | declare module.exports: any; 435 | } 436 | 437 | declare module 'styled-components/src/test/basic.test' { 438 | declare module.exports: any; 439 | } 440 | 441 | declare module 'styled-components/src/test/css.test' { 442 | declare module.exports: any; 443 | } 444 | 445 | declare module 'styled-components/src/test/enzymeSetup' { 446 | declare module.exports: any; 447 | } 448 | 449 | declare module 'styled-components/src/test/expanded-api.test' { 450 | declare module.exports: any; 451 | } 452 | 453 | declare module 'styled-components/src/test/extending.test' { 454 | declare module.exports: any; 455 | } 456 | 457 | declare module 'styled-components/src/test/globals' { 458 | declare module.exports: any; 459 | } 460 | 461 | declare module 'styled-components/src/test/overriding.test' { 462 | declare module.exports: any; 463 | } 464 | 465 | declare module 'styled-components/src/test/props.test' { 466 | declare module.exports: any; 467 | } 468 | 469 | declare module 'styled-components/src/test/rehydration.test' { 470 | declare module.exports: any; 471 | } 472 | 473 | declare module 'styled-components/src/test/ssr.test' { 474 | declare module.exports: any; 475 | } 476 | 477 | declare module 'styled-components/src/test/staticCaching.test' { 478 | declare module.exports: any; 479 | } 480 | 481 | declare module 'styled-components/src/test/styles.test' { 482 | declare module.exports: any; 483 | } 484 | 485 | declare module 'styled-components/src/test/theme.test' { 486 | declare module.exports: any; 487 | } 488 | 489 | declare module 'styled-components/src/test/utils' { 490 | declare module.exports: any; 491 | } 492 | 493 | declare module 'styled-components/src/test/warnTooManyClasses.test' { 494 | declare module.exports: any; 495 | } 496 | 497 | declare module 'styled-components/src/types' { 498 | declare module.exports: any; 499 | } 500 | 501 | declare module 'styled-components/src/utils/consolidateStreamedStyles' { 502 | declare module.exports: any; 503 | } 504 | 505 | declare module 'styled-components/src/utils/create-broadcast' { 506 | declare module.exports: any; 507 | } 508 | 509 | declare module 'styled-components/src/utils/createWarnTooManyClasses' { 510 | declare module.exports: any; 511 | } 512 | 513 | declare module 'styled-components/src/utils/determineTheme' { 514 | declare module.exports: any; 515 | } 516 | 517 | declare module 'styled-components/src/utils/domElements' { 518 | declare module.exports: any; 519 | } 520 | 521 | declare module 'styled-components/src/utils/escape' { 522 | declare module.exports: any; 523 | } 524 | 525 | declare module 'styled-components/src/utils/extractCompsFromCSS' { 526 | declare module.exports: any; 527 | } 528 | 529 | declare module 'styled-components/src/utils/flatten' { 530 | declare module.exports: any; 531 | } 532 | 533 | declare module 'styled-components/src/utils/generateAlphabeticName' { 534 | declare module.exports: any; 535 | } 536 | 537 | declare module 'styled-components/src/utils/getComponentName' { 538 | declare module.exports: any; 539 | } 540 | 541 | declare module 'styled-components/src/utils/interleave' { 542 | declare module.exports: any; 543 | } 544 | 545 | declare module 'styled-components/src/utils/isStyledComponent' { 546 | declare module.exports: any; 547 | } 548 | 549 | declare module 'styled-components/src/utils/isTag' { 550 | declare module.exports: any; 551 | } 552 | 553 | declare module 'styled-components/src/utils/nonce' { 554 | declare module.exports: any; 555 | } 556 | 557 | declare module 'styled-components/src/utils/once' { 558 | declare module.exports: any; 559 | } 560 | 561 | declare module 'styled-components/src/utils/stringifyRules' { 562 | declare module.exports: any; 563 | } 564 | 565 | declare module 'styled-components/src/utils/test/consolidateStreamedStyles.test' { 566 | declare module.exports: any; 567 | } 568 | 569 | declare module 'styled-components/src/utils/test/determineTheme.test' { 570 | declare module.exports: any; 571 | } 572 | 573 | declare module 'styled-components/src/utils/test/escape.test' { 574 | declare module.exports: any; 575 | } 576 | 577 | declare module 'styled-components/src/utils/test/extractCompsFromCSS.test' { 578 | declare module.exports: any; 579 | } 580 | 581 | declare module 'styled-components/src/utils/test/flatten.test' { 582 | declare module.exports: any; 583 | } 584 | 585 | declare module 'styled-components/src/utils/test/generateAlphabeticName.test' { 586 | declare module.exports: any; 587 | } 588 | 589 | declare module 'styled-components/src/utils/test/getComponentName.test' { 590 | declare module.exports: any; 591 | } 592 | 593 | declare module 'styled-components/src/utils/test/interleave.test' { 594 | declare module.exports: any; 595 | } 596 | 597 | declare module 'styled-components/src/utils/test/validAttr.test' { 598 | declare module.exports: any; 599 | } 600 | 601 | declare module 'styled-components/src/utils/validAttr' { 602 | declare module.exports: any; 603 | } 604 | 605 | declare module 'styled-components/src/vendor/glamor/hash' { 606 | declare module.exports: any; 607 | } 608 | 609 | declare module 'styled-components/src/vendor/postcss-nested/index' { 610 | declare module.exports: any; 611 | } 612 | 613 | declare module 'styled-components/src/vendor/postcss-safe-parser/parse' { 614 | declare module.exports: any; 615 | } 616 | 617 | declare module 'styled-components/src/vendor/postcss-safe-parser/safe-parser' { 618 | declare module.exports: any; 619 | } 620 | 621 | declare module 'styled-components/src/vendor/postcss/at-rule' { 622 | declare module.exports: any; 623 | } 624 | 625 | declare module 'styled-components/src/vendor/postcss/comment' { 626 | declare module.exports: any; 627 | } 628 | 629 | declare module 'styled-components/src/vendor/postcss/container' { 630 | declare module.exports: any; 631 | } 632 | 633 | declare module 'styled-components/src/vendor/postcss/css-syntax-error' { 634 | declare module.exports: any; 635 | } 636 | 637 | declare module 'styled-components/src/vendor/postcss/declaration' { 638 | declare module.exports: any; 639 | } 640 | 641 | declare module 'styled-components/src/vendor/postcss/input' { 642 | declare module.exports: any; 643 | } 644 | 645 | declare module 'styled-components/src/vendor/postcss/lazy-result' { 646 | declare module.exports: any; 647 | } 648 | 649 | declare module 'styled-components/src/vendor/postcss/list' { 650 | declare module.exports: any; 651 | } 652 | 653 | declare module 'styled-components/src/vendor/postcss/node' { 654 | declare module.exports: any; 655 | } 656 | 657 | declare module 'styled-components/src/vendor/postcss/parse' { 658 | declare module.exports: any; 659 | } 660 | 661 | declare module 'styled-components/src/vendor/postcss/parser' { 662 | declare module.exports: any; 663 | } 664 | 665 | declare module 'styled-components/src/vendor/postcss/postcss' { 666 | declare module.exports: any; 667 | } 668 | 669 | declare module 'styled-components/src/vendor/postcss/processor' { 670 | declare module.exports: any; 671 | } 672 | 673 | declare module 'styled-components/src/vendor/postcss/result' { 674 | declare module.exports: any; 675 | } 676 | 677 | declare module 'styled-components/src/vendor/postcss/root' { 678 | declare module.exports: any; 679 | } 680 | 681 | declare module 'styled-components/src/vendor/postcss/rule' { 682 | declare module.exports: any; 683 | } 684 | 685 | declare module 'styled-components/src/vendor/postcss/stringifier' { 686 | declare module.exports: any; 687 | } 688 | 689 | declare module 'styled-components/src/vendor/postcss/stringify' { 690 | declare module.exports: any; 691 | } 692 | 693 | declare module 'styled-components/src/vendor/postcss/terminal-highlight' { 694 | declare module.exports: any; 695 | } 696 | 697 | declare module 'styled-components/src/vendor/postcss/tokenize' { 698 | declare module.exports: any; 699 | } 700 | 701 | declare module 'styled-components/src/vendor/postcss/vendor' { 702 | declare module.exports: any; 703 | } 704 | 705 | declare module 'styled-components/src/vendor/postcss/warn-once' { 706 | declare module.exports: any; 707 | } 708 | 709 | declare module 'styled-components/src/vendor/postcss/warning' { 710 | declare module.exports: any; 711 | } 712 | 713 | // Filename aliases 714 | declare module 'styled-components/dist/styled-components-no-parser.browser.cjs.js' { 715 | declare module.exports: $Exports<'styled-components/dist/styled-components-no-parser.browser.cjs'>; 716 | } 717 | declare module 'styled-components/dist/styled-components-no-parser.browser.es.js' { 718 | declare module.exports: $Exports<'styled-components/dist/styled-components-no-parser.browser.es'>; 719 | } 720 | declare module 'styled-components/dist/styled-components-no-parser.cjs.js' { 721 | declare module.exports: $Exports<'styled-components/dist/styled-components-no-parser.cjs'>; 722 | } 723 | declare module 'styled-components/dist/styled-components-no-parser.es.js' { 724 | declare module.exports: $Exports<'styled-components/dist/styled-components-no-parser.es'>; 725 | } 726 | declare module 'styled-components/dist/styled-components-primitives.cjs.js' { 727 | declare module.exports: $Exports<'styled-components/dist/styled-components-primitives.cjs'>; 728 | } 729 | declare module 'styled-components/dist/styled-components-primitives.es.js' { 730 | declare module.exports: $Exports<'styled-components/dist/styled-components-primitives.es'>; 731 | } 732 | declare module 'styled-components/dist/styled-components.browser.cjs.js' { 733 | declare module.exports: $Exports<'styled-components/dist/styled-components.browser.cjs'>; 734 | } 735 | declare module 'styled-components/dist/styled-components.browser.es.js' { 736 | declare module.exports: $Exports<'styled-components/dist/styled-components.browser.es'>; 737 | } 738 | declare module 'styled-components/dist/styled-components.cjs.js' { 739 | declare module.exports: $Exports<'styled-components/dist/styled-components.cjs'>; 740 | } 741 | declare module 'styled-components/dist/styled-components.es.js' { 742 | declare module.exports: $Exports<'styled-components/dist/styled-components.es'>; 743 | } 744 | declare module 'styled-components/dist/styled-components.js' { 745 | declare module.exports: $Exports<'styled-components/dist/styled-components'>; 746 | } 747 | declare module 'styled-components/dist/styled-components.min.js' { 748 | declare module.exports: $Exports<'styled-components/dist/styled-components.min'>; 749 | } 750 | declare module 'styled-components/dist/styled-components.native.cjs.js' { 751 | declare module.exports: $Exports<'styled-components/dist/styled-components.native.cjs'>; 752 | } 753 | declare module 'styled-components/flow-typed/danger-plugin-jest_vx.x.x.js' { 754 | declare module.exports: $Exports<'styled-components/flow-typed/danger-plugin-jest_vx.x.x'>; 755 | } 756 | declare module 'styled-components/flow-typed/enzyme_v3.x.x.js' { 757 | declare module.exports: $Exports<'styled-components/flow-typed/enzyme_v3.x.x'>; 758 | } 759 | declare module 'styled-components/flow-typed/fbjs_vx.x.x.js' { 760 | declare module.exports: $Exports<'styled-components/flow-typed/fbjs_vx.x.x'>; 761 | } 762 | declare module 'styled-components/flow-typed/lodash_v4.x.x.js' { 763 | declare module.exports: $Exports<'styled-components/flow-typed/lodash_v4.x.x'>; 764 | } 765 | declare module 'styled-components/flow-typed/npm/babel-cli_vx.x.x.js' { 766 | declare module.exports: $Exports<'styled-components/flow-typed/npm/babel-cli_vx.x.x'>; 767 | } 768 | declare module 'styled-components/flow-typed/npm/babel-core_vx.x.x.js' { 769 | declare module.exports: $Exports<'styled-components/flow-typed/npm/babel-core_vx.x.x'>; 770 | } 771 | declare module 'styled-components/flow-typed/npm/babel-eslint_vx.x.x.js' { 772 | declare module.exports: $Exports<'styled-components/flow-typed/npm/babel-eslint_vx.x.x'>; 773 | } 774 | declare module 'styled-components/flow-typed/npm/babel-loader_vx.x.x.js' { 775 | declare module.exports: $Exports<'styled-components/flow-typed/npm/babel-loader_vx.x.x'>; 776 | } 777 | declare module 'styled-components/flow-typed/npm/babel-plugin-add-module-exports_vx.x.x.js' { 778 | declare module.exports: $Exports<'styled-components/flow-typed/npm/babel-plugin-add-module-exports_vx.x.x'>; 779 | } 780 | declare module 'styled-components/flow-typed/npm/babel-plugin-external-helpers_vx.x.x.js' { 781 | declare module.exports: $Exports<'styled-components/flow-typed/npm/babel-plugin-external-helpers_vx.x.x'>; 782 | } 783 | declare module 'styled-components/flow-typed/npm/babel-plugin-flow-react-proptypes_vx.x.x.js' { 784 | declare module.exports: $Exports<'styled-components/flow-typed/npm/babel-plugin-flow-react-proptypes_vx.x.x'>; 785 | } 786 | declare module 'styled-components/flow-typed/npm/babel-plugin-transform-class-properties_vx.x.x.js' { 787 | declare module.exports: $Exports<'styled-components/flow-typed/npm/babel-plugin-transform-class-properties_vx.x.x'>; 788 | } 789 | declare module 'styled-components/flow-typed/npm/babel-plugin-transform-flow-strip-types_vx.x.x.js' { 790 | declare module.exports: $Exports<'styled-components/flow-typed/npm/babel-plugin-transform-flow-strip-types_vx.x.x'>; 791 | } 792 | declare module 'styled-components/flow-typed/npm/babel-plugin-transform-object-rest-spread_vx.x.x.js' { 793 | declare module.exports: $Exports<'styled-components/flow-typed/npm/babel-plugin-transform-object-rest-spread_vx.x.x'>; 794 | } 795 | declare module 'styled-components/flow-typed/npm/babel-preset-latest_vx.x.x.js' { 796 | declare module.exports: $Exports<'styled-components/flow-typed/npm/babel-preset-latest_vx.x.x'>; 797 | } 798 | declare module 'styled-components/flow-typed/npm/babel-preset-react_vx.x.x.js' { 799 | declare module.exports: $Exports<'styled-components/flow-typed/npm/babel-preset-react_vx.x.x'>; 800 | } 801 | declare module 'styled-components/flow-typed/npm/buffer_vx.x.x.js' { 802 | declare module.exports: $Exports<'styled-components/flow-typed/npm/buffer_vx.x.x'>; 803 | } 804 | declare module 'styled-components/flow-typed/npm/chokidar_vx.x.x.js' { 805 | declare module.exports: $Exports<'styled-components/flow-typed/npm/chokidar_vx.x.x'>; 806 | } 807 | declare module 'styled-components/flow-typed/npm/css-to-react-native_v1.x.x.js' { 808 | declare module.exports: $Exports<'styled-components/flow-typed/npm/css-to-react-native_v1.x.x'>; 809 | } 810 | declare module 'styled-components/flow-typed/npm/css-to-react-native_vx.x.x.js' { 811 | declare module.exports: $Exports<'styled-components/flow-typed/npm/css-to-react-native_vx.x.x'>; 812 | } 813 | declare module 'styled-components/flow-typed/npm/eslint_vx.x.x.js' { 814 | declare module.exports: $Exports<'styled-components/flow-typed/npm/eslint_vx.x.x'>; 815 | } 816 | declare module 'styled-components/flow-typed/npm/eslint-config-airbnb_vx.x.x.js' { 817 | declare module.exports: $Exports<'styled-components/flow-typed/npm/eslint-config-airbnb_vx.x.x'>; 818 | } 819 | declare module 'styled-components/flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js' { 820 | declare module.exports: $Exports<'styled-components/flow-typed/npm/eslint-plugin-flowtype_vx.x.x'>; 821 | } 822 | declare module 'styled-components/flow-typed/npm/eslint-plugin-flowtype-errors_vx.x.x.js' { 823 | declare module.exports: $Exports<'styled-components/flow-typed/npm/eslint-plugin-flowtype-errors_vx.x.x'>; 824 | } 825 | declare module 'styled-components/flow-typed/npm/eslint-plugin-import_vx.x.x.js' { 826 | declare module.exports: $Exports<'styled-components/flow-typed/npm/eslint-plugin-import_vx.x.x'>; 827 | } 828 | declare module 'styled-components/flow-typed/npm/eslint-plugin-jsx-a11y_vx.x.x.js' { 829 | declare module.exports: $Exports<'styled-components/flow-typed/npm/eslint-plugin-jsx-a11y_vx.x.x'>; 830 | } 831 | declare module 'styled-components/flow-typed/npm/eslint-plugin-react_vx.x.x.js' { 832 | declare module.exports: $Exports<'styled-components/flow-typed/npm/eslint-plugin-react_vx.x.x'>; 833 | } 834 | declare module 'styled-components/flow-typed/npm/expect_vx.x.x.js' { 835 | declare module.exports: $Exports<'styled-components/flow-typed/npm/expect_vx.x.x'>; 836 | } 837 | declare module 'styled-components/flow-typed/npm/express_v4.x.x.js' { 838 | declare module.exports: $Exports<'styled-components/flow-typed/npm/express_v4.x.x'>; 839 | } 840 | declare module 'styled-components/flow-typed/npm/flow-bin_v0.x.x.js' { 841 | declare module.exports: $Exports<'styled-components/flow-typed/npm/flow-bin_v0.x.x'>; 842 | } 843 | declare module 'styled-components/flow-typed/npm/flow-copy-source_vx.x.x.js' { 844 | declare module.exports: $Exports<'styled-components/flow-typed/npm/flow-copy-source_vx.x.x'>; 845 | } 846 | declare module 'styled-components/flow-typed/npm/inline-style-prefixer_vx.x.x.js' { 847 | declare module.exports: $Exports<'styled-components/flow-typed/npm/inline-style-prefixer_vx.x.x'>; 848 | } 849 | declare module 'styled-components/flow-typed/npm/is-function_vx.x.x.js' { 850 | declare module.exports: $Exports<'styled-components/flow-typed/npm/is-function_vx.x.x'>; 851 | } 852 | declare module 'styled-components/flow-typed/npm/is-plain-object_vx.x.x.js' { 853 | declare module.exports: $Exports<'styled-components/flow-typed/npm/is-plain-object_vx.x.x'>; 854 | } 855 | declare module 'styled-components/flow-typed/npm/jest_v19.x.x.js' { 856 | declare module.exports: $Exports<'styled-components/flow-typed/npm/jest_v19.x.x'>; 857 | } 858 | declare module 'styled-components/flow-typed/npm/jsdom_vx.x.x.js' { 859 | declare module.exports: $Exports<'styled-components/flow-typed/npm/jsdom_vx.x.x'>; 860 | } 861 | declare module 'styled-components/flow-typed/npm/lint-staged_vx.x.x.js' { 862 | declare module.exports: $Exports<'styled-components/flow-typed/npm/lint-staged_vx.x.x'>; 863 | } 864 | declare module 'styled-components/flow-typed/npm/mocha_v2.4.x.js' { 865 | declare module.exports: $Exports<'styled-components/flow-typed/npm/mocha_v2.4.x'>; 866 | } 867 | declare module 'styled-components/flow-typed/npm/mocha_v3.1.x.js' { 868 | declare module.exports: $Exports<'styled-components/flow-typed/npm/mocha_v3.1.x'>; 869 | } 870 | declare module 'styled-components/flow-typed/npm/mocha-jsdom_vx.x.x.js' { 871 | declare module.exports: $Exports<'styled-components/flow-typed/npm/mocha-jsdom_vx.x.x'>; 872 | } 873 | declare module 'styled-components/flow-typed/npm/node-watch_vx.x.x.js' { 874 | declare module.exports: $Exports<'styled-components/flow-typed/npm/node-watch_vx.x.x'>; 875 | } 876 | declare module 'styled-components/flow-typed/npm/pre-commit_vx.x.x.js' { 877 | declare module.exports: $Exports<'styled-components/flow-typed/npm/pre-commit_vx.x.x'>; 878 | } 879 | declare module 'styled-components/flow-typed/npm/react-addons-test-utils_v15.x.x.js' { 880 | declare module.exports: $Exports<'styled-components/flow-typed/npm/react-addons-test-utils_v15.x.x'>; 881 | } 882 | declare module 'styled-components/flow-typed/npm/rollup_vx.x.x.js' { 883 | declare module.exports: $Exports<'styled-components/flow-typed/npm/rollup_vx.x.x'>; 884 | } 885 | declare module 'styled-components/flow-typed/npm/rollup-plugin-babel_vx.x.x.js' { 886 | declare module.exports: $Exports<'styled-components/flow-typed/npm/rollup-plugin-babel_vx.x.x'>; 887 | } 888 | declare module 'styled-components/flow-typed/npm/rollup-plugin-commonjs_vx.x.x.js' { 889 | declare module.exports: $Exports<'styled-components/flow-typed/npm/rollup-plugin-commonjs_vx.x.x'>; 890 | } 891 | declare module 'styled-components/flow-typed/npm/rollup-plugin-flow_vx.x.x.js' { 892 | declare module.exports: $Exports<'styled-components/flow-typed/npm/rollup-plugin-flow_vx.x.x'>; 893 | } 894 | declare module 'styled-components/flow-typed/npm/rollup-plugin-inject_vx.x.x.js' { 895 | declare module.exports: $Exports<'styled-components/flow-typed/npm/rollup-plugin-inject_vx.x.x'>; 896 | } 897 | declare module 'styled-components/flow-typed/npm/rollup-plugin-json_vx.x.x.js' { 898 | declare module.exports: $Exports<'styled-components/flow-typed/npm/rollup-plugin-json_vx.x.x'>; 899 | } 900 | declare module 'styled-components/flow-typed/npm/rollup-plugin-node-resolve_vx.x.x.js' { 901 | declare module.exports: $Exports<'styled-components/flow-typed/npm/rollup-plugin-node-resolve_vx.x.x'>; 902 | } 903 | declare module 'styled-components/flow-typed/npm/rollup-plugin-replace_vx.x.x.js' { 904 | declare module.exports: $Exports<'styled-components/flow-typed/npm/rollup-plugin-replace_vx.x.x'>; 905 | } 906 | declare module 'styled-components/flow-typed/npm/rollup-plugin-uglify_vx.x.x.js' { 907 | declare module.exports: $Exports<'styled-components/flow-typed/npm/rollup-plugin-uglify_vx.x.x'>; 908 | } 909 | declare module 'styled-components/flow-typed/npm/rollup-plugin-visualizer_vx.x.x.js' { 910 | declare module.exports: $Exports<'styled-components/flow-typed/npm/rollup-plugin-visualizer_vx.x.x'>; 911 | } 912 | declare module 'styled-components/flow-typed/npm/supports-color_v3.x.x.js' { 913 | declare module.exports: $Exports<'styled-components/flow-typed/npm/supports-color_v3.x.x'>; 914 | } 915 | declare module 'styled-components/flow-typed/react-native.js' { 916 | declare module.exports: $Exports<'styled-components/flow-typed/react-native'>; 917 | } 918 | declare module 'styled-components/native/index.js' { 919 | declare module.exports: $Exports<'styled-components/native/index'>; 920 | } 921 | declare module 'styled-components/src/constructors/constructWithOptions.js' { 922 | declare module.exports: $Exports<'styled-components/src/constructors/constructWithOptions'>; 923 | } 924 | declare module 'styled-components/src/constructors/css.js' { 925 | declare module.exports: $Exports<'styled-components/src/constructors/css'>; 926 | } 927 | declare module 'styled-components/src/constructors/injectGlobal.js' { 928 | declare module.exports: $Exports<'styled-components/src/constructors/injectGlobal'>; 929 | } 930 | declare module 'styled-components/src/constructors/keyframes.js' { 931 | declare module.exports: $Exports<'styled-components/src/constructors/keyframes'>; 932 | } 933 | declare module 'styled-components/src/constructors/styled.js' { 934 | declare module.exports: $Exports<'styled-components/src/constructors/styled'>; 935 | } 936 | declare module 'styled-components/src/constructors/test/injectGlobal.test.js' { 937 | declare module.exports: $Exports<'styled-components/src/constructors/test/injectGlobal.test'>; 938 | } 939 | declare module 'styled-components/src/constructors/test/keyframes.test.js' { 940 | declare module.exports: $Exports<'styled-components/src/constructors/test/keyframes.test'>; 941 | } 942 | declare module 'styled-components/src/constructors/test/styled.test.js' { 943 | declare module.exports: $Exports<'styled-components/src/constructors/test/styled.test'>; 944 | } 945 | declare module 'styled-components/src/hoc/withTheme.js' { 946 | declare module.exports: $Exports<'styled-components/src/hoc/withTheme'>; 947 | } 948 | declare module 'styled-components/src/index.js' { 949 | declare module.exports: $Exports<'styled-components/src/index'>; 950 | } 951 | declare module 'styled-components/src/models/BrowserStyleSheet.js' { 952 | declare module.exports: $Exports<'styled-components/src/models/BrowserStyleSheet'>; 953 | } 954 | declare module 'styled-components/src/models/ComponentStyle.js' { 955 | declare module.exports: $Exports<'styled-components/src/models/ComponentStyle'>; 956 | } 957 | declare module 'styled-components/src/models/InlineStyle.js' { 958 | declare module.exports: $Exports<'styled-components/src/models/InlineStyle'>; 959 | } 960 | declare module 'styled-components/src/models/ServerStyleSheet.js' { 961 | declare module.exports: $Exports<'styled-components/src/models/ServerStyleSheet'>; 962 | } 963 | declare module 'styled-components/src/models/StyledComponent.js' { 964 | declare module.exports: $Exports<'styled-components/src/models/StyledComponent'>; 965 | } 966 | declare module 'styled-components/src/models/StyledNativeComponent.js' { 967 | declare module.exports: $Exports<'styled-components/src/models/StyledNativeComponent'>; 968 | } 969 | declare module 'styled-components/src/models/StyleSheet.js' { 970 | declare module.exports: $Exports<'styled-components/src/models/StyleSheet'>; 971 | } 972 | declare module 'styled-components/src/models/StyleSheetManager.js' { 973 | declare module.exports: $Exports<'styled-components/src/models/StyleSheetManager'>; 974 | } 975 | declare module 'styled-components/src/models/test/ThemeProvider.test.js' { 976 | declare module.exports: $Exports<'styled-components/src/models/test/ThemeProvider.test'>; 977 | } 978 | declare module 'styled-components/src/models/ThemeProvider.js' { 979 | declare module.exports: $Exports<'styled-components/src/models/ThemeProvider'>; 980 | } 981 | declare module 'styled-components/src/native/index.js' { 982 | declare module.exports: $Exports<'styled-components/src/native/index'>; 983 | } 984 | declare module 'styled-components/src/native/test/native.test.js' { 985 | declare module.exports: $Exports<'styled-components/src/native/test/native.test'>; 986 | } 987 | declare module 'styled-components/src/native/test/theme.test.js' { 988 | declare module.exports: $Exports<'styled-components/src/native/test/theme.test'>; 989 | } 990 | declare module 'styled-components/src/no-parser/css.js' { 991 | declare module.exports: $Exports<'styled-components/src/no-parser/css'>; 992 | } 993 | declare module 'styled-components/src/no-parser/flatten.js' { 994 | declare module.exports: $Exports<'styled-components/src/no-parser/flatten'>; 995 | } 996 | declare module 'styled-components/src/no-parser/index.js' { 997 | declare module.exports: $Exports<'styled-components/src/no-parser/index'>; 998 | } 999 | declare module 'styled-components/src/no-parser/stringifyRules.js' { 1000 | declare module.exports: $Exports<'styled-components/src/no-parser/stringifyRules'>; 1001 | } 1002 | declare module 'styled-components/src/no-parser/test/basic.test.js' { 1003 | declare module.exports: $Exports<'styled-components/src/no-parser/test/basic.test'>; 1004 | } 1005 | declare module 'styled-components/src/no-parser/test/flatten.test.js' { 1006 | declare module.exports: $Exports<'styled-components/src/no-parser/test/flatten.test'>; 1007 | } 1008 | declare module 'styled-components/src/no-parser/test/keyframes.test.js' { 1009 | declare module.exports: $Exports<'styled-components/src/no-parser/test/keyframes.test'>; 1010 | } 1011 | declare module 'styled-components/src/primitives/index.js' { 1012 | declare module.exports: $Exports<'styled-components/src/primitives/index'>; 1013 | } 1014 | declare module 'styled-components/src/primitives/test/primitives.test.js' { 1015 | declare module.exports: $Exports<'styled-components/src/primitives/test/primitives.test'>; 1016 | } 1017 | declare module 'styled-components/src/secretInternals.js' { 1018 | declare module.exports: $Exports<'styled-components/src/secretInternals'>; 1019 | } 1020 | declare module 'styled-components/src/test/attrs.test.js' { 1021 | declare module.exports: $Exports<'styled-components/src/test/attrs.test'>; 1022 | } 1023 | declare module 'styled-components/src/test/basic.test.js' { 1024 | declare module.exports: $Exports<'styled-components/src/test/basic.test'>; 1025 | } 1026 | declare module 'styled-components/src/test/css.test.js' { 1027 | declare module.exports: $Exports<'styled-components/src/test/css.test'>; 1028 | } 1029 | declare module 'styled-components/src/test/enzymeSetup.js' { 1030 | declare module.exports: $Exports<'styled-components/src/test/enzymeSetup'>; 1031 | } 1032 | declare module 'styled-components/src/test/expanded-api.test.js' { 1033 | declare module.exports: $Exports<'styled-components/src/test/expanded-api.test'>; 1034 | } 1035 | declare module 'styled-components/src/test/extending.test.js' { 1036 | declare module.exports: $Exports<'styled-components/src/test/extending.test'>; 1037 | } 1038 | declare module 'styled-components/src/test/globals.js' { 1039 | declare module.exports: $Exports<'styled-components/src/test/globals'>; 1040 | } 1041 | declare module 'styled-components/src/test/overriding.test.js' { 1042 | declare module.exports: $Exports<'styled-components/src/test/overriding.test'>; 1043 | } 1044 | declare module 'styled-components/src/test/props.test.js' { 1045 | declare module.exports: $Exports<'styled-components/src/test/props.test'>; 1046 | } 1047 | declare module 'styled-components/src/test/rehydration.test.js' { 1048 | declare module.exports: $Exports<'styled-components/src/test/rehydration.test'>; 1049 | } 1050 | declare module 'styled-components/src/test/ssr.test.js' { 1051 | declare module.exports: $Exports<'styled-components/src/test/ssr.test'>; 1052 | } 1053 | declare module 'styled-components/src/test/staticCaching.test.js' { 1054 | declare module.exports: $Exports<'styled-components/src/test/staticCaching.test'>; 1055 | } 1056 | declare module 'styled-components/src/test/styles.test.js' { 1057 | declare module.exports: $Exports<'styled-components/src/test/styles.test'>; 1058 | } 1059 | declare module 'styled-components/src/test/theme.test.js' { 1060 | declare module.exports: $Exports<'styled-components/src/test/theme.test'>; 1061 | } 1062 | declare module 'styled-components/src/test/utils.js' { 1063 | declare module.exports: $Exports<'styled-components/src/test/utils'>; 1064 | } 1065 | declare module 'styled-components/src/test/warnTooManyClasses.test.js' { 1066 | declare module.exports: $Exports<'styled-components/src/test/warnTooManyClasses.test'>; 1067 | } 1068 | declare module 'styled-components/src/types.js' { 1069 | declare module.exports: $Exports<'styled-components/src/types'>; 1070 | } 1071 | declare module 'styled-components/src/utils/consolidateStreamedStyles.js' { 1072 | declare module.exports: $Exports<'styled-components/src/utils/consolidateStreamedStyles'>; 1073 | } 1074 | declare module 'styled-components/src/utils/create-broadcast.js' { 1075 | declare module.exports: $Exports<'styled-components/src/utils/create-broadcast'>; 1076 | } 1077 | declare module 'styled-components/src/utils/createWarnTooManyClasses.js' { 1078 | declare module.exports: $Exports<'styled-components/src/utils/createWarnTooManyClasses'>; 1079 | } 1080 | declare module 'styled-components/src/utils/determineTheme.js' { 1081 | declare module.exports: $Exports<'styled-components/src/utils/determineTheme'>; 1082 | } 1083 | declare module 'styled-components/src/utils/domElements.js' { 1084 | declare module.exports: $Exports<'styled-components/src/utils/domElements'>; 1085 | } 1086 | declare module 'styled-components/src/utils/escape.js' { 1087 | declare module.exports: $Exports<'styled-components/src/utils/escape'>; 1088 | } 1089 | declare module 'styled-components/src/utils/extractCompsFromCSS.js' { 1090 | declare module.exports: $Exports<'styled-components/src/utils/extractCompsFromCSS'>; 1091 | } 1092 | declare module 'styled-components/src/utils/flatten.js' { 1093 | declare module.exports: $Exports<'styled-components/src/utils/flatten'>; 1094 | } 1095 | declare module 'styled-components/src/utils/generateAlphabeticName.js' { 1096 | declare module.exports: $Exports<'styled-components/src/utils/generateAlphabeticName'>; 1097 | } 1098 | declare module 'styled-components/src/utils/getComponentName.js' { 1099 | declare module.exports: $Exports<'styled-components/src/utils/getComponentName'>; 1100 | } 1101 | declare module 'styled-components/src/utils/interleave.js' { 1102 | declare module.exports: $Exports<'styled-components/src/utils/interleave'>; 1103 | } 1104 | declare module 'styled-components/src/utils/isStyledComponent.js' { 1105 | declare module.exports: $Exports<'styled-components/src/utils/isStyledComponent'>; 1106 | } 1107 | declare module 'styled-components/src/utils/isTag.js' { 1108 | declare module.exports: $Exports<'styled-components/src/utils/isTag'>; 1109 | } 1110 | declare module 'styled-components/src/utils/nonce.js' { 1111 | declare module.exports: $Exports<'styled-components/src/utils/nonce'>; 1112 | } 1113 | declare module 'styled-components/src/utils/once.js' { 1114 | declare module.exports: $Exports<'styled-components/src/utils/once'>; 1115 | } 1116 | declare module 'styled-components/src/utils/stringifyRules.js' { 1117 | declare module.exports: $Exports<'styled-components/src/utils/stringifyRules'>; 1118 | } 1119 | declare module 'styled-components/src/utils/test/consolidateStreamedStyles.test.js' { 1120 | declare module.exports: $Exports<'styled-components/src/utils/test/consolidateStreamedStyles.test'>; 1121 | } 1122 | declare module 'styled-components/src/utils/test/determineTheme.test.js' { 1123 | declare module.exports: $Exports<'styled-components/src/utils/test/determineTheme.test'>; 1124 | } 1125 | declare module 'styled-components/src/utils/test/escape.test.js' { 1126 | declare module.exports: $Exports<'styled-components/src/utils/test/escape.test'>; 1127 | } 1128 | declare module 'styled-components/src/utils/test/extractCompsFromCSS.test.js' { 1129 | declare module.exports: $Exports<'styled-components/src/utils/test/extractCompsFromCSS.test'>; 1130 | } 1131 | declare module 'styled-components/src/utils/test/flatten.test.js' { 1132 | declare module.exports: $Exports<'styled-components/src/utils/test/flatten.test'>; 1133 | } 1134 | declare module 'styled-components/src/utils/test/generateAlphabeticName.test.js' { 1135 | declare module.exports: $Exports<'styled-components/src/utils/test/generateAlphabeticName.test'>; 1136 | } 1137 | declare module 'styled-components/src/utils/test/getComponentName.test.js' { 1138 | declare module.exports: $Exports<'styled-components/src/utils/test/getComponentName.test'>; 1139 | } 1140 | declare module 'styled-components/src/utils/test/interleave.test.js' { 1141 | declare module.exports: $Exports<'styled-components/src/utils/test/interleave.test'>; 1142 | } 1143 | declare module 'styled-components/src/utils/test/validAttr.test.js' { 1144 | declare module.exports: $Exports<'styled-components/src/utils/test/validAttr.test'>; 1145 | } 1146 | declare module 'styled-components/src/utils/validAttr.js' { 1147 | declare module.exports: $Exports<'styled-components/src/utils/validAttr'>; 1148 | } 1149 | declare module 'styled-components/src/vendor/glamor/hash.js' { 1150 | declare module.exports: $Exports<'styled-components/src/vendor/glamor/hash'>; 1151 | } 1152 | declare module 'styled-components/src/vendor/postcss-nested/index.js' { 1153 | declare module.exports: $Exports<'styled-components/src/vendor/postcss-nested/index'>; 1154 | } 1155 | declare module 'styled-components/src/vendor/postcss-safe-parser/parse.js' { 1156 | declare module.exports: $Exports<'styled-components/src/vendor/postcss-safe-parser/parse'>; 1157 | } 1158 | declare module 'styled-components/src/vendor/postcss-safe-parser/safe-parser.js' { 1159 | declare module.exports: $Exports<'styled-components/src/vendor/postcss-safe-parser/safe-parser'>; 1160 | } 1161 | declare module 'styled-components/src/vendor/postcss/at-rule.js' { 1162 | declare module.exports: $Exports<'styled-components/src/vendor/postcss/at-rule'>; 1163 | } 1164 | declare module 'styled-components/src/vendor/postcss/comment.js' { 1165 | declare module.exports: $Exports<'styled-components/src/vendor/postcss/comment'>; 1166 | } 1167 | declare module 'styled-components/src/vendor/postcss/container.js' { 1168 | declare module.exports: $Exports<'styled-components/src/vendor/postcss/container'>; 1169 | } 1170 | declare module 'styled-components/src/vendor/postcss/css-syntax-error.js' { 1171 | declare module.exports: $Exports<'styled-components/src/vendor/postcss/css-syntax-error'>; 1172 | } 1173 | declare module 'styled-components/src/vendor/postcss/declaration.js' { 1174 | declare module.exports: $Exports<'styled-components/src/vendor/postcss/declaration'>; 1175 | } 1176 | declare module 'styled-components/src/vendor/postcss/input.js' { 1177 | declare module.exports: $Exports<'styled-components/src/vendor/postcss/input'>; 1178 | } 1179 | declare module 'styled-components/src/vendor/postcss/lazy-result.js' { 1180 | declare module.exports: $Exports<'styled-components/src/vendor/postcss/lazy-result'>; 1181 | } 1182 | declare module 'styled-components/src/vendor/postcss/list.js' { 1183 | declare module.exports: $Exports<'styled-components/src/vendor/postcss/list'>; 1184 | } 1185 | declare module 'styled-components/src/vendor/postcss/node.js' { 1186 | declare module.exports: $Exports<'styled-components/src/vendor/postcss/node'>; 1187 | } 1188 | declare module 'styled-components/src/vendor/postcss/parse.js' { 1189 | declare module.exports: $Exports<'styled-components/src/vendor/postcss/parse'>; 1190 | } 1191 | declare module 'styled-components/src/vendor/postcss/parser.js' { 1192 | declare module.exports: $Exports<'styled-components/src/vendor/postcss/parser'>; 1193 | } 1194 | declare module 'styled-components/src/vendor/postcss/postcss.js' { 1195 | declare module.exports: $Exports<'styled-components/src/vendor/postcss/postcss'>; 1196 | } 1197 | declare module 'styled-components/src/vendor/postcss/processor.js' { 1198 | declare module.exports: $Exports<'styled-components/src/vendor/postcss/processor'>; 1199 | } 1200 | declare module 'styled-components/src/vendor/postcss/result.js' { 1201 | declare module.exports: $Exports<'styled-components/src/vendor/postcss/result'>; 1202 | } 1203 | declare module 'styled-components/src/vendor/postcss/root.js' { 1204 | declare module.exports: $Exports<'styled-components/src/vendor/postcss/root'>; 1205 | } 1206 | declare module 'styled-components/src/vendor/postcss/rule.js' { 1207 | declare module.exports: $Exports<'styled-components/src/vendor/postcss/rule'>; 1208 | } 1209 | declare module 'styled-components/src/vendor/postcss/stringifier.js' { 1210 | declare module.exports: $Exports<'styled-components/src/vendor/postcss/stringifier'>; 1211 | } 1212 | declare module 'styled-components/src/vendor/postcss/stringify.js' { 1213 | declare module.exports: $Exports<'styled-components/src/vendor/postcss/stringify'>; 1214 | } 1215 | declare module 'styled-components/src/vendor/postcss/terminal-highlight.js' { 1216 | declare module.exports: $Exports<'styled-components/src/vendor/postcss/terminal-highlight'>; 1217 | } 1218 | declare module 'styled-components/src/vendor/postcss/tokenize.js' { 1219 | declare module.exports: $Exports<'styled-components/src/vendor/postcss/tokenize'>; 1220 | } 1221 | declare module 'styled-components/src/vendor/postcss/vendor.js' { 1222 | declare module.exports: $Exports<'styled-components/src/vendor/postcss/vendor'>; 1223 | } 1224 | declare module 'styled-components/src/vendor/postcss/warn-once.js' { 1225 | declare module.exports: $Exports<'styled-components/src/vendor/postcss/warn-once'>; 1226 | } 1227 | declare module 'styled-components/src/vendor/postcss/warning.js' { 1228 | declare module.exports: $Exports<'styled-components/src/vendor/postcss/warning'>; 1229 | } 1230 | -------------------------------------------------------------------------------- /flow-typed/npm/stylelint-config-standard_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: f3f0a02ab3de9e0ecd282f0bbc54a62d 2 | // flow-typed version: <>/stylelint-config-standard_v^18.0.0/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'stylelint-config-standard' 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 'stylelint-config-standard' { 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 | 27 | // Filename aliases 28 | declare module 'stylelint-config-standard/index' { 29 | declare module.exports: $Exports<'stylelint-config-standard'>; 30 | } 31 | declare module 'stylelint-config-standard/index.js' { 32 | declare module.exports: $Exports<'stylelint-config-standard'>; 33 | } 34 | -------------------------------------------------------------------------------- /flow-typed/npm/stylelint-config-styled-components_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 3b9440f6fb2a2abb14fe9b15c9f9533c 2 | // flow-typed version: <>/stylelint-config-styled-components_v^0.1.1/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'stylelint-config-styled-components' 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 'stylelint-config-styled-components' { 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 | 27 | // Filename aliases 28 | declare module 'stylelint-config-styled-components/index' { 29 | declare module.exports: $Exports<'stylelint-config-styled-components'>; 30 | } 31 | declare module 'stylelint-config-styled-components/index.js' { 32 | declare module.exports: $Exports<'stylelint-config-styled-components'>; 33 | } 34 | -------------------------------------------------------------------------------- /flow-typed/npm/stylelint-processor-styled-components_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 2bd7f718f2456808086dd26995946c03 2 | // flow-typed version: <>/stylelint-processor-styled-components_v^1.2.2/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'stylelint-processor-styled-components' 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 'stylelint-processor-styled-components' { 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 'stylelint-processor-styled-components/lib/index' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'stylelint-processor-styled-components/lib/parsers/babylon-parser' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'stylelint-processor-styled-components/lib/parsers/index' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'stylelint-processor-styled-components/lib/parsers/typescript-parser' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'stylelint-processor-styled-components/lib/utils/general' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'stylelint-processor-styled-components/lib/utils/parse' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'stylelint-processor-styled-components/lib/utils/styled' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'stylelint-processor-styled-components/lib/utils/tagged-template-literal' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module 'stylelint-processor-styled-components/myStuff/lint' { 58 | declare module.exports: any; 59 | } 60 | 61 | declare module 'stylelint-processor-styled-components/myStuff/styles' { 62 | declare module.exports: any; 63 | } 64 | 65 | declare module 'stylelint-processor-styled-components/src/index' { 66 | declare module.exports: any; 67 | } 68 | 69 | declare module 'stylelint-processor-styled-components/src/parsers/babylon-parser' { 70 | declare module.exports: any; 71 | } 72 | 73 | declare module 'stylelint-processor-styled-components/src/parsers/index' { 74 | declare module.exports: any; 75 | } 76 | 77 | declare module 'stylelint-processor-styled-components/src/parsers/typescript-parser' { 78 | declare module.exports: any; 79 | } 80 | 81 | declare module 'stylelint-processor-styled-components/src/utils/general' { 82 | declare module.exports: any; 83 | } 84 | 85 | declare module 'stylelint-processor-styled-components/src/utils/parse' { 86 | declare module.exports: any; 87 | } 88 | 89 | declare module 'stylelint-processor-styled-components/src/utils/styled' { 90 | declare module.exports: any; 91 | } 92 | 93 | declare module 'stylelint-processor-styled-components/src/utils/tagged-template-literal' { 94 | declare module.exports: any; 95 | } 96 | 97 | declare module 'stylelint-processor-styled-components/test/fixtures/hard/indentation' { 98 | declare module.exports: any; 99 | } 100 | 101 | declare module 'stylelint-processor-styled-components/test/fixtures/hard/invalid-indentation' { 102 | declare module.exports: any; 103 | } 104 | 105 | declare module 'stylelint-processor-styled-components/test/fixtures/hard/source-maps' { 106 | declare module.exports: any; 107 | } 108 | 109 | declare module 'stylelint-processor-styled-components/test/fixtures/ignore-rule-comments/alternating-disable-enable' { 110 | declare module.exports: any; 111 | } 112 | 113 | declare module 'stylelint-processor-styled-components/test/fixtures/ignore-rule-comments/disable-whole-file' { 114 | declare module.exports: any; 115 | } 116 | 117 | declare module 'stylelint-processor-styled-components/test/fixtures/ignore-rule-comments/mix-in-css-disables' { 118 | declare module.exports: any; 119 | } 120 | 121 | declare module 'stylelint-processor-styled-components/test/fixtures/ignore-rule-comments/use-single-line-comments' { 122 | declare module.exports: any; 123 | } 124 | 125 | declare module 'stylelint-processor-styled-components/test/fixtures/ignore-rule-comments/use-single-line-disables' { 126 | declare module.exports: any; 127 | } 128 | 129 | declare module 'stylelint-processor-styled-components/test/fixtures/inject-global/valid-spaces' { 130 | declare module.exports: any; 131 | } 132 | 133 | declare module 'stylelint-processor-styled-components/test/fixtures/inject-global/valid-tabs' { 134 | declare module.exports: any; 135 | } 136 | 137 | declare module 'stylelint-processor-styled-components/test/fixtures/interpolation-tagging/invalid-custom' { 138 | declare module.exports: any; 139 | } 140 | 141 | declare module 'stylelint-processor-styled-components/test/fixtures/interpolation-tagging/invalid-tag' { 142 | declare module.exports: any; 143 | } 144 | 145 | declare module 'stylelint-processor-styled-components/test/fixtures/interpolation-tagging/valid' { 146 | declare module.exports: any; 147 | } 148 | 149 | declare module 'stylelint-processor-styled-components/test/fixtures/interpolations/complex' { 150 | declare module.exports: any; 151 | } 152 | 153 | declare module 'stylelint-processor-styled-components/test/fixtures/interpolations/invalid' { 154 | declare module.exports: any; 155 | } 156 | 157 | declare module 'stylelint-processor-styled-components/test/fixtures/interpolations/valid' { 158 | declare module.exports: any; 159 | } 160 | 161 | declare module 'stylelint-processor-styled-components/test/fixtures/options/invalid-module-name' { 162 | declare module.exports: any; 163 | } 164 | 165 | declare module 'stylelint-processor-styled-components/test/fixtures/options/module-name' { 166 | declare module.exports: any; 167 | } 168 | 169 | declare module 'stylelint-processor-styled-components/test/fixtures/options/relative-module-name' { 170 | declare module.exports: any; 171 | } 172 | 173 | declare module 'stylelint-processor-styled-components/test/fixtures/real-world/Circle' { 174 | declare module.exports: any; 175 | } 176 | 177 | declare module 'stylelint-processor-styled-components/test/fixtures/real-world/LineNumbersReportedAccurate' { 178 | declare module.exports: any; 179 | } 180 | 181 | declare module 'stylelint-processor-styled-components/test/fixtures/simple/global' { 182 | declare module.exports: any; 183 | } 184 | 185 | declare module 'stylelint-processor-styled-components/test/fixtures/simple/helpers' { 186 | declare module.exports: any; 187 | } 188 | 189 | declare module 'stylelint-processor-styled-components/test/fixtures/simple/identify-styled' { 190 | declare module.exports: any; 191 | } 192 | 193 | declare module 'stylelint-processor-styled-components/test/fixtures/simple/imports' { 194 | declare module.exports: any; 195 | } 196 | 197 | declare module 'stylelint-processor-styled-components/test/fixtures/simple/invalid' { 198 | declare module.exports: any; 199 | } 200 | 201 | declare module 'stylelint-processor-styled-components/test/fixtures/simple/nesting' { 202 | declare module.exports: any; 203 | } 204 | 205 | declare module 'stylelint-processor-styled-components/test/fixtures/simple/other-library' { 206 | declare module.exports: any; 207 | } 208 | 209 | declare module 'stylelint-processor-styled-components/test/fixtures/simple/valid' { 210 | declare module.exports: any; 211 | } 212 | 213 | declare module 'stylelint-processor-styled-components/test/hard.test' { 214 | declare module.exports: any; 215 | } 216 | 217 | declare module 'stylelint-processor-styled-components/test/ignore-rule-comments.test' { 218 | declare module.exports: any; 219 | } 220 | 221 | declare module 'stylelint-processor-styled-components/test/inject-global.test' { 222 | declare module.exports: any; 223 | } 224 | 225 | declare module 'stylelint-processor-styled-components/test/interpolation-tagging.test' { 226 | declare module.exports: any; 227 | } 228 | 229 | declare module 'stylelint-processor-styled-components/test/interpolations.test' { 230 | declare module.exports: any; 231 | } 232 | 233 | declare module 'stylelint-processor-styled-components/test/jest-setup' { 234 | declare module.exports: any; 235 | } 236 | 237 | declare module 'stylelint-processor-styled-components/test/nofiles.test' { 238 | declare module.exports: any; 239 | } 240 | 241 | declare module 'stylelint-processor-styled-components/test/options.test' { 242 | declare module.exports: any; 243 | } 244 | 245 | declare module 'stylelint-processor-styled-components/test/real-world.test' { 246 | declare module.exports: any; 247 | } 248 | 249 | declare module 'stylelint-processor-styled-components/test/simple.test' { 250 | declare module.exports: any; 251 | } 252 | 253 | declare module 'stylelint-processor-styled-components/test/typescript.test' { 254 | declare module.exports: any; 255 | } 256 | 257 | declare module 'stylelint-processor-styled-components/test/utils.test' { 258 | declare module.exports: any; 259 | } 260 | 261 | // Filename aliases 262 | declare module 'stylelint-processor-styled-components/lib/index.js' { 263 | declare module.exports: $Exports<'stylelint-processor-styled-components/lib/index'>; 264 | } 265 | declare module 'stylelint-processor-styled-components/lib/parsers/babylon-parser.js' { 266 | declare module.exports: $Exports<'stylelint-processor-styled-components/lib/parsers/babylon-parser'>; 267 | } 268 | declare module 'stylelint-processor-styled-components/lib/parsers/index.js' { 269 | declare module.exports: $Exports<'stylelint-processor-styled-components/lib/parsers/index'>; 270 | } 271 | declare module 'stylelint-processor-styled-components/lib/parsers/typescript-parser.js' { 272 | declare module.exports: $Exports<'stylelint-processor-styled-components/lib/parsers/typescript-parser'>; 273 | } 274 | declare module 'stylelint-processor-styled-components/lib/utils/general.js' { 275 | declare module.exports: $Exports<'stylelint-processor-styled-components/lib/utils/general'>; 276 | } 277 | declare module 'stylelint-processor-styled-components/lib/utils/parse.js' { 278 | declare module.exports: $Exports<'stylelint-processor-styled-components/lib/utils/parse'>; 279 | } 280 | declare module 'stylelint-processor-styled-components/lib/utils/styled.js' { 281 | declare module.exports: $Exports<'stylelint-processor-styled-components/lib/utils/styled'>; 282 | } 283 | declare module 'stylelint-processor-styled-components/lib/utils/tagged-template-literal.js' { 284 | declare module.exports: $Exports<'stylelint-processor-styled-components/lib/utils/tagged-template-literal'>; 285 | } 286 | declare module 'stylelint-processor-styled-components/myStuff/lint.js' { 287 | declare module.exports: $Exports<'stylelint-processor-styled-components/myStuff/lint'>; 288 | } 289 | declare module 'stylelint-processor-styled-components/myStuff/styles.js' { 290 | declare module.exports: $Exports<'stylelint-processor-styled-components/myStuff/styles'>; 291 | } 292 | declare module 'stylelint-processor-styled-components/src/index.js' { 293 | declare module.exports: $Exports<'stylelint-processor-styled-components/src/index'>; 294 | } 295 | declare module 'stylelint-processor-styled-components/src/parsers/babylon-parser.js' { 296 | declare module.exports: $Exports<'stylelint-processor-styled-components/src/parsers/babylon-parser'>; 297 | } 298 | declare module 'stylelint-processor-styled-components/src/parsers/index.js' { 299 | declare module.exports: $Exports<'stylelint-processor-styled-components/src/parsers/index'>; 300 | } 301 | declare module 'stylelint-processor-styled-components/src/parsers/typescript-parser.js' { 302 | declare module.exports: $Exports<'stylelint-processor-styled-components/src/parsers/typescript-parser'>; 303 | } 304 | declare module 'stylelint-processor-styled-components/src/utils/general.js' { 305 | declare module.exports: $Exports<'stylelint-processor-styled-components/src/utils/general'>; 306 | } 307 | declare module 'stylelint-processor-styled-components/src/utils/parse.js' { 308 | declare module.exports: $Exports<'stylelint-processor-styled-components/src/utils/parse'>; 309 | } 310 | declare module 'stylelint-processor-styled-components/src/utils/styled.js' { 311 | declare module.exports: $Exports<'stylelint-processor-styled-components/src/utils/styled'>; 312 | } 313 | declare module 'stylelint-processor-styled-components/src/utils/tagged-template-literal.js' { 314 | declare module.exports: $Exports<'stylelint-processor-styled-components/src/utils/tagged-template-literal'>; 315 | } 316 | declare module 'stylelint-processor-styled-components/test/fixtures/hard/indentation.js' { 317 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/hard/indentation'>; 318 | } 319 | declare module 'stylelint-processor-styled-components/test/fixtures/hard/invalid-indentation.js' { 320 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/hard/invalid-indentation'>; 321 | } 322 | declare module 'stylelint-processor-styled-components/test/fixtures/hard/source-maps.js' { 323 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/hard/source-maps'>; 324 | } 325 | declare module 'stylelint-processor-styled-components/test/fixtures/ignore-rule-comments/alternating-disable-enable.js' { 326 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/ignore-rule-comments/alternating-disable-enable'>; 327 | } 328 | declare module 'stylelint-processor-styled-components/test/fixtures/ignore-rule-comments/disable-whole-file.js' { 329 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/ignore-rule-comments/disable-whole-file'>; 330 | } 331 | declare module 'stylelint-processor-styled-components/test/fixtures/ignore-rule-comments/mix-in-css-disables.js' { 332 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/ignore-rule-comments/mix-in-css-disables'>; 333 | } 334 | declare module 'stylelint-processor-styled-components/test/fixtures/ignore-rule-comments/use-single-line-comments.js' { 335 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/ignore-rule-comments/use-single-line-comments'>; 336 | } 337 | declare module 'stylelint-processor-styled-components/test/fixtures/ignore-rule-comments/use-single-line-disables.js' { 338 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/ignore-rule-comments/use-single-line-disables'>; 339 | } 340 | declare module 'stylelint-processor-styled-components/test/fixtures/inject-global/valid-spaces.js' { 341 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/inject-global/valid-spaces'>; 342 | } 343 | declare module 'stylelint-processor-styled-components/test/fixtures/inject-global/valid-tabs.js' { 344 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/inject-global/valid-tabs'>; 345 | } 346 | declare module 'stylelint-processor-styled-components/test/fixtures/interpolation-tagging/invalid-custom.js' { 347 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/interpolation-tagging/invalid-custom'>; 348 | } 349 | declare module 'stylelint-processor-styled-components/test/fixtures/interpolation-tagging/invalid-tag.js' { 350 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/interpolation-tagging/invalid-tag'>; 351 | } 352 | declare module 'stylelint-processor-styled-components/test/fixtures/interpolation-tagging/valid.js' { 353 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/interpolation-tagging/valid'>; 354 | } 355 | declare module 'stylelint-processor-styled-components/test/fixtures/interpolations/complex.js' { 356 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/interpolations/complex'>; 357 | } 358 | declare module 'stylelint-processor-styled-components/test/fixtures/interpolations/invalid.js' { 359 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/interpolations/invalid'>; 360 | } 361 | declare module 'stylelint-processor-styled-components/test/fixtures/interpolations/valid.js' { 362 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/interpolations/valid'>; 363 | } 364 | declare module 'stylelint-processor-styled-components/test/fixtures/options/invalid-module-name.js' { 365 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/options/invalid-module-name'>; 366 | } 367 | declare module 'stylelint-processor-styled-components/test/fixtures/options/module-name.js' { 368 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/options/module-name'>; 369 | } 370 | declare module 'stylelint-processor-styled-components/test/fixtures/options/relative-module-name.js' { 371 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/options/relative-module-name'>; 372 | } 373 | declare module 'stylelint-processor-styled-components/test/fixtures/real-world/Circle.js' { 374 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/real-world/Circle'>; 375 | } 376 | declare module 'stylelint-processor-styled-components/test/fixtures/real-world/LineNumbersReportedAccurate.js' { 377 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/real-world/LineNumbersReportedAccurate'>; 378 | } 379 | declare module 'stylelint-processor-styled-components/test/fixtures/simple/global.js' { 380 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/simple/global'>; 381 | } 382 | declare module 'stylelint-processor-styled-components/test/fixtures/simple/helpers.js' { 383 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/simple/helpers'>; 384 | } 385 | declare module 'stylelint-processor-styled-components/test/fixtures/simple/identify-styled.js' { 386 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/simple/identify-styled'>; 387 | } 388 | declare module 'stylelint-processor-styled-components/test/fixtures/simple/imports.js' { 389 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/simple/imports'>; 390 | } 391 | declare module 'stylelint-processor-styled-components/test/fixtures/simple/invalid.js' { 392 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/simple/invalid'>; 393 | } 394 | declare module 'stylelint-processor-styled-components/test/fixtures/simple/nesting.js' { 395 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/simple/nesting'>; 396 | } 397 | declare module 'stylelint-processor-styled-components/test/fixtures/simple/other-library.js' { 398 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/simple/other-library'>; 399 | } 400 | declare module 'stylelint-processor-styled-components/test/fixtures/simple/valid.js' { 401 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/fixtures/simple/valid'>; 402 | } 403 | declare module 'stylelint-processor-styled-components/test/hard.test.js' { 404 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/hard.test'>; 405 | } 406 | declare module 'stylelint-processor-styled-components/test/ignore-rule-comments.test.js' { 407 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/ignore-rule-comments.test'>; 408 | } 409 | declare module 'stylelint-processor-styled-components/test/inject-global.test.js' { 410 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/inject-global.test'>; 411 | } 412 | declare module 'stylelint-processor-styled-components/test/interpolation-tagging.test.js' { 413 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/interpolation-tagging.test'>; 414 | } 415 | declare module 'stylelint-processor-styled-components/test/interpolations.test.js' { 416 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/interpolations.test'>; 417 | } 418 | declare module 'stylelint-processor-styled-components/test/jest-setup.js' { 419 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/jest-setup'>; 420 | } 421 | declare module 'stylelint-processor-styled-components/test/nofiles.test.js' { 422 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/nofiles.test'>; 423 | } 424 | declare module 'stylelint-processor-styled-components/test/options.test.js' { 425 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/options.test'>; 426 | } 427 | declare module 'stylelint-processor-styled-components/test/real-world.test.js' { 428 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/real-world.test'>; 429 | } 430 | declare module 'stylelint-processor-styled-components/test/simple.test.js' { 431 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/simple.test'>; 432 | } 433 | declare module 'stylelint-processor-styled-components/test/typescript.test.js' { 434 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/typescript.test'>; 435 | } 436 | declare module 'stylelint-processor-styled-components/test/utils.test.js' { 437 | declare module.exports: $Exports<'stylelint-processor-styled-components/test/utils.test'>; 438 | } 439 | -------------------------------------------------------------------------------- /flow-typed/npm/url-loader_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 599ae86c0a3a61681773bc6fd7d78050 2 | // flow-typed version: <>/url-loader_v^0.6.2/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'url-loader' 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 'url-loader' { 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 | 27 | // Filename aliases 28 | declare module 'url-loader/index' { 29 | declare module.exports: $Exports<'url-loader'>; 30 | } 31 | declare module 'url-loader/index.js' { 32 | declare module.exports: $Exports<'url-loader'>; 33 | } 34 | -------------------------------------------------------------------------------- /flow-typed/npm/webpack-dev-server_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 2279ea04d6f7479d9d382cfb07bd7131 2 | // flow-typed version: <>/webpack-dev-server_v^2.11.1/flow_v0.65.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'webpack-dev-server' 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 'webpack-dev-server' { 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 'webpack-dev-server/bin/webpack-dev-server' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'webpack-dev-server/client/index.bundle' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'webpack-dev-server/client/index' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'webpack-dev-server/client/live.bundle' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'webpack-dev-server/client/overlay' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'webpack-dev-server/client/socket' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'webpack-dev-server/client/sockjs.bundle' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'webpack-dev-server/lib/OptionsValidationError' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module 'webpack-dev-server/lib/polyfills' { 58 | declare module.exports: any; 59 | } 60 | 61 | declare module 'webpack-dev-server/lib/Server' { 62 | declare module.exports: any; 63 | } 64 | 65 | declare module 'webpack-dev-server/lib/util/addDevServerEntrypoints' { 66 | declare module.exports: any; 67 | } 68 | 69 | declare module 'webpack-dev-server/lib/util/createDomain' { 70 | declare module.exports: any; 71 | } 72 | 73 | // Filename aliases 74 | declare module 'webpack-dev-server/bin/webpack-dev-server.js' { 75 | declare module.exports: $Exports<'webpack-dev-server/bin/webpack-dev-server'>; 76 | } 77 | declare module 'webpack-dev-server/client/index.bundle.js' { 78 | declare module.exports: $Exports<'webpack-dev-server/client/index.bundle'>; 79 | } 80 | declare module 'webpack-dev-server/client/index.js' { 81 | declare module.exports: $Exports<'webpack-dev-server/client/index'>; 82 | } 83 | declare module 'webpack-dev-server/client/live.bundle.js' { 84 | declare module.exports: $Exports<'webpack-dev-server/client/live.bundle'>; 85 | } 86 | declare module 'webpack-dev-server/client/overlay.js' { 87 | declare module.exports: $Exports<'webpack-dev-server/client/overlay'>; 88 | } 89 | declare module 'webpack-dev-server/client/socket.js' { 90 | declare module.exports: $Exports<'webpack-dev-server/client/socket'>; 91 | } 92 | declare module 'webpack-dev-server/client/sockjs.bundle.js' { 93 | declare module.exports: $Exports<'webpack-dev-server/client/sockjs.bundle'>; 94 | } 95 | declare module 'webpack-dev-server/lib/OptionsValidationError.js' { 96 | declare module.exports: $Exports<'webpack-dev-server/lib/OptionsValidationError'>; 97 | } 98 | declare module 'webpack-dev-server/lib/polyfills.js' { 99 | declare module.exports: $Exports<'webpack-dev-server/lib/polyfills'>; 100 | } 101 | declare module 'webpack-dev-server/lib/Server.js' { 102 | declare module.exports: $Exports<'webpack-dev-server/lib/Server'>; 103 | } 104 | declare module 'webpack-dev-server/lib/util/addDevServerEntrypoints.js' { 105 | declare module.exports: $Exports<'webpack-dev-server/lib/util/addDevServerEntrypoints'>; 106 | } 107 | declare module 'webpack-dev-server/lib/util/createDomain.js' { 108 | declare module.exports: $Exports<'webpack-dev-server/lib/util/createDomain'>; 109 | } 110 | -------------------------------------------------------------------------------- /interfaces/ImageStub.js: -------------------------------------------------------------------------------- 1 | declare module ImageStub { 2 | declare module.exports: {}; 3 | } 4 | -------------------------------------------------------------------------------- /interfaces/StyleSheetStub.js: -------------------------------------------------------------------------------- 1 | declare module StyleSheetStub { 2 | declare module.exports: { [key: string]: string }; 3 | } 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react-boilerplate", 3 | "version": "1.0.0", 4 | "description": "Boilerplate for projects using ES2015 and React", 5 | "main": "index.js", 6 | "repository": { 7 | "type": "git", 8 | "url": "git://github.com/satya164/react-boilerplate.git" 9 | }, 10 | "scripts": { 11 | "start": "cross-env NODE_ENV=development webpack-dev-server", 12 | "test": "jest", 13 | "flow": "flow", 14 | "lint:js": "eslint .", 15 | "lint:css": "stylelint './src/**/*.js'", 16 | "lint": "yarn run lint:js && yarn run lint:css", 17 | "build": "webpack -p --env.NODE_ENV production", 18 | "prebuild": "yarn run clean", 19 | "clean": "del dist" 20 | }, 21 | "author": "Satyajit Sahoo (https://github.com/satya164/)", 22 | "license": "MIT", 23 | "devDependencies": { 24 | "autoprefixer": "^8.0.0", 25 | "babel-core": "^6.26.0", 26 | "babel-eslint": "^8.2.1", 27 | "babel-jest": "^22.2.2", 28 | "babel-loader": "^7.1.2", 29 | "babel-plugin-transform-react-constant-elements": "^6.23.0", 30 | "babel-plugin-transform-react-inline-elements": "^6.22.0", 31 | "babel-preset-env": "^1.6.1", 32 | "babel-preset-react": "^6.24.1", 33 | "babel-preset-stage-2": "^6.24.1", 34 | "cross-env": "^5.1.3", 35 | "css-loader": "^0.28.9", 36 | "del-cli": "^1.1.0", 37 | "enzyme": "^3.3.0", 38 | "enzyme-adapter-react-16": "^1.1.1", 39 | "eslint": "^4.17.0", 40 | "eslint-config-satya164": "^1.0.1", 41 | "eslint-loader": "^1.9.0", 42 | "file-loader": "^1.1.6", 43 | "flow-bin": "^0.65.0", 44 | "identity-obj-proxy": "^3.0.0", 45 | "jest-cli": "^22.3.0", 46 | "postcss-loader": "^2.1.0", 47 | "prettier": "^1.10.2", 48 | "react-transform-catch-errors": "^1.0.2", 49 | "react-transform-hmr": "^1.0.4", 50 | "redbox-react": "^1.5.0", 51 | "style-loader": "^0.20.1", 52 | "stylelint": "^8.4.0", 53 | "stylelint-config-standard": "^18.0.0", 54 | "stylelint-config-styled-components": "^0.1.1", 55 | "stylelint-processor-styled-components": "^1.2.2", 56 | "url-loader": "^0.6.2", 57 | "webpack": "^3.11.0", 58 | "webpack-dev-server": "^2.11.1" 59 | }, 60 | "dependencies": { 61 | "react": "^16.2.0", 62 | "react-dom": "^16.2.0", 63 | "react-redux": "^5.0.6", 64 | "redux": "^3.7.2", 65 | "redux-thunk": "^2.2.0", 66 | "styled-components": "^3.1.6" 67 | }, 68 | "jest": { 69 | "setupFiles": [ 70 | "/__setup__/react.js", 71 | "/__setup__/enzyme.js" 72 | ], 73 | "moduleNameMapper": { 74 | "\\.(bmp|gif|jpg|jpeg|png|psd|svg|webp|m4v|mov|mp4|mpeg|mpg|webm|aac|aiff|caf|m4a|mp3|wav|html|pdf|ttf|otf)$": "/__mocks__/fileMock.js", 75 | "\\.(css|scss|less)$": "identity-obj-proxy" 76 | } 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /src/App.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import configureStore from './store/configureStore'; 3 | import RootContainer from './containers/RootContainer'; 4 | 5 | const store = configureStore(); 6 | 7 | const App = () => ; 8 | 9 | export default App; 10 | -------------------------------------------------------------------------------- /src/actions/CounterActions.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import { INCREMENT_COUNTER, DECREMENT_COUNTER } from '../constants/actionTypes'; 4 | import type { Action } from '../types/Action'; 5 | import type { Dispatch, GetState } from '../types/Store'; 6 | 7 | export function increment(amount: number): Action { 8 | return { 9 | type: INCREMENT_COUNTER, 10 | payload: amount, 11 | }; 12 | } 13 | 14 | export function decrement(amount: number): Action { 15 | return { 16 | type: DECREMENT_COUNTER, 17 | payload: amount, 18 | }; 19 | } 20 | 21 | export function incrementIfEven(amount: number) { 22 | return (dispatch: Dispatch, getState: GetState) => { 23 | const { counter } = getState(); 24 | 25 | if (counter % 2 === 0) { 26 | dispatch(increment(amount)); 27 | } 28 | }; 29 | } 30 | -------------------------------------------------------------------------------- /src/components/Counter.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import * as React from 'react'; 4 | import styled from 'styled-components'; 5 | 6 | const Container = styled.div` 7 | padding: 48px; 8 | width: 360px; 9 | margin: auto; 10 | `; 11 | 12 | const Count = styled.div` 13 | font-family: sans-serif; 14 | font-size: 192px; 15 | color: #443b5d; 16 | text-align: center; 17 | `; 18 | 19 | const Actions = styled.div` 20 | text-align: center; 21 | `; 22 | 23 | const Button = styled.button` 24 | display: inline-block; 25 | background: #56acdf; 26 | color: #fff; 27 | border-radius: 2px; 28 | border: 0; 29 | font-size: 16px; 30 | padding: 8px; 31 | margin: 2px; 32 | min-width: 32px; 33 | outline: 0; 34 | cursor: pointer; 35 | 36 | &:hover { 37 | background: #60c0f7; 38 | } 39 | 40 | &:active { 41 | background: #4d98c4; 42 | } 43 | `; 44 | 45 | type Props = {| 46 | counter: number, 47 | increment: (amount: number) => mixed, 48 | decrement: (amount: number) => mixed, 49 | incrementIfEven: (amount: number) => mixed, 50 | |}; 51 | 52 | export default class Counter extends React.Component { 53 | render() { 54 | const { props } = this; 55 | 56 | return ( 57 | 58 | {props.counter} 59 | 60 | 63 | 66 | 72 | 73 | 74 | ); 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /src/constants/actionTypes.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | export const INCREMENT_COUNTER = 'INCREMENT_COUNTER'; 4 | 5 | export const DECREMENT_COUNTER = 'DECREMENT_COUNTER'; 6 | -------------------------------------------------------------------------------- /src/containers/CounterContainer.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import { connect } from 'react-redux'; 4 | import { bindActionCreators } from 'redux'; 5 | import Counter from '../components/Counter'; 6 | import { 7 | increment, 8 | decrement, 9 | incrementIfEven, 10 | } from '../actions/CounterActions'; 11 | import type { State } from '../types/State'; 12 | 13 | const mapStateToProps = ({ counter }: State) => ({ 14 | counter, 15 | }); 16 | 17 | const mapDispatchToProps = (dispatch: *) => 18 | bindActionCreators( 19 | { 20 | increment, 21 | decrement, 22 | incrementIfEven, 23 | }, 24 | dispatch 25 | ); 26 | 27 | export default connect(mapStateToProps, mapDispatchToProps)(Counter); 28 | -------------------------------------------------------------------------------- /src/containers/RootContainer.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import * as React from 'react'; 4 | import { Provider } from 'react-redux'; 5 | import CounterContainer from './CounterContainer'; 6 | import type { Store } from '../types/Store'; 7 | 8 | type Props = { 9 | store: Store, 10 | }; 11 | 12 | const RootContainer = ({ store }: Props) => { 13 | return ( 14 | 15 | 16 | 17 | ); 18 | }; 19 | 20 | export default RootContainer; 21 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import * as React from 'react'; 4 | import ReactDOM from 'react-dom'; 5 | import App from './App'; 6 | 7 | const render = Component => ReactDOM.render(, window.root); 8 | 9 | render(App); 10 | 11 | if (module.hot) { 12 | /* $FlowFixMe */ 13 | module.hot.accept('./App', () => render(App)); 14 | } 15 | -------------------------------------------------------------------------------- /src/reducers/counter.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import { INCREMENT_COUNTER, DECREMENT_COUNTER } from '../constants/actionTypes'; 4 | import type { Action } from '../types/Action'; 5 | 6 | type State = number; 7 | 8 | export default function counter(state: State = 0, action: Action) { 9 | switch (action.type) { 10 | case INCREMENT_COUNTER: 11 | return state + action.payload; 12 | case DECREMENT_COUNTER: 13 | return state - action.payload; 14 | default: 15 | return state; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/reducers/index.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import { combineReducers } from 'redux'; 4 | import counter from './counter'; 5 | 6 | const reducers = { 7 | counter, 8 | }; 9 | 10 | export type Reducers = typeof reducers; 11 | 12 | export default combineReducers(reducers); 13 | -------------------------------------------------------------------------------- /src/store/configureStore.dev.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import { createStore, applyMiddleware, compose } from 'redux'; 4 | import thunk from 'redux-thunk'; 5 | import rootReducer from '../reducers'; 6 | import type { Store } from '../types/Store'; 7 | 8 | const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose; 9 | 10 | const enhancer = composeEnhancers(applyMiddleware(thunk)); 11 | 12 | export default function configureStore(): Store { 13 | const store = createStore(rootReducer, enhancer); 14 | 15 | if (module.hot) { 16 | /* $FlowFixMe */ 17 | module.hot.accept('../reducers', () => 18 | store.replaceReducer(require('../reducers').default) 19 | ); 20 | } 21 | 22 | return store; 23 | } 24 | -------------------------------------------------------------------------------- /src/store/configureStore.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | /* eslint-disable import/no-commonjs */ 3 | 4 | if (process.env.NODE_ENV === 'production') { 5 | module.exports = require('./configureStore.prod').default; 6 | } else { 7 | module.exports = require('./configureStore.dev').default; 8 | } 9 | -------------------------------------------------------------------------------- /src/store/configureStore.prod.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import { createStore, applyMiddleware, compose } from 'redux'; 4 | import thunk from 'redux-thunk'; 5 | import rootReducer from '../reducers'; 6 | import type { Store } from '../types/Store'; 7 | 8 | const enhancer = compose(applyMiddleware(thunk)); 9 | 10 | export default function configureStore(): Store { 11 | return createStore(rootReducer, enhancer); 12 | } 13 | -------------------------------------------------------------------------------- /src/types/Action.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | export type IncrementAction = { 4 | type: 'INCREMENT_COUNTER', 5 | payload: number, 6 | }; 7 | 8 | export type DecrementAction = { 9 | type: 'DECREMENT_COUNTER', 10 | payload: number, 11 | }; 12 | 13 | export type Action = IncrementAction | DecrementAction; 14 | -------------------------------------------------------------------------------- /src/types/State.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import type { Reducers } from '../reducers'; 4 | 5 | type $ExtractFunctionReturn = (v: (...args: any) => V) => V; 6 | 7 | export type State = $ObjMap; 8 | -------------------------------------------------------------------------------- /src/types/Store.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import type { 4 | /* eslint-disable import/named */ 5 | Store as ReduxStore, 6 | Dispatch as ReduxDispatch, 7 | } from 'redux'; 8 | import type { Action } from './Action'; 9 | import type { State } from './State'; 10 | 11 | export type Store = ReduxStore; 12 | 13 | export type GetState = () => State; 14 | 15 | export type Dispatch = ReduxDispatch & Thunk; 16 | 17 | export type Thunk = ((Dispatch, GetState) => Promise | void) => A; 18 | -------------------------------------------------------------------------------- /static/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | React Boilerplate 6 | 7 | 8 |

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable import/no-commonjs */ 2 | 3 | const webpack = require('webpack'); 4 | const path = require('path'); 5 | const fs = require('fs'); 6 | 7 | const PORT = 3000; 8 | 9 | const babelrc = JSON.parse( 10 | fs.readFileSync(path.join(__dirname, '.babelrc'), 'utf-8').toString() 11 | ); 12 | 13 | const entry = ['./src/index.js']; 14 | 15 | module.exports = (env = { NODE_ENV: 'development' }) => ({ 16 | devtool: 'source-map', 17 | entry: 18 | env.NODE_ENV === 'production' 19 | ? entry 20 | : [ 21 | `webpack-dev-server/client?http://localhost:${PORT}`, 22 | 'webpack/hot/only-dev-server', 23 | ...entry, 24 | ], 25 | output: { 26 | path: path.resolve(__dirname, 'dist'), 27 | publicPath: '/dist/', 28 | filename: 'bundle.js', 29 | }, 30 | plugins: [ 31 | new webpack.DefinePlugin({ 32 | 'process.env': { NODE_ENV: JSON.stringify(env.NODE_ENV) }, 33 | }), 34 | ].concat( 35 | env.NODE_ENV === 'production' 36 | ? [ 37 | new webpack.LoaderOptionsPlugin({ minimize: true, debug: false }), 38 | new webpack.optimize.UglifyJsPlugin({ 39 | compress: { warnings: false }, 40 | sourceMap: true, 41 | }), 42 | new webpack.optimize.ModuleConcatenationPlugin(), 43 | ] 44 | : [ 45 | new webpack.HotModuleReplacementPlugin(), 46 | new webpack.NamedModulesPlugin(), 47 | new webpack.NoEmitOnErrorsPlugin(), 48 | ] 49 | ), 50 | module: { 51 | rules: [ 52 | { 53 | test: /\.js$/, 54 | exclude: /node_modules/, 55 | use: { 56 | loader: 'babel-loader', 57 | options: Object.assign({}, babelrc, { 58 | presets: babelrc.presets.map( 59 | p => (p === 'env' ? ['env', { modules: false }] : p) 60 | ), 61 | }), 62 | }, 63 | }, 64 | { 65 | test: /\.(bmp|gif|jpg|jpeg|png|svg|webp|ttf|otf)$/, 66 | use: { loader: 'url-loader', options: { limit: 25000 } }, 67 | }, 68 | ], 69 | }, 70 | devServer: { 71 | contentBase: 'static/', 72 | hot: true, 73 | port: PORT, 74 | }, 75 | }); 76 | --------------------------------------------------------------------------------