mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-23 04:41:14 +00:00
8e2609a96d
* update lemmy-js-client version * add moderator view to moderator view select * fix some linting problems introduced in recent lemmy-js-client changes * remove form id from mardown-textarea submit * add default delete_content as false * manually check if a user is an admin * update lemmy-js-client to 0.19.0-rc.7
146 lines
4.9 KiB
JSON
146 lines
4.9 KiB
JSON
{
|
|
"name": "lemmy-ui",
|
|
"version": "0.18.2-rc.1",
|
|
"description": "An isomorphic UI for lemmy",
|
|
"repository": "https://github.com/LemmyNet/lemmy-ui",
|
|
"license": "AGPL-3.0",
|
|
"author": "Dessalines <tyhou13@gmx.com>",
|
|
"scripts": {
|
|
"analyze": "webpack --mode=none",
|
|
"prebuild:dev": "yarn clean && node generate_translations.js",
|
|
"build:dev": "webpack --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",
|
|
"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}\"",
|
|
"prepare": "husky install",
|
|
"postinstall": "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"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js}": [
|
|
"prettier --write",
|
|
"eslint --fix"
|
|
],
|
|
"*.{css, scss}": [
|
|
"prettier --write"
|
|
],
|
|
"package.json": [
|
|
"sortpack"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@babel/plugin-proposal-decorators": "^7.21.5",
|
|
"@babel/plugin-transform-runtime": "^7.21.5",
|
|
"@babel/plugin-transform-typescript": "^7.21.5",
|
|
"@babel/preset-env": "7.21.5",
|
|
"@babel/preset-typescript": "^7.21.5",
|
|
"@babel/runtime": "^7.21.5",
|
|
"@emoji-mart/data": "^1.1.0",
|
|
"autosize": "^6.0.1",
|
|
"babel-loader": "^9.1.2",
|
|
"babel-plugin-inferno": "^6.6.0",
|
|
"bootstrap": "^5.3.1",
|
|
"check-password-strength": "^2.0.7",
|
|
"classnames": "^2.3.1",
|
|
"clean-webpack-plugin": "^4.0.0",
|
|
"cookie": "^0.5.0",
|
|
"copy-webpack-plugin": "^11.0.0",
|
|
"cross-fetch": "^4.0.0",
|
|
"css-loader": "^6.7.3",
|
|
"date-fns": "^2.30.0",
|
|
"emoji-mart": "^5.4.0",
|
|
"emoji-short-name": "^2.0.0",
|
|
"express": "~4.18.2",
|
|
"history": "^5.3.0",
|
|
"html-to-text": "^9.0.5",
|
|
"i18next": "^23.3.0",
|
|
"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.19.0-rc.7",
|
|
"lodash.isequal": "^4.5.0",
|
|
"markdown-it": "^13.0.1",
|
|
"markdown-it-container": "^3.0.0",
|
|
"markdown-it-emoji": "^2.0.2",
|
|
"markdown-it-footnote": "^3.0.3",
|
|
"markdown-it-html5-embed": "^1.0.0",
|
|
"markdown-it-ruby": "^0.1.1",
|
|
"markdown-it-sub": "^1.0.0",
|
|
"markdown-it-sup": "^1.0.0",
|
|
"mini-css-extract-plugin": "^2.7.5",
|
|
"register-service-worker": "^1.7.2",
|
|
"run-node-webpack-plugin": "^1.3.0",
|
|
"sanitize-html": "^2.11.0",
|
|
"sass": "^1.64.1",
|
|
"sass-loader": "^13.3.2",
|
|
"serialize-javascript": "^6.0.1",
|
|
"service-worker-webpack": "^1.0.0",
|
|
"sharp": "^0.32.4",
|
|
"tippy.js": "^6.3.7",
|
|
"toastify-js": "^1.12.0",
|
|
"tributejs": "^5.1.3",
|
|
"webpack": "5.88.2",
|
|
"webpack-cli": "^5.1.4",
|
|
"webpack-node-externals": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.21.5",
|
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
"@types/autosize": "^4.0.0",
|
|
"@types/bootstrap": "^5.2.6",
|
|
"@types/cookie": "^0.5.1",
|
|
"@types/express": "^4.17.17",
|
|
"@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.6",
|
|
"@types/node": "^20.4.5",
|
|
"@types/path-browserify": "^1.0.0",
|
|
"@types/sanitize-html": "^2.9.0",
|
|
"@types/serialize-javascript": "^5.0.1",
|
|
"@types/toastify-js": "^1.12.0",
|
|
"@typescript-eslint/eslint-plugin": "^6.2.0",
|
|
"@typescript-eslint/parser": "^6.2.0",
|
|
"eslint": "^8.45.0",
|
|
"eslint-plugin-inferno": "^7.32.2",
|
|
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
"eslint-plugin-prettier": "^5.0.0",
|
|
"husky": "^8.0.3",
|
|
"import-sort-style-module": "^6.0.0",
|
|
"lint-staged": "^13.2.3",
|
|
"prettier": "^3.0.0",
|
|
"prettier-plugin-import-sort": "^0.0.7",
|
|
"prettier-plugin-organize-imports": "^3.2.3",
|
|
"prettier-plugin-packagejson": "^2.4.5",
|
|
"rimraf": "^5.0.0",
|
|
"sortpack": "^2.3.4",
|
|
"style-loader": "^3.3.2",
|
|
"terser": "^5.19.2",
|
|
"typescript": "^5.1.6",
|
|
"typescript-language-server": "^3.3.2",
|
|
"webpack-bundle-analyzer": "^4.9.0",
|
|
"webpack-dev-server": "4.15.1"
|
|
},
|
|
"packageManager": "yarn@1.22.19",
|
|
"engines": {
|
|
"node": ">=8.9.0"
|
|
},
|
|
"engineStrict": true,
|
|
"importSort": {
|
|
".js, .jsx, .ts, .tsx": {
|
|
"style": "module",
|
|
"parser": "typescript"
|
|
}
|
|
}
|
|
}
|