Files
5chan/package.json
T

168 lines
5.4 KiB
JSON
Raw Normal View History

2023-01-29 21:07:23 +01:00
{
"name": "plebchan",
2023-12-20 20:41:13 +01:00
"version": "0.1.17",
2023-12-16 11:51:34 +01:00
"description": "A GUI for plebbit similar to 4chan",
"author": "plebeius.eth",
2023-01-29 21:07:23 +01:00
"private": true,
"dependencies": {
2023-04-24 19:42:49 +00:00
"@babel/core": "7.21.3",
"@babel/plugin-syntax-flow": "7.18.6",
"@babel/plugin-transform-react-jsx": "7.21.0",
2023-04-28 18:04:16 +02:00
"@capacitor/android": "3.6.0",
2023-09-05 12:34:29 +02:00
"@capacitor/app": "1.1.1",
2023-04-28 18:04:16 +02:00
"@capacitor/core": "3.6.0",
"@plebbit/plebbit-react-hooks": "https://github.com/plebbit/plebbit-react-hooks.git#4d667f7ad7a77cfd416184acffd6f561761ebc9b",
2023-04-24 19:42:49 +00:00
"@testing-library/dom": "9.0.1",
"@testing-library/jest-dom": "5.14.1",
"@testing-library/react": "14.0.0",
"@testing-library/user-event": "14.4.3",
"@types/node": "18.15.5",
"@types/react": "18.0.30",
"babel-plugin-styled-components": "2.0.7",
2023-04-24 20:42:06 +00:00
"electron-context-menu": "3.3.0",
"electron-is-dev": "2.0.0",
2023-04-24 19:42:49 +00:00
"eslint": "8.36.0",
"eslint-config-react-app": "7.0.1",
"ext-name": "5.0.0",
2023-12-13 00:00:11 +00:00
"json-stringify-pretty-compact": "4.0.0",
2023-04-24 19:42:49 +00:00
"lodash": "4.17.21",
2023-04-24 20:42:06 +00:00
"mock-require": "3.0.3",
2023-04-24 19:42:49 +00:00
"postcss": "8.4.21",
"react": "18.2.0",
2023-08-10 18:18:22 +00:00
"react-confirm-alert": "3.0.6",
2023-04-24 19:42:49 +00:00
"react-content-loader": "6.2.1",
"react-dom": "18.2.0",
"react-draggable": "4.4.5",
"react-helmet-async": "1.3.0",
2023-08-10 18:18:22 +00:00
"react-infinite-scroller": "1.2.6",
2023-04-24 19:42:49 +00:00
"react-is": "18.2.0",
"react-markdown": "8.0.6",
"react-modal": "3.16.1",
"react-router-dom": "6.9.0",
2023-01-29 21:07:23 +01:00
"react-scripts": "5.0.1",
2023-04-24 19:42:49 +00:00
"react-toastify": "9.1.1",
"react-tooltip": "5.10.0",
2023-08-15 09:55:36 +02:00
"react-virtuoso": "4.5.0",
2023-04-25 17:04:21 +02:00
"rehype-sanitize": "5.0.1",
2023-04-24 19:42:49 +00:00
"remark-breaks": "3.0.2",
"styled-components": "5.3.9",
2023-12-11 00:49:36 +00:00
"tcp-port-used": "1.0.2",
"web-vitals": "3.3.0",
2023-04-24 19:42:49 +00:00
"zustand": "4.3.6"
2023-01-29 21:07:23 +01:00
},
"scripts": {
2023-04-25 00:19:00 +00:00
"start": "react-scripts start",
"build": "cross-env PUBLIC_URL=./ GENERATE_SOURCEMAP=false react-scripts build",
2023-09-10 15:30:16 +02:00
"build-netlify": "cross-env PUBLIC_URL=./ GENERATE_SOURCEMAP=true REACT_APP_COMMIT_REF=$COMMIT_REF react-scripts build",
2023-04-24 20:42:06 +00:00
"test": "react-scripts test",
2023-07-12 02:43:31 +00:00
"analyze-bundle": "cross-env PUBLIC_URL=./ GENERATE_SOURCEMAP=true react-scripts build && source-map-explorer 'build/static/js/*.js'",
2023-04-24 19:42:49 +00:00
"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",
2023-12-11 00:49:36 +00:00
"electron:before:download-ipfs": "node electron/download-ipfs",
2023-04-25 21:19:33 +00:00
"electron:before:delete-data": "rimraf .plebbit",
2023-09-16 21:19:56 +02:00
"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,jsx} --write",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
2023-01-29 21:07:23 +01:00
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
2023-08-04 21:28:27 +00:00
"chrome >= 67",
"edge >= 79",
"firefox >= 68",
"opera >= 54",
"safari >= 14"
2023-01-29 21:07:23 +01:00
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
2023-01-31 23:08:57 +01:00
},
2023-04-24 19:42:49 +00:00
"main": "electron/main.js",
"build": {
"appId": "plebchan.desktop",
"productName": "plebchan",
2023-12-13 00:00:11 +00:00
"beforePack": "electron/before-pack.js",
"afterAllArtifactBuild": "electron/after-all-artifact-build.js",
2023-04-24 19:42:49 +00:00
"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"
}
},
2023-01-31 23:08:57 +01:00
"devDependencies": {
2023-12-13 00:00:11 +00:00
"@babel/plugin-proposal-private-property-in-object": "7.21.11",
2023-04-28 18:04:16 +02:00
"@capacitor/cli": "3.6.0",
2023-04-24 19:42:49 +00:00
"concurrently": "8.0.1",
2023-09-18 11:55:30 +02:00
"conventional-changelog-cli": "4.1.0",
2023-04-28 18:04:16 +02:00
"cordova-res": "0.15.4",
2023-04-24 19:42:49 +00:00
"cross-env": "7.0.3",
2023-12-13 00:00:11 +00:00
"cz-conventional-changelog": "3.3.0",
2023-04-24 19:42:49 +00:00
"decompress": "4.2.1",
2023-05-06 20:40:49 +00:00
"electron": "19.1.8",
2023-04-24 19:42:49 +00:00
"electron-builder": "23.0.9",
2023-09-18 11:55:30 +02:00
"husky": "4.3.8",
"lint-staged": "12.3.8",
2023-09-16 21:19:56 +02:00
"prettier": "2.3.2",
2023-07-12 02:43:31 +00:00
"source-map-explorer": "2.5.3",
2023-04-24 19:42:49 +00:00
"typescript": "5.0.2",
2023-09-18 11:55:30 +02:00
"wait-on": "7.0.1"
2023-01-31 23:08:57 +01:00
},
"resolutions": {
2023-08-04 21:18:03 +00:00
"styled-components": "^5"
},
"lint-staged": {
"{src,electron}/**/*.{js,jsx}": [
"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"
}
2023-01-29 21:07:23 +01:00
}
}