This commit is contained in:
Your Name
2025-04-18 09:52:27 -04:00
parent f569bb2240
commit 066bb11814
54 changed files with 1714 additions and 469 deletions
+10 -3
View File
@@ -4,9 +4,12 @@
"description": "A customizable new tab page Chrome extension",
"main": "index.js",
"scripts": {
"start": "esbuild src/renderer/index.tsx --bundle --outfile=dist/index.js --sourcemap --watch",
"build": "rm -rf dist && mkdir dist && cp -r public/* dist/ && cp manifest.json dist/ && esbuild src/renderer/index.tsx --bundle --outfile=dist/index.js --minify --sourcemap",
"test": "echo \"Error: no test specified\" && exit 1"
"build": "npm run clean && npm run build-extension && npm run copy-static && npm run build-frontend && npm run build-worker",
"build-extension": "mkdir dist && cp manifest.json dist/ && cp icon.png dist/",
"copy-static": "mkdir dist/frontend && cp -r static/* dist/frontend/",
"build-frontend": "esbuild src/frontend/index.tsx --bundle --outfile=dist/frontend/index.js --minify --sourcemap",
"build-worker": "esbuild src/worker/main.ts --bundle --outfile=dist/worker/main.js --minify --sourcemap",
"clean": "rm -rf ./dist"
},
"author": "",
"license": "ISC",
@@ -19,6 +22,10 @@
"typescript": "^5.6.2"
},
"dependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@mui/icons-material": "^7.0.2",
"@mui/material": "^7.0.2",
"jotai": "^2.12.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",