mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-01 01:59:56 +00:00
2d0da58793
* Adding only mods can post. Fixes #641 * Fixing canPost check
116 lines
3.5 KiB
JSON
116 lines
3.5 KiB
JSON
{
|
|
"name": "lemmy-ui",
|
|
"description": "An isomorphic UI for lemmy",
|
|
"version": "0.16.3",
|
|
"author": "Dessalines <tyhou13@gmx.com>",
|
|
"license": "AGPL-3.0",
|
|
"scripts": {
|
|
"build:dev": "webpack --mode=development",
|
|
"build:prod": "webpack --mode=production",
|
|
"clean": "yarn run rimraf dist",
|
|
"dev": "yarn start",
|
|
"lint": "node generate_translations.js && tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
|
|
"prebuild:dev": "yarn clean && node generate_translations.js",
|
|
"prebuild:prod": "yarn clean && node generate_translations.js",
|
|
"prepare": "husky install",
|
|
"start": "yarn build:dev --watch"
|
|
},
|
|
"repository": "https://github.com/LemmyNet/lemmy-ui",
|
|
"dependencies": {
|
|
"@typescript-eslint/parser": "^5.21.0",
|
|
"autosize": "^5.0.1",
|
|
"check-password-strength": "^2.0.5",
|
|
"choices.js": "^10.1.0",
|
|
"classnames": "^2.3.1",
|
|
"emoji-short-name": "^2.0.0",
|
|
"express": "~4.18.0",
|
|
"i18next": "^21.6.16",
|
|
"inferno": "^7.4.11",
|
|
"inferno-create-element": "^7.4.11",
|
|
"inferno-helmet": "^5.2.1",
|
|
"inferno-hydrate": "^7.4.11",
|
|
"inferno-i18next-dess": "^0.0.1",
|
|
"inferno-router": "^7.4.11",
|
|
"inferno-server": "^7.4.11",
|
|
"isomorphic-cookie": "^1.2.4",
|
|
"jwt-decode": "^3.1.2",
|
|
"markdown-it": "^13.0.0",
|
|
"markdown-it-container": "^3.0.0",
|
|
"markdown-it-footnote": "^3.0.3",
|
|
"markdown-it-html5-embed": "^1.0.0",
|
|
"markdown-it-sub": "^1.0.0",
|
|
"markdown-it-sup": "^1.0.0",
|
|
"moment": "^2.29.3",
|
|
"register-service-worker": "^1.7.2",
|
|
"rxjs": "^7.5.5",
|
|
"sass": "^1.51.0",
|
|
"serialize-javascript": "^6.0.0",
|
|
"tippy.js": "^6.3.7",
|
|
"toastify-js": "^1.11.2",
|
|
"tributejs": "^5.1.3",
|
|
"websocket-ts": "^1.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.17.9",
|
|
"@babel/plugin-transform-runtime": "^7.17.0",
|
|
"@babel/plugin-transform-typescript": "^7.16.1",
|
|
"@babel/preset-env": "7.16.11",
|
|
"@babel/preset-typescript": "^7.16.0",
|
|
"@babel/runtime": "^7.17.9",
|
|
"@types/autosize": "^4.0.0",
|
|
"@types/express": "^4.17.13",
|
|
"@types/node": "^17.0.29",
|
|
"@types/node-fetch": "^2.6.1",
|
|
"@types/serialize-javascript": "^5.0.1",
|
|
"@typescript-eslint/eslint-plugin": "^5.21.0",
|
|
"babel-loader": "^8.2.5",
|
|
"babel-plugin-inferno": "^6.4.0",
|
|
"bootstrap": "^5.1.3",
|
|
"bootswatch": "^5.1.3",
|
|
"clean-webpack-plugin": "^4.0.0",
|
|
"copy-webpack-plugin": "^10.2.4",
|
|
"css-loader": "^6.7.1",
|
|
"eslint": "^8.14.0",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"husky": "^7.0.4",
|
|
"import-sort-style-module": "^6.0.0",
|
|
"lemmy-js-client": "0.16.4-rc.2",
|
|
"lint-staged": "^12.4.1",
|
|
"mini-css-extract-plugin": "^2.6.0",
|
|
"node-fetch": "^2.6.1",
|
|
"prettier": "^2.6.2",
|
|
"prettier-plugin-import-sort": "^0.0.7",
|
|
"prettier-plugin-organize-imports": "^2.3.4",
|
|
"prettier-plugin-packagejson": "^2.2.17",
|
|
"rimraf": "^3.0.2",
|
|
"run-node-webpack-plugin": "^1.3.0",
|
|
"sass-loader": "^12.6.0",
|
|
"sortpack": "^2.2.0",
|
|
"style-loader": "^3.3.1",
|
|
"terser": "^5.13.0",
|
|
"typescript": "^4.6.3",
|
|
"webpack": "5.72.0",
|
|
"webpack-cli": "^4.9.2",
|
|
"webpack-dev-server": "4.8.1",
|
|
"webpack-node-externals": "^3.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.9.0"
|
|
},
|
|
"engineStrict": true,
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js}": [
|
|
"prettier --write",
|
|
"eslint --fix"
|
|
],
|
|
"package.json": [
|
|
"sortpack"
|
|
]
|
|
},
|
|
"importSort": {
|
|
".js, .jsx, .ts, .tsx": {
|
|
"style": "module",
|
|
"parser": "typescript"
|
|
}
|
|
}
|
|
}
|