diff --git a/web/cashtab-v2/.gitignore b/web/cashtab-v2/.gitignore deleted file mode 100644 index 4d29575de..000000000 --- a/web/cashtab-v2/.gitignore +++ /dev/null @@ -1,23 +0,0 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -# dependencies -/node_modules -/.pnp -.pnp.js - -# testing -/coverage - -# production -/build - -# misc -.DS_Store -.env.local -.env.development.local -.env.test.local -.env.production.local - -npm-debug.log* -yarn-debug.log* -yarn-error.log* diff --git a/web/cashtab-v2/README.md b/web/cashtab-v2/README.md deleted file mode 100644 index 58beeaccd..000000000 --- a/web/cashtab-v2/README.md +++ /dev/null @@ -1,70 +0,0 @@ -# Getting Started with Create React App - -This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). - -## Available Scripts - -In the project directory, you can run: - -### `npm start` - -Runs the app in the development mode.\ -Open [http://localhost:3000](http://localhost:3000) to view it in your browser. - -The page will reload when you make changes.\ -You may also see any lint errors in the console. - -### `npm test` - -Launches the test runner in the interactive watch mode.\ -See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. - -### `npm run build` - -Builds the app for production to the `build` folder.\ -It correctly bundles React in production mode and optimizes the build for the best performance. - -The build is minified and the filenames include the hashes.\ -Your app is ready to be deployed! - -See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. - -### `npm run eject` - -**Note: this is a one-way operation. Once you `eject`, you can't go back!** - -If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. - -Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own. - -You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it. - -## Learn More - -You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). - -To learn React, check out the [React documentation](https://reactjs.org/). - -### Code Splitting - -This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting) - -### Analyzing the Bundle Size - -This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size) - -### Making a Progressive Web App - -This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app) - -### Advanced Configuration - -This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration) - -### Deployment - -This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment) - -### `npm run build` fails to minify - -This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify) diff --git a/web/cashtab-v2/public/favicon.ico b/web/cashtab-v2/public/favicon.ico deleted file mode 100644 index a11777cc4..000000000 Binary files a/web/cashtab-v2/public/favicon.ico and /dev/null differ diff --git a/web/cashtab-v2/public/index.html b/web/cashtab-v2/public/index.html deleted file mode 100644 index aef934654..000000000 --- a/web/cashtab-v2/public/index.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - React App - - - -
- - diff --git a/web/cashtab-v2/public/logo192.png b/web/cashtab-v2/public/logo192.png deleted file mode 100644 index fc44b0a37..000000000 Binary files a/web/cashtab-v2/public/logo192.png and /dev/null differ diff --git a/web/cashtab-v2/public/logo512.png b/web/cashtab-v2/public/logo512.png deleted file mode 100644 index a4e47a654..000000000 Binary files a/web/cashtab-v2/public/logo512.png and /dev/null differ diff --git a/web/cashtab-v2/public/manifest.json b/web/cashtab-v2/public/manifest.json deleted file mode 100644 index f01493ff0..000000000 --- a/web/cashtab-v2/public/manifest.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "short_name": "React App", - "name": "Create React App Sample", - "icons": [ - { - "src": "favicon.ico", - "sizes": "64x64 32x32 24x24 16x16", - "type": "image/x-icon" - }, - { - "src": "logo192.png", - "type": "image/png", - "sizes": "192x192" - }, - { - "src": "logo512.png", - "type": "image/png", - "sizes": "512x512" - } - ], - "start_url": ".", - "display": "standalone", - "theme_color": "#000000", - "background_color": "#ffffff" -} diff --git a/web/cashtab-v2/public/robots.txt b/web/cashtab-v2/public/robots.txt deleted file mode 100644 index e9e57dc4d..000000000 --- a/web/cashtab-v2/public/robots.txt +++ /dev/null @@ -1,3 +0,0 @@ -# https://www.robotstxt.org/robotstxt.html -User-agent: * -Disallow: diff --git a/web/cashtab-v2/src/App.css b/web/cashtab-v2/src/App.css deleted file mode 100644 index 78b8850cf..000000000 --- a/web/cashtab-v2/src/App.css +++ /dev/null @@ -1,38 +0,0 @@ -.App { - text-align: center; -} - -.App-logo { - height: 40vmin; - pointer-events: none; -} - -@media (prefers-reduced-motion: no-preference) { - .App-logo { - animation: App-logo-spin infinite 20s linear; - } -} - -.App-header { - background-color: #282c34; - min-height: 100vh; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - font-size: calc(10px + 2vmin); - color: white; -} - -.App-link { - color: #61dafb; -} - -@keyframes App-logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} diff --git a/web/cashtab-v2/src/App.js b/web/cashtab-v2/src/App.js deleted file mode 100644 index 5693e4480..000000000 --- a/web/cashtab-v2/src/App.js +++ /dev/null @@ -1,25 +0,0 @@ -import logo from './logo.svg'; -import './App.css'; - -function App() { - return ( -
-
- logo -

