mirror of
https://github.com/20kaushik02/spotify-manager-web.git
synced 2026-01-25 16:14:06 +00:00
Compare commits
9 Commits
282f1e21a4
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 468bc71a1c | |||
| ad0d033230 | |||
| e0fb52658f | |||
| 57d2cb7379 | |||
| a76560e695 | |||
|
|
0649ee4698 | ||
|
|
bbf1372839 | ||
| 7020d7a872 | |||
|
|
482136b18a |
2236
package-lock.json
generated
2236
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
23
package.json
23
package.json
@@ -10,28 +10,27 @@
|
|||||||
"url": "git+https://github.com/20kaushik02/spotify-manager-web.git"
|
"url": "git+https://github.com/20kaushik02/spotify-manager-web.git"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "Kaushik Ravishankar <rknarayan02@gmail.com>",
|
"author": "Kaushik Ravishankar <hello@knravish.me>",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/20kaushik02/spotify-manager-web/issues"
|
"url": "https://github.com/20kaushik02/spotify-manager-web/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://spotify-manager.knravish.me",
|
"homepage": "https://spotify-manager.knravish.me",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@dagrejs/dagre": "^1.1.4",
|
"@dagrejs/dagre": "^1.1.8",
|
||||||
"@types/react": "^19.1.6",
|
"@xyflow/react": "^12.10.0",
|
||||||
"@types/react-dom": "^19.1.5",
|
"axios": "^1.13.2",
|
||||||
"@xyflow/react": "^12.6.4",
|
"react": "^19.2.3",
|
||||||
"axios": "^1.9.0",
|
"react-dom": "^19.2.3",
|
||||||
"react": "^19.1.0",
|
|
||||||
"react-dom": "^19.1.0",
|
|
||||||
"react-icons": "^5.5.0",
|
"react-icons": "^5.5.0",
|
||||||
"react-router-dom": "^7.6.1",
|
"react-router-dom": "^7.11.0",
|
||||||
"react-toastify": "^11.0.5",
|
"react-toastify": "^11.0.5"
|
||||||
"web-vitals": "^5.0.2"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@types/react": "^19.2.3",
|
||||||
|
"@types/react-dom": "^19.2.3",
|
||||||
"react-scripts": "^5.0.1",
|
"react-scripts": "^5.0.1",
|
||||||
"typescript": "^5.8.3",
|
"typescript": "^5.8.3",
|
||||||
"typescript-plugin-css-modules": "^5.1.0"
|
"typescript-plugin-css-modules": "^5.2.0"
|
||||||
},
|
},
|
||||||
"overrides": {
|
"overrides": {
|
||||||
"react-scripts": {
|
"react-scripts": {
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ import React from "react";
|
|||||||
import ReactDOM from "react-dom/client";
|
import ReactDOM from "react-dom/client";
|
||||||
import "./index.css";
|
import "./index.css";
|
||||||
import App from "./App.tsx";
|
import App from "./App.tsx";
|
||||||
import reportWebVitals from "./reportWebVitals.ts";
|
|
||||||
|
|
||||||
const root = ReactDOM.createRoot(
|
const root = ReactDOM.createRoot(
|
||||||
document.getElementById("root") as HTMLElement
|
document.getElementById("root") as HTMLElement
|
||||||
@@ -12,8 +11,3 @@ root.render(
|
|||||||
<App />
|
<App />
|
||||||
</React.StrictMode>
|
</React.StrictMode>
|
||||||
);
|
);
|
||||||
|
|
||||||
// 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();
|
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
import { type MetricType, onCLS, onFCP, onLCP, onTTFB } from "web-vitals";
|
|
||||||
|
|
||||||
const reportWebVitals = (onPerfEntry?: (metric: MetricType) => void): void => {
|
|
||||||
if (onPerfEntry && onPerfEntry instanceof Function) {
|
|
||||||
onCLS(onPerfEntry);
|
|
||||||
onFCP(onPerfEntry);
|
|
||||||
onLCP(onPerfEntry);
|
|
||||||
onTTFB(onPerfEntry);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
export default reportWebVitals;
|
|
||||||
Reference in New Issue
Block a user