lemmy-ui/package.json

157 lines
5.4 KiB
JSON
Raw Normal View History

2020-08-23 04:04:58 +00:00
{
2020-09-15 17:22:50 +00:00
"name": "lemmy-ui",
"description": "An isomorphic UI for lemmy",
2024-08-27 20:31:49 +00:00
"version": "0.19.6-beta.7",
"author": "Dessalines <tyhou13@gmx.com>",
2024-01-19 20:48:24 +00:00
"license": "AGPL-3.0",
2020-08-23 04:04:58 +00:00
"scripts": {
2023-06-22 23:33:02 +00:00
"analyze": "webpack --mode=none",
2023-07-12 14:03:49 +00:00
"build:dev": "webpack --env COMMIT_HASH=$(git rev-parse --short HEAD) --mode=development",
"build:prod": "webpack --env COMMIT_HASH=$(git rev-parse --short HEAD) --mode=production",
"clean": "pnpm rimraf dist",
"dev": "node generate_translations.js && pnpm build:dev --watch",
2024-07-15 14:00:39 +00:00
"lint": "pnpm translations:generate && tsc --noEmit && pnpm eslint --report-unused-disable-directives && pnpm prettier --check \"src/**/*.{ts,tsx,js,mjs,css,scss}\"",
"prebuild:dev": "pnpm clean && node generate_translations.js",
"prebuild:prod": "pnpm clean && node generate_translations.js",
"prepare": "husky",
"themes:build": "sass src/assets/css/themes/:src/assets/css/themes",
"themes:watch": "sass --watch src/assets/css/themes/:src/assets/css/themes",
"translations:generate": "node generate_translations.js",
"translations:init": "git submodule init && pnpm translations:update",
"translations:update": "git submodule update --remote --recursive"
2020-08-23 04:04:58 +00:00
},
2024-01-19 20:48:24 +00:00
"repository": "https://github.com/LemmyNet/lemmy-ui",
"engines": {
"node": ">=8.9.0"
},
2020-08-23 04:04:58 +00:00
"dependencies": {
"@babel/plugin-proposal-decorators": "^7.24.7",
"@babel/plugin-transform-class-properties": "^7.25.4",
"@babel/plugin-transform-runtime": "^7.25.4",
"@babel/plugin-transform-typescript": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@babel/preset-typescript": "^7.24.7",
"@babel/runtime": "^7.25.4",
2024-05-21 18:20:32 +00:00
"@emoji-mart/data": "^1.2.1",
2023-02-21 21:15:13 +00:00
"autosize": "^6.0.1",
"babel-loader": "^9.1.3",
2024-01-19 20:48:24 +00:00
"babel-plugin-inferno": "^6.7.1",
"bootstrap": "^5.3.3",
"check-password-strength": "^2.0.10",
2024-01-19 20:48:24 +00:00
"classnames": "^2.5.1",
"clean-webpack-plugin": "^4.0.0",
2024-10-12 09:13:50 +00:00
"cookie": "^1.0.0",
"cookie-parser": "^1.4.6",
2024-01-19 20:48:24 +00:00
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
2024-09-23 11:41:15 +00:00
"date-fns": "^4.0.0",
2024-05-21 18:20:32 +00:00
"emoji-mart": "^5.6.0",
2022-03-29 16:39:30 +00:00
"emoji-short-name": "^2.0.0",
2024-09-23 03:08:30 +00:00
"express": "~4.21.0",
"highlight.js": "^11.10.0",
Use http client (#1081) * Beginning work on websocket -> http client conversion. * About 30% done. * half done. * more done. * Almost passing lint. * Passing lint, but untested. * Add back in event listeners. * Fixing some community forms. * Remove webpack cache. * fixing some more. * Fixed ISOwrappers. * A few more fixes. * Refactor utils * Fix instance add/remove buttons * Not catching errors in isoWrapper. * Wrap Http client * Fixing up tagline and ratelimit forms. * Make all http client wrapping be in one place * Reworking some more forms. * Upgrading lemmy-js-client. * Fixing verify email. * Fix linting errors * Upgrading woodpecker node. * Fix comment scrolling rerender bug. * Fixing a few things, commenting out props for now. * v0.18.0-beta.1 * Trying to fix woodpecker, 1. * Trying to fix woodpecker, 2. * Handroll prompt * Add navigation prompt to other pages * Fix prompt navigation bug * Fix prompt bug introduced from last bug fix * Fix PWA bug * Fix isoData not working * Fix search page update url * Fix sharp issue. * v0.18.0-beta.2 * Make create post pre-fetch communities * Fix bug from last commit * Fix issue of posts/comments not being switched when changing select options * Fix unnecessary fetches on home screen * Make circular icon buttons not look stupid * Prevent unnecessary fetches * Make login experience smoother * Add PWA shortcuts * Add related application to PWA * Update translations * Forgot to add post editing. * Fixing site setup. * Deploy script setup. * v0.18.0-beta.4 * Sanitize again. * Adding sanitize json function. * Upping version. * Another sanitize fix. * Upping version. * Prevent search nav item from disappearing when on search page * Allow admin and mod actions on non-local comments. * Fix mobile menu collapse bug * Completely fix prompt component * Fix undefined value checks in use_http_client_2 (#1230) * fix: filter out undefined from posts * fix: emoji initialisation passing undefined * fix: || => ?? to be more explicit * linting --------- Co-authored-by: Alex Maras <alexmaras@gmail.com> * Re-add accidentally removed state * Fix dropdown bug * Use linkEvent where appropriate * Fix navigation warnings. --------- Co-authored-by: Dessalines <tyhou13@gmx.com> Co-authored-by: Alex Maras <dev@alexmaras.com> Co-authored-by: Alex Maras <alexmaras@gmail.com>
2023-06-14 12:20:40 +00:00
"history": "^5.3.0",
2023-05-11 17:06:32 +00:00
"html-to-text": "^9.0.5",
"i18next": "^23.14.0",
2024-01-19 20:48:24 +00:00
"inferno": "^8.2.3",
"inferno-create-element": "^8.2.3",
"inferno-helmet": "^5.2.1",
2024-01-19 20:48:24 +00:00
"inferno-hydrate": "^8.2.3",
"inferno-i18next-dess": "0.0.2",
2024-01-19 20:48:24 +00:00
"inferno-router": "^8.2.3",
"inferno-server": "^8.2.3",
"jwt-decode": "^4.0.0",
"lemmy-js-client": "0.20.0-alpha.17",
"lodash.isequal": "^4.5.0",
"markdown-it": "^14.1.0",
"markdown-it-bidi": "^0.2.0",
2024-01-19 20:48:24 +00:00
"markdown-it-container": "^4.0.0",
"markdown-it-emoji": "^3.0.0",
"markdown-it-footnote": "^4.0.0",
2024-05-21 18:20:32 +00:00
"markdown-it-highlightjs": "^4.1.0",
"markdown-it-html5-embed": "^1.0.0",
"markdown-it-ruby": "^1.0.0",
2024-01-19 20:48:24 +00:00
"markdown-it-sub": "^2.0.0",
"markdown-it-sup": "^2.0.0",
"mini-css-extract-plugin": "^2.9.1",
"qreator": "^9.3.0",
2020-12-24 02:00:15 +00:00
"register-service-worker": "^1.7.2",
"run-node-webpack-plugin": "^1.3.0",
"rxjs": "^7.8.1",
"sanitize-html": "^2.13.0",
"sass": "^1.77.8",
"sass-loader": "^16.0.1",
2024-01-19 20:48:24 +00:00
"serialize-javascript": "^6.0.2",
"service-worker-webpack": "^1.0.0",
2024-08-19 03:13:31 +00:00
"sharp": "0.33.5",
2021-11-11 19:58:29 +00:00
"tippy.js": "^6.3.7",
2022-07-30 03:44:10 +00:00
"toastify-js": "^1.12.0",
"tributejs": "^5.1.3",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4",
Use http client (#1081) * Beginning work on websocket -> http client conversion. * About 30% done. * half done. * more done. * Almost passing lint. * Passing lint, but untested. * Add back in event listeners. * Fixing some community forms. * Remove webpack cache. * fixing some more. * Fixed ISOwrappers. * A few more fixes. * Refactor utils * Fix instance add/remove buttons * Not catching errors in isoWrapper. * Wrap Http client * Fixing up tagline and ratelimit forms. * Make all http client wrapping be in one place * Reworking some more forms. * Upgrading lemmy-js-client. * Fixing verify email. * Fix linting errors * Upgrading woodpecker node. * Fix comment scrolling rerender bug. * Fixing a few things, commenting out props for now. * v0.18.0-beta.1 * Trying to fix woodpecker, 1. * Trying to fix woodpecker, 2. * Handroll prompt * Add navigation prompt to other pages * Fix prompt navigation bug * Fix prompt bug introduced from last bug fix * Fix PWA bug * Fix isoData not working * Fix search page update url * Fix sharp issue. * v0.18.0-beta.2 * Make create post pre-fetch communities * Fix bug from last commit * Fix issue of posts/comments not being switched when changing select options * Fix unnecessary fetches on home screen * Make circular icon buttons not look stupid * Prevent unnecessary fetches * Make login experience smoother * Add PWA shortcuts * Add related application to PWA * Update translations * Forgot to add post editing. * Fixing site setup. * Deploy script setup. * v0.18.0-beta.4 * Sanitize again. * Adding sanitize json function. * Upping version. * Another sanitize fix. * Upping version. * Prevent search nav item from disappearing when on search page * Allow admin and mod actions on non-local comments. * Fix mobile menu collapse bug * Completely fix prompt component * Fix undefined value checks in use_http_client_2 (#1230) * fix: filter out undefined from posts * fix: emoji initialisation passing undefined * fix: || => ?? to be more explicit * linting --------- Co-authored-by: Alex Maras <alexmaras@gmail.com> * Re-add accidentally removed state * Fix dropdown bug * Use linkEvent where appropriate * Fix navigation warnings. --------- Co-authored-by: Dessalines <tyhou13@gmx.com> Co-authored-by: Alex Maras <dev@alexmaras.com> Co-authored-by: Alex Maras <alexmaras@gmail.com>
2023-06-14 12:20:40 +00:00
"webpack-node-externals": "^3.0.0"
2020-08-23 04:04:58 +00:00
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@eslint/js": "^9.9.1",
"@types/autosize": "^4.0.3",
"@types/bootstrap": "^5.2.10",
"@types/cookie": "^0.6.0",
"@types/cookie-parser": "^1.4.7",
"@types/express": "^4.17.21",
"@types/html-to-text": "^9.0.4",
"@types/lodash.isequal": "^4.5.8",
"@types/markdown-it": "^14.1.2",
2024-05-21 18:20:32 +00:00
"@types/markdown-it-container": "^2.0.10",
"@types/node": "^22.5.0",
"@types/path-browserify": "^1.0.3",
"@types/sanitize-html": "^2.13.0",
"@types/serialize-javascript": "^5.0.4",
"@types/toastify-js": "^1.12.3",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"eslint": "^9.9.1",
"eslint-config-prettier": "^9.1.0",
2024-05-21 18:20:32 +00:00
"eslint-plugin-inferno": "^7.34.0",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-prettier": "^5.2.1",
"globals": "^15.9.0",
"husky": "^9.1.5",
"import-sort-style-module": "^6.0.0",
"lint-staged": "^15.2.9",
"prettier": "^3.3.3",
"prettier-plugin-import-sort": "^0.0.7",
"prettier-plugin-organize-imports": "^4.0.0",
"prettier-plugin-packagejson": "^2.5.2",
"qs": "^6.13.0",
"rimraf": "^6.0.1",
2024-01-19 20:48:24 +00:00
"sortpack": "^2.4.0",
"style-loader": "^4.0.0",
"terser": "^5.31.6",
"typescript": "^5.5.4",
"typescript-eslint": "^8.3.0",
"typescript-language-server": "^4.3.3",
2024-05-21 18:20:32 +00:00
"webpack-bundle-analyzer": "^4.10.2",
"webpack-dev-server": "5.1.0"
2020-08-23 04:04:58 +00:00
},
2024-01-19 20:48:24 +00:00
"lint-staged": {
"*.{css, scss}": [
"prettier --write"
],
"*.{ts,tsx,js}": [
"prettier --write",
"eslint --fix"
],
"package.json": [
"sortpack"
]
},
"packageManager": "pnpm@9.12.3+sha512.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee",
"engineStrict": true,
"importSort": {
".js, .jsx, .ts, .tsx": {
"style": "module",
"parser": "typescript"
}
2020-08-23 04:04:58 +00:00
}
}