2020-08-23 04:04:58 +00:00
|
|
|
{
|
2020-09-15 17:22:50 +00:00
|
|
|
"name": "lemmy-ui",
|
2023-03-27 02:06:42 +00:00
|
|
|
"description": "An isomorphic UI for lemmy",
|
2024-05-11 17:53:17 +00:00
|
|
|
"version": "0.19.4-beta.7",
|
2023-03-27 02:06:42 +00:00
|
|
|
"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",
|
2023-06-29 14:29:33 +00:00
|
|
|
"build:prod": "webpack --env COMMIT_HASH=$(git rev-parse --short HEAD) --mode=production",
|
2024-01-29 03:09:08 +00:00
|
|
|
"clean": "pnpm rimraf dist",
|
2024-04-09 14:03:09 +00:00
|
|
|
"dev": "node generate_translations.js && pnpm build:dev --watch",
|
2024-01-29 03:09:08 +00:00
|
|
|
"lint": "pnpm translations:generate && tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx \"src/**\" && prettier --check \"src/**/*.{ts,tsx,js,css,scss}\"",
|
|
|
|
"prebuild:dev": "pnpm clean && node generate_translations.js",
|
|
|
|
"prebuild:prod": "pnpm clean && node generate_translations.js",
|
|
|
|
"prepare": "husky",
|
2023-06-13 23:04:53 +00:00
|
|
|
"themes:build": "sass src/assets/css/themes/:src/assets/css/themes",
|
2023-06-20 11:57:09 +00:00
|
|
|
"themes:watch": "sass --watch src/assets/css/themes/:src/assets/css/themes",
|
|
|
|
"translations:generate": "node generate_translations.js",
|
2024-01-29 03:09:08 +00:00
|
|
|
"translations:init": "git submodule init && pnpm translations:update",
|
2023-06-20 11:57:09 +00:00
|
|
|
"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"
|
2023-03-27 02:06:42 +00:00
|
|
|
},
|
2020-08-23 04:04:58 +00:00
|
|
|
"dependencies": {
|
2024-03-26 23:03:02 +00:00
|
|
|
"@babel/plugin-proposal-decorators": "^7.24.1",
|
|
|
|
"@babel/plugin-transform-class-properties": "^7.24.1",
|
|
|
|
"@babel/plugin-transform-runtime": "^7.24.3",
|
|
|
|
"@babel/plugin-transform-typescript": "^7.24.1",
|
|
|
|
"@babel/preset-env": "^7.24.3",
|
|
|
|
"@babel/preset-typescript": "^7.24.1",
|
|
|
|
"@babel/runtime": "^7.24.1",
|
2024-01-29 03:09:08 +00:00
|
|
|
"@emoji-mart/data": "^1.1.2",
|
|
|
|
"@shortcm/qr-image": "^9.0.4",
|
2023-02-21 21:15:13 +00:00
|
|
|
"autosize": "^6.0.1",
|
2023-11-24 03:03:28 +00:00
|
|
|
"babel-loader": "^9.1.3",
|
2024-01-19 20:48:24 +00:00
|
|
|
"babel-plugin-inferno": "^6.7.1",
|
2024-02-27 00:16:41 +00:00
|
|
|
"bootstrap": "^5.3.3",
|
2024-03-26 23:03:02 +00:00
|
|
|
"check-password-strength": "^2.0.10",
|
2024-01-19 20:48:24 +00:00
|
|
|
"classnames": "^2.5.1",
|
2022-10-21 19:28:18 +00:00
|
|
|
"clean-webpack-plugin": "^4.0.0",
|
2023-11-27 00:53:24 +00:00
|
|
|
"cookie": "^0.6.0",
|
2024-04-18 23:54:16 +00:00
|
|
|
"cookie-parser": "^1.4.6",
|
2024-01-19 20:48:24 +00:00
|
|
|
"copy-webpack-plugin": "^12.0.2",
|
2024-05-15 15:06:50 +00:00
|
|
|
"css-loader": "^7.0.0",
|
2024-03-26 23:03:02 +00:00
|
|
|
"date-fns": "^3.6.0",
|
2024-01-29 03:09:08 +00:00
|
|
|
"emoji-mart": "^5.5.2",
|
2022-03-29 16:39:30 +00:00
|
|
|
"emoji-short-name": "^2.0.0",
|
2024-03-26 23:03:02 +00:00
|
|
|
"express": "~4.19.2",
|
Lazy loading less common languages for syntax highlighting (#2388)
* Use fewer syntax highlighter languages.
Reduces client.js size by about 250kB (800kB uncompressed)
Common languages:
bash, c, cpp, csharp, css, diff, go, graphql, ini, java, javascript,
json, kotlin, less, lua, makefile, markdown, objectivec, perl,
php-template, php, plaintext, python-repl, python, r, ruby, rust, scss,
shell, sql, swift, typescript, vbnet, wasm, xml, yaml
Additionally enabled languages:
dockerfile, pgsql
* Configurable syntax highlighter languages
Allows to individually enable languages.
* Lazy load syntax highlighter languages
Allows to enable additional languages that will not be autodetected.
* Include highlight.js in dynamic import check
2024-03-14 12:31:07 +00:00
|
|
|
"highlight.js": "^11.9.0",
|
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",
|
2024-03-26 23:03:02 +00:00
|
|
|
"i18next": "^23.10.1",
|
2024-01-19 20:48:24 +00:00
|
|
|
"inferno": "^8.2.3",
|
|
|
|
"inferno-create-element": "^8.2.3",
|
2020-09-06 16:15:25 +00:00
|
|
|
"inferno-helmet": "^5.2.1",
|
2024-01-19 20:48:24 +00:00
|
|
|
"inferno-hydrate": "^8.2.3",
|
2022-09-22 15:03:35 +00:00
|
|
|
"inferno-i18next-dess": "0.0.2",
|
2024-01-19 20:48:24 +00:00
|
|
|
"inferno-router": "^8.2.3",
|
|
|
|
"inferno-server": "^8.2.3",
|
2023-11-27 00:53:24 +00:00
|
|
|
"jwt-decode": "^4.0.0",
|
2024-04-17 12:37:58 +00:00
|
|
|
"lemmy-js-client": "0.19.4-alpha.18",
|
2023-06-24 04:06:19 +00:00
|
|
|
"lodash.isequal": "^4.5.0",
|
2024-03-26 23:03:02 +00:00
|
|
|
"markdown-it": "^14.1.0",
|
2023-10-20 00:47:28 +00:00
|
|
|
"markdown-it-bidi": "^0.1.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",
|
2023-10-20 15:18:13 +00:00
|
|
|
"markdown-it-highlightjs": "^4.0.1",
|
2021-09-18 19:44:39 +00:00
|
|
|
"markdown-it-html5-embed": "^1.0.0",
|
2023-07-06 11:44:32 +00:00
|
|
|
"markdown-it-ruby": "^0.1.1",
|
2024-01-19 20:48:24 +00:00
|
|
|
"markdown-it-sub": "^2.0.0",
|
|
|
|
"markdown-it-sup": "^2.0.0",
|
2024-03-26 23:03:02 +00:00
|
|
|
"mini-css-extract-plugin": "^2.8.1",
|
2020-12-24 02:00:15 +00:00
|
|
|
"register-service-worker": "^1.7.2",
|
2022-10-21 19:28:18 +00:00
|
|
|
"run-node-webpack-plugin": "^1.3.0",
|
2023-10-05 21:11:31 +00:00
|
|
|
"rxjs": "^7.8.1",
|
2024-03-26 23:03:02 +00:00
|
|
|
"sanitize-html": "^2.13.0",
|
|
|
|
"sass": "^1.72.0",
|
2024-02-27 00:16:41 +00:00
|
|
|
"sass-loader": "^14.1.1",
|
2024-01-19 20:48:24 +00:00
|
|
|
"serialize-javascript": "^6.0.2",
|
2023-05-15 03:45:21 +00:00
|
|
|
"service-worker-webpack": "^1.0.0",
|
2024-03-26 23:03:02 +00:00
|
|
|
"sharp": "0.33.3",
|
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",
|
2020-09-06 16:15:25 +00:00
|
|
|
"tributejs": "^5.1.3",
|
2024-03-26 23:03:02 +00:00
|
|
|
"webpack": "^5.91.0",
|
2023-07-07 23:33:03 +00:00
|
|
|
"webpack-cli": "^5.1.4",
|
2023-06-14 12:20:40 +00:00
|
|
|
"webpack-node-externals": "^3.0.0"
|
2020-08-23 04:04:58 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-03-26 23:03:02 +00:00
|
|
|
"@babel/core": "^7.24.3",
|
2024-01-29 03:09:08 +00:00
|
|
|
"@types/autosize": "^4.0.3",
|
|
|
|
"@types/bootstrap": "^5.2.10",
|
2023-11-27 00:53:24 +00:00
|
|
|
"@types/cookie": "^0.6.0",
|
2024-04-18 23:54:16 +00:00
|
|
|
"@types/cookie-parser": "^1.4.7",
|
2024-01-29 03:09:08 +00:00
|
|
|
"@types/express": "^4.17.21",
|
|
|
|
"@types/html-to-text": "^9.0.4",
|
|
|
|
"@types/lodash.isequal": "^4.5.8",
|
2023-11-27 00:53:24 +00:00
|
|
|
"@types/markdown-it": "^13.0.7",
|
2024-01-29 03:09:08 +00:00
|
|
|
"@types/markdown-it-container": "^2.0.9",
|
2024-03-26 23:03:02 +00:00
|
|
|
"@types/node": "^20.11.30",
|
2024-01-29 03:09:08 +00:00
|
|
|
"@types/path-browserify": "^1.0.2",
|
2024-02-27 00:16:41 +00:00
|
|
|
"@types/sanitize-html": "^2.11.0",
|
2024-01-29 03:09:08 +00:00
|
|
|
"@types/serialize-javascript": "^5.0.4",
|
|
|
|
"@types/toastify-js": "^1.12.3",
|
2024-03-26 23:03:02 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^7.4.0",
|
|
|
|
"@typescript-eslint/parser": "^7.4.0",
|
2024-05-15 15:10:20 +00:00
|
|
|
"eslint": "^9.0.0",
|
2024-01-19 20:48:24 +00:00
|
|
|
"eslint-plugin-inferno": "^7.33.3",
|
2024-01-29 03:09:08 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.8.0",
|
2024-01-19 20:48:24 +00:00
|
|
|
"eslint-plugin-prettier": "^5.1.3",
|
2024-02-27 00:16:41 +00:00
|
|
|
"husky": "^9.0.11",
|
2021-07-17 20:42:55 +00:00
|
|
|
"import-sort-style-module": "^6.0.0",
|
2024-02-27 00:16:41 +00:00
|
|
|
"lint-staged": "^15.2.2",
|
2024-02-06 04:30:41 +00:00
|
|
|
"prettier": "^3.2.5",
|
2021-07-17 20:42:55 +00:00
|
|
|
"prettier-plugin-import-sort": "^0.0.7",
|
2024-01-29 03:09:08 +00:00
|
|
|
"prettier-plugin-organize-imports": "^3.2.4",
|
2024-02-27 00:16:41 +00:00
|
|
|
"prettier-plugin-packagejson": "^2.4.12",
|
2024-03-26 23:03:02 +00:00
|
|
|
"qs": "^6.12.0",
|
2024-01-29 03:09:08 +00:00
|
|
|
"rimraf": "^5.0.5",
|
2024-01-19 20:48:24 +00:00
|
|
|
"sortpack": "^2.4.0",
|
2024-05-15 15:07:00 +00:00
|
|
|
"style-loader": "^4.0.0",
|
2024-03-26 23:03:02 +00:00
|
|
|
"terser": "^5.29.2",
|
|
|
|
"typescript": "^5.4.3",
|
2024-02-27 00:16:41 +00:00
|
|
|
"typescript-language-server": "^4.3.3",
|
2024-01-29 03:09:08 +00:00
|
|
|
"webpack-bundle-analyzer": "^4.10.1",
|
2024-03-26 23:03:02 +00:00
|
|
|
"webpack-dev-server": "5.0.4"
|
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"
|
|
|
|
]
|
2020-09-06 16:15:25 +00:00
|
|
|
},
|
2024-05-14 13:48:59 +00:00
|
|
|
"packageManager": "pnpm@9.1.1+sha512.14e915759c11f77eac07faba4d019c193ec8637229e62ec99eefb7cf3c3b75c64447882b7c485142451ee3a6b408059cdfb7b7fa0341b975f12d0f7629c71195",
|
2020-09-06 16:15:25 +00:00
|
|
|
"engineStrict": true,
|
2021-07-17 20:42:55 +00:00
|
|
|
"importSort": {
|
|
|
|
".js, .jsx, .ts, .tsx": {
|
|
|
|
"style": "module",
|
|
|
|
"parser": "typescript"
|
|
|
|
}
|
2020-08-23 04:04:58 +00:00
|
|
|
}
|
|
|
|
}
|