├── .DS_Store ├── .babelrc ├── .editorconfig ├── .eslintrc ├── .flowconfig ├── .gitignore ├── .nvmrc ├── .prettierignore ├── .prettierrc ├── .travis.yml ├── .vscode └── launch.json ├── CHANGELOG.md ├── ISSUE_TEMPLATE.md ├── LICENSE ├── README.md ├── assets ├── Paypal-button@2x.png ├── Paypal-button@3x.png └── paypal-button.png ├── docs ├── .DS_Store └── index.html ├── flow-typed ├── interface │ └── global.js └── npm │ ├── @types │ ├── antd_vx.x.x.js │ ├── axios_vx.x.x.js │ ├── body-parser_vx.x.x.js │ ├── chalk_vx.x.x.js │ ├── classnames_vx.x.x.js │ ├── compression_vx.x.x.js │ ├── convict_vx.x.x.js │ ├── date-fns_vx.x.x.js │ ├── express-promise-router_vx.x.x.js │ ├── express-rate-limit_vx.x.x.js │ ├── express_vx.x.x.js │ ├── helmet_vx.x.x.js │ ├── history_vx.x.x.js │ ├── jest_vx.x.x.js │ ├── js-base64_vx.x.x.js │ ├── jwt-decode_vx.x.x.js │ ├── lodash.debounce_vx.x.x.js │ ├── lodash.throttle_vx.x.x.js │ ├── popper.js_vx.x.x.js │ ├── react-dom_vx.x.x.js │ ├── react-helmet_vx.x.x.js │ ├── react-motion_vx.x.x.js │ ├── react-redux_vx.x.x.js │ ├── react-router-dom_vx.x.x.js │ ├── react-router-redux_vx.x.x.js │ ├── react-router_vx.x.x.js │ ├── react_vx.x.x.js │ ├── recompose_vx.x.x.js │ ├── redux-thunk_vx.x.x.js │ ├── redux_vx.x.x.js │ ├── serialize-javascript_vx.x.x.js │ ├── smoothscroll-polyfill_vx.x.x.js │ └── webpack_vx.x.x.js │ ├── animate.css_vx.x.x.js │ ├── antd-iconfont_vx.x.x.js │ ├── antd_v3.x.x.js │ ├── antd_vx.x.x.js │ ├── autoprefixer_vx.x.x.js │ ├── axios_v0.18.x.js │ ├── babel-cli_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-import_vx.x.x.js │ ├── babel-plugin-transform-async-to-generator_vx.x.x.js │ ├── babel-plugin-transform-regenerator_vx.x.x.js │ ├── babel-plugin-transform-remove-console_vx.x.x.js │ ├── babel-polyfill_v6.x.x.js │ ├── babel-polyfill_vx.x.x.js │ ├── babel-preset-babili_vx.x.x.js │ ├── babel-preset-env_vx.x.x.js │ ├── babel-preset-es2015_vx.x.x.js │ ├── babel-preset-flow_vx.x.x.js │ ├── babel-preset-jest_vx.x.x.js │ ├── babel-preset-react-optimize_vx.x.x.js │ ├── babel-preset-react_vx.x.x.js │ ├── babel-preset-stage-0_vx.x.x.js │ ├── babel-preset-stage-2_vx.x.x.js │ ├── babel-register_v6.x.x.js │ ├── babel-register_vx.x.x.js │ ├── body-parser_v1.x.x.js │ ├── chalk_v2.x.x.js │ ├── chalk_vx.x.x.js │ ├── classnames_v2.x.x.js │ ├── clean-webpack-plugin_vx.x.x.js │ ├── codecov_vx.x.x.js │ ├── compression-webpack-plugin_vx.x.x.js │ ├── compression_vx.x.x.js │ ├── connected-react-router_vx.x.x.js │ ├── convict_vx.x.x.js │ ├── coveralls_vx.x.x.js │ ├── cross-env_vx.x.x.js │ ├── css-loader_vx.x.x.js │ ├── css-module-flow_vx.x.x.js │ ├── enzyme-adapter-react-16_vx.x.x.js │ ├── enzyme-to-json_vx.x.x.js │ ├── enzyme_v3.x.x.js │ ├── eslint-plugin-flowtype_vx.x.x.js │ ├── eslint-plugin-react_vx.x.x.js │ ├── eslint_vx.x.x.js │ ├── expose-loader_vx.x.x.js │ ├── express-promise-router_vx.x.x.js │ ├── express-rate-limit_vx.x.x.js │ ├── express_v4.16.x.js │ ├── extract-text-webpack-plugin_vx.x.x.js │ ├── fetch-mock_vx.x.x.js │ ├── file-loader_vx.x.x.js │ ├── flow-bin_v0.x.x.js │ ├── helmet_v3.x.x.js │ ├── history_v4.x.x.js │ ├── history_vx.x.x.js │ ├── html-webpack-plugin_vx.x.x.js │ ├── identity-obj-proxy_vx.x.x.js │ ├── jest-css-modules_vx.x.x.js │ ├── jest-localstorage-mock_vx.x.x.js │ ├── jest_v23.x.x.js │ ├── js-base64_vx.x.x.js │ ├── jsdom_vx.x.x.js │ ├── json-loader_vx.x.x.js │ ├── jwt-decode_vx.x.x.js │ ├── less-loader_vx.x.x.js │ ├── less-vars-to-js_vx.x.x.js │ ├── less_vx.x.x.js │ ├── loadable-components_vx.x.x.js │ ├── lodash.debounce_vx.x.x.js │ ├── lodash.throttle_vx.x.x.js │ ├── mini-css-extract-plugin_vx.x.x.js │ ├── modernizr-webpack-plugin_vx.x.x.js │ ├── modernizr_vx.x.x.js │ ├── moment_v2.x.x.js │ ├── node-sass_vx.x.x.js │ ├── nodemon_vx.x.x.js │ ├── optimize-css-assets-webpack-plugin_vx.x.x.js │ ├── postcss-cssnext_vx.x.x.js │ ├── postcss-focus_vx.x.x.js │ ├── postcss-import_vx.x.x.js │ ├── postcss-load-config_vx.x.x.js │ ├── postcss-loader_vx.x.x.js │ ├── postcss-reporter_vx.x.x.js │ ├── postcss_vx.x.x.js │ ├── precss_vx.x.x.js │ ├── prettier-eslint_vx.x.x.js │ ├── pretty-error_v2.x.x.js │ ├── progress-bar-webpack-plugin_vx.x.x.js │ ├── prop-types_v15.x.x.js │ ├── react-addons-test-utils_v15.x.x.js │ ├── react-bootstrap_vx.x.x.js │ ├── react-helmet_v5.x.x.js │ ├── react-hot-loader_vx.x.x.js │ ├── react-modal_v1.x.x.js │ ├── react-notification_vx.x.x.js │ ├── react-overdrive_vx.x.x.js │ ├── react-redux_v5.x.x.js │ ├── react-router-dom_v4.x.x.js │ ├── react-router-redux_vx.x.x.js │ ├── react-router_v4.x.x.js │ ├── react-router_vx.x.x.js │ ├── react-snap_vx.x.x.js │ ├── react-tap-event-plugin_vx.x.x.js │ ├── react-test-renderer_v16.x.x.js │ ├── recompose_v0.x.x.js │ ├── redux-devtools-extension_v2.x.x.js │ ├── redux-logger_vx.x.x.js │ ├── redux-mock-store_v1.2.x.js │ ├── redux-mock-store_vx.x.x.js │ ├── redux-thunk_vx.x.x.js │ ├── redux_v4.x.x.js │ ├── regenerator-runtime_vx.x.x.js │ ├── rename_vx.x.x.js │ ├── rimraf_v2.x.x.js │ ├── rimraf_vx.x.x.js │ ├── sass-loader_vx.x.x.js │ ├── serialize-javascript_vx.x.x.js │ ├── serve-favicon_vx.x.x.js │ ├── sinon_vx.x.x.js │ ├── smoothscroll-polyfill_v0.x.x.js │ ├── style-loader_vx.x.x.js │ ├── styled-components_v3.x.x.js │ ├── uglifyjs-webpack-plugin_vx.x.x.js │ ├── url-loader_vx.x.x.js │ ├── webpack-bundle-analyzer_vx.x.x.js │ ├── webpack-cli_vx.x.x.js │ ├── webpack-dev-middleware_vx.x.x.js │ ├── webpack-dev-server_vx.x.x.js │ ├── webpack-hot-middleware_vx.x.x.js │ ├── webpack-node-externals_vx.x.x.js │ ├── webpack-require-from_vx.x.x.js │ ├── webpack_vx.x.x.js │ └── workbox-webpack-plugin_vx.x.x.js ├── jsconfig.json ├── nodemon.json ├── package.json ├── preview └── preview.png ├── scripts └── prepareIndexHtml.js ├── src ├── .DS_Store ├── front │ ├── .DS_Store │ ├── Root.js │ ├── components │ │ ├── animatedView │ │ │ ├── AnimatedView.js │ │ │ └── __tests__ │ │ │ │ ├── AnimatedView.test.js │ │ │ │ └── __snapshots__ │ │ │ │ └── AnimatedView.test.js.snap │ │ ├── backToTop │ │ │ ├── BackToTop.js │ │ │ ├── __tests__ │ │ │ │ ├── BackToTop.test.js │ │ │ │ └── __snapshots__ │ │ │ │ │ └── BackToTop.test.js.snap │ │ │ └── backToTopButton │ │ │ │ ├── BackToTopButton.js │ │ │ │ ├── UpIcon.js │ │ │ │ ├── __tests__ │ │ │ │ ├── BackToTopButton.test.js │ │ │ │ └── __snapshots__ │ │ │ │ │ └── BackToTopButton.test.js.snap │ │ │ │ └── styled │ │ │ │ └── WithRightMargin.js │ │ ├── logoutRoute │ │ │ ├── LogoutRoute.js │ │ │ └── __tests__ │ │ │ │ ├── LogoutRoute.test.js │ │ │ │ └── __snapshots__ │ │ │ │ └── LogoutRoute.test.js.snap │ │ ├── privateRoute │ │ │ ├── PrivateRoute.js │ │ │ └── __tests__ │ │ │ │ ├── PrivateRoute.test.js │ │ │ │ └── __snapshots__ │ │ │ │ └── PrivateRoute.test.js.snap │ │ └── scrollToTop │ │ │ ├── ScrollToTop.js │ │ │ └── __tests__ │ │ │ ├── ScrollToTop.test.js │ │ │ └── __snapshots__ │ │ │ └── ScrollToTop.test.js.snap │ ├── config │ │ ├── index.js │ │ ├── navigation.json │ │ └── theme.js │ ├── index.js │ ├── layout │ │ └── mainLayout │ │ │ ├── MainLayout.js │ │ │ ├── __tests__ │ │ │ ├── MainLayout.test.js │ │ │ └── __snapshots__ │ │ │ │ └── MainLayout.test.js.snap │ │ │ ├── index.js │ │ │ └── styled │ │ │ ├── SideMenuLogo.js │ │ │ └── StyledLayout.js │ ├── mock │ │ ├── fakeAPI.json │ │ └── userInfosMock.json │ ├── pages │ │ ├── about │ │ │ ├── About.js │ │ │ ├── __tests__ │ │ │ │ ├── About.test.js │ │ │ │ └── __snapshots__ │ │ │ │ │ └── About.test.js.snap │ │ │ └── index.js │ │ ├── home │ │ │ ├── Home.js │ │ │ ├── __tests__ │ │ │ │ ├── Home.test.js │ │ │ │ └── __snapshots__ │ │ │ │ │ └── Home.test.js.snap │ │ │ └── index.js │ │ ├── login │ │ │ ├── Login.js │ │ │ ├── __tests__ │ │ │ │ └── Login.test.js │ │ │ ├── index.js │ │ │ └── styled │ │ │ │ ├── LoginForm.js │ │ │ │ └── LoginIcon.js │ │ ├── pageNotFound │ │ │ ├── PageNotFound.js │ │ │ ├── __tests__ │ │ │ │ ├── PageNotFound.test.js │ │ │ │ └── __snapshots__ │ │ │ │ │ └── PageNotFound.test.js.snap │ │ │ └── index.js │ │ └── protected │ │ │ ├── Protected.js │ │ │ ├── __tests__ │ │ │ ├── Protected.test.js │ │ │ └── __snapshots__ │ │ │ │ └── Protected.test.js.snap │ │ │ └── index.js │ ├── redux │ │ ├── middleware │ │ │ └── fetchMiddleware.js │ │ ├── modules │ │ │ ├── reducers.js │ │ │ └── userAuth │ │ │ │ ├── __tests__ │ │ │ │ └── userAuth.test.js │ │ │ │ └── index.js │ │ └── store │ │ │ ├── configureStore.dev.js │ │ │ ├── configureStore.js │ │ │ └── configureStore.prod.js │ ├── routes │ │ ├── MainRoutes.js │ │ └── routes.js │ ├── services │ │ ├── API │ │ │ ├── example.js │ │ │ └── fetchTools.js │ │ ├── auth │ │ │ └── index.js │ │ ├── getLocationOrigin │ │ │ └── index.js │ │ └── sw │ │ │ └── registerServiceWorker.js │ ├── statics │ │ ├── index-raw.html │ │ └── index.html │ ├── style │ │ ├── .DS_Store │ │ ├── antd-theme-overrides.less │ │ └── injectGlobalStyles.js │ └── types │ │ ├── antd │ │ └── formHoc │ │ │ └── index.js │ │ ├── react-router │ │ └── index.js │ │ ├── redux │ │ ├── redux-thunk │ │ │ └── index.js │ │ └── userAuth │ │ │ └── index.js │ │ └── user │ │ └── index.js ├── server │ ├── config │ │ ├── development.json │ │ ├── index.js │ │ └── production.json │ ├── lib │ │ ├── asyncWrap.js │ │ └── expressServer.js │ ├── middleware │ │ └── errors.js │ └── server.js └── test │ ├── __mocks__ │ └── fileMock.js │ └── setupTests.js ├── typings.json ├── typings ├── globals │ ├── axios │ │ ├── index.d.ts │ │ └── typings.json │ ├── classnames │ │ ├── index.d.ts │ │ └── typings.json │ ├── jest │ │ ├── index.d.ts │ │ └── typings.json │ ├── less │ │ ├── index.d.ts │ │ └── typings.json │ ├── modernizr │ │ ├── index.d.ts │ │ └── typings.json │ ├── node │ │ ├── index.d.ts │ │ └── typings.json │ ├── popper.js │ │ ├── index.d.ts │ │ └── typings.json │ ├── react-router-dom │ │ ├── index.d.ts │ │ └── typings.json │ ├── react-router │ │ ├── index.d.ts │ │ └── typings.json │ ├── recompose │ │ ├── index.d.ts │ │ └── typings.json │ ├── redux-thunk │ │ ├── index.d.ts │ │ └── typings.json │ ├── redux │ │ ├── index.d.ts │ │ └── typings.json │ └── webpack-dev-server │ │ ├── index.d.ts │ │ └── typings.json ├── index.d.ts └── modules │ ├── react-motion │ ├── index.d.ts │ └── typings.json │ ├── react-redux │ ├── index.d.ts │ └── typings.json │ └── react │ ├── index.d.ts │ └── typings.json ├── webpack.analyze.config.js ├── webpack.dev.config.js ├── webpack.hot.reload.config.js └── webpack.production.config.js /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacKentoch/react-redux-antdesign-webpack-starter/648405a3cb73cf1c2a5cd62a5e2a1c1cd8f1c412/.DS_Store -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | ["env", { 4 | "modules": false 5 | }], 6 | "react", 7 | "stage-2", 8 | "flow" 9 | ], 10 | "plugins": [ 11 | "loadable-components/babel", 12 | "transform-regenerator", 13 | "transform-async-to-generator", [ 14 | "import", 15 | { 16 | "libraryName": "antd", 17 | "style": true 18 | } 19 | ] 20 | ], 21 | "env": { 22 | "test": { 23 | "presets": [ 24 | ["env", { 25 | "modules": "commonjs" 26 | }], 27 | "react", 28 | "stage-2", 29 | "flow", 30 | "jest" 31 | ], 32 | "plugins": [ 33 | "loadable-components/babel", 34 | "transform-regenerator", 35 | "transform-async-to-generator" 36 | ] 37 | }, 38 | "production": { 39 | "presets": [ 40 | "react-optimize" 41 | ], 42 | "plugins": ["transform-remove-console"], 43 | "comments": false 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | 11 | [*.md] 12 | trim_trailing_whitespace = false 13 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | 3 | [include] 4 | 5 | [libs] 6 | ./flow-typed 7 | 8 | [options] 9 | module.name_mapper='.*\(.css\)' -> 'CSSModule' 10 | suppress_comment= \\(.\\|\n\\)*\\$FlowIgnore 11 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .idea/ 3 | *.log 4 | 5 | build/ 6 | dist/ 7 | public/assets/ 8 | /coverage 9 | /.nyc_output 10 | yarn-error.log 11 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 8 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | **/*.json 2 | **/*.txt 3 | **/*.xml 4 | **/*.svg 5 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "semi": true, 3 | "trailingComma": "all", 4 | "bracketSpacing": true, 5 | "jsxBracketSameLine": false, 6 | "singleQuote": true, 7 | "overrides": [], 8 | "printWidth": 80, 9 | "useTabs": false, 10 | "tabWidth": 2, 11 | "parser": "babylon" 12 | } 13 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 8 4 | sudo: false 5 | cache: 6 | yarn: true 7 | directories: 8 | - node_modules 9 | before_install: 10 | - export DISPLAY=:99.0 11 | - sh -e /etc/init.d/xvfb start 12 | before_script: 13 | - npm install 14 | after_success: npm run test 15 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.2.0", 3 | "configurations": [ 4 | { 5 | "type": "node", 6 | "request": "launch", 7 | "name": "Launch minimalist prod like server", 8 | "program": "${workspaceRoot}/src/server/index.js" 9 | }, 10 | { 11 | "type": "node", 12 | "request": "launch", 13 | "name": "Launch hot reload server", 14 | "program": "${workspaceRoot}/server.hot.reload.js" 15 | }, 16 | { 17 | "type": "chrome", 18 | "request": "launch", 19 | "name": "Launch Chrome (for dev/prod bundles)", 20 | "url": "http://localhost:8082", 21 | "webRoot": "${workspaceRoot}" 22 | }, 23 | { 24 | "type": "chrome", 25 | "request": "launch", 26 | "name": "Launch Chrome (for hot reload)", 27 | "url": "http://localhost:3000", 28 | "webRoot": "${workspaceRoot}" 29 | } 30 | ] 31 | } -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # v1.0.1 2 | - add Typescript types (VSCode users should love) 3 | - fix product bundle issue (fixed: see [#5060](https://github.com/ant-design/ant-design/issues/5060)) 4 | 5 | # v1.0.0 6 | - initial version 7 | -------------------------------------------------------------------------------- /ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ### Version 2 | 1.0.0 3 | 4 | ### Navigator 5 | Chrome 59 | Safari 10.1.2 ... 6 | 7 | ### OS 8 | 9 | MacOS 10.12 (Sierra)... 10 | 11 | ### Steps to reproduce 12 | 1. 13 | 2. 14 | 3. 15 | 16 | ### Expected behavior 17 | What should happen 18 | 19 | ### Actual behavior 20 | What is happening 21 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2018 Erwan DATIN 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /assets/Paypal-button@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacKentoch/react-redux-antdesign-webpack-starter/648405a3cb73cf1c2a5cd62a5e2a1c1cd8f1c412/assets/Paypal-button@2x.png -------------------------------------------------------------------------------- /assets/Paypal-button@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacKentoch/react-redux-antdesign-webpack-starter/648405a3cb73cf1c2a5cd62a5e2a1c1cd8f1c412/assets/Paypal-button@3x.png -------------------------------------------------------------------------------- /assets/paypal-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacKentoch/react-redux-antdesign-webpack-starter/648405a3cb73cf1c2a5cd62a5e2a1c1cd8f1c412/assets/paypal-button.png -------------------------------------------------------------------------------- /docs/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacKentoch/react-redux-antdesign-webpack-starter/648405a3cb73cf1c2a5cd62a5e2a1c1cd8f1c412/docs/.DS_Store -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ReactJS Ant Design Starter 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /flow-typed/interface/global.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable no-unused-vars */ 2 | 3 | // for import 'somestyle.css': 4 | declare module CSSModule { 5 | declare var exports: { [key: string]: string }; 6 | } 7 | 8 | // for module.hot.reload: 9 | declare var module: { 10 | hot: { 11 | accept(path: string, callback: () => void): void, 12 | }, 13 | }; 14 | 15 | // for jQuery: 16 | declare var $: any; 17 | 18 | // jest 19 | 20 | declare module 'jest' { 21 | declare module.exports: any; 22 | } 23 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/antd_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: f3025431d51bef7c30ea94c9c9a729f5 2 | // flow-typed version: <>/@types/antd_v^1.0.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/antd' 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 '@types/antd' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/axios_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 3a2d033b239f0eaac06b15f4765911cb 2 | // flow-typed version: <>/@types/axios_v^0.14.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/axios' 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 '@types/axios' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/body-parser_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 0c5c71a643426bb2ec43167c88cd9cc2 2 | // flow-typed version: <>/@types/body-parser_v^1.17.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/body-parser' 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 '@types/body-parser' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/chalk_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: c26ec3d2724a3cc6321dc8d630641822 2 | // flow-typed version: <>/@types/chalk_v^2.2.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/chalk' 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 '@types/chalk' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/classnames_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: f9b7ac9da64891c3c5b1253c029d7e7e 2 | // flow-typed version: <>/@types/classnames_v^2.2.6/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/classnames' 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 '@types/classnames' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/compression_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 54a447642f76fd80cbd809996773f3d3 2 | // flow-typed version: <>/@types/compression_v^0.0.36/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/compression' 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 '@types/compression' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/convict_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 515884bd446e22635dfc13419e7dbdef 2 | // flow-typed version: <>/@types/convict_v^4.2.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/convict' 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 '@types/convict' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/date-fns_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 01387b9368e1cddf4de680f78c695a24 2 | // flow-typed version: <>/@types/date-fns_v^2.6.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/date-fns' 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 '@types/date-fns' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/express-promise-router_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 1bf14788bd3e4c6b5fdbb3ee6130eab0 2 | // flow-typed version: <>/@types/express-promise-router_v^2.0.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/express-promise-router' 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 '@types/express-promise-router' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/express-rate-limit_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: ef581f261f4a33902425673e1d204ee3 2 | // flow-typed version: <>/@types/express-rate-limit_v^2.9.3/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/express-rate-limit' 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 '@types/express-rate-limit' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/express_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: f7a0986739f13bbf6d86e44b721dd5d5 2 | // flow-typed version: <>/@types/express_v^4.16.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/express' 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 '@types/express' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/helmet_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: c7f9b60dec99ae25c978469bd392abb1 2 | // flow-typed version: <>/@types/helmet_v^0.0.39/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/helmet' 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 '@types/helmet' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/history_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: c5823d37b155f6f1469ec824e621d02c 2 | // flow-typed version: <>/@types/history_v^4.7.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/history' 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 '@types/history' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/jest_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 3a04322bb802e8bf4d78b52dd24500cd 2 | // flow-typed version: <>/@types/jest_v^23.3.1/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/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 '@types/jest' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/js-base64_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: fba569d50e152e4fdd69256ea5edabd6 2 | // flow-typed version: <>/@types/js-base64_v^2.3.1/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/js-base64' 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 '@types/js-base64' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/jwt-decode_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 160ab156c828963b3413a8e1b1fb8f47 2 | // flow-typed version: <>/@types/jwt-decode_v^2.2.1/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/jwt-decode' 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 '@types/jwt-decode' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/lodash.debounce_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 6497f2a9d6f3f21945d93badb63a8617 2 | // flow-typed version: <>/@types/lodash.debounce_v^4.0.4/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/lodash.debounce' 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 '@types/lodash.debounce' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/lodash.throttle_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: b728e06783a9b3085cb6da160bdc0683 2 | // flow-typed version: <>/@types/lodash.throttle_v^4.1.4/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/lodash.throttle' 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 '@types/lodash.throttle' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/popper.js_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 09c5b79323eae83c56de3da62a8f1090 2 | // flow-typed version: <>/@types/popper.js_v^1.11.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/popper.js' 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 '@types/popper.js' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/react-dom_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: e736ad1f86a488415cd3e078c2938193 2 | // flow-typed version: <>/@types/react-dom_v^16.0.7/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/react-dom' 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 '@types/react-dom' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/react-helmet_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 0d2c42c660b418a895b903a991dcf697 2 | // flow-typed version: <>/@types/react-helmet_v^5.0.7/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/react-helmet' 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 '@types/react-helmet' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/react-motion_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 1d0c6080b5163b16be079f6dd94da357 2 | // flow-typed version: <>/@types/react-motion_v^0.0.27/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/react-motion' 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 '@types/react-motion' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/react-redux_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 8ee927791745adf6a611d0fb32cfc372 2 | // flow-typed version: <>/@types/react-redux_v^6.0.6/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/react-redux' 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 '@types/react-redux' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/react-router-dom_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 5eaa6198d58af7fa2446708f7790e1fe 2 | // flow-typed version: <>/@types/react-router-dom_v^4.3.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/react-router-dom' 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 '@types/react-router-dom' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/react-router-redux_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 7ad7586589d225684e76eb74c74da7c3 2 | // flow-typed version: <>/@types/react-router-redux_v^5.0.15/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/react-router-redux' 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 '@types/react-router-redux' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/react-router_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 4580d45d079a87fb0c2fc94b79ae2f9a 2 | // flow-typed version: <>/@types/react-router_v^4.0.30/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/react-router' 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 '@types/react-router' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/react_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: cba570e30469853f584e9777f6ea7eec 2 | // flow-typed version: <>/@types/react_v^16.4.11/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/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 '@types/react' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/recompose_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 3deead4c338c5f5c2782086597a27010 2 | // flow-typed version: <>/@types/recompose_v^0.26.4/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/recompose' 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 '@types/recompose' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/redux-thunk_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: b5f38c3776b92c41f88c9668dcc63e07 2 | // flow-typed version: <>/@types/redux-thunk_v^2.1.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/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 '@types/redux-thunk' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/redux_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 948670bede869688e416090b74484e8d 2 | // flow-typed version: <>/@types/redux_v^3.6.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/redux' 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 '@types/redux' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/serialize-javascript_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: f3dac176045b1ac70657984a888b4074 2 | // flow-typed version: <>/@types/serialize-javascript_v^1.3.2/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/serialize-javascript' 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 '@types/serialize-javascript' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/smoothscroll-polyfill_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 974c0659f7c3eff5558ea9458ff622b5 2 | // flow-typed version: <>/@types/smoothscroll-polyfill_v^0.3.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/smoothscroll-polyfill' 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 '@types/smoothscroll-polyfill' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@types/webpack_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: b4cefe47ff64d59b9af2f659c133e0b5 2 | // flow-typed version: <>/@types/webpack_v^4.4.11/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@types/webpack' 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 '@types/webpack' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/animate.css_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: c441704645133c045184378772415c1a 2 | // flow-typed version: <>/animate.css_v^3.7.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'animate.css' 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 'animate.css' { 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 'animate.css/gulpfile' { 26 | declare module.exports: any; 27 | } 28 | 29 | // Filename aliases 30 | declare module 'animate.css/gulpfile.js' { 31 | declare module.exports: $Exports<'animate.css/gulpfile'>; 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/antd-iconfont_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 28fcbbc1d9f18732d0f0ad21fd87cbea 2 | // flow-typed version: <>/antd-iconfont_v^3.0.3/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'antd-iconfont' 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 'antd-iconfont' { 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 'antd-iconfont/iconfont' { 26 | declare module.exports: any; 27 | } 28 | 29 | // Filename aliases 30 | declare module 'antd-iconfont/iconfont.js' { 31 | declare module.exports: $Exports<'antd-iconfont/iconfont'>; 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/antd_v3.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacKentoch/react-redux-antdesign-webpack-starter/648405a3cb73cf1c2a5cd62a5e2a1c1cd8f1c412/flow-typed/npm/antd_v3.x.x.js -------------------------------------------------------------------------------- /flow-typed/npm/babel-jest_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: da79a99c84a6d7ffebe00c17cd5e02b1 2 | // flow-typed version: <>/babel-jest_v^23.4.2/flow_v0.80.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: ddbcb5a3962be88f2312e33a319ddd3a 2 | // flow-typed version: <>/babel-loader_v^7.1.5/flow_v0.80.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-import_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 40c483e9cdc0177e84534cdd4ae3603a 2 | // flow-typed version: <>/babel-plugin-import_v^1.8.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-plugin-import' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'babel-plugin-import' { 17 | declare module.exports: any; 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'babel-plugin-import/lib/index' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'babel-plugin-import/lib/Plugin' { 30 | declare module.exports: any; 31 | } 32 | 33 | // Filename aliases 34 | declare module 'babel-plugin-import/lib/index.js' { 35 | declare module.exports: $Exports<'babel-plugin-import/lib/index'>; 36 | } 37 | declare module 'babel-plugin-import/lib/Plugin.js' { 38 | declare module.exports: $Exports<'babel-plugin-import/lib/Plugin'>; 39 | } 40 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-plugin-transform-async-to-generator_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 47226e23c5e52df9667c976b0f980f6f 2 | // flow-typed version: <>/babel-plugin-transform-async-to-generator_v^6.24.1/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-plugin-transform-async-to-generator' 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-async-to-generator' { 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-async-to-generator/lib/index' { 26 | declare module.exports: any; 27 | } 28 | 29 | // Filename aliases 30 | declare module 'babel-plugin-transform-async-to-generator/lib/index.js' { 31 | declare module.exports: $Exports<'babel-plugin-transform-async-to-generator/lib/index'>; 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-plugin-transform-regenerator_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 1f0ce56bae13eb162990eee5aa4805d0 2 | // flow-typed version: <>/babel-plugin-transform-regenerator_v^6.26.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-plugin-transform-regenerator' 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-regenerator' { 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-regenerator/lib/index' { 26 | declare module.exports: any; 27 | } 28 | 29 | // Filename aliases 30 | declare module 'babel-plugin-transform-regenerator/lib/index.js' { 31 | declare module.exports: $Exports<'babel-plugin-transform-regenerator/lib/index'>; 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-plugin-transform-remove-console_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 2a329b0c299e7ce5eb62c2f9e2f926fb 2 | // flow-typed version: <>/babel-plugin-transform-remove-console_v^6.9.4/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-plugin-transform-remove-console' 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-remove-console' { 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-remove-console/lib/index' { 26 | declare module.exports: any; 27 | } 28 | 29 | // Filename aliases 30 | declare module 'babel-plugin-transform-remove-console/lib/index.js' { 31 | declare module.exports: $Exports<'babel-plugin-transform-remove-console/lib/index'>; 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-polyfill_v6.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 28eccd914ac7bd65de204cb1d8d37cfe 2 | // flow-typed version: 7b122e75af/babel-polyfill_v6.x.x/flow_>=v0.30.x 3 | 4 | declare module 'babel-polyfill' {} 5 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-polyfill_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: d45c70c5c1dae9187221749f2dbbe93e 2 | // flow-typed version: <>/babel-polyfill_v^6.23.0/flow_v0.52.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-polyfill' 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-polyfill' { 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-polyfill/browser' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'babel-polyfill/dist/polyfill' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'babel-polyfill/dist/polyfill.min' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'babel-polyfill/lib/index' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'babel-polyfill/scripts/postpublish' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'babel-polyfill/scripts/prepublish' { 46 | declare module.exports: any; 47 | } 48 | 49 | // Filename aliases 50 | declare module 'babel-polyfill/browser.js' { 51 | declare module.exports: $Exports<'babel-polyfill/browser'>; 52 | } 53 | declare module 'babel-polyfill/dist/polyfill.js' { 54 | declare module.exports: $Exports<'babel-polyfill/dist/polyfill'>; 55 | } 56 | declare module 'babel-polyfill/dist/polyfill.min.js' { 57 | declare module.exports: $Exports<'babel-polyfill/dist/polyfill.min'>; 58 | } 59 | declare module 'babel-polyfill/lib/index.js' { 60 | declare module.exports: $Exports<'babel-polyfill/lib/index'>; 61 | } 62 | declare module 'babel-polyfill/scripts/postpublish.js' { 63 | declare module.exports: $Exports<'babel-polyfill/scripts/postpublish'>; 64 | } 65 | declare module 'babel-polyfill/scripts/prepublish.js' { 66 | declare module.exports: $Exports<'babel-polyfill/scripts/prepublish'>; 67 | } 68 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-preset-babili_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: b7aff1fb7409d9425908e62f7a58d667 2 | // flow-typed version: <>/babel-preset-babili_v^0.1.4/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-preset-babili' 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-babili' { 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-babili/lib/index' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'babel-preset-babili/lib/options-manager' { 30 | declare module.exports: any; 31 | } 32 | 33 | // Filename aliases 34 | declare module 'babel-preset-babili/lib/index.js' { 35 | declare module.exports: $Exports<'babel-preset-babili/lib/index'>; 36 | } 37 | declare module 'babel-preset-babili/lib/options-manager.js' { 38 | declare module.exports: $Exports<'babel-preset-babili/lib/options-manager'>; 39 | } 40 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-preset-es2015_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: b120fa714a90f1eb284526581d2e744a 2 | // flow-typed version: <>/babel-preset-es2015_v^6.24.1/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-preset-es2015' 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-es2015' { 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-es2015/lib/index' { 26 | declare module.exports: any; 27 | } 28 | 29 | // Filename aliases 30 | declare module 'babel-preset-es2015/lib/index.js' { 31 | declare module.exports: $Exports<'babel-preset-es2015/lib/index'>; 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-preset-flow_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 0782b87dac8276be02de9b6db657fd05 2 | // flow-typed version: <>/babel-preset-flow_v^6.23.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-preset-flow' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'babel-preset-flow' { 17 | declare module.exports: any; 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'babel-preset-flow/lib/index' { 26 | declare module.exports: any; 27 | } 28 | 29 | // Filename aliases 30 | declare module 'babel-preset-flow/lib/index.js' { 31 | declare module.exports: $Exports<'babel-preset-flow/lib/index'>; 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-preset-jest_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: be820063339562a9a89fea2427a9309e 2 | // flow-typed version: <>/babel-preset-jest_v^23.2.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-preset-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-preset-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 | 26 | 27 | // Filename aliases 28 | declare module 'babel-preset-jest/index' { 29 | declare module.exports: $Exports<'babel-preset-jest'>; 30 | } 31 | declare module 'babel-preset-jest/index.js' { 32 | declare module.exports: $Exports<'babel-preset-jest'>; 33 | } 34 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-preset-react-optimize_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 3625d64f43cf2f0ba37fd493640b9c8d 2 | // flow-typed version: <>/babel-preset-react-optimize_v^1.0.1/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-preset-react-optimize' 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-optimize' { 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-optimize/lib/index' { 26 | declare module.exports: any; 27 | } 28 | 29 | // Filename aliases 30 | declare module 'babel-preset-react-optimize/lib/index.js' { 31 | declare module.exports: $Exports<'babel-preset-react-optimize/lib/index'>; 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-preset-react_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: a27afbce17c615c9b8c70efc30da62ca 2 | // flow-typed version: <>/babel-preset-react_v^6.24.1/flow_v0.80.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-0_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 7b80606ddf5b8def9d8add6185487aaf 2 | // flow-typed version: <>/babel-preset-stage-0_v^6.24.1/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-preset-stage-0' 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-0' { 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-0/lib/index' { 26 | declare module.exports: any; 27 | } 28 | 29 | // Filename aliases 30 | declare module 'babel-preset-stage-0/lib/index.js' { 31 | declare module.exports: $Exports<'babel-preset-stage-0/lib/index'>; 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-preset-stage-2_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 94681cbc6f332766d12e0a1507e969a6 2 | // flow-typed version: <>/babel-preset-stage-2_v^6.24.1/flow_v0.80.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/babel-register_v6.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacKentoch/react-redux-antdesign-webpack-starter/648405a3cb73cf1c2a5cd62a5e2a1c1cd8f1c412/flow-typed/npm/babel-register_v6.x.x.js -------------------------------------------------------------------------------- /flow-typed/npm/babel-register_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 5c7618da39b5459bd912107c8982aa68 2 | // flow-typed version: <>/babel-register_v^6.24.1/flow_v0.52.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-register' 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-register' { 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-register/lib/browser' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'babel-register/lib/cache' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'babel-register/lib/node' { 34 | declare module.exports: any; 35 | } 36 | 37 | // Filename aliases 38 | declare module 'babel-register/lib/browser.js' { 39 | declare module.exports: $Exports<'babel-register/lib/browser'>; 40 | } 41 | declare module 'babel-register/lib/cache.js' { 42 | declare module.exports: $Exports<'babel-register/lib/cache'>; 43 | } 44 | declare module 'babel-register/lib/node.js' { 45 | declare module.exports: $Exports<'babel-register/lib/node'>; 46 | } 47 | -------------------------------------------------------------------------------- /flow-typed/npm/body-parser_v1.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacKentoch/react-redux-antdesign-webpack-starter/648405a3cb73cf1c2a5cd62a5e2a1c1cd8f1c412/flow-typed/npm/body-parser_v1.x.x.js -------------------------------------------------------------------------------- /flow-typed/npm/chalk_v2.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacKentoch/react-redux-antdesign-webpack-starter/648405a3cb73cf1c2a5cd62a5e2a1c1cd8f1c412/flow-typed/npm/chalk_v2.x.x.js -------------------------------------------------------------------------------- /flow-typed/npm/chalk_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 3c19e0986134aa3f087f9ff8c4e37ca5 2 | // flow-typed version: <>/chalk_v^2.0.1/flow_v0.52.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'chalk' 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 'chalk' { 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 'chalk/templates' { 26 | declare module.exports: any; 27 | } 28 | 29 | // Filename aliases 30 | declare module 'chalk/index' { 31 | declare module.exports: $Exports<'chalk'>; 32 | } 33 | declare module 'chalk/index.js' { 34 | declare module.exports: $Exports<'chalk'>; 35 | } 36 | declare module 'chalk/templates.js' { 37 | declare module.exports: $Exports<'chalk/templates'>; 38 | } 39 | -------------------------------------------------------------------------------- /flow-typed/npm/classnames_v2.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: cf86673cc32d185bdab1d2ea90578d37 2 | // flow-typed version: 614bf49aa8/classnames_v2.x.x/flow_>=v0.25.x 3 | 4 | type $npm$classnames$Classes = 5 | | string 6 | | { [className: string]: * } 7 | | false 8 | | void 9 | | null; 10 | 11 | declare module "classnames" { 12 | declare module.exports: ( 13 | ...classes: Array<$npm$classnames$Classes | $npm$classnames$Classes[]> 14 | ) => string; 15 | } 16 | 17 | declare module "classnames/bind" { 18 | declare module.exports: $Exports<"classnames">; 19 | } 20 | 21 | declare module "classnames/dedupe" { 22 | declare module.exports: $Exports<"classnames">; 23 | } 24 | -------------------------------------------------------------------------------- /flow-typed/npm/clean-webpack-plugin_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: a85acba47c43a38f4b766cb9abd75b34 2 | // flow-typed version: <>/clean-webpack-plugin_v^0.1.19/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'clean-webpack-plugin' 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 'clean-webpack-plugin' { 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 'clean-webpack-plugin/index' { 29 | declare module.exports: $Exports<'clean-webpack-plugin'>; 30 | } 31 | declare module 'clean-webpack-plugin/index.js' { 32 | declare module.exports: $Exports<'clean-webpack-plugin'>; 33 | } 34 | -------------------------------------------------------------------------------- /flow-typed/npm/compression-webpack-plugin_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 317a21f548b69e87efeda0067173fd0b 2 | // flow-typed version: <>/compression-webpack-plugin_v^1.1.11/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'compression-webpack-plugin' 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 'compression-webpack-plugin' { 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 'compression-webpack-plugin/dist/cjs' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'compression-webpack-plugin/dist/index' { 30 | declare module.exports: any; 31 | } 32 | 33 | // Filename aliases 34 | declare module 'compression-webpack-plugin/dist/cjs.js' { 35 | declare module.exports: $Exports<'compression-webpack-plugin/dist/cjs'>; 36 | } 37 | declare module 'compression-webpack-plugin/dist/index.js' { 38 | declare module.exports: $Exports<'compression-webpack-plugin/dist/index'>; 39 | } 40 | -------------------------------------------------------------------------------- /flow-typed/npm/compression_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: a9e24f3a96519ff67aa92c6918b8d0b5 2 | // flow-typed version: <>/compression_v^1.7.3/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'compression' 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 'compression' { 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 'compression/index' { 29 | declare module.exports: $Exports<'compression'>; 30 | } 31 | declare module 'compression/index.js' { 32 | declare module.exports: $Exports<'compression'>; 33 | } 34 | -------------------------------------------------------------------------------- /flow-typed/npm/convict_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 38fc0a75684e9445232c7c1198d431f1 2 | // flow-typed version: <>/convict_v^4.3.2/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'convict' 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 'convict' { 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 'convict/lib/convict' { 26 | declare module.exports: any; 27 | } 28 | 29 | // Filename aliases 30 | declare module 'convict/lib/convict.js' { 31 | declare module.exports: $Exports<'convict/lib/convict'>; 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/cross-env_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: ef1bef01f5eebfc7d680df98933f0120 2 | // flow-typed version: <>/cross-env_v^5.2.0/flow_v0.80.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-module-flow_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 825c58e00d0b8209077b403d7892f305 2 | // flow-typed version: <>/css-module-flow_v^1.0.0/flow_v0.52.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'css-module-flow' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'css-module-flow' { 17 | declare module.exports: any; 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | 26 | 27 | // Filename aliases 28 | declare module 'css-module-flow/index' { 29 | declare module.exports: $Exports<'css-module-flow'>; 30 | } 31 | declare module 'css-module-flow/index.js' { 32 | declare module.exports: $Exports<'css-module-flow'>; 33 | } 34 | -------------------------------------------------------------------------------- /flow-typed/npm/enzyme-adapter-react-16_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: fe1f4230a970a55f9341cd7e748eed8e 2 | // flow-typed version: <>/enzyme-adapter-react-16_v^1.2.0/flow_v0.80.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-to-json_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: ca43405cc013db142a59046897909b83 2 | // flow-typed version: <>/enzyme-to-json_v^3.3.4/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'enzyme-to-json' 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-to-json' { 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-to-json/createSerializer' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'enzyme-to-json/mount' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'enzyme-to-json/render' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'enzyme-to-json/serializer' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'enzyme-to-json/shallow' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'enzyme-to-json/utils' { 46 | declare module.exports: any; 47 | } 48 | 49 | // Filename aliases 50 | declare module 'enzyme-to-json/createSerializer.js' { 51 | declare module.exports: $Exports<'enzyme-to-json/createSerializer'>; 52 | } 53 | declare module 'enzyme-to-json/index' { 54 | declare module.exports: $Exports<'enzyme-to-json'>; 55 | } 56 | declare module 'enzyme-to-json/index.js' { 57 | declare module.exports: $Exports<'enzyme-to-json'>; 58 | } 59 | declare module 'enzyme-to-json/mount.js' { 60 | declare module.exports: $Exports<'enzyme-to-json/mount'>; 61 | } 62 | declare module 'enzyme-to-json/render.js' { 63 | declare module.exports: $Exports<'enzyme-to-json/render'>; 64 | } 65 | declare module 'enzyme-to-json/serializer.js' { 66 | declare module.exports: $Exports<'enzyme-to-json/serializer'>; 67 | } 68 | declare module 'enzyme-to-json/shallow.js' { 69 | declare module.exports: $Exports<'enzyme-to-json/shallow'>; 70 | } 71 | declare module 'enzyme-to-json/utils.js' { 72 | declare module.exports: $Exports<'enzyme-to-json/utils'>; 73 | } 74 | -------------------------------------------------------------------------------- /flow-typed/npm/expose-loader_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: bfbfd3151f7d894df7025a36bf3c0203 2 | // flow-typed version: <>/expose-loader_v^0.7.5/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'expose-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 'expose-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 'expose-loader/index' { 29 | declare module.exports: $Exports<'expose-loader'>; 30 | } 31 | declare module 'expose-loader/index.js' { 32 | declare module.exports: $Exports<'expose-loader'>; 33 | } 34 | -------------------------------------------------------------------------------- /flow-typed/npm/express-rate-limit_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: ad107a049dc4c65db576bfcd7f71d265 2 | // flow-typed version: <>/express-rate-limit_v^3.1.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'express-rate-limit' 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 'express-rate-limit' { 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 'express-rate-limit/lib/express-rate-limit' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'express-rate-limit/lib/memory-store' { 30 | declare module.exports: any; 31 | } 32 | 33 | // Filename aliases 34 | declare module 'express-rate-limit/lib/express-rate-limit.js' { 35 | declare module.exports: $Exports<'express-rate-limit/lib/express-rate-limit'>; 36 | } 37 | declare module 'express-rate-limit/lib/memory-store.js' { 38 | declare module.exports: $Exports<'express-rate-limit/lib/memory-store'>; 39 | } 40 | -------------------------------------------------------------------------------- /flow-typed/npm/file-loader_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 54369df1b23c81ab6d2973515655ceee 2 | // flow-typed version: <>/file-loader_v^2.0.0/flow_v0.80.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/helmet_v3.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacKentoch/react-redux-antdesign-webpack-starter/648405a3cb73cf1c2a5cd62a5e2a1c1cd8f1c412/flow-typed/npm/helmet_v3.x.x.js -------------------------------------------------------------------------------- /flow-typed/npm/history_v4.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacKentoch/react-redux-antdesign-webpack-starter/648405a3cb73cf1c2a5cd62a5e2a1c1cd8f1c412/flow-typed/npm/history_v4.x.x.js -------------------------------------------------------------------------------- /flow-typed/npm/html-webpack-plugin_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 78c190a534cb961ba2acf7b9d5e70a5e 2 | // flow-typed version: <>/html-webpack-plugin_v^3.2.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'html-webpack-plugin' 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 'html-webpack-plugin' { 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 'html-webpack-plugin/lib/chunksorter' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'html-webpack-plugin/lib/compiler' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'html-webpack-plugin/lib/errors' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'html-webpack-plugin/lib/loader' { 38 | declare module.exports: any; 39 | } 40 | 41 | // Filename aliases 42 | declare module 'html-webpack-plugin/index' { 43 | declare module.exports: $Exports<'html-webpack-plugin'>; 44 | } 45 | declare module 'html-webpack-plugin/index.js' { 46 | declare module.exports: $Exports<'html-webpack-plugin'>; 47 | } 48 | declare module 'html-webpack-plugin/lib/chunksorter.js' { 49 | declare module.exports: $Exports<'html-webpack-plugin/lib/chunksorter'>; 50 | } 51 | declare module 'html-webpack-plugin/lib/compiler.js' { 52 | declare module.exports: $Exports<'html-webpack-plugin/lib/compiler'>; 53 | } 54 | declare module 'html-webpack-plugin/lib/errors.js' { 55 | declare module.exports: $Exports<'html-webpack-plugin/lib/errors'>; 56 | } 57 | declare module 'html-webpack-plugin/lib/loader.js' { 58 | declare module.exports: $Exports<'html-webpack-plugin/lib/loader'>; 59 | } 60 | -------------------------------------------------------------------------------- /flow-typed/npm/jest-css-modules_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 1407a792d2701de807d0599a761e6045 2 | // flow-typed version: <>/jest-css-modules_v^1.1.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'jest-css-modules' 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-css-modules' { 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 'jest-css-modules/index' { 29 | declare module.exports: $Exports<'jest-css-modules'>; 30 | } 31 | declare module 'jest-css-modules/index.js' { 32 | declare module.exports: $Exports<'jest-css-modules'>; 33 | } 34 | -------------------------------------------------------------------------------- /flow-typed/npm/json-loader_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 6652486d878e812b1498609b800c42ae 2 | // flow-typed version: <>/json-loader_v^0.5.7/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'json-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 'json-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 'json-loader/index' { 29 | declare module.exports: $Exports<'json-loader'>; 30 | } 31 | declare module 'json-loader/index.js' { 32 | declare module.exports: $Exports<'json-loader'>; 33 | } 34 | -------------------------------------------------------------------------------- /flow-typed/npm/less-vars-to-js_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: aaac2868a63eea4e17aa41fd1b6b439a 2 | // flow-typed version: <>/less-vars-to-js_v^1.3.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'less-vars-to-js' 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 'less-vars-to-js' { 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 'less-vars-to-js/coverage/lcov-report/prettify' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'less-vars-to-js/coverage/lcov-report/sorter' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'less-vars-to-js/dist/index' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'less-vars-to-js/test/index' { 38 | declare module.exports: any; 39 | } 40 | 41 | // Filename aliases 42 | declare module 'less-vars-to-js/coverage/lcov-report/prettify.js' { 43 | declare module.exports: $Exports<'less-vars-to-js/coverage/lcov-report/prettify'>; 44 | } 45 | declare module 'less-vars-to-js/coverage/lcov-report/sorter.js' { 46 | declare module.exports: $Exports<'less-vars-to-js/coverage/lcov-report/sorter'>; 47 | } 48 | declare module 'less-vars-to-js/dist/index.js' { 49 | declare module.exports: $Exports<'less-vars-to-js/dist/index'>; 50 | } 51 | declare module 'less-vars-to-js/test/index.js' { 52 | declare module.exports: $Exports<'less-vars-to-js/test/index'>; 53 | } 54 | -------------------------------------------------------------------------------- /flow-typed/npm/lodash.debounce_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 4f78243528810038989e48105c98b84b 2 | // flow-typed version: <>/lodash.debounce_v^4.0.8/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'lodash.debounce' 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 'lodash.debounce' { 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 'lodash.debounce/index' { 29 | declare module.exports: $Exports<'lodash.debounce'>; 30 | } 31 | declare module 'lodash.debounce/index.js' { 32 | declare module.exports: $Exports<'lodash.debounce'>; 33 | } 34 | -------------------------------------------------------------------------------- /flow-typed/npm/lodash.throttle_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 54aab294e997a73532eec1a051cae3ed 2 | // flow-typed version: <>/lodash.throttle_v^4.1.1/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'lodash.throttle' 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 'lodash.throttle' { 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 'lodash.throttle/index' { 29 | declare module.exports: $Exports<'lodash.throttle'>; 30 | } 31 | declare module 'lodash.throttle/index.js' { 32 | declare module.exports: $Exports<'lodash.throttle'>; 33 | } 34 | -------------------------------------------------------------------------------- /flow-typed/npm/mini-css-extract-plugin_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 7c9b6a589d0a4040692d34ed5e0834fc 2 | // flow-typed version: <>/mini-css-extract-plugin_v^0.4.2/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'mini-css-extract-plugin' 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 'mini-css-extract-plugin' { 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 'mini-css-extract-plugin/dist/cjs' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'mini-css-extract-plugin/dist/index' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'mini-css-extract-plugin/dist/loader' { 34 | declare module.exports: any; 35 | } 36 | 37 | // Filename aliases 38 | declare module 'mini-css-extract-plugin/dist/cjs.js' { 39 | declare module.exports: $Exports<'mini-css-extract-plugin/dist/cjs'>; 40 | } 41 | declare module 'mini-css-extract-plugin/dist/index.js' { 42 | declare module.exports: $Exports<'mini-css-extract-plugin/dist/index'>; 43 | } 44 | declare module 'mini-css-extract-plugin/dist/loader.js' { 45 | declare module.exports: $Exports<'mini-css-extract-plugin/dist/loader'>; 46 | } 47 | -------------------------------------------------------------------------------- /flow-typed/npm/modernizr-webpack-plugin_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: fd5276fb48fc7c6516a050f911154d84 2 | // flow-typed version: <>/modernizr-webpack-plugin_v^1.0.7/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'modernizr-webpack-plugin' 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 'modernizr-webpack-plugin' { 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 'modernizr-webpack-plugin/index' { 29 | declare module.exports: $Exports<'modernizr-webpack-plugin'>; 30 | } 31 | declare module 'modernizr-webpack-plugin/index.js' { 32 | declare module.exports: $Exports<'modernizr-webpack-plugin'>; 33 | } 34 | -------------------------------------------------------------------------------- /flow-typed/npm/postcss-focus_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 3f1bfee3f7461a024fe0088ffe0c65ae 2 | // flow-typed version: <>/postcss-focus_v^2.0.0/flow_v0.52.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'postcss-focus' 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-focus' { 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 'postcss-focus/index' { 29 | declare module.exports: $Exports<'postcss-focus'>; 30 | } 31 | declare module 'postcss-focus/index.js' { 32 | declare module.exports: $Exports<'postcss-focus'>; 33 | } 34 | -------------------------------------------------------------------------------- /flow-typed/npm/postcss-import_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 8c3fd4fd869c0bb80b132de7edc8d63a 2 | // flow-typed version: <>/postcss-import_v^10.0.0/flow_v0.52.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'postcss-import' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'postcss-import' { 17 | declare module.exports: any; 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'postcss-import/lib/join-media' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'postcss-import/lib/load-content' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'postcss-import/lib/parse-statements' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'postcss-import/lib/process-content' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'postcss-import/lib/resolve-id' { 42 | declare module.exports: any; 43 | } 44 | 45 | // Filename aliases 46 | declare module 'postcss-import/index' { 47 | declare module.exports: $Exports<'postcss-import'>; 48 | } 49 | declare module 'postcss-import/index.js' { 50 | declare module.exports: $Exports<'postcss-import'>; 51 | } 52 | declare module 'postcss-import/lib/join-media.js' { 53 | declare module.exports: $Exports<'postcss-import/lib/join-media'>; 54 | } 55 | declare module 'postcss-import/lib/load-content.js' { 56 | declare module.exports: $Exports<'postcss-import/lib/load-content'>; 57 | } 58 | declare module 'postcss-import/lib/parse-statements.js' { 59 | declare module.exports: $Exports<'postcss-import/lib/parse-statements'>; 60 | } 61 | declare module 'postcss-import/lib/process-content.js' { 62 | declare module.exports: $Exports<'postcss-import/lib/process-content'>; 63 | } 64 | declare module 'postcss-import/lib/resolve-id.js' { 65 | declare module.exports: $Exports<'postcss-import/lib/resolve-id'>; 66 | } 67 | -------------------------------------------------------------------------------- /flow-typed/npm/postcss-load-config_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: f0e67f5000f34c7f77bb5e66cfafb1d6 2 | // flow-typed version: <>/postcss-load-config_v^1.2.0/flow_v0.52.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'postcss-load-config' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'postcss-load-config' { 17 | declare module.exports: any; 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | 26 | 27 | // Filename aliases 28 | declare module 'postcss-load-config/index' { 29 | declare module.exports: $Exports<'postcss-load-config'>; 30 | } 31 | declare module 'postcss-load-config/index.js' { 32 | declare module.exports: $Exports<'postcss-load-config'>; 33 | } 34 | -------------------------------------------------------------------------------- /flow-typed/npm/postcss-loader_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 9c04dfd776396ecbc9f9028d23f38cae 2 | // flow-typed version: <>/postcss-loader_v^1.1.1/flow_v0.52.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/error' { 26 | declare module.exports: any; 27 | } 28 | 29 | // Filename aliases 30 | declare module 'postcss-loader/error.js' { 31 | declare module.exports: $Exports<'postcss-loader/error'>; 32 | } 33 | declare module 'postcss-loader/index' { 34 | declare module.exports: $Exports<'postcss-loader'>; 35 | } 36 | declare module 'postcss-loader/index.js' { 37 | declare module.exports: $Exports<'postcss-loader'>; 38 | } 39 | -------------------------------------------------------------------------------- /flow-typed/npm/postcss-reporter_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 2fe8bc70a93ca83898741c9af7e03e33 2 | // flow-typed version: <>/postcss-reporter_v^5.0.0/flow_v0.52.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'postcss-reporter' 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-reporter' { 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-reporter/lib/formatter' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'postcss-reporter/lib/reporter' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'postcss-reporter/lib/util' { 34 | declare module.exports: any; 35 | } 36 | 37 | // Filename aliases 38 | declare module 'postcss-reporter/index' { 39 | declare module.exports: $Exports<'postcss-reporter'>; 40 | } 41 | declare module 'postcss-reporter/index.js' { 42 | declare module.exports: $Exports<'postcss-reporter'>; 43 | } 44 | declare module 'postcss-reporter/lib/formatter.js' { 45 | declare module.exports: $Exports<'postcss-reporter/lib/formatter'>; 46 | } 47 | declare module 'postcss-reporter/lib/reporter.js' { 48 | declare module.exports: $Exports<'postcss-reporter/lib/reporter'>; 49 | } 50 | declare module 'postcss-reporter/lib/util.js' { 51 | declare module.exports: $Exports<'postcss-reporter/lib/util'>; 52 | } 53 | -------------------------------------------------------------------------------- /flow-typed/npm/precss_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 51c17647b06a8f63c8545b8ca948eec4 2 | // flow-typed version: <>/precss_v^1.4.0/flow_v0.46.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'precss' 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 'precss' { 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 'precss/gulpfile' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'precss/test/index' { 30 | declare module.exports: any; 31 | } 32 | 33 | // Filename aliases 34 | declare module 'precss/gulpfile.js' { 35 | declare module.exports: $Exports<'precss/gulpfile'>; 36 | } 37 | declare module 'precss/index' { 38 | declare module.exports: $Exports<'precss'>; 39 | } 40 | declare module 'precss/index.js' { 41 | declare module.exports: $Exports<'precss'>; 42 | } 43 | declare module 'precss/test/index.js' { 44 | declare module.exports: $Exports<'precss/test/index'>; 45 | } 46 | -------------------------------------------------------------------------------- /flow-typed/npm/prettier-eslint_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 61987d5f36e758fefe457e6d2f331728 2 | // flow-typed version: <>/prettier-eslint_v^8.8.2/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'prettier-eslint' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'prettier-eslint' { 17 | declare module.exports: any; 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'prettier-eslint/dist/index' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'prettier-eslint/dist/utils' { 30 | declare module.exports: any; 31 | } 32 | 33 | // Filename aliases 34 | declare module 'prettier-eslint/dist/index.js' { 35 | declare module.exports: $Exports<'prettier-eslint/dist/index'>; 36 | } 37 | declare module 'prettier-eslint/dist/utils.js' { 38 | declare module.exports: $Exports<'prettier-eslint/dist/utils'>; 39 | } 40 | -------------------------------------------------------------------------------- /flow-typed/npm/pretty-error_v2.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacKentoch/react-redux-antdesign-webpack-starter/648405a3cb73cf1c2a5cd62a5e2a1c1cd8f1c412/flow-typed/npm/pretty-error_v2.x.x.js -------------------------------------------------------------------------------- /flow-typed/npm/progress-bar-webpack-plugin_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 9ea8a144355c43960ad4ba80f56a55db 2 | // flow-typed version: <>/progress-bar-webpack-plugin_v^1.11.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'progress-bar-webpack-plugin' 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 'progress-bar-webpack-plugin' { 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 'progress-bar-webpack-plugin/index' { 29 | declare module.exports: $Exports<'progress-bar-webpack-plugin'>; 30 | } 31 | declare module 'progress-bar-webpack-plugin/index.js' { 32 | declare module.exports: $Exports<'progress-bar-webpack-plugin'>; 33 | } 34 | -------------------------------------------------------------------------------- /flow-typed/npm/prop-types_v15.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 3eaa1f24c7397b78a7481992d2cddcb2 2 | // flow-typed version: a1a20d4928/prop-types_v15.x.x/flow_>=v0.41.x 3 | 4 | type $npm$propTypes$ReactPropsCheckType = ( 5 | props: any, 6 | propName: string, 7 | componentName: string, 8 | href?: string) => ?Error; 9 | 10 | declare module 'prop-types' { 11 | declare var array: React$PropType$Primitive>; 12 | declare var bool: React$PropType$Primitive; 13 | declare var func: React$PropType$Primitive; 14 | declare var number: React$PropType$Primitive; 15 | declare var object: React$PropType$Primitive; 16 | declare var string: React$PropType$Primitive; 17 | declare var any: React$PropType$Primitive; 18 | declare var arrayOf: React$PropType$ArrayOf; 19 | declare var element: React$PropType$Primitive; /* TODO */ 20 | declare var instanceOf: React$PropType$InstanceOf; 21 | declare var node: React$PropType$Primitive; /* TODO */ 22 | declare var objectOf: React$PropType$ObjectOf; 23 | declare var oneOf: React$PropType$OneOf; 24 | declare var oneOfType: React$PropType$OneOfType; 25 | declare var shape: React$PropType$Shape; 26 | 27 | declare function checkPropTypes( 28 | propTypes: $Subtype<{[_: $Keys]: $npm$propTypes$ReactPropsCheckType}>, 29 | values: V, 30 | location: string, 31 | componentName: string, 32 | getStack: ?(() => ?string) 33 | ) : void; 34 | } 35 | -------------------------------------------------------------------------------- /flow-typed/npm/react-helmet_v5.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: afa3502910d5b2aef93707cc683f52b8 2 | // flow-typed version: 492c298a82/react-helmet_v5.x.x/flow_>=v0.53.x 3 | 4 | declare module 'react-helmet' { 5 | declare type Props = { 6 | base?: Object, 7 | bodyAttributes?: Object, 8 | children?: React$Node, 9 | defaultTitle?: string, 10 | defer?: boolean, 11 | encodeSpecialCharacters?: boolean, 12 | htmlAttributes?: Object, 13 | link?: Array, 14 | meta?: Array, 15 | noscript?: Array, 16 | onChangeClientState?: ( 17 | newState?: Object, 18 | addedTags?: Object, 19 | removeTags?: Object 20 | ) => any, 21 | script?: Array, 22 | style?: Array, 23 | title?: string, 24 | titleAttributes?: Object, 25 | titleTemplate?: string, 26 | } 27 | 28 | declare interface TagMethods { 29 | toString(): string; 30 | toComponent(): [React$Element<*>] | React$Element<*> | Array; 31 | } 32 | 33 | declare interface AttributeTagMethods { 34 | toString(): string; 35 | toComponent(): {[string]: *}; 36 | } 37 | 38 | declare interface StateOnServer { 39 | base: TagMethods; 40 | bodyAttributes: AttributeTagMethods, 41 | htmlAttributes: AttributeTagMethods; 42 | link: TagMethods; 43 | meta: TagMethods; 44 | noscript: TagMethods; 45 | script: TagMethods; 46 | style: TagMethods; 47 | title: TagMethods; 48 | } 49 | 50 | declare class Helmet extends React$Component { 51 | static rewind(): StateOnServer; 52 | static renderStatic(): StateOnServer; 53 | static canUseDom(canUseDOM: boolean): void; 54 | } 55 | 56 | declare export default typeof Helmet 57 | declare export var Helmet: typeof Helmet 58 | } 59 | 60 | -------------------------------------------------------------------------------- /flow-typed/npm/react-modal_v1.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 79b0d9e0a2b9916a7ee8fd46cc9fe92b 2 | // flow-typed version: 898a5a203f/react-modal_v1.x.x/flow_>=v0.26.x 3 | 4 | declare module 'react-modal' { 5 | declare type DefaultProps = { 6 | isOpen: bool, 7 | ariaHideApp: bool, 8 | closeTimeoutMS: number, 9 | shouldCloseOnOverlayClick: bool, 10 | } 11 | declare type Props = { 12 | isOpen: bool, 13 | style?: { 14 | content?: Object, 15 | overlay?: Object, 16 | }, 17 | appElement?: HTMLElement, 18 | ariaHideApp: bool, 19 | closeTimeoutMS: number, 20 | onAfterOpen?: () => mixed, 21 | onRequestClose?: (event: Event) => mixed, 22 | shouldCloseOnOverlayClick: bool, 23 | } 24 | declare class Modal extends React$Component { 25 | static setAppElement(element: HTMLElement | string): void; 26 | static defaultProps: DefaultProps; 27 | props: Props; 28 | } 29 | declare var exports: typeof Modal; 30 | } 31 | -------------------------------------------------------------------------------- /flow-typed/npm/react-overdrive_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: cb6a4abed0959db546984f95b14ea696 2 | // flow-typed version: <>/react-overdrive_v^0.0.10/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'react-overdrive' 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-overdrive' { 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-overdrive/lib/Overdrive.min' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'react-overdrive/src/index' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'react-overdrive/src/overdrive' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'react-overdrive/src/prefix' { 38 | declare module.exports: any; 39 | } 40 | 41 | // Filename aliases 42 | declare module 'react-overdrive/lib/Overdrive.min.js' { 43 | declare module.exports: $Exports<'react-overdrive/lib/Overdrive.min'>; 44 | } 45 | declare module 'react-overdrive/src/index.js' { 46 | declare module.exports: $Exports<'react-overdrive/src/index'>; 47 | } 48 | declare module 'react-overdrive/src/overdrive.js' { 49 | declare module.exports: $Exports<'react-overdrive/src/overdrive'>; 50 | } 51 | declare module 'react-overdrive/src/prefix.js' { 52 | declare module.exports: $Exports<'react-overdrive/src/prefix'>; 53 | } 54 | -------------------------------------------------------------------------------- /flow-typed/npm/react-redux_v5.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacKentoch/react-redux-antdesign-webpack-starter/648405a3cb73cf1c2a5cd62a5e2a1c1cd8f1c412/flow-typed/npm/react-redux_v5.x.x.js -------------------------------------------------------------------------------- /flow-typed/npm/react-snap_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 26df17f383872c575ede8f45fb3baebf 2 | // flow-typed version: <>/react-snap_v^1.10.1/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'react-snap' 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-snap' { 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-snap/run' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'react-snap/src/puppeteer_utils' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'react-snap/vendor/preload_polyfill.min' { 34 | declare module.exports: any; 35 | } 36 | 37 | // Filename aliases 38 | declare module 'react-snap/index' { 39 | declare module.exports: $Exports<'react-snap'>; 40 | } 41 | declare module 'react-snap/index.js' { 42 | declare module.exports: $Exports<'react-snap'>; 43 | } 44 | declare module 'react-snap/run.js' { 45 | declare module.exports: $Exports<'react-snap/run'>; 46 | } 47 | declare module 'react-snap/src/puppeteer_utils.js' { 48 | declare module.exports: $Exports<'react-snap/src/puppeteer_utils'>; 49 | } 50 | declare module 'react-snap/vendor/preload_polyfill.min.js' { 51 | declare module.exports: $Exports<'react-snap/vendor/preload_polyfill.min'>; 52 | } 53 | -------------------------------------------------------------------------------- /flow-typed/npm/react-tap-event-plugin_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 7133d136c5fcbf18b33eb9d1007bd92b 2 | // flow-typed version: <>/react-tap-event-plugin_v^3.0.3/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'react-tap-event-plugin' 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-tap-event-plugin' { 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-tap-event-plugin/src/defaultClickRejectionStrategy' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'react-tap-event-plugin/src/injectTapEventPlugin' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'react-tap-event-plugin/src/SyntheticEvent' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'react-tap-event-plugin/src/TapEventPlugin' { 38 | declare module.exports: any; 39 | } 40 | 41 | // Filename aliases 42 | declare module 'react-tap-event-plugin/src/defaultClickRejectionStrategy.js' { 43 | declare module.exports: $Exports<'react-tap-event-plugin/src/defaultClickRejectionStrategy'>; 44 | } 45 | declare module 'react-tap-event-plugin/src/injectTapEventPlugin.js' { 46 | declare module.exports: $Exports<'react-tap-event-plugin/src/injectTapEventPlugin'>; 47 | } 48 | declare module 'react-tap-event-plugin/src/SyntheticEvent.js' { 49 | declare module.exports: $Exports<'react-tap-event-plugin/src/SyntheticEvent'>; 50 | } 51 | declare module 'react-tap-event-plugin/src/TapEventPlugin.js' { 52 | declare module.exports: $Exports<'react-tap-event-plugin/src/TapEventPlugin'>; 53 | } 54 | -------------------------------------------------------------------------------- /flow-typed/npm/redux-logger_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: d114479c18cc8ddb26440f262a237297 2 | // flow-typed version: <>/redux-logger_v^3.0.6/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'redux-logger' 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-logger' { 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-logger/dist/redux-logger' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'redux-logger/src/core' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'redux-logger/src/defaults' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'redux-logger/src/diff' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'redux-logger/src/helpers' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'redux-logger/src/index' { 46 | declare module.exports: any; 47 | } 48 | 49 | // Filename aliases 50 | declare module 'redux-logger/dist/redux-logger.js' { 51 | declare module.exports: $Exports<'redux-logger/dist/redux-logger'>; 52 | } 53 | declare module 'redux-logger/src/core.js' { 54 | declare module.exports: $Exports<'redux-logger/src/core'>; 55 | } 56 | declare module 'redux-logger/src/defaults.js' { 57 | declare module.exports: $Exports<'redux-logger/src/defaults'>; 58 | } 59 | declare module 'redux-logger/src/diff.js' { 60 | declare module.exports: $Exports<'redux-logger/src/diff'>; 61 | } 62 | declare module 'redux-logger/src/helpers.js' { 63 | declare module.exports: $Exports<'redux-logger/src/helpers'>; 64 | } 65 | declare module 'redux-logger/src/index.js' { 66 | declare module.exports: $Exports<'redux-logger/src/index'>; 67 | } 68 | -------------------------------------------------------------------------------- /flow-typed/npm/redux-mock-store_v1.2.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 1a52c9b15ddf789276c0cf9a8a0f3802 2 | // flow-typed version: e3d371228f/redux-mock-store_v1.2.x/flow_>=v0.25.x 3 | 4 | declare module "redux-mock-store" { 5 | /* 6 | S = State 7 | A = Action 8 | */ 9 | 10 | declare type mockStore = { 11 | (state: S): mockStoreWithoutMiddleware 12 | }; 13 | declare type DispatchAPI = (action: A) => A; 14 | declare type Dispatch }> = DispatchAPI; 15 | declare type mockStoreWithoutMiddleware = { 16 | getState(): S, 17 | getActions(): Array, 18 | dispatch: Dispatch, 19 | clearActions(): void, 20 | subscribe(callback: Function): () => void, 21 | replaceReducer(nextReducer: Function): void 22 | }; 23 | 24 | declare module.exports: (middlewares: ?Array) => mockStore; 25 | } 26 | 27 | // Filename aliases 28 | declare module "redux-mock-store/src/index" { 29 | declare module.exports: $Exports<"redux-mock-store">; 30 | } 31 | declare module "redux-mock-store/src/index.js" { 32 | declare module.exports: $Exports<"redux-mock-store">; 33 | } 34 | -------------------------------------------------------------------------------- /flow-typed/npm/redux-mock-store_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 83676461ec3a18e383d00bf868431640 2 | // flow-typed version: <>/redux-mock-store_v^1.2.1/flow_v0.46.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'redux-mock-store' 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-mock-store' { 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-mock-store/lib/index' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'redux-mock-store/test/index' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'redux-mock-store/test/mock/middleware' { 34 | declare module.exports: any; 35 | } 36 | 37 | // Filename aliases 38 | declare module 'redux-mock-store/lib/index.js' { 39 | declare module.exports: $Exports<'redux-mock-store/lib/index'>; 40 | } 41 | declare module 'redux-mock-store/test/index.js' { 42 | declare module.exports: $Exports<'redux-mock-store/test/index'>; 43 | } 44 | declare module 'redux-mock-store/test/mock/middleware.js' { 45 | declare module.exports: $Exports<'redux-mock-store/test/mock/middleware'>; 46 | } 47 | -------------------------------------------------------------------------------- /flow-typed/npm/redux-thunk_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 37bb6924920bb9729318d6ebbadc4f64 2 | // flow-typed version: <>/redux-thunk_v^2.3.0/flow_v0.80.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/regenerator-runtime_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: f90e942a3c85f9ad7898da8f7e8cafc7 2 | // flow-typed version: <>/regenerator-runtime_v^0.12.1/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'regenerator-runtime' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'regenerator-runtime' { 17 | declare module.exports: any; 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'regenerator-runtime/path' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'regenerator-runtime/runtime-module' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'regenerator-runtime/runtime' { 34 | declare module.exports: any; 35 | } 36 | 37 | // Filename aliases 38 | declare module 'regenerator-runtime/path.js' { 39 | declare module.exports: $Exports<'regenerator-runtime/path'>; 40 | } 41 | declare module 'regenerator-runtime/runtime-module.js' { 42 | declare module.exports: $Exports<'regenerator-runtime/runtime-module'>; 43 | } 44 | declare module 'regenerator-runtime/runtime.js' { 45 | declare module.exports: $Exports<'regenerator-runtime/runtime'>; 46 | } 47 | -------------------------------------------------------------------------------- /flow-typed/npm/rename_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: a3d45b8a84e917b800f19c37eca44a35 2 | // flow-typed version: <>/rename_v^1.0.4/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'rename' 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 'rename' { 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 'rename/lib/parse' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'rename/lib/stringify' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'rename/lib/util' { 34 | declare module.exports: any; 35 | } 36 | 37 | // Filename aliases 38 | declare module 'rename/index' { 39 | declare module.exports: $Exports<'rename'>; 40 | } 41 | declare module 'rename/index.js' { 42 | declare module.exports: $Exports<'rename'>; 43 | } 44 | declare module 'rename/lib/parse.js' { 45 | declare module.exports: $Exports<'rename/lib/parse'>; 46 | } 47 | declare module 'rename/lib/stringify.js' { 48 | declare module.exports: $Exports<'rename/lib/stringify'>; 49 | } 50 | declare module 'rename/lib/util.js' { 51 | declare module.exports: $Exports<'rename/lib/util'>; 52 | } 53 | -------------------------------------------------------------------------------- /flow-typed/npm/rimraf_v2.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 1dff23447d5e18f5ac2b05aaec7cfb74 2 | // flow-typed version: a453e98ea2/rimraf_v2.x.x/flow_>=v0.25.0 3 | 4 | declare module 'rimraf' { 5 | declare type Options = { 6 | maxBusyTries?: number, 7 | emfileWait?: number, 8 | glob?: boolean, 9 | disableGlob?: boolean 10 | }; 11 | 12 | declare type Callback = (err: ?Error, path: ?string) => void; 13 | 14 | declare module.exports: { 15 | (f: string, opts?: Options | Callback, callback?: Callback): void; 16 | sync(path: string, opts?: Options): void; 17 | }; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/rimraf_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 70eee28e992fb5e2d0c776ce949b3428 2 | // flow-typed version: <>/rimraf_v^2.6.1/flow_v0.52.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'rimraf' 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 'rimraf' { 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 'rimraf/bin' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'rimraf/rimraf' { 30 | declare module.exports: any; 31 | } 32 | 33 | // Filename aliases 34 | declare module 'rimraf/bin.js' { 35 | declare module.exports: $Exports<'rimraf/bin'>; 36 | } 37 | declare module 'rimraf/rimraf.js' { 38 | declare module.exports: $Exports<'rimraf/rimraf'>; 39 | } 40 | -------------------------------------------------------------------------------- /flow-typed/npm/sass-loader_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 0cb038a5a22ac97a0729879af97c26af 2 | // flow-typed version: <>/sass-loader_v^7.1.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'sass-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 'sass-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 'sass-loader/lib/formatSassError' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'sass-loader/lib/importsToResolve' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'sass-loader/lib/loader' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'sass-loader/lib/normalizeOptions' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'sass-loader/lib/proxyCustomImporters' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'sass-loader/lib/webpackImporter' { 46 | declare module.exports: any; 47 | } 48 | 49 | // Filename aliases 50 | declare module 'sass-loader/lib/formatSassError.js' { 51 | declare module.exports: $Exports<'sass-loader/lib/formatSassError'>; 52 | } 53 | declare module 'sass-loader/lib/importsToResolve.js' { 54 | declare module.exports: $Exports<'sass-loader/lib/importsToResolve'>; 55 | } 56 | declare module 'sass-loader/lib/loader.js' { 57 | declare module.exports: $Exports<'sass-loader/lib/loader'>; 58 | } 59 | declare module 'sass-loader/lib/normalizeOptions.js' { 60 | declare module.exports: $Exports<'sass-loader/lib/normalizeOptions'>; 61 | } 62 | declare module 'sass-loader/lib/proxyCustomImporters.js' { 63 | declare module.exports: $Exports<'sass-loader/lib/proxyCustomImporters'>; 64 | } 65 | declare module 'sass-loader/lib/webpackImporter.js' { 66 | declare module.exports: $Exports<'sass-loader/lib/webpackImporter'>; 67 | } 68 | -------------------------------------------------------------------------------- /flow-typed/npm/serialize-javascript_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: de352f1fb90b0fa3194e0a4f0bb957e1 2 | // flow-typed version: <>/serialize-javascript_v^1.5.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'serialize-javascript' 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 'serialize-javascript' { 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 'serialize-javascript/index' { 29 | declare module.exports: $Exports<'serialize-javascript'>; 30 | } 31 | declare module 'serialize-javascript/index.js' { 32 | declare module.exports: $Exports<'serialize-javascript'>; 33 | } 34 | -------------------------------------------------------------------------------- /flow-typed/npm/serve-favicon_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: b36bdde2b705ca71a9819e9994b83cf0 2 | // flow-typed version: <>/serve-favicon_v^2.5.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'serve-favicon' 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 'serve-favicon' { 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 'serve-favicon/index' { 29 | declare module.exports: $Exports<'serve-favicon'>; 30 | } 31 | declare module 'serve-favicon/index.js' { 32 | declare module.exports: $Exports<'serve-favicon'>; 33 | } 34 | -------------------------------------------------------------------------------- /flow-typed/npm/smoothscroll-polyfill_v0.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: f5d1cd32fd86e3c7b132d220e88b3454 2 | // flow-typed version: 463c76ef0c/smoothscroll-polyfill_v0.x.x/flow_>=v0.47.x 3 | 4 | declare module "smoothscroll-polyfill" { 5 | declare module.exports: { 6 | polyfill: () => void 7 | }; 8 | } 9 | -------------------------------------------------------------------------------- /flow-typed/npm/style-loader_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: e3d81342127938adbfd7cd2a850e7219 2 | // flow-typed version: <>/style-loader_v^0.22.1/flow_v0.80.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/uglifyjs-webpack-plugin_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 3953edfe3c83bc555c659ec5f831b176 2 | // flow-typed version: <>/uglifyjs-webpack-plugin_v^1.3.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'uglifyjs-webpack-plugin' 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 'uglifyjs-webpack-plugin' { 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 'uglifyjs-webpack-plugin/dist/cjs' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'uglifyjs-webpack-plugin/dist/index' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'uglifyjs-webpack-plugin/dist/uglify/minify' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'uglifyjs-webpack-plugin/dist/uglify/Runner' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'uglifyjs-webpack-plugin/dist/uglify/worker' { 42 | declare module.exports: any; 43 | } 44 | 45 | // Filename aliases 46 | declare module 'uglifyjs-webpack-plugin/dist/cjs.js' { 47 | declare module.exports: $Exports<'uglifyjs-webpack-plugin/dist/cjs'>; 48 | } 49 | declare module 'uglifyjs-webpack-plugin/dist/index.js' { 50 | declare module.exports: $Exports<'uglifyjs-webpack-plugin/dist/index'>; 51 | } 52 | declare module 'uglifyjs-webpack-plugin/dist/uglify/minify.js' { 53 | declare module.exports: $Exports<'uglifyjs-webpack-plugin/dist/uglify/minify'>; 54 | } 55 | declare module 'uglifyjs-webpack-plugin/dist/uglify/Runner.js' { 56 | declare module.exports: $Exports<'uglifyjs-webpack-plugin/dist/uglify/Runner'>; 57 | } 58 | declare module 'uglifyjs-webpack-plugin/dist/uglify/worker.js' { 59 | declare module.exports: $Exports<'uglifyjs-webpack-plugin/dist/uglify/worker'>; 60 | } 61 | -------------------------------------------------------------------------------- /flow-typed/npm/url-loader_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 454cfddc173a31a94c575d5e0951a26d 2 | // flow-typed version: <>/url-loader_v^1.1.1/flow_v0.80.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 | declare module 'url-loader/dist/cjs' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'url-loader/dist/index' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'url-loader/dist/utils/normalizeFallback' { 34 | declare module.exports: any; 35 | } 36 | 37 | // Filename aliases 38 | declare module 'url-loader/dist/cjs.js' { 39 | declare module.exports: $Exports<'url-loader/dist/cjs'>; 40 | } 41 | declare module 'url-loader/dist/index.js' { 42 | declare module.exports: $Exports<'url-loader/dist/index'>; 43 | } 44 | declare module 'url-loader/dist/utils/normalizeFallback.js' { 45 | declare module.exports: $Exports<'url-loader/dist/utils/normalizeFallback'>; 46 | } 47 | -------------------------------------------------------------------------------- /flow-typed/npm/webpack-cli_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: c47c9b55f2ee05e1f4e006793c6515d6 2 | // flow-typed version: <>/webpack-cli_v^3.1.0/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'webpack-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 'webpack-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 'webpack-cli/bin/cli' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'webpack-cli/bin/config-yargs' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'webpack-cli/bin/convert-argv' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'webpack-cli/bin/errorHelpers' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'webpack-cli/bin/prepareOptions' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'webpack-cli/bin/prompt-command' { 46 | declare module.exports: any; 47 | } 48 | 49 | // Filename aliases 50 | declare module 'webpack-cli/bin/cli.js' { 51 | declare module.exports: $Exports<'webpack-cli/bin/cli'>; 52 | } 53 | declare module 'webpack-cli/bin/config-yargs.js' { 54 | declare module.exports: $Exports<'webpack-cli/bin/config-yargs'>; 55 | } 56 | declare module 'webpack-cli/bin/convert-argv.js' { 57 | declare module.exports: $Exports<'webpack-cli/bin/convert-argv'>; 58 | } 59 | declare module 'webpack-cli/bin/errorHelpers.js' { 60 | declare module.exports: $Exports<'webpack-cli/bin/errorHelpers'>; 61 | } 62 | declare module 'webpack-cli/bin/prepareOptions.js' { 63 | declare module.exports: $Exports<'webpack-cli/bin/prepareOptions'>; 64 | } 65 | declare module 'webpack-cli/bin/prompt-command.js' { 66 | declare module.exports: $Exports<'webpack-cli/bin/prompt-command'>; 67 | } 68 | -------------------------------------------------------------------------------- /flow-typed/npm/webpack-hot-middleware_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 043e3f7b2309cdfbe2d0634e4cea9d0b 2 | // flow-typed version: <>/webpack-hot-middleware_v^2.22.3/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'webpack-hot-middleware' 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-hot-middleware' { 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-hot-middleware/client-overlay' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'webpack-hot-middleware/client' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'webpack-hot-middleware/helpers' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'webpack-hot-middleware/middleware' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'webpack-hot-middleware/process-update' { 42 | declare module.exports: any; 43 | } 44 | 45 | // Filename aliases 46 | declare module 'webpack-hot-middleware/client-overlay.js' { 47 | declare module.exports: $Exports<'webpack-hot-middleware/client-overlay'>; 48 | } 49 | declare module 'webpack-hot-middleware/client.js' { 50 | declare module.exports: $Exports<'webpack-hot-middleware/client'>; 51 | } 52 | declare module 'webpack-hot-middleware/helpers.js' { 53 | declare module.exports: $Exports<'webpack-hot-middleware/helpers'>; 54 | } 55 | declare module 'webpack-hot-middleware/middleware.js' { 56 | declare module.exports: $Exports<'webpack-hot-middleware/middleware'>; 57 | } 58 | declare module 'webpack-hot-middleware/process-update.js' { 59 | declare module.exports: $Exports<'webpack-hot-middleware/process-update'>; 60 | } 61 | -------------------------------------------------------------------------------- /flow-typed/npm/webpack-node-externals_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 5ac159ef54ec5b93601260c3f8380f79 2 | // flow-typed version: <>/webpack-node-externals_v^1.7.2/flow_v0.80.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'webpack-node-externals' 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-node-externals' { 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-node-externals/utils' { 26 | declare module.exports: any; 27 | } 28 | 29 | // Filename aliases 30 | declare module 'webpack-node-externals/index' { 31 | declare module.exports: $Exports<'webpack-node-externals'>; 32 | } 33 | declare module 'webpack-node-externals/index.js' { 34 | declare module.exports: $Exports<'webpack-node-externals'>; 35 | } 36 | declare module 'webpack-node-externals/utils.js' { 37 | declare module.exports: $Exports<'webpack-node-externals/utils'>; 38 | } 39 | -------------------------------------------------------------------------------- /jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "typeAcquisition": { 3 | "include": [ 4 | "react", 5 | "redux", 6 | "react-router" 7 | ] 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /nodemon.json: -------------------------------------------------------------------------------- 1 | { 2 | "restartable": "rs", 3 | "ignore": [ 4 | ".git", 5 | ".next", 6 | "node_modules/**/node_modules" 7 | ], 8 | "watch": [ 9 | "server" 10 | ], 11 | "verbose": true, 12 | "execMap": { 13 | "js": "node" 14 | }, 15 | "env": { 16 | "NODE_ENV": "development" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /preview/preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacKentoch/react-redux-antdesign-webpack-starter/648405a3cb73cf1c2a5cd62a5e2a1c1cd8f1c412/preview/preview.png -------------------------------------------------------------------------------- /scripts/prepareIndexHtml.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | const { join } = require('path'); 5 | const fs = require('fs'); 6 | const chalk = require('chalk'); 7 | // #endregion 8 | 9 | // #region constants 10 | const indexRaw = join(__dirname, '../', 'src/front/statics/index-raw.html'); 11 | const destHtml = join(__dirname, '../', 'docs/index.html'); 12 | // #endregion 13 | 14 | // #region utils 15 | function copyFile(sourceFilePath, destFilePath) { 16 | fs.createReadStream(sourceFilePath).pipe(fs.createWriteStream(destFilePath)); 17 | } 18 | // #endregion 19 | 20 | // #region make production bundle 21 | function prepareIndexHtml() { 22 | if (fs.existsSync(indexRaw)) { 23 | copyFile(indexRaw, destHtml); 24 | 25 | return console.log( 26 | `${chalk.default.greenBright('==== index.html generated 🏋️‍ ====')}`, 27 | ); 28 | } 29 | 30 | return console.log( 31 | `${chalk.default.red('==== index.html not found... 😢 ====')}`, 32 | ); 33 | } 34 | // #endergion 35 | 36 | prepareIndexHtml(); 37 | -------------------------------------------------------------------------------- /src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacKentoch/react-redux-antdesign-webpack-starter/648405a3cb73cf1c2a5cd62a5e2a1c1cd8f1c412/src/.DS_Store -------------------------------------------------------------------------------- /src/front/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacKentoch/react-redux-antdesign-webpack-starter/648405a3cb73cf1c2a5cd62a5e2a1c1cd8f1c412/src/front/.DS_Store -------------------------------------------------------------------------------- /src/front/Root.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | /* eslint-disable no-process-env */ 3 | 4 | // #region imports 5 | import React, { Component } from 'react'; 6 | import { Switch, Route } from 'react-router-dom'; 7 | import { ConnectedRouter } from 'connected-react-router'; 8 | import { Provider } from 'react-redux'; 9 | import { history } from './redux/store/configureStore'; 10 | import configureStore from './redux/store/configureStore'; 11 | import App from './layout/mainLayout'; 12 | import ScrollTop from './components/scrollToTop/ScrollToTop'; 13 | import { Login, PageNotFound } from './routes/routes'; 14 | import LogoutRoute from './components/logoutRoute/LogoutRoute'; 15 | // #endregion 16 | 17 | // #region flow types 18 | export type Props = {}; 19 | 20 | export type State = {}; 21 | // #endregion 22 | 23 | // #region constants 24 | const store = configureStore(); 25 | // #endregion 26 | 27 | class Root extends Component { 28 | render() { 29 | return ( 30 | 31 | 32 | 33 | 34 | 35 | 36 | {/* logout: just redirects to login (App will take care of removing the token) */} 37 | 38 | 39 | 40 | 41 | 42 | 43 | ); 44 | } 45 | } 46 | 47 | export default Root; 48 | -------------------------------------------------------------------------------- /src/front/components/animatedView/AnimatedView.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import React, { Component } from 'react'; 5 | import cx from 'classnames'; 6 | // #endregion 7 | 8 | // #region flow types 9 | export type Props = { 10 | children: any, 11 | animated: boolean, 12 | ...any, 13 | }; 14 | 15 | export type State = { ...any }; 16 | // #endregion 17 | 18 | class AnimatedView extends Component { 19 | static defaultProps = { 20 | animated: true, 21 | }; 22 | 23 | // #region lifecycle 24 | render() { 25 | const { animated, children } = this.props; 26 | 27 | return ( 28 |
34 | {children} 35 |
36 | ); 37 | } 38 | // #endregion 39 | } 40 | 41 | export default AnimatedView; 42 | -------------------------------------------------------------------------------- /src/front/components/animatedView/__tests__/AnimatedView.test.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import React from 'react'; 5 | import renderer from 'react-test-renderer'; // needed both for snpashot testing but also to prevent errors from enzyme 6 | import AnimatedView from '../AnimatedView'; 7 | // #endregion 8 | 9 | describe('AnimatedView component', () => { 10 | it('renders as expected', () => { 11 | const component = renderer 12 | .create( 13 |
14 | 15 |

