Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
feat: replace redux with zustand / zutron, webpack with electron-vite
Browse files Browse the repository at this point in the history
  • Loading branch information
goosewobbler committed Apr 6, 2024
1 parent a402734 commit 8e10139
Show file tree
Hide file tree
Showing 64 changed files with 3,943 additions and 6,156 deletions.
81 changes: 30 additions & 51 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "0.1.5",
"author": "Sam Maister <[email protected]>",
"license": "AGPL-3.0-or-later",
"main": "./bundle/main.prod.js",
"main": "./out/main/index.js",
"type": "module",
"repository": {
"type": "git",
Expand All @@ -14,10 +14,7 @@
"init": "pnpm install",
"preinstall": "npx only-allow pnpm",
"check-types": "tsc --noEmit",
"clean": "cross-env rm -rf pnpm-lock.yaml ./node_modules ./bundle ./dist",
"clean:build": "cross-env rm -rf ./bundle ./dist",
"clean:bundle": "cross-env rm -rf ./bundle",
"dev": "pnpm clean:build && pnpm dev:bundle:main && pnpm dev:bundle:preload && cross-env pnpm dev:start-server",
"clean": "cross-env rm -rf pnpm-lock.yaml ./node_modules ./out ./dist",
"build": "pnpm clean:build && pnpm bundle && electron-builder",
"build:all": "node scripts/build.mjs all",
"build:mac": "node scripts/build.mjs mac",
Expand All @@ -31,11 +28,9 @@
"bundle:main": "cross-env NODE_ENV=production webpack --config ./webpack/main.config.js --color",
"bundle:preload": "cross-env NODE_ENV=production webpack --config ./webpack/preload.config.js --color",
"bundle:renderer": "cross-env NODE_ENV=production webpack --config ./webpack/renderer.config.js --color",
"start": "cross-env NODE_ENV=production electron ./bundle/main.prod.js",
"dev:bundle:main": "cross-env NODE_ENV=development webpack --config ./webpack/main.config.js --color",
"dev:bundle:preload": "cross-env NODE_ENV=development webpack --config ./webpack/preload.config.js --color",
"dev:start": "cross-env NODE_ENV=development electron -r @babel/register ./bundle/main.dev.js",
"dev:start-server": "cross-env NODE_ENV=development webpack serve --hot --config ./webpack/renderer.config.js",
"start": "pnpm dev:html && electron-vite preview",
"dev": "pnpm dev:html && electron-vite dev --watch",
"dev:html": "cross-env NODE_ENV=development ejs ./src/index.ejs -o ./src/renderer/index.html",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "concurrently 'pnpm lint:code' 'pnpm lint:styles'",
Expand All @@ -51,22 +46,17 @@
"prepare": "husky"
},
"dependencies": {
"@goosewobbler/electron-redux": "^1.0.4"
"bufferutil": "^4.0.8",
"utf-8-validate": "^6.0.3",
"zustand": "^4.5.2",
"zutron": "^0.0.1"
},
"devDependencies": {
"@babel/cli": "^7.23.9",
"@babel/core": "^7.23.9",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.23.9",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@babel/register": "^7.23.7",
"@electron/notarize": "^2.3.0",
"@headlessui/react": "^1.7.18",
"@heroicons/react": "^2.1.1",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
"@redux-offline/redux-offline": "^2.6.0",
"@reduxjs/toolkit": "^2.2.1",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@testing-library/dom": "^9.3.4",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
Expand All @@ -76,51 +66,46 @@
"@types/node": "^20.11.19",
"@types/react": "^18.2.57",
"@types/react-dom": "^18.2.19",
"@types/react-redux": "^7.1.33",
"@types/request": "^2.48.12",
"@types/source-map-support": "^0.5.10",
"@types/webpack": "^5.28.5",
"@types/webpack-env": "^1.18.4",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"@vitejs/plugin-react-swc": "^3.6.0",
"@vitest/coverage-v8": "^1.3.1",
"@wdio/cli": "^8.32.2",
"@wdio/local-runner": "^8.32.2",
"@wdio/mocha-framework": "^8.32.2",
"@wdio/types": "^8.32.2",
"autoprefixer": "^10.4.17",
"babel-loader": "^9.1.3",
"autoprefixer": "^10.4.19",
"ci-info": "^4.0.0",
"classnames": "^2.5.1",
"concurrently": "^8.2.2",
"copy-webpack-plugin": "^12.0.2",
"cross-env": "^7.0.3",
"css-loader": "^6.10.0",
"css-loader": "^7.0.0",
"cssnano": "^6.0.3",
"dnd-core": "^16.0.1",
"electron": "^29.0.0",
"ejs": "^3.1.9",
"electron": "^29.1.4",
"electron-builder": "^24.12.0",
"electron-debug": "^3.2.0",
"electron-devtools-installer": "^3.2.0",
"electron-devtools-assembler": "^1.2.0",
"electron-store": "^8.1.0",
"electron-vite": "^2.0.0",
"esbuild-style-plugin": "^1.6.3",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-vitest": "^0.3.22",
"eslint-plugin-vitest": "^0.4.1",
"eslint-plugin-wdio": "^8.24.12",
"expect-webdriverio": "^4.11.9",
"file-loader": "^6.2.0",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"globals": "^14.0.0",
"html-webpack-harddisk-plugin": "^2.0.0",
"html-webpack-plugin": "^5.6.0",
"globals": "^15.0.0",
"husky": "^9.0.11",
"jsdom": "^24.0.0",
"lint-staged": "^15.2.2",
"mini-css-extract-plugin": "^2.8.0",
"node-loader": "^2.0.0",
"postcss": "^8.4.35",
"postcss": "^8.4.38",
"postcss-cli": "^11.0.0",
"postcss-loader": "^8.1.0",
"prettier": "^3.2.5",
Expand All @@ -130,28 +115,22 @@
"react-dnd-html5-backend": "^16.0.1",
"react-dom": "^18.2.0",
"react-multi-split-pane": "^0.3.3",
"react-redux": "^9.1.0",
"react-refresh": "^0.14.0",
"react-tabs": "^6.0.2",
"read-package-up": "^11.0.0",
"redux": "^5.0.1",
"source-map-loader": "^5.0.0",
"source-map-support": "^0.5.21",
"stylelint": "^16.2.1",
"stylelint-config-standard": "^36.0.0",
"tailwindcss": "^3.4.1",
"tailwindcss": "^3.4.3",
"tailwindcss-scoped-groups": "^2.0.0",
"terser-webpack-plugin": "^5.3.10",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"tsup": "^8.0.2",
"typescript": "^5.4.4",
"vite": "^5.1.4",
"vitest": "^1.3.1",
"wdio-electron-service": "^6.3.1",
"webdriverio": "^8.32.2",
"webpack": "^5.90.3",
"webpack-bundle-analyzer": "^4.10.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.2",
"webpack-electron-reload": "^1.0.1"
"webdriverio": "^8.32.2"
},
"engines": {
"node": ">=20.9.0"
Expand All @@ -165,7 +144,7 @@
]
},
"browserslist": [
"electron >= 29",
"node >= 20"
]
"electron >= 29"
],
"packageManager": "[email protected]+sha256.01c01eeb990e379b31ef19c03e9d06a14afa5250b82e81303f88721c99ff2e6f"
}
Loading

0 comments on commit 8e10139

Please sign in to comment.