add IPC
This commit is contained in:
+10
-3
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user