a child

16 |
17 |
, 18 | ) 19 | .toJSON(); 20 | expect(component).toMatchSnapshot(); 21 | }); 22 | }); 23 | -------------------------------------------------------------------------------- /src/front/components/animatedView/__tests__/__snapshots__/AnimatedView.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`AnimatedView component renders as expected 1`] = ` 4 |
5 |
8 |

9 | a child 10 |

11 |
12 |
13 | `; 14 | -------------------------------------------------------------------------------- /src/front/components/backToTop/__tests__/BackToTop.test.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import React from 'react'; 5 | import renderer from 'react-test-renderer'; // needed both for snpashot testing but also to prevent errors from enzyme 6 | import BackToTop from '../BackToTop'; 7 | // #endregion 8 | 9 | describe('BackToTop component', () => { 10 | it('renders as expected', () => { 11 | const props = { 12 | minScrollY: 10, 13 | scrollTo: null, 14 | onScrollDone: () => {}, 15 | }; 16 | 17 | const component = renderer 18 | .create( 19 |
20 | 21 |
, 22 | ) 23 | .toJSON(); 24 | expect(component).toMatchSnapshot(); 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /src/front/components/backToTop/__tests__/__snapshots__/BackToTop.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`BackToTop component renders as expected 1`] = ` 4 |
5 | 38 |
39 | `; 40 | -------------------------------------------------------------------------------- /src/front/components/backToTop/backToTopButton/UpIcon.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import React from 'react'; 5 | // #endregion 6 | 7 | // #region flow types 8 | type Props = { 9 | color: string, 10 | }; 11 | // #endregion 12 | 13 | const UpIcon = ({ color }: Props) => { 14 | return ( 15 | 16 | 20 | 21 | ); 22 | }; 23 | 24 | // #region statics 25 | UpIcon.defaultProps = { 26 | color: '#F1F1F1', 27 | }; 28 | 29 | UpIcon.displayName = 'UpIcon'; 30 | // #endregion 31 | 32 | export default UpIcon; 33 | -------------------------------------------------------------------------------- /src/front/components/backToTop/backToTopButton/__tests__/BackToTopButton.test.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import React from 'react'; 5 | import renderer from 'react-test-renderer'; // needed both for snpashot testing but also to prevent errors from enzyme 6 | import BackToTopButton from '../BackToTopButton'; 7 | // #endregion 8 | 9 | describe('BackToTopButton component', () => { 10 | it('renders as expected', () => { 11 | const props = { 12 | position: null, // should be bottom-right by default 13 | onClick: () => {}, 14 | motionStyle: {}, 15 | }; 16 | 17 | const component = renderer 18 | .create( 19 |
20 | 21 |