- Edit src/App.js and save to reload. -

- - Learn React - -
-
- ); -} - -export default App; diff --git a/web/cashtab-v2/src/App.test.js b/web/cashtab-v2/src/App.test.js deleted file mode 100644 index f0b6a29f7..000000000 --- a/web/cashtab-v2/src/App.test.js +++ /dev/null @@ -1,8 +0,0 @@ -import { render, screen } from '@testing-library/react'; -import App from './App'; - -test('renders learn react link', () => { - render(); - const linkElement = screen.getByText(/learn react/i); - expect(linkElement).toBeInTheDocument(); -}); diff --git a/web/cashtab-v2/src/index.css b/web/cashtab-v2/src/index.css deleted file mode 100644 index 4b326a5a4..000000000 --- a/web/cashtab-v2/src/index.css +++ /dev/null @@ -1,13 +0,0 @@ -body { - margin: 0; - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', - 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', - 'Helvetica Neue', sans-serif; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -code { - font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', - monospace; -} diff --git a/web/cashtab-v2/src/index.js b/web/cashtab-v2/src/index.js deleted file mode 100644 index ae32061f4..000000000 --- a/web/cashtab-v2/src/index.js +++ /dev/null @@ -1,17 +0,0 @@ -import React from 'react'; -import ReactDOM from 'react-dom'; -import './index.css'; -import App from './App'; -import reportWebVitals from './reportWebVitals'; - -ReactDOM.render( - - - , - document.getElementById('root'), -); - -// If you want to start measuring performance in your app, pass a function -// to log results (for example: reportWebVitals(console.log)) -// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals -reportWebVitals(); diff --git a/web/cashtab-v2/src/logo.svg b/web/cashtab-v2/src/logo.svg deleted file mode 100644 index 9dfc1c058..000000000 --- a/web/cashtab-v2/src/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web/cashtab-v2/src/reportWebVitals.js b/web/cashtab-v2/src/reportWebVitals.js deleted file mode 100644 index 4231b45b3..000000000 --- a/web/cashtab-v2/src/reportWebVitals.js +++ /dev/null @@ -1,15 +0,0 @@ -const reportWebVitals = onPerfEntry => { - if (onPerfEntry && onPerfEntry instanceof Function) { - import('web-vitals').then( - ({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { - getCLS(onPerfEntry); - getFID(onPerfEntry); - getFCP(onPerfEntry); - getLCP(onPerfEntry); - getTTFB(onPerfEntry); - }, - ); - } -}; - -export default reportWebVitals; diff --git a/web/cashtab-v2/src/setupTests.js b/web/cashtab-v2/src/setupTests.js deleted file mode 100644 index 8f2609b7b..000000000 --- a/web/cashtab-v2/src/setupTests.js +++ /dev/null @@ -1,5 +0,0 @@ -// jest-dom adds custom jest matchers for asserting on DOM nodes. -// allows you to do things like: -// expect(element).toHaveTextContent(/react/i) -// learn more: https://github.com/testing-library/jest-dom -import '@testing-library/jest-dom';