mirror of
https://github.com/plebbit/seedit.git
synced 2026-02-09 05:21:04 -05:00
upgraded to newest plebbit API using trackers for peer discovery instead of IPFS' DHT, breaking compatibility with subplebbits not running on trackers
158 lines
5.1 KiB
JSON
158 lines
5.1 KiB
JSON
{
|
|
"name": "seedit",
|
|
"version": "0.2.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#de80441257496942063bf032d48e955b7f812937",
|
|
"@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",
|
|
"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",
|
|
"prettier": "3.0.3",
|
|
"react": "18.2.0",
|
|
"react-dom": "18.2.0",
|
|
"react-i18next": "13.2.2",
|
|
"react-markdown": "8.0.6",
|
|
"react-router-dom": "6.16.0",
|
|
"react-router-hash-link": "2.4.3",
|
|
"react-scripts": "5.0.1",
|
|
"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": "react-scripts start",
|
|
"build": "cross-env PUBLIC_URL=./ GENERATE_SOURCEMAP=false react-scripts build",
|
|
"build-netlify": "cross-env PUBLIC_URL=./ GENERATE_SOURCEMAP=true REACT_APP_COMMIT_REF=$COMMIT_REF CI='' react-scripts build",
|
|
"test": "react-scripts test",
|
|
"eject": "react-scripts eject",
|
|
"electron": "yarn electron:before && electron .",
|
|
"electron:no-delete-data": "electron-rebuild && 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-rebuild && electron-builder build --publish never -l",
|
|
"electron:build:windows": "electron-rebuild && electron-builder build --publish never -w",
|
|
"electron:build:mac": "electron-rebuild && electron-builder build --publish never -m",
|
|
"electron:before": "electron-rebuild && yarn electron:before:download-ipfs && yarn electron:before:delete-data",
|
|
"electron:before:download-ipfs": "node electron/download-ipfs",
|
|
"electron:before:delete-data": "rimraf .plebbit",
|
|
"prettier": "prettier {src,electron}/**/*.{js,ts,tsx} --write",
|
|
"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 '#ffffff'",
|
|
"changelog": "conventional-changelog --preset angular --infile CHANGELOG.md --same-file --release-count 0"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"react-app",
|
|
"react-app/jest"
|
|
]
|
|
},
|
|
"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",
|
|
"concurrently": "8.0.1",
|
|
"conventional-changelog-cli": "4.1.0",
|
|
"cordova-res": "0.15.4",
|
|
"cross-env": "7.0.3",
|
|
"cz-conventional-changelog": "3.3.0",
|
|
"decompress": "4.2.1",
|
|
"electron": "28.2.3",
|
|
"electron-builder": "24.13.2",
|
|
"husky": "4.3.8",
|
|
"lint-staged": "12.3.8",
|
|
"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"
|
|
}
|
|
}
|
|
}
|