mirror of
https://github.com/plebbit/seedit.git
synced 2026-04-19 22:58:14 -04:00
On desktop or android, the user can drop or select a media file in the upload box, which automatically uploads it to catbox.moe in the background, and pastes the direct link to the media in the url field.
177 lines
5.9 KiB
JSON
177 lines
5.9 KiB
JSON
{
|
|
"name": "seedit",
|
|
"version": "0.3.0",
|
|
"description": "A GUI for plebbit similar to old.reddit",
|
|
"type": "module",
|
|
"author": "plebeius.eth",
|
|
"license": "GPL-2.0-only",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@capacitor/app": "6.0.1",
|
|
"@floating-ui/react": "0.26.1",
|
|
"@plebbit/plebbit-react-hooks": "https://github.com/plebbit/plebbit-react-hooks.git#6d35eb3b4dc84f8fdcbb46d95e3b1d78f1750b5f",
|
|
"@testing-library/jest-dom": "5.14.1",
|
|
"@testing-library/react": "13.0.0",
|
|
"@testing-library/user-event": "13.2.1",
|
|
"@types/jest": "29.5.5",
|
|
"@types/node": "20.8.2",
|
|
"@types/react": "18.2.25",
|
|
"@types/react-dom": "18.2.10",
|
|
"cross-env": "7.0.3",
|
|
"electron-context-menu": "3.3.0",
|
|
"electron-is-dev": "2.0.0",
|
|
"ext-name": "5.0.0",
|
|
"form-data": "4.0.2",
|
|
"i18next": "23.5.1",
|
|
"i18next-browser-languagedetector": "7.1.0",
|
|
"i18next-http-backend": "2.2.2",
|
|
"json-stringify-pretty-compact": "4.0.0",
|
|
"lodash": "4.17.21",
|
|
"memoizee": "0.4.15",
|
|
"node-fetch": "2",
|
|
"prettier": "3.0.3",
|
|
"react": "19.0.0",
|
|
"react-dom": "19.0.0",
|
|
"react-dropzone": "14.3.8",
|
|
"react-i18next": "13.2.2",
|
|
"react-markdown": "8.0.6",
|
|
"react-router-dom": "6.16.0",
|
|
"react-router-hash-link": "2.4.3",
|
|
"react-virtuoso": "4.7.8",
|
|
"rehype-sanitize": "5.0.1",
|
|
"remark-gfm": "3.0.1",
|
|
"remark-supersub": "1.0.0",
|
|
"tcp-port-used": "1.0.2",
|
|
"typescript": "5.2.2",
|
|
"zustand": "4.4.3"
|
|
},
|
|
"scripts": {
|
|
"start": "vite",
|
|
"build": "cross-env PUBLIC_URL=./ GENERATE_SOURCEMAP=false vite build",
|
|
"build-netlify": "cross-env NODE_OPTIONS=\"--max_old_space_size=4096\" PUBLIC_URL=./ GENERATE_SOURCEMAP=true VITE_COMMIT_REF=$COMMIT_REF CI='' vite build",
|
|
"test": "vitest",
|
|
"preview": "vite preview",
|
|
"analyze-bundle": "cross-env PUBLIC_URL=./ GENERATE_SOURCEMAP=true vite build && source-map-explorer 'build/assets/*.js'",
|
|
"electron": "yarn electron:before && electron .",
|
|
"electron:no-delete-data": "yarn electron:before:download-ipfs && electron .",
|
|
"electron:start": "concurrently \"cross-env BROWSER=none yarn start\" \"wait-on http://localhost:3000 && yarn electron\"",
|
|
"electron:start:no-delete-data": "concurrently \"cross-env BROWSER=none yarn start\" \"wait-on http://localhost:3000 && yarn electron:no-delete-data\"",
|
|
"electron:build:linux": "electron-builder build --publish never -l",
|
|
"electron:build:windows": "electron-builder build --publish never -w",
|
|
"electron:build:mac": "electron-builder build --publish never -m",
|
|
"electron:before": "yarn electron:before:download-ipfs && yarn electron:before:delete-data",
|
|
"electron:before:download-ipfs": "node electron/download-ipfs",
|
|
"electron:before:delete-data": "rimraf .plebbit",
|
|
"android:build:icons": "cordova-res android --skip-config --copy --resources /tmp/plebbit-react-android-icons --icon-source ./android/icons/icon.png --splash-source ./android/icons/splash.png --icon-foreground-source ./android/icons/icon-foreground.png --icon-background-source '#ffffee'",
|
|
"prettier": "prettier {src,electron}/**/*.{js,ts,tsx} --write",
|
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
|
|
"android:build": "yarn build && npx cap sync android && npx cap open android"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
"chrome >= 67",
|
|
"edge >= 79",
|
|
"firefox >= 68",
|
|
"opera >= 54",
|
|
"safari >= 14"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@capacitor/android": "5.0.0",
|
|
"@capacitor/cli": "5.0.0",
|
|
"@capacitor/core": "5.0.0",
|
|
"@electron/rebuild": "3.6.0",
|
|
"@types/memoizee": "0.4.9",
|
|
"@types/node-fetch": "2",
|
|
"@typescript-eslint/eslint-plugin": "8.26.0",
|
|
"@typescript-eslint/parser": "8.26.0",
|
|
"@vitejs/plugin-react": "4.3.4",
|
|
"assert": "2.1.0",
|
|
"babel-plugin-react-compiler": "19.0.0-beta-40c6c23-20250301",
|
|
"browserify-sign": "4.2.3",
|
|
"concurrently": "8.0.1",
|
|
"conventional-changelog-cli": "4.1.0",
|
|
"cordova-res": "0.15.4",
|
|
"cross-env": "7.0.3",
|
|
"crypto-browserify": "3.12.1",
|
|
"cz-conventional-changelog": "3.3.0",
|
|
"decompress": "4.2.1",
|
|
"electron": "35.0.1",
|
|
"electron-builder": "24.13.2",
|
|
"electron-rebuild": "3.2.9",
|
|
"eslint": "8.56.0",
|
|
"eslint-config-react-app": "7.0.1",
|
|
"eslint-plugin-react": "7.37.4",
|
|
"eslint-plugin-react-compiler": "19.0.0-beta-40c6c23-20250301",
|
|
"eslint-plugin-react-hooks": "5.2.0",
|
|
"husky": "4.3.8",
|
|
"isomorphic-fetch": "3.0.0",
|
|
"lint-staged": "12.3.8",
|
|
"readable-stream": "4.7.0",
|
|
"stream-browserify": "3.0.0",
|
|
"vite": "6.2.1",
|
|
"vite-plugin-eslint": "1.8.1",
|
|
"vite-plugin-node-polyfills": "0.23.0",
|
|
"vite-plugin-pwa": "0.21.1",
|
|
"wait-on": "7.0.1"
|
|
},
|
|
"main": "electron/main.js",
|
|
"build": {
|
|
"appId": "seedit.desktop",
|
|
"productName": "seedit",
|
|
"beforePack": "electron/before-pack.js",
|
|
"afterAllArtifactBuild": "electron/after-all-artifact-build.js",
|
|
"extraResources": [
|
|
{
|
|
"from": "bin/${os}",
|
|
"to": "bin",
|
|
"filter": [
|
|
"**/*"
|
|
]
|
|
}
|
|
],
|
|
"files": [
|
|
"build/**/*",
|
|
"electron/**/*",
|
|
"package.json"
|
|
],
|
|
"extends": null,
|
|
"mac": {
|
|
"target": "dmg",
|
|
"category": "public.app-category.social-networking",
|
|
"type": "distribution"
|
|
},
|
|
"win": {
|
|
"target": [
|
|
"portable",
|
|
"nsis"
|
|
]
|
|
},
|
|
"linux": {
|
|
"target": "AppImage",
|
|
"category": "Network"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"{src,electron}/**/*.{js,ts,tsx}": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"prepare-commit-msg": "exec < /dev/tty && cz --hook || true",
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
}
|
|
}
|