added babel and deleted unused files

This commit is contained in:
Carter 2024-10-21 14:49:06 -06:00
parent 2cafe81f12
commit 08f69f81d1
5 changed files with 2 additions and 21 deletions

1
package-lock.json generated
View file

@ -12,6 +12,7 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@babel/types": "^7.25.8",
"@eslint/js": "^9.11.1",
"@types/react": "^18.3.10",
"@types/react-dom": "^18.3.0",

View file

@ -18,6 +18,7 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@babel/types": "^7.25.8",
"@eslint/js": "^9.11.1",
"@types/react": "^18.3.10",
"@types/react-dom": "^18.3.0",

View file

@ -1 +0,0 @@
/// <reference types="react-scripts" />

View file

@ -1,15 +0,0 @@
import { ReportHandler } from 'web-vitals';
const reportWebVitals = (onPerfEntry?: ReportHandler) => {
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;

View file

@ -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';