chore: update dependencies
types: adding flow annotation to all files chore: remove android manifest since its only a desktop app
This commit is contained in:
parent
dc12a120a1
commit
307800a54c
|
@ -1,3 +1,5 @@
|
|||
// @flow
|
||||
|
||||
import React from 'react';
|
||||
import { Provider } from 'react-redux';
|
||||
import { BrowserRouter } from 'react-router-dom';
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// @flow
|
||||
|
||||
export const ADD_TODO = 'ADD_TODO';
|
||||
export const DELETE_TODO = 'DELETE_TODO';
|
||||
export const UPDATE_TODO = 'UPDATE_TODO';
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// @flow
|
||||
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import App from './app';
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// @flow
|
||||
|
||||
import { combineReducers } from 'redux';
|
||||
import todoReducer from './todo';
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// @flow
|
||||
|
||||
import React, { Fragment } from 'react';
|
||||
import { Route, Switch, Link } from 'react-router-dom';
|
||||
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
// @flow
|
||||
|
||||
export const getTimestamp = () => new Date().getTime();
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
// @flow
|
||||
|
||||
import React from 'react';
|
||||
|
||||
export default () => (
|
||||
<div className='about'>
|
||||
<h1 className='about__header'>React Redux Starter</h1>
|
||||
<p>This is a react-redux starter kit for Big Human Engineers.</p>
|
||||
<p>It uses Redux to manage application state and Thunk to support asynchronous actions. Flow is used for static type checking which replaces the prop-types package.</p>
|
||||
About
|
||||
</div>
|
||||
);
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// @flow
|
||||
|
||||
import React from 'react';
|
||||
|
||||
export default () => (
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
"eslint-plugin-jsx-a11y": "^6.0.3",
|
||||
"eslint-plugin-react": "^7.7.0",
|
||||
"file-loader": "^2.0.0",
|
||||
"flow-bin": "^0.85.0",
|
||||
"flow-bin": "^0.86.0",
|
||||
"glow": "^1.2.2",
|
||||
"html-webpack-plugin": "^3.1.0",
|
||||
"node-sass": "^4.8.3",
|
||||
|
|
|
@ -5,13 +5,9 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="theme-color" content="#000000">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
|
||||
<!-- Android Manifest -->
|
||||
<link rel="manifest" href="manifest.json">
|
||||
<link rel="shortcut icon" href="favicon.ico">
|
||||
<!-- End Android Manifest -->
|
||||
|
||||
<title>React Redux Boilerplate</title>
|
||||
<title>Zcash Reference Wallet</title>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"short_name": "React",
|
||||
"name": "React Redux Starter",
|
||||
"icons": [
|
||||
{
|
||||
"src": "favicon.ico",
|
||||
"sizes": "64x64 32x32 24x24 16x16",
|
||||
"type": "image/x-icon"
|
||||
}
|
||||
],
|
||||
"start_url": "./index.html",
|
||||
"display": "standalone",
|
||||
"theme_color": "#000000",
|
||||
"background_color": "#ffffff"
|
||||
}
|
Loading…
Reference in New Issue