lemmy-ui/package.json

146 lines
4.9 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",
2023-07-10 11:58:16 +00:00
"version": "0.18.2-rc.1",
"description": "An isomorphic UI for lemmy",
"repository": "https://github.com/LemmyNet/lemmy-ui",
2020-08-23 04:04:58 +00:00
"license": "AGPL-3.0",
"author": "Dessalines <tyhou13@gmx.com>",
2020-08-23 04:04:58 +00:00
"scripts": {
2023-06-22 23:33:02 +00:00
"analyze": "webpack --mode=none",
"prebuild:dev": "yarn clean && node generate_translations.js",
"build:dev": "webpack --env LEMMY_UI_DISABLE_CSP=true --env COMMIT_HASH=$(git rev-parse --short HEAD) --mode=development",
"prebuild:prod": "yarn clean && node generate_translations.js",
"build:prod": "webpack --env COMMIT_HASH=$(git rev-parse --short HEAD) --mode=production",
"clean": "yarn run rimraf dist",
2023-06-22 23:33:02 +00:00
"dev": "yarn build:dev --watch",
"lint": "yarn translations:generate && tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx \"src/**\" && prettier --check \"src/**/*.{ts,tsx,js,css,scss}\"",
2021-10-04 14:51:38 +00:00
"prepare": "husky install",
"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 && yarn translations:update",
"translations:update": "git submodule update --remote --recursive"
2020-08-23 04:04:58 +00:00
},
"lint-staged": {
2023-06-29 14:40:19 +00:00
"*.{ts,tsx,js}": [
"prettier --write",
"eslint --fix"
],
"*.{css, scss}": [
"prettier --write"
],
"package.json": [
"sortpack"
]
},
2020-08-23 04:04:58 +00:00
"dependencies": {
2023-02-21 21:15:13 +00:00
"@babel/plugin-proposal-decorators": "^7.21.0",
2023-05-11 17:06:32 +00:00
"@babel/plugin-transform-runtime": "^7.21.4",
"@babel/plugin-transform-typescript": "^7.21.3",
"@babel/preset-env": "7.21.5",
"@babel/preset-typescript": "^7.21.5",
"@babel/runtime": "^7.21.5",
2022-11-27 18:02:32 +00:00
"@emoji-mart/data": "^1.1.0",
2023-02-21 21:15:13 +00:00
"autosize": "^6.0.1",
2023-01-31 03:37:48 +00:00
"babel-loader": "^9.1.2",
"babel-plugin-inferno": "^6.6.0",
"bootstrap": "^5.2.3",
2022-07-30 03:44:10 +00:00
"check-password-strength": "^2.0.7",
"classnames": "^2.3.1",
"clean-webpack-plugin": "^4.0.0",
2023-06-30 13:51:41 +00:00
"cookie": "^0.5.0",
"copy-webpack-plugin": "^11.0.0",
"cross-fetch": "^4.0.0",
2023-01-31 03:37:48 +00:00
"css-loader": "^6.7.3",
2023-06-22 23:33:02 +00:00
"date-fns": "^2.30.0",
2022-11-27 18:02:32 +00:00
"emoji-mart": "^5.4.0",
2022-03-29 16:39:30 +00:00
"emoji-short-name": "^2.0.0",
2023-01-31 03:37:48 +00:00
"express": "~4.18.2",
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.2.8",
"inferno": "^8.2.2",
"inferno-create-element": "^8.2.2",
"inferno-helmet": "^5.2.1",
"inferno-hydrate": "^8.2.2",
"inferno-i18next-dess": "0.0.2",
"inferno-router": "^8.2.2",
"inferno-server": "^8.2.2",
"jwt-decode": "^3.1.2",
"lemmy-js-client": "0.18.1",
"lodash.isequal": "^4.5.0",
"lodash.merge": "^4.6.2",
2022-07-14 17:52:14 +00:00
"markdown-it": "^13.0.1",
"markdown-it-container": "^3.0.0",
2022-11-27 18:02:32 +00:00
"markdown-it-emoji": "^2.0.2",
"markdown-it-footnote": "^3.0.3",
"markdown-it-html5-embed": "^1.0.0",
2023-07-06 11:44:32 +00:00
"markdown-it-ruby": "^0.1.1",
"markdown-it-sub": "^1.0.0",
"markdown-it-sup": "^1.0.0",
2023-05-11 17:06:32 +00:00
"mini-css-extract-plugin": "^2.7.5",
2020-12-24 02:00:15 +00:00
"register-service-worker": "^1.7.2",
"run-node-webpack-plugin": "^1.3.0",
"sanitize-html": "^2.11.0",
"sass": "^1.63.6",
"sass-loader": "^13.3.2",
2023-01-31 03:37:48 +00:00
"serialize-javascript": "^6.0.1",
"service-worker-webpack": "^1.0.0",
"sharp": "^0.32.1",
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.88.1",
"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": {
2023-05-11 17:06:32 +00:00
"@babel/core": "^7.21.8",
"@types/autosize": "^4.0.0",
"@types/bootstrap": "^5.2.6",
2023-06-30 13:51:41 +00:00
"@types/cookie": "^0.5.1",
2023-02-21 21:15:13 +00:00
"@types/express": "^4.17.17",
2023-01-31 03:37:48 +00:00
"@types/html-to-text": "^9.0.0",
"@types/lodash.isequal": "^4.5.6",
"@types/markdown-it": "^12.2.3",
"@types/markdown-it-container": "^2.0.5",
"@types/node": "^20.4.0",
2023-06-22 23:33:02 +00:00
"@types/path-browserify": "^1.0.0",
2023-05-11 17:06:32 +00:00
"@types/sanitize-html": "^2.9.0",
2021-07-16 13:54:48 +00:00
"@types/serialize-javascript": "^5.0.1",
"@types/toastify-js": "^1.11.1",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"eslint": "^8.44.0",
2023-05-11 17:06:32 +00:00
"eslint-plugin-inferno": "^7.32.2",
2023-06-17 19:46:51 +00:00
"eslint-plugin-jsx-a11y": "^6.7.1",
2022-07-30 03:44:10 +00:00
"eslint-plugin-prettier": "^4.2.1",
2023-01-31 03:37:48 +00:00
"husky": "^8.0.3",
"import-sort-style-module": "^6.0.0",
"lint-staged": "^13.2.3",
2023-05-11 17:06:32 +00:00
"prettier": "^2.8.8",
"prettier-plugin-import-sort": "^0.0.7",
2023-01-31 03:37:48 +00:00
"prettier-plugin-organize-imports": "^3.2.2",
"prettier-plugin-packagejson": "^2.4.4",
2023-05-11 17:06:32 +00:00
"rimraf": "^5.0.0",
"sortpack": "^2.3.4",
"style-loader": "^3.3.2",
"terser": "^5.18.2",
"typescript": "^5.1.6",
2023-06-30 13:51:41 +00:00
"typescript-language-server": "^3.3.2",
2023-06-22 23:33:02 +00:00
"webpack-bundle-analyzer": "^4.9.0",
"webpack-dev-server": "4.15.1"
2020-08-23 04:04:58 +00:00
},
"packageManager": "yarn@1.22.19",
"engines": {
"node": ">=8.9.0"
},
"engineStrict": true,
"importSort": {
".js, .jsx, .ts, .tsx": {
"style": "module",
"parser": "typescript"
}
2020-08-23 04:04:58 +00:00
}
}