a child

22 |
23 |
, 24 | ) 25 | .toJSON(); 26 | expect(component).toMatchSnapshot(); 27 | }); 28 | }); 29 | -------------------------------------------------------------------------------- /src/front/components/backToTop/backToTopButton/__tests__/__snapshots__/BackToTopButton.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`BackToTopButton component renders as expected 1`] = ` 4 |
5 | 25 |
26 | `; 27 | -------------------------------------------------------------------------------- /src/front/components/backToTop/backToTopButton/styled/WithRightMargin.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import styled from 'styled-components'; 5 | // #endregion 6 | 7 | const WithRightMargin = styled.div` 8 | margin-right: 10px; 9 | `; 10 | 11 | export default WithRightMargin; 12 | -------------------------------------------------------------------------------- /src/front/components/logoutRoute/LogoutRoute.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import React, { PureComponent } from 'react'; 5 | import { Route, Redirect, withRouter } from 'react-router-dom'; 6 | import auth from '../../services/auth'; 7 | import { type RouterProps } from '../../types/react-router'; 8 | // #endregion 9 | 10 | // #region flow types 11 | type Props = { 12 | ...any, 13 | } & RouterProps; 14 | 15 | type State = any; 16 | // #endregion 17 | 18 | class LogoutRoute extends PureComponent { 19 | // #region lifecycle 20 | componentDidMount() { 21 | auth.clearAllAppStorage(); 22 | } 23 | 24 | render() { 25 | return ( 26 | 27 | 28 | 29 | ); 30 | } 31 | // #endregion 32 | } 33 | 34 | export default withRouter(LogoutRoute); 35 | -------------------------------------------------------------------------------- /src/front/components/logoutRoute/__tests__/LogoutRoute.test.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import React from 'react'; 5 | import renderer from 'react-test-renderer'; // needed both for snpashot testing but also to prevent errors from enzyme 6 | import { MemoryRouter } from 'react-router'; 7 | import LogoutRoute from '../LogoutRoute'; 8 | // #endregion 9 | 10 | describe('LogoutRoute component', () => { 11 | it('renders as expected', () => { 12 | const props = {}; 13 | 14 | const component = renderer 15 | .create( 16 |
17 | 18 | 19 | 20 |
, 21 | ) 22 | .toJSON(); 23 | expect(component).toMatchSnapshot(); 24 | }); 25 | }); 26 | -------------------------------------------------------------------------------- /src/front/components/logoutRoute/__tests__/__snapshots__/LogoutRoute.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`LogoutRoute component renders as expected 1`] = `
`; 4 | -------------------------------------------------------------------------------- /src/front/components/privateRoute/PrivateRoute.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import React, { Component } from 'react'; 5 | import { Route, Redirect, withRouter } from 'react-router-dom'; 6 | import auth from '../../services/auth'; 7 | import { type RouterProps } from '../../types/react-router'; 8 | // #endregion 9 | 10 | // #region flow types 11 | type Props = { 12 | component: any, 13 | path: string, 14 | ...any, 15 | } & RouterProps; 16 | 17 | type State = any; 18 | // #endregion 19 | 20 | class PrivateRoute extends Component { 21 | // #region lifecycle 22 | render() { 23 | const { component: InnerComponent, ...rest } = this.props; 24 | const { location } = this.props; 25 | 26 | const isUserAuthenticated = this.isAuthenticated(); 27 | const isTokenExpired = this.isExpired(); 28 | 29 | return ( 30 | 33 | !isTokenExpired && isUserAuthenticated ? ( 34 | 35 | ) : ( 36 | 37 | ) 38 | } 39 | /> 40 | ); 41 | } 42 | // #endregion 43 | 44 | // #region check user is authenticated (token and userId) 45 | isAuthenticated() { 46 | const checkUserHasId = user => user && user.id; 47 | const user = auth.getUserInfo() ? auth.getUserInfo() : null; 48 | const isAuthenticated = 49 | auth.getToken() && checkUserHasId(user) ? true : false; 50 | return isAuthenticated; 51 | } 52 | // #endregion 53 | 54 | // #region check token is not expired 55 | isExpired() { 56 | // comment me: 57 | console.log( 58 | 'token expires: ', 59 | auth.getTokenExpirationDate(auth.getToken()), 60 | ); 61 | 62 | return auth.isExpiredToken(auth.getToken()); 63 | } 64 | // #endregion 65 | } 66 | 67 | export default withRouter(PrivateRoute); 68 | -------------------------------------------------------------------------------- /src/front/components/privateRoute/__tests__/PrivateRoute.test.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import React from 'react'; 5 | import renderer from 'react-test-renderer'; // needed both for snpashot testing but also to prevent errors from enzyme 6 | import { Route, Switch } from 'react-router-dom'; 7 | import { MemoryRouter } from 'react-router'; 8 | import PrivateRoute from '../PrivateRoute'; 9 | // #endregion 10 | 11 | describe('PrivateRoute component', () => { 12 | it('renders as expected', () => { 13 | const props = { 14 | location: '/', 15 | component: () =>

Inner component

, 16 | }; 17 | 18 | const component = renderer 19 | .create( 20 | 21 | 22 |

Home

} /> 23 |

Login

} /> 24 | 25 |
26 |
, 27 | ) 28 | .toJSON(); 29 | expect(component).toMatchSnapshot(); 30 | }); 31 | }); 32 | -------------------------------------------------------------------------------- /src/front/components/privateRoute/__tests__/__snapshots__/PrivateRoute.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`PrivateRoute component renders as expected 1`] = ` 4 |

5 | Home 6 |

7 | `; 8 | -------------------------------------------------------------------------------- /src/front/components/scrollToTop/ScrollToTop.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import React, { Component } from 'react'; 5 | import { withRouter } from 'react-router'; 6 | import { type RouterProps } from '../../types/react-router'; 7 | // #endregion 8 | 9 | // #region flow types 10 | type Props = { 11 | children: any, 12 | ...any, 13 | } & RouterProps; 14 | 15 | type State = any; 16 | // #endregion 17 | 18 | class ScrollToTop extends Component { 19 | componentDidUpdate(prevProps) { 20 | if (window) { 21 | const { location: prevLocation } = prevProps; 22 | const { location: nextLocation } = this.props; 23 | 24 | if (prevLocation !== nextLocation) { 25 | window.scrollTo(0, 0); 26 | } 27 | } 28 | } 29 | 30 | render() { 31 | const { children } = this.props; 32 | return
{children}
; 33 | } 34 | } 35 | 36 | export default withRouter(ScrollToTop); 37 | -------------------------------------------------------------------------------- /src/front/components/scrollToTop/__tests__/ScrollToTop.test.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import React from 'react'; 5 | import renderer from 'react-test-renderer'; // needed both for snpashot testing but also to prevent errors from enzyme 6 | import { MemoryRouter } from 'react-router'; 7 | import ScrollToTop from '../ScrollToTop'; 8 | // #endregion 9 | 10 | describe('ScrollToTop component', () => { 11 | it('renders as expected', () => { 12 | const component = renderer 13 | .create( 14 |
15 | 16 | 17 |

a child

18 |
19 |
20 |
, 21 | ) 22 | .toJSON(); 23 | expect(component).toMatchSnapshot(); 24 | }); 25 | }); 26 | -------------------------------------------------------------------------------- /src/front/components/scrollToTop/__tests__/__snapshots__/ScrollToTop.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`ScrollToTop component renders as expected 1`] = ` 4 |
5 |
6 |

7 | a child 8 |

9 |
10 |
11 | `; 12 | -------------------------------------------------------------------------------- /src/front/config/index.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | export const appConfig = { 4 | DEV_MODE: true, // flag to fetch mock or real fetch 5 | 6 | api: { 7 | fakeEndPoint: 'api/somewhere', 8 | }, 9 | }; 10 | 11 | export default appConfig; 12 | -------------------------------------------------------------------------------- /src/front/config/navigation.json: -------------------------------------------------------------------------------- 1 | { 2 | "brand": "React Redux Bootstrap Starter", 3 | "sideLinks": [ 4 | { 5 | "label": "Home", 6 | "icon": "home", 7 | "link": "/" 8 | }, 9 | { 10 | "label": "Protected", 11 | "icon": "lock", 12 | "link": "/protected" 13 | }, 14 | { 15 | "label": "About", 16 | "icon": "info-circle-o", 17 | "link": "/about" 18 | }, 19 | { 20 | "label": "Disconnect", 21 | "icon": "logout", 22 | "link": "/login" 23 | } 24 | ], 25 | "leftLinks": [], 26 | "rightLinks": [ 27 | { 28 | "label": "Home", 29 | "icon": "home", 30 | "link": "/" 31 | }, 32 | { 33 | "label": "Protected", 34 | "icon": "lock", 35 | "link": "/protected" 36 | }, 37 | { 38 | "label": "About", 39 | "icon": "info", 40 | "link": "/about" 41 | }, 42 | { 43 | "label": "Disconnect", 44 | "icon": "signout", 45 | "link": "/login" 46 | } 47 | ] 48 | } 49 | -------------------------------------------------------------------------------- /src/front/config/theme.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | export const theme = {}; 4 | 5 | export default theme; 6 | -------------------------------------------------------------------------------- /src/front/index.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import 'babel-polyfill'; // NOTE: REALLY important to avoid "regeneratorRuntime is not defined" 5 | import React from 'react'; 6 | import { hydrate, render } from 'react-dom'; 7 | import injectTpEventPlugin from 'react-tap-event-plugin'; 8 | import { AppContainer } from 'react-hot-loader'; 9 | import smoothScrollPolyfill from 'smoothscroll-polyfill'; 10 | import { loadComponents, getState } from 'loadable-components'; 11 | import injectGlobalStyle from './style/injectGlobalStyles'; 12 | import Root from './Root'; 13 | // #endregion 14 | 15 | // #region constants 16 | const ELEMENT_TO_BOOTSTRAP = 'root'; 17 | const bootstrapedElement: any = document.getElementById(ELEMENT_TO_BOOTSTRAP); 18 | // #endregion 19 | 20 | // #region globals (styles, polyfill ...) 21 | // #region smoothscroll polyfill 22 | smoothScrollPolyfill.polyfill(); 23 | // force polyfill (even if browser partially implements it) 24 | window.__forceSmoothScrollPolyfill__ = true; 25 | // #endregion 26 | window.snapSaveState = () => getState(); 27 | 28 | injectGlobalStyle(); 29 | injectTpEventPlugin(); 30 | // #endregion 31 | 32 | // #region render (with hot reload if dev) 33 | const renderApp = RootComponent => { 34 | const Application = () => ( 35 | 36 | 37 | 38 | ); 39 | 40 | // needed for react-snap: 41 | if (bootstrapedElement.hasChildNodes()) { 42 | // avoid 1st load flickering due to async component loading: 43 | loadComponents().then(() => { 44 | hydrate(, bootstrapedElement); 45 | }); 46 | } else { 47 | render(, bootstrapedElement); 48 | } 49 | }; 50 | 51 | renderApp(Root); 52 | 53 | if (module.hot) { 54 | module.hot.accept('./Root', () => { 55 | const RootComponent = require('./Root').default; 56 | renderApp(RootComponent); 57 | }); 58 | } 59 | // #endregion 60 | -------------------------------------------------------------------------------- /src/front/layout/mainLayout/__tests__/MainLayout.test.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import React from 'react'; 5 | import renderer from 'react-test-renderer'; // needed both for snpashot testing but also to prevent errors from enzyme 6 | import { MemoryRouter } from 'react-router'; 7 | import MainLayout from '../MainLayout'; 8 | import navigationModel from '../../../config/navigation.json'; 9 | // #endregion 10 | 11 | // #region jest mocks 12 | jest.mock('../../../routes/routes', () => ({ 13 | Home: () =>

home

, 14 | About: () =>

home

, 15 | Protected: () =>

home

, 16 | PrivateRoute: () =>

home

, 17 | })); 18 | // #endregion 19 | 20 | describe('MainLayout component', () => { 21 | const props = { 22 | navModel: navigationModel, 23 | selectedSidemenu: ['/'], 24 | }; 25 | 26 | it('renders as expected', () => { 27 | const component = renderer 28 | .create( 29 |
30 | 31 | 32 | 33 |
, 34 | ) 35 | .toJSON(); 36 | expect(component).toMatchSnapshot(); 37 | }); 38 | }); 39 | -------------------------------------------------------------------------------- /src/front/layout/mainLayout/index.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import { connect } from 'react-redux'; 5 | import { bindActionCreators } from 'redux'; 6 | import compose from 'recompose/compose'; 7 | import { withRouter } from 'react-router'; 8 | import MainLayout from './MainLayout'; 9 | // #endregion 10 | 11 | // #region redux map state and dispatch to props 12 | const mapStateToProps = state => { 13 | return {}; 14 | }; 15 | 16 | const mapDispatchToProps = dispatch => { 17 | return bindActionCreators({}, dispatch); 18 | }; 19 | // #endregion 20 | 21 | export default compose( 22 | connect( 23 | mapStateToProps, 24 | mapDispatchToProps, 25 | ), 26 | withRouter, 27 | )(MainLayout); 28 | -------------------------------------------------------------------------------- /src/front/layout/mainLayout/styled/SideMenuLogo.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import styled from 'styled-components'; 5 | // #endregion 6 | 7 | const SideMenuLogo = styled.div` 8 | height: 64px; 9 | `; 10 | 11 | export default SideMenuLogo; 12 | -------------------------------------------------------------------------------- /src/front/layout/mainLayout/styled/StyledLayout.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import styled from 'styled-components'; 5 | import { Layout } from 'antd'; 6 | // #endregion 7 | 8 | const StyledLayout = styled(Layout)` 9 | height: 100vh; 10 | `; 11 | 12 | export default StyledLayout; 13 | -------------------------------------------------------------------------------- /src/front/mock/fakeAPI.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "id": 1, 4 | "label": "item 1" 5 | }, 6 | { 7 | "id": 2, 8 | "label": "item 2" 9 | } 10 | ] 11 | -------------------------------------------------------------------------------- /src/front/mock/userInfosMock.json: -------------------------------------------------------------------------------- 1 | { 2 | "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJkZW1vIiwiaWF0IjoxNTAyMzA3MzU0LCJleHAiOjE3MjMyMzIxNTQsImF1ZCI6ImRlbW8tZGVtbyIsInN1YiI6ImRlbW8iLCJHaXZlbk5hbWUiOiJKb2huIiwiU3VybmFtZSI6IkRvZSIsIkVtYWlsIjoiam9obi5kb2VAZXhhbXBsZS5jb20iLCJSb2xlIjpbIlN1cGVyIGNvb2wgZGV2IiwibWFnaWMgbWFrZXIiXX0.6FjgLCypaqmRp4tDjg_idVKIzQw16e-z_rjA3R94IqQ", 3 | "user": { 4 | "id": 111, 5 | "login": "john.doe@fake.mail", 6 | "firstname": "John", 7 | "lastname": "Doe", 8 | "isAdmin": true 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/front/pages/about/About.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import React, { PureComponent } from 'react'; 5 | import { type RouterProps } from '../../types/react-router'; 6 | import AnimatedView from '../../components/animatedView/AnimatedView'; 7 | // #endregion 8 | 9 | // #region flow types 10 | export type Props = { ...any } & RouterProps; 11 | export type State = { ...any }; 12 | // #endregion 13 | 14 | class About extends PureComponent { 15 | // #region life cycle 16 | render() { 17 | return ( 18 | 19 |

About

20 |
21 | ); 22 | } 23 | // #endregion 24 | } 25 | 26 | export default About; 27 | -------------------------------------------------------------------------------- /src/front/pages/about/__tests__/About.test.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import React from 'react'; 5 | import renderer from 'react-test-renderer'; // needed both for snpashot testing but also to prevent errors from enzyme 6 | import { MemoryRouter } from 'react-router'; 7 | import About from '../About'; 8 | // #endregion 9 | 10 | describe('About page', () => { 11 | it('renders as expected', () => { 12 | const props = {}; 13 | const component = renderer 14 | .create( 15 |
16 | 17 | 18 | 19 |
, 20 | ) 21 | .toJSON(); 22 | expect(component).toMatchSnapshot(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/front/pages/about/__tests__/__snapshots__/About.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`About page renders as expected 1`] = ` 4 |
5 |
8 |

9 | About 10 |

11 |
12 |
13 | `; 14 | -------------------------------------------------------------------------------- /src/front/pages/about/index.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import { connect } from 'react-redux'; 5 | import { bindActionCreators } from 'redux'; 6 | import compose from 'recompose/compose'; 7 | import About from './About'; 8 | // #endregion 9 | 10 | // #region redux map state and dispatch to props 11 | const mapStateToProps = state => { 12 | return {}; 13 | }; 14 | 15 | const mapDispatchToProps = dispatch => { 16 | return bindActionCreators({}, dispatch); 17 | }; 18 | // #endregion 19 | 20 | export default compose( 21 | connect( 22 | mapStateToProps, 23 | mapDispatchToProps, 24 | ), 25 | )(About); 26 | -------------------------------------------------------------------------------- /src/front/pages/home/Home.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #reigon imports 4 | import React, { PureComponent } from 'react'; 5 | import { Button, Icon } from 'antd'; 6 | import AnimatedView from '../../components/animatedView/AnimatedView'; 7 | import { type RouterProps } from '../../types/react-router'; 8 | // #endregion 9 | 10 | // #region flow types 11 | export type Props = { ...any } & RouterProps; 12 | export type State = { ...any }; 13 | // #endregion 14 | 15 | class Home extends PureComponent { 16 | // #region lifecycle 17 | render() { 18 | return ( 19 | 20 |
21 |

ReactJS 16 + Redux + Ant Design

22 |

with Hot Reload!!!

23 |

and React Router v4

24 |

and webpack 4.x

25 |

Starter

26 |

27 | 31 |

32 |
33 |
34 | ); 35 | } 36 | // #endregion 37 | 38 | // #region on about button click 39 | handlesOnGoAbout = (event: SyntheticEvent<>): void => { 40 | if (event) { 41 | event.preventDefault(); 42 | } 43 | 44 | const { history } = this.props; 45 | history.push('/about'); 46 | }; 47 | // #endregion 48 | } 49 | 50 | export default Home; 51 | -------------------------------------------------------------------------------- /src/front/pages/home/__tests__/Home.test.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import React from 'react'; 5 | import renderer from 'react-test-renderer'; // needed both for snpashot testing but also to prevent errors from enzyme 6 | import { MemoryRouter } from 'react-router'; 7 | import Home from '../Home'; 8 | // #endregion 9 | 10 | // NOTE: react-test-renderer won't work if component uses ref (like antd Button and Icon) 11 | // ONLY solution: mock these components 12 | jest.mock('antd/lib/button', () => () => ); 13 | jest.mock('antd/lib/icon', () => icon); 14 | 15 | describe('Home page', () => { 16 | it('renders as expected', () => { 17 | const props = { 18 | history: { 19 | push: () => {}, 20 | }, 21 | }; 22 | const component = renderer 23 | .create( 24 |
25 | 26 | 27 | 28 |
, 29 | ) 30 | .toJSON(); 31 | expect(component).toMatchSnapshot(); 32 | }); 33 | }); 34 | -------------------------------------------------------------------------------- /src/front/pages/home/__tests__/__snapshots__/Home.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`Home page renders as expected 1`] = ` 4 |
5 |
8 |
9 |

10 | ReactJS 16 + Redux + Ant Design 11 |

12 |

13 | with Hot Reload!!! 14 |

15 |

16 | and React Router v4 17 |

18 |

19 | and webpack 4.x 20 |

21 |

22 | Starter 23 |

24 |

25 | 28 |

29 |
30 |
31 |
32 | `; 33 | -------------------------------------------------------------------------------- /src/front/pages/home/index.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import { connect } from 'react-redux'; 5 | import { bindActionCreators } from 'redux'; 6 | import compose from 'recompose/compose'; 7 | import Home from './Home'; 8 | // #endregion 9 | 10 | // #region redux map state and dispatch to props 11 | const mapStateToProps = state => { 12 | return {}; 13 | }; 14 | 15 | const mapDispatchToProps = dispatch => { 16 | return bindActionCreators({}, dispatch); 17 | }; 18 | // #endregion 19 | 20 | export default compose( 21 | connect( 22 | mapStateToProps, 23 | mapDispatchToProps, 24 | ), 25 | )(Home); 26 | -------------------------------------------------------------------------------- /src/front/pages/login/__tests__/Login.test.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import React from 'react'; 5 | import renderer from 'react-test-renderer'; // needed both for snpashot testing but also to prevent errors from enzyme 6 | import { MemoryRouter } from 'react-router'; 7 | import Login from '../Login'; 8 | // #endregion 9 | 10 | // NOTE: react-test-renderer won't work if component uses ref (like antd Button and Icon) 11 | // ONLY solution: mock these components 12 | jest.mock('antd/lib/button', () => () => ); 13 | jest.mock('antd/lib/icon', () => icon); 14 | jest.mock('antd/lib/input', () => ); 15 | jest.mock('antd/lib/layout', ({ children }) =>
{children}
); 16 | 17 | describe('Login page', () => { 18 | it('renders as expected', () => { 19 | const props = {}; 20 | const component = renderer 21 | .create( 22 |
23 | 24 | 25 | 26 |
, 27 | ) 28 | .toJSON(); 29 | expect(component).toMatchSnapshot(); 30 | }); 31 | }); 32 | -------------------------------------------------------------------------------- /src/front/pages/login/index.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | import { bindActionCreators } from 'redux'; 4 | import { connect } from 'react-redux'; 5 | import compose from 'recompose/compose'; 6 | import * as userAuthActions from '../../redux/modules/userAuth'; 7 | import Login from './Login'; 8 | 9 | const mapStateToProps = state => { 10 | return { 11 | isAuthenticated: state.userAuth.isAuthenticated, 12 | isFetching: state.userAuth.isFetching, 13 | isLogging: state.userAuth.isLogging, 14 | }; 15 | }; 16 | 17 | const mapDispatchToProps = dispatch => { 18 | return bindActionCreators( 19 | { 20 | ...userAuthActions, 21 | }, 22 | dispatch, 23 | ); 24 | }; 25 | 26 | export default compose( 27 | connect( 28 | mapStateToProps, 29 | mapDispatchToProps, 30 | ), 31 | )(Login); 32 | -------------------------------------------------------------------------------- /src/front/pages/login/styled/LoginForm.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import styled from 'styled-components'; 5 | import { Row } from 'antd'; 6 | // #endregion 7 | 8 | const LoginForm = styled(Row)` 9 | margin-top: 60px; 10 | `; 11 | 12 | export default LoginForm; 13 | -------------------------------------------------------------------------------- /src/front/pages/login/styled/LoginIcon.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import styled from 'styled-components'; 5 | // #endregion 6 | 7 | const LoginIcon = styled.div` 8 | text-align: center; 9 | `; 10 | 11 | export default LoginIcon; 12 | -------------------------------------------------------------------------------- /src/front/pages/pageNotFound/PageNotFound.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import React, { PureComponent } from 'react'; 5 | import AnimatedView from '../../components/animatedView/AnimatedView'; 6 | import { type RouterProps } from '../../types/react-router'; 7 | // #endregion 8 | 9 | // #region flow types 10 | export type Props = { ...any } & RouterProps; 11 | export type State = { ...any }; 12 | // #endregion 13 | 14 | class PageNotFound extends PureComponent { 15 | // #region lifecycle 16 | render() { 17 | return ( 18 | 19 |
20 |

Sorry this page does not exists...

21 |
22 |
23 | ); 24 | } 25 | // #endregion 26 | } 27 | 28 | export default PageNotFound; 29 | -------------------------------------------------------------------------------- /src/front/pages/pageNotFound/__tests__/PageNotFound.test.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import React from 'react'; 5 | import renderer from 'react-test-renderer'; // needed both for snpashot testing but also to prevent errors from enzyme 6 | import { MemoryRouter } from 'react-router'; 7 | import PageNotFound from '../PageNotFound'; 8 | // #endregion 9 | 10 | describe('PageNotFound page', () => { 11 | it('renders as expected', () => { 12 | const props = {}; 13 | const component = renderer 14 | .create( 15 |
16 | 17 | 18 | 19 |
, 20 | ) 21 | .toJSON(); 22 | expect(component).toMatchSnapshot(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/front/pages/pageNotFound/__tests__/__snapshots__/PageNotFound.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`PageNotFound page renders as expected 1`] = ` 4 |
5 |
8 |
9 |

10 | Sorry this page does not exists... 11 |

12 |
13 |
14 |
15 | `; 16 | -------------------------------------------------------------------------------- /src/front/pages/pageNotFound/index.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import { connect } from 'react-redux'; 5 | import { bindActionCreators } from 'redux'; 6 | import compose from 'recompose/compose'; 7 | import PageNotFound from './PageNotFound'; 8 | // #endregion 9 | 10 | // #region redux map state and dispatch to props 11 | const mapStateToProps = state => { 12 | return {}; 13 | }; 14 | 15 | const mapDispatchToProps = dispatch => { 16 | return bindActionCreators({}, dispatch); 17 | }; 18 | // #endregion 19 | 20 | export default compose( 21 | connect( 22 | mapStateToProps, 23 | mapDispatchToProps, 24 | ), 25 | )(PageNotFound); 26 | -------------------------------------------------------------------------------- /src/front/pages/protected/Protected.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #reigon imports 4 | import React, { PureComponent } from 'react'; 5 | import AnimatedView from '../../components/animatedView/AnimatedView'; 6 | import { type RouterProps } from '../../types/react-router'; 7 | // #endregion 8 | 9 | // #region flow types 10 | export type Props = { ...any } & RouterProps; 11 | export type State = { ...any }; 12 | // #endregion 13 | 14 | class Protected extends PureComponent { 15 | // #region lifecycle 16 | render() { 17 | return ( 18 | 19 |

Protected view

20 |

If you can read, it means you are authenticated

21 |
22 | ); 23 | } 24 | // #endregion 25 | } 26 | 27 | export default Protected; 28 | -------------------------------------------------------------------------------- /src/front/pages/protected/__tests__/Protected.test.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import React from 'react'; 5 | import renderer from 'react-test-renderer'; // needed both for snpashot testing but also to prevent errors from enzyme 6 | import { MemoryRouter } from 'react-router'; 7 | import Protected from '../Protected'; 8 | // #endregion 9 | 10 | describe('Protected page', () => { 11 | it('renders as expected', () => { 12 | const props = { 13 | match: {}, 14 | location: {}, 15 | history: {}, 16 | }; 17 | const component = renderer 18 | .create( 19 |
20 | 21 | 22 | 23 |
, 24 | ) 25 | .toJSON(); 26 | expect(component).toMatchSnapshot(); 27 | }); 28 | }); 29 | -------------------------------------------------------------------------------- /src/front/pages/protected/__tests__/__snapshots__/Protected.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`Protected page renders as expected 1`] = ` 4 |
5 |
8 |

9 | Protected view 10 |

11 |

12 | If you can read, it means you are authenticated 13 |

14 |
15 |
16 | `; 17 | -------------------------------------------------------------------------------- /src/front/pages/protected/index.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import { connect } from 'react-redux'; 5 | import { bindActionCreators } from 'redux'; 6 | import compose from 'recompose/compose'; 7 | import Protected from './Protected'; 8 | // #endregion 9 | 10 | // #region redux map state and dispatch to props 11 | const mapStateToProps = state => { 12 | return {}; 13 | }; 14 | 15 | const mapDispatchToProps = dispatch => { 16 | return bindActionCreators({}, dispatch); 17 | }; 18 | // #endregion 19 | 20 | export default compose( 21 | connect( 22 | mapStateToProps, 23 | mapDispatchToProps, 24 | ), 25 | )(Protected); 26 | -------------------------------------------------------------------------------- /src/front/redux/modules/reducers.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region immports 4 | import { combineReducers } from 'redux'; 5 | import userAuth from './userAuth'; 6 | // #endregion 7 | 8 | export const reducers = { 9 | userAuth, 10 | }; 11 | 12 | export default combineReducers({ 13 | ...reducers, 14 | }); 15 | -------------------------------------------------------------------------------- /src/front/redux/store/configureStore.dev.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import { createStore, applyMiddleware } from 'redux'; 5 | import { createLogger } from 'redux-logger'; 6 | import thunkMiddleware from 'redux-thunk'; 7 | import { connectRouter, routerMiddleware } from 'connected-react-router'; 8 | import { composeWithDevTools } from 'redux-devtools-extension'; 9 | import createHistory from 'history/createBrowserHistory'; 10 | import reducer from '../modules/reducers'; 11 | import fetchMiddleware from '../middleware/fetchMiddleware'; 12 | // #endregion 13 | 14 | // #region constants 15 | const loggerMiddleware = createLogger({ 16 | level: 'info', 17 | collapsed: true, 18 | }); 19 | 20 | export const history = createHistory(); 21 | 22 | // createStore : enhancer 23 | const enhancer = composeWithDevTools( 24 | applyMiddleware( 25 | thunkMiddleware, 26 | routerMiddleware(history), 27 | fetchMiddleware, 28 | loggerMiddleware, // logger at the end 29 | ), 30 | ); 31 | // #endregion 32 | 33 | export default function configureStore(initialState: any) { 34 | const store = createStore( 35 | connectRouter(history)(reducer), 36 | initialState, 37 | enhancer, 38 | ); 39 | 40 | if (module.hot) { 41 | module.hot.accept('../modules/reducers', () => 42 | store.replaceReducer(require('../modules/reducers').default), 43 | ); 44 | } 45 | return store; 46 | } 47 | -------------------------------------------------------------------------------- /src/front/redux/store/configureStore.js: -------------------------------------------------------------------------------- 1 | /* eslint no-process-env:0 */ 2 | if (process.env.NODE_ENV === 'production') { 3 | module.exports = require('./configureStore.prod'); 4 | } else { 5 | module.exports = require('./configureStore.dev'); 6 | } 7 | -------------------------------------------------------------------------------- /src/front/redux/store/configureStore.prod.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import { createStore, applyMiddleware } from 'redux'; 5 | import thunkMiddleware from 'redux-thunk'; 6 | import { composeWithDevTools } from 'redux-devtools-extension'; 7 | import { connectRouter, routerMiddleware } from 'connected-react-router'; 8 | import createHistory from 'history/createBrowserHistory'; 9 | import reducer from '../modules/reducers'; 10 | import fetchMiddleware from '../middleware/fetchMiddleware'; 11 | // #endregion 12 | 13 | // #region constants 14 | export const history = createHistory(); 15 | 16 | // createStore : enhancer 17 | const enhancer = composeWithDevTools( 18 | applyMiddleware(thunkMiddleware, fetchMiddleware, routerMiddleware(history)), 19 | ); 20 | // #endregion 21 | 22 | export default function configureStore(initialState: any) { 23 | return createStore(connectRouter(history)(reducer), initialState, enhancer); 24 | } 25 | -------------------------------------------------------------------------------- /src/front/routes/MainRoutes.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import React from 'react'; 5 | import { Route, Switch } from 'react-router'; 6 | import { Home, About, Protected, PrivateRoute } from './routes'; 7 | // #endregion 8 | 9 | const MainRoutes = () => { 10 | return ( 11 | 12 | 13 | 14 | {/* private views: need user to be authenticated */} 15 | 16 | 17 | ); 18 | }; 19 | 20 | export default MainRoutes; 21 | -------------------------------------------------------------------------------- /src/front/routes/routes.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import loadable from 'loadable-components'; 5 | // #endregion 6 | 7 | export const Home = loadable(() => import('../pages/home')); 8 | export const About = loadable(() => import('../pages/about')); 9 | export const Protected = loadable(() => import('../pages/protected')); 10 | export const Login = loadable(() => import('../pages/login')); 11 | export const PageNotFound = loadable(() => import('../pages/pageNotFound')); 12 | export const PrivateRoute = loadable(() => 13 | import('../components/privateRoute/PrivateRoute'), 14 | ); 15 | -------------------------------------------------------------------------------- /src/front/services/API/example.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import axios from 'axios'; 5 | import { 6 | getMethod, 7 | jsonHeader, 8 | defaultOptions, 9 | getLocationOrigin, 10 | } from './fetchTools'; 11 | // #endregion 12 | 13 | export const getSomething = ( 14 | endpoint = 'api/getSomethingByDefault', 15 | ): Promise => { 16 | const method = getMethod.method; 17 | const headers = jsonHeader; 18 | const url = `${getLocationOrigin()}/${endpoint}`; 19 | const options = { ...defaultOptions }; 20 | 21 | return axios 22 | .request({ 23 | method, 24 | url, 25 | withCredentials: true, 26 | ...headers, 27 | ...options, 28 | }) 29 | .then(data => data) 30 | .catch(error => Promise.reject(error)); 31 | }; 32 | -------------------------------------------------------------------------------- /src/front/services/API/fetchTools.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import { Base64 } from 'js-base64'; 5 | // #endregion 6 | 7 | // #region window.location.origin polyfill 8 | export const getLocationOrigin = (): string => { 9 | if (!window.location.origin) { 10 | window.location.origin = `${window.location.protocol}//${ 11 | window.location.hostname 12 | }${window.location.port ? ':' + window.location.port : ''}`; 13 | } 14 | return window.location.origin; 15 | }; 16 | // #endregion 17 | 18 | // #region query options: 19 | export const getMethod = { 20 | method: 'get', 21 | }; 22 | 23 | export const postMethod = { 24 | method: 'post', 25 | }; 26 | 27 | export const defaultOptions = { 28 | credentials: 'same-origin', 29 | }; 30 | 31 | export const jsonHeader = { 32 | headers: { 33 | Accept: 'application/json', 34 | 'Content-Type': 'application/json', 35 | // 'Access-control-Allow-Origin': '*' 36 | }, 37 | }; 38 | // #endregion 39 | 40 | // #region general helpers 41 | export const encodeBase64 = (stringToEncode: string = ''): string => { 42 | return Base64.encode(stringToEncode); 43 | }; 44 | // #endregion 45 | -------------------------------------------------------------------------------- /src/front/services/getLocationOrigin/index.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | export const getLocationOrigin = (): string => { 4 | if (!window.location.origin) { 5 | window.location.origin = `${window.location.protocol}//${ 6 | window.location.hostname 7 | }${window.location.port ? ':' + window.location.port : ''}`; 8 | } 9 | return window.location.origin; 10 | }; 11 | 12 | export default getLocationOrigin; 13 | -------------------------------------------------------------------------------- /src/front/services/sw/registerServiceWorker.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import appConfig from '../../config/appConfig'; 5 | // #endregion 6 | 7 | // #region constants 8 | const { path: swPath } = appConfig.sw; 9 | // #endregion 10 | 11 | function registerServiceWorker(): void { 12 | if (typeof window !== undefined) { 13 | if ('serviceWorker' in navigator) { 14 | window.addEventListener('load', () => { 15 | // $FlowIgnore 16 | navigator.serviceWorker 17 | .register(swPath) 18 | .then(registration => { 19 | console.log('SW registered: ', registration); 20 | }) 21 | .catch(registrationError => { 22 | console.log('SW registration failed: ', registrationError); 23 | }); 24 | }); 25 | } 26 | } 27 | } 28 | 29 | export default registerServiceWorker; 30 | -------------------------------------------------------------------------------- /src/front/statics/index-raw.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ReactJS Ant Design Starter 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/front/statics/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ReactJS Ant Design Starter 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/front/style/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacKentoch/react-redux-antdesign-webpack-starter/648405a3cb73cf1c2a5cd62a5e2a1c1cd8f1c412/src/front/style/.DS_Store -------------------------------------------------------------------------------- /src/front/style/antd-theme-overrides.less: -------------------------------------------------------------------------------- 1 | // ant-default-vars.less 2 | // Available theme variables can be found in 3 | // https://github.com/ant-design/ant-design/blob/master/components/style/themes/default.less 4 | 5 | // ////////////////////////////////////////////////////////////////////////////////////////////// 6 | // NOTE: we are overriding antd vars (mechanics behind: see webpacks files and less-to-js plugin) 7 | // ////////////////////////////////////////////////////////////////////////////////////////////// 8 | 9 | // here we use local antd icons (see antd-iconfont npm package that helps) 10 | @icon-url: "~antd-iconfont/iconfont"; 11 | 12 | // style vars: 13 | @primary-color: #F39C12; 14 | -------------------------------------------------------------------------------- /src/front/style/injectGlobalStyles.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import { injectGlobal } from "styled-components"; 5 | // #endregion 6 | 7 | const injectGlobalStyle = () => injectGlobal` 8 | html, body { 9 | margin: 0; 10 | height: 100%; 11 | -webkit-font-smoothing: antialiased; 12 | } 13 | 14 | * { 15 | box-sizing: border-box; 16 | } 17 | 18 | a { 19 | text-decoration: none; 20 | color: inherit; 21 | &:hover { 22 | text-decoration: none; 23 | } 24 | } 25 | 26 | .invisible { 27 | opacity: 0; 28 | } 29 | 30 | .view-enter { 31 | opacity: 0; 32 | animation-name: fadeIn; 33 | animation-timing-function: ease-in; 34 | animation-duration: 0.7s; 35 | animation-delay: 0s; 36 | animation-fill-mode: both; 37 | } 38 | 39 | @keyframes fadeIn { 40 | from { 41 | opacity: 0; 42 | } 43 | to { 44 | opacity: 1; 45 | transform: none; 46 | } 47 | } 48 | 49 | .card-shadows { 50 | box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12); 51 | } 52 | 53 | .background-cover { 54 | -webkit-background-size: cover; 55 | -moz-background-size: cover; 56 | background-size: cover; 57 | } 58 | `; 59 | 60 | export default injectGlobalStyle; 61 | -------------------------------------------------------------------------------- /src/front/types/antd/formHoc/index.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | export type FormCreateInjectedProps = { 4 | form: { 5 | getFieldDecorator: () => any, 6 | validateFields: () => any, 7 | getFieldValue: () => any, 8 | }, 9 | }; 10 | -------------------------------------------------------------------------------- /src/front/types/react-router/index.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import { 5 | type Match, 6 | type Location, 7 | type RouterHistory, 8 | } from 'react-router-dom'; 9 | // #endregion 10 | 11 | export type RouterProps = { 12 | match: Match, 13 | location: Location, 14 | history: RouterHistory, 15 | }; 16 | -------------------------------------------------------------------------------- /src/front/types/redux/redux-thunk/index.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | export type PromiseAction = Promise; 4 | 5 | export type ThunkAction = ( 6 | dispatch: Dispatch, 7 | getState: GetState, 8 | ) => any; 9 | 10 | export type Dispatch = ( 11 | action: Action | ThunkAction | PromiseAction, 12 | ) => any | Promise; 13 | 14 | export type GetState = () => { ...any } & State; 15 | -------------------------------------------------------------------------------- /src/front/types/redux/userAuth/index.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import { type User } from '../../user'; 5 | // #endregion 6 | 7 | export type State = { 8 | // actions details 9 | isFetching: false, 10 | isLogging: false, 11 | actionTime: '', 12 | 13 | isAuthenticated: boolean, 14 | token: string, 15 | id: string, 16 | firstname: string, 17 | lastname: string, 18 | 19 | ...any, 20 | } & User; 21 | 22 | export type UserAuthActions = { 23 | checkUserIsConnected: () => any, 24 | logUserIfNeeded: (email: string, password: string) => Promise, 25 | fetchUserInfoDataIfNeeded: (id: string) => any, 26 | disconnectUser: () => any, 27 | }; 28 | -------------------------------------------------------------------------------- /src/front/types/user/index.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | export type User = { ...any }; 4 | -------------------------------------------------------------------------------- /src/server/config/development.json: -------------------------------------------------------------------------------- 1 | { 2 | "server": { 3 | "port": 8082 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /src/server/config/index.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | const path = require('path'); 4 | const convict = require('convict'); 5 | 6 | const config = convict({ 7 | env: { 8 | doc: 'The application environment', 9 | format: ['development', 'production'], 10 | default: 'development', 11 | env: 'NODE_ENV', 12 | }, 13 | debug: { 14 | doc: 'Global debug toggle', 15 | format: Boolean, 16 | default: false, 17 | env: 'DEBUG', 18 | }, 19 | server: { 20 | host: { 21 | doc: 'The server url', 22 | format: 'url', 23 | default: 'localhost', 24 | env: 'SERVER_HOST', 25 | }, 26 | port: { 27 | doc: 'The server port number', 28 | format: 'port', 29 | default: 3001, 30 | env: 'PORT', 31 | }, 32 | }, 33 | }); 34 | 35 | const env = config.get('env'); 36 | config.loadFile(path.join(__dirname, `./${env}.json`)); 37 | config.validate(); 38 | 39 | module.exports = config; 40 | -------------------------------------------------------------------------------- /src/server/config/production.json: -------------------------------------------------------------------------------- 1 | { 2 | "server": { 3 | "port": 8082 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /src/server/lib/asyncWrap.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | import config from '../../../config'; 5 | // #endregion 6 | 7 | // #region constants 8 | const shouldLogErrors = config.get('debug'); 9 | // #endregino 10 | 11 | /** 12 | * Returns a route handler for Express that calls the passed in function 13 | * @param {Function} fn The asynchronous the route needs to call 14 | * @return {Promise} 15 | */ 16 | 17 | // $FlowIgnore 18 | export default function(fn) { 19 | if (fn.length <= 3) { 20 | // $FlowIgnore 21 | return function(req, res, next) { 22 | return fn(req, res, next).catch(error => { 23 | if (shouldLogErrors) { 24 | console.log('middleware error: ', error); 25 | } 26 | next(); 27 | }); 28 | }; 29 | } else { 30 | // $FlowIgnore 31 | return function(err, req, res, next) { 32 | return fn(err, req, res, next).catch(error => { 33 | if (shouldLogErrors) { 34 | console.log('middleware error: ', error); 35 | } 36 | next(); 37 | }); 38 | }; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/server/lib/expressServer.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | const express = require('express'); 5 | const path = require('path'); 6 | const chalk = require('chalk'); 7 | const { error404, error500 } = require('../middleware/errors'); 8 | const config = require('../config'); 9 | // #endregion 10 | 11 | // #region constants 12 | const DOCS_PATH = '../../../docs/'; 13 | // #endregion 14 | 15 | // $FlowIgnore 16 | const expressServer = (app = null, isDev = false) => { 17 | if (!app) { 18 | console.log('Server application instance is undefined'); 19 | throw new Error('Server application instance is undefined'); 20 | } 21 | 22 | app.set('port', config.get('server.port')); 23 | app.set('ipAdress', config.get('server.host')); 24 | 25 | app.use( 26 | '/assets', 27 | express.static(path.join(__dirname, DOCS_PATH, 'assets/')), 28 | ); 29 | 30 | app.get('/*', (req, res) => 31 | res.sendFile(path.join(__dirname, DOCS_PATH, 'index.html')), 32 | ); 33 | 34 | app.use(error404); 35 | app.use(error500); 36 | 37 | /* eslint-disable no-console */ 38 | app.listen(config.get('server.port'), config.get('server.host'), () => 39 | console.log(` 40 | ===================================================== 41 | -> Server (${chalk.bgBlue('SPA')}) 🏃 (running) on ${chalk.green( 42 | config.get('server.host'), 43 | )}:${chalk.green(config.get('server.port'))} 44 | ===================================================== 45 | `), 46 | ); 47 | /* eslint-enable no-console */ 48 | 49 | return app; 50 | }; 51 | 52 | module.exports = expressServer; 53 | -------------------------------------------------------------------------------- /src/server/middleware/errors.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // $FlowIgnore 4 | exports.error404 = (req, res, next) => { 5 | console.log('req.url: ', req.url); 6 | 7 | const err = new Error('Not found'); 8 | // $FlowIgnore 9 | err.status = 404; 10 | next(err); 11 | }; 12 | 13 | // $FlowIgnore 14 | exports.error500 = (err, req, res, next) => { 15 | if (err.status === 404) { 16 | res.status(404).send('Sorry nothing here for now...'); 17 | } 18 | 19 | console.error(err); 20 | res.status(500).send('internal server error'); 21 | }; 22 | -------------------------------------------------------------------------------- /src/server/server.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // #region imports 4 | const express = require('express'); 5 | const PrettyError = require('pretty-error'); 6 | const expressServer = require('./lib/expressServer'); 7 | const config = require('./config'); 8 | // #endregion 9 | 10 | // #region constants 11 | const dev = config.get('env') !== 'production'; 12 | const pe = new PrettyError(); 13 | // #endregion 14 | 15 | try { 16 | pe.start(); 17 | 18 | const app = express(); 19 | expressServer(app, dev); 20 | } catch (error) { 21 | console.log('server error: ', error); 22 | } 23 | -------------------------------------------------------------------------------- /src/test/__mocks__/fileMock.js: -------------------------------------------------------------------------------- 1 | export default 'test-file-stub'; 2 | -------------------------------------------------------------------------------- /src/test/setupTests.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | // to avoid: Warning: React depends on requestAnimationFrame. Make sure that you load a polyfill in older browsers. http://fb.me/react-polyfills 4 | require('raf/polyfill'); 5 | require('jest-localstorage-mock'); 6 | 7 | const Enzyme = require('enzyme'); 8 | const EnzymeAdapter = require('enzyme-adapter-react-16'); 9 | 10 | // Setup enzyme's react adapter 11 | Enzyme.configure({ adapter: new EnzymeAdapter() }); 12 | -------------------------------------------------------------------------------- /typings.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react-redux-bootstrap-webpack-starter", 3 | "dependencies": {}, 4 | "globalDependencies": { 5 | "modernizr": "registry:dt/modernizr#3.3.0+20170302103631", 6 | "node": "registry:dt/node#7.0.0+20170322231424", 7 | "popper.js": "registry:dt/popper.js#0.4.0+20161005184000", 8 | "react-router": "registry:dt/react-router#4.0.0+20170323201651", 9 | "react-router-dom": "registry:dt/react-router-dom#4.0.0+20170323201651", 10 | "recompose": "registry:dt/recompose#0.22.0+20170306203754", 11 | "redux": "registry:dt/redux#3.5.2+20160703092728", 12 | "redux-thunk": "registry:dt/redux-thunk#2.1.0+20160703120921" 13 | }, 14 | "globalDevDependencies": { 15 | "jest": "registry:dt/jest#19.2.0+20170312200138", 16 | "less": "registry:dt/less#0.0.0+20161212190028", 17 | "webpack-dev-server": "registry:dt/webpack-dev-server#1.12.1+20170117213337" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /typings/globals/axios/typings.json: -------------------------------------------------------------------------------- 1 | { 2 | "resolution": "main", 3 | "tree": { 4 | "src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/e6215d4444ef44a38cd760817e955ce19b522032/axios/axios.d.ts", 5 | "raw": "registry:dt/axios#0.9.1+20161016142654", 6 | "typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/e6215d4444ef44a38cd760817e955ce19b522032/axios/axios.d.ts" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /typings/globals/classnames/index.d.ts: -------------------------------------------------------------------------------- 1 | // Generated by typings 2 | // Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/cf21303edea9abd919ecdab84698c6ab8513b1c2/classnames/index.d.ts 3 | declare type ClassValue = string | number | ClassDictionary | ClassArray | undefined | null | false; 4 | 5 | interface ClassDictionary { 6 | [id: string]: boolean | undefined | null; 7 | } 8 | 9 | interface ClassArray extends Array { } 10 | 11 | interface ClassNamesFn { 12 | (...classes: ClassValue[]): string; 13 | } 14 | 15 | declare var classNames: ClassNamesFn; 16 | 17 | declare module "classnames" { 18 | export = classNames 19 | } 20 | -------------------------------------------------------------------------------- /typings/globals/classnames/typings.json: -------------------------------------------------------------------------------- 1 | { 2 | "resolution": "main", 3 | "tree": { 4 | "src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/cf21303edea9abd919ecdab84698c6ab8513b1c2/classnames/index.d.ts", 5 | "raw": "registry:dt/classnames#0.0.0+20161113184211", 6 | "typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/cf21303edea9abd919ecdab84698c6ab8513b1c2/classnames/index.d.ts" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /typings/globals/jest/typings.json: -------------------------------------------------------------------------------- 1 | { 2 | "resolution": "main", 3 | "tree": { 4 | "src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/545f81a23a1c4f23ffb9707eeb40973bf5f053fe/jest/index.d.ts", 5 | "raw": "registry:dt/jest#19.2.0+20170312200138", 6 | "typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/545f81a23a1c4f23ffb9707eeb40973bf5f053fe/jest/index.d.ts" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /typings/globals/less/typings.json: -------------------------------------------------------------------------------- 1 | { 2 | "resolution": "main", 3 | "tree": { 4 | "src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/c968762595456c86498fc38c340d2b94acec00fd/less/index.d.ts", 5 | "raw": "registry:dt/less#0.0.0+20161212190028", 6 | "typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/c968762595456c86498fc38c340d2b94acec00fd/less/index.d.ts" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /typings/globals/modernizr/typings.json: -------------------------------------------------------------------------------- 1 | { 2 | "resolution": "main", 3 | "tree": { 4 | "src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/f7ab322332c2a6e3d923402cec1db0811ea753f2/modernizr/index.d.ts", 5 | "raw": "registry:dt/modernizr#3.3.0+20170302103631", 6 | "typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/f7ab322332c2a6e3d923402cec1db0811ea753f2/modernizr/index.d.ts" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /typings/globals/node/typings.json: -------------------------------------------------------------------------------- 1 | { 2 | "resolution": "main", 3 | "tree": { 4 | "src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/a4a912a0cd1849fa7df0e5d909c8625fba04e49d/node/index.d.ts", 5 | "raw": "registry:dt/node#7.0.0+20170322231424", 6 | "typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/a4a912a0cd1849fa7df0e5d909c8625fba04e49d/node/index.d.ts" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /typings/globals/popper.js/index.d.ts: -------------------------------------------------------------------------------- 1 | // Generated by typings 2 | // Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/80060c94ef549c077a011977c2b5461bd0fd8947/popper.js/index.d.ts 3 | declare namespace Popper { 4 | export interface PopperOptions { 5 | placement?: string; 6 | gpuAcceleration?: boolean; 7 | offset?: number; 8 | boundariesElement?: string | Element; 9 | boundariesPadding?: number; 10 | preventOverflowOrder?: ("left" | "right" | "top" | "bottom")[]; 11 | flipBehavior?: string | string[]; 12 | modifiers?: string[]; 13 | modifiersIgnored?: string[]; 14 | removeOnDestroy?: boolean; 15 | arrowElement?: string | Element; 16 | } 17 | export class Modifiers { 18 | applyStyle(data: Object): Object; 19 | shift(data: Object): Object; 20 | preventOverflow(data: Object): Object; 21 | keepTogether(data: Object): Object; 22 | flip(data: Object): Object; 23 | offset(data: Object): Object; 24 | arrow(data: Object): Object; 25 | } 26 | export interface Data { 27 | placement: string; 28 | offsets: { 29 | popper: { 30 | position: string; 31 | top: number; 32 | left: number; 33 | }; 34 | }; 35 | } 36 | } 37 | 38 | declare class Popper { 39 | public modifiers: Popper.Modifiers; 40 | public placement: string; 41 | 42 | constructor(reference: Element, popper: Element | Object, options?: Popper.PopperOptions); 43 | 44 | destroy(): void; 45 | update(): void; 46 | onCreate(cb: (data: Popper.Data) => void): this; 47 | onUpdate(cb: (data: Popper.Data) => void): this; 48 | parse(config: Object): Element; 49 | runModifiers(data: Object, modifiers: string[], ends: Function): void; 50 | isModifierRequired(): boolean; 51 | } 52 | 53 | declare module "popper.js" { 54 | export = Popper; 55 | } 56 | -------------------------------------------------------------------------------- /typings/globals/popper.js/typings.json: -------------------------------------------------------------------------------- 1 | { 2 | "resolution": "main", 3 | "tree": { 4 | "src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/80060c94ef549c077a011977c2b5461bd0fd8947/popper.js/index.d.ts", 5 | "raw": "registry:dt/popper.js#0.4.0+20161005184000", 6 | "typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/80060c94ef549c077a011977c2b5461bd0fd8947/popper.js/index.d.ts" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /typings/globals/react-router-dom/index.d.ts: -------------------------------------------------------------------------------- 1 | // Generated by typings 2 | // Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/984933df7c89afcb97e42adbe37b6df5dd7b253c/react-router-dom/index.d.ts 3 | declare module 'react-router-dom' { 4 | import { 5 | Prompt, 6 | MemoryRouter, 7 | Redirect, 8 | RouteComponentProps, 9 | RouteProps, 10 | Route, 11 | Router, 12 | StaticRouter, 13 | Switch, 14 | match, 15 | matchPath, 16 | withRouter 17 | } from 'react-router'; 18 | import * as React from 'react'; 19 | import * as H from 'history'; 20 | 21 | 22 | interface BrowserRouterProps { 23 | basename?: string; 24 | getUserConfirmation?: () => void; 25 | forceRefresh?: boolean; 26 | keyLength?: number; 27 | } 28 | class BrowserRouter extends React.Component {} 29 | 30 | 31 | interface HashRouterProps { 32 | basename?: string; 33 | getUserConfirmation?: () => void; 34 | hashType?: 'slash' | 'noslash' | 'hashbang'; 35 | } 36 | class HashRouter extends React.Component {} 37 | 38 | 39 | interface LinkProps extends React.HTMLAttributes { 40 | to: H.LocationDescriptor; 41 | replace?: boolean; 42 | } 43 | class Link extends React.Component {} 44 | 45 | 46 | interface NavLinkProps extends LinkProps { 47 | activeClassName?: string; 48 | activeStyle?: React.CSSProperties; 49 | exact?: boolean; 50 | strict?: boolean; 51 | isActive?: (location: H.Location, props: any) => boolean; 52 | } 53 | class NavLink extends React.Component {} 54 | 55 | 56 | export { 57 | BrowserRouter, 58 | HashRouter, 59 | LinkProps, // TypeScript specific, not from React Router itself 60 | Link, 61 | NavLink, 62 | Prompt, 63 | MemoryRouter, 64 | Redirect, 65 | RouteComponentProps, // TypeScript specific, not from React Router itself 66 | RouteProps, // TypeScript specific, not from React Router itself 67 | Route, 68 | Router, 69 | StaticRouter, 70 | Switch, 71 | match, // TypeScript specific, not from React Router itself 72 | matchPath, 73 | withRouter 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /typings/globals/react-router-dom/typings.json: -------------------------------------------------------------------------------- 1 | { 2 | "resolution": "main", 3 | "tree": { 4 | "src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/984933df7c89afcb97e42adbe37b6df5dd7b253c/react-router-dom/index.d.ts", 5 | "raw": "registry:dt/react-router-dom#4.0.0+20170323201651", 6 | "typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/984933df7c89afcb97e42adbe37b6df5dd7b253c/react-router-dom/index.d.ts" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /typings/globals/react-router/typings.json: -------------------------------------------------------------------------------- 1 | { 2 | "resolution": "main", 3 | "tree": { 4 | "src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/984933df7c89afcb97e42adbe37b6df5dd7b253c/react-router/index.d.ts", 5 | "raw": "registry:dt/react-router#4.0.0+20170323201651", 6 | "typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/984933df7c89afcb97e42adbe37b6df5dd7b253c/react-router/index.d.ts" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /typings/globals/recompose/typings.json: -------------------------------------------------------------------------------- 1 | { 2 | "resolution": "main", 3 | "tree": { 4 | "src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/66bd4290746e62eea9af862b46c22756c61e853a/recompose/index.d.ts", 5 | "raw": "registry:dt/recompose#0.22.0+20170306203754", 6 | "typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/66bd4290746e62eea9af862b46c22756c61e853a/recompose/index.d.ts" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /typings/globals/redux-thunk/index.d.ts: -------------------------------------------------------------------------------- 1 | // Generated by typings 2 | // Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/d417f687ab0c81ed72bffbc5dace5f643369bb70/redux-thunk/redux-thunk.d.ts 3 | declare namespace Redux { 4 | type ThunkAction = (dispatch: Dispatch, getState: () => S, extraArgument: E) => R; 5 | 6 | interface Dispatch { 7 | (asyncAction: ThunkAction): R; 8 | } 9 | } 10 | 11 | declare module "redux-thunk" { 12 | import { Middleware } from "redux"; 13 | 14 | const thunk: Middleware & { 15 | withExtraArgument(extraArgument: any): Middleware; 16 | }; 17 | 18 | export default thunk; 19 | } 20 | -------------------------------------------------------------------------------- /typings/globals/redux-thunk/typings.json: -------------------------------------------------------------------------------- 1 | { 2 | "resolution": "main", 3 | "tree": { 4 | "src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/d417f687ab0c81ed72bffbc5dace5f643369bb70/redux-thunk/redux-thunk.d.ts", 5 | "raw": "registry:dt/redux-thunk#2.1.0+20160703120921", 6 | "typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/d417f687ab0c81ed72bffbc5dace5f643369bb70/redux-thunk/redux-thunk.d.ts" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /typings/globals/redux/typings.json: -------------------------------------------------------------------------------- 1 | { 2 | "resolution": "main", 3 | "tree": { 4 | "src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/15ddcf312782faf9e7fdfe724a3a29382a5825d7/redux/redux.d.ts", 5 | "raw": "registry:dt/redux#3.5.2+20160703092728", 6 | "typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/15ddcf312782faf9e7fdfe724a3a29382a5825d7/redux/redux.d.ts" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /typings/globals/webpack-dev-server/index.d.ts: -------------------------------------------------------------------------------- 1 | // Generated by typings 2 | // Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/eef0e1ad4cdcc7fd27783b713a0f78f4f1af582a/webpack-dev-server/index.d.ts 3 | declare module "webpack-dev-server" { 4 | import * as webpack from 'webpack'; 5 | import * as core from 'express-serve-static-core'; 6 | import * as serveStatic from 'serve-static'; 7 | import * as http from 'http'; 8 | 9 | namespace WebpackDevServer { 10 | export interface Configuration { 11 | contentBase?: string; 12 | hot?: boolean; 13 | https?: boolean; 14 | historyApiFallback?: boolean; 15 | compress?: boolean; 16 | proxy?: any; 17 | staticOptions?: any; 18 | quiet?: boolean; 19 | noInfo?: boolean; 20 | lazy?: boolean; 21 | filename?: string| RegExp; 22 | watchOptions?: webpack.WatchOptions; 23 | publicPath: string; 24 | headers?: any; 25 | stats?: webpack.compiler.StatsOptions| webpack.compiler.StatsToStringOptions; 26 | 27 | setup?(app: core.Express): void; 28 | } 29 | 30 | export interface WebpackDevServer { 31 | new ( 32 | webpack: webpack.compiler.Compiler, 33 | config: Configuration 34 | ):WebpackDevServer; 35 | 36 | listen(port: number, 37 | hostname: string, 38 | callback?: Function 39 | ): http.Server; 40 | 41 | listen(port: number, 42 | callback?: Function 43 | ): http.Server; 44 | } 45 | } 46 | var wds: WebpackDevServer.WebpackDevServer; 47 | 48 | export = wds; 49 | } 50 | -------------------------------------------------------------------------------- /typings/globals/webpack-dev-server/typings.json: -------------------------------------------------------------------------------- 1 | { 2 | "resolution": "main", 3 | "tree": { 4 | "src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/eef0e1ad4cdcc7fd27783b713a0f78f4f1af582a/webpack-dev-server/index.d.ts", 5 | "raw": "registry:dt/webpack-dev-server#1.12.1+20170117213337", 6 | "typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/eef0e1ad4cdcc7fd27783b713a0f78f4f1af582a/webpack-dev-server/index.d.ts" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /typings/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | /// 4 | /// 5 | /// 6 | /// 7 | /// 8 | /// 9 | /// 10 | /// 11 | /// 12 | /// 13 | /// 14 | /// 15 | /// 16 | /// 17 | -------------------------------------------------------------------------------- /typings/modules/react-motion/typings.json: -------------------------------------------------------------------------------- 1 | { 2 | "resolution": "main", 3 | "tree": { 4 | "src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/9b5329839558a78550bf078c3e5f323c2f0f3b86/react-motion/index.d.ts", 5 | "raw": "registry:dt/react-motion#0.0.0+20170123203653", 6 | "typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/9b5329839558a78550bf078c3e5f323c2f0f3b86/react-motion/index.d.ts" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /typings/modules/react-redux/typings.json: -------------------------------------------------------------------------------- 1 | { 2 | "resolution": "main", 3 | "tree": { 4 | "src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/2cd144e34366074840e96a48bb99690270775079/react-redux/index.d.ts", 5 | "raw": "registry:dt/react-redux#4.4.0+20170315101812", 6 | "typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/2cd144e34366074840e96a48bb99690270775079/react-redux/index.d.ts" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /typings/modules/react/typings.json: -------------------------------------------------------------------------------- 1 | { 2 | "resolution": "main", 3 | "tree": { 4 | "src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/6ffca66c9d1edfdfa1f42f8d82db59e4297e302b/react/index.d.ts", 5 | "raw": "registry:dt/react#15.0.0+20170324160437", 6 | "typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/6ffca66c9d1edfdfa1f42f8d82db59e4297e302b/react/index.d.ts" 7 | } 8 | } 9 | --------------------------------------------------------------------------------