]> Untitled Git - lemmy.git/blob - ui/package.json
Switch front end to use lemmy-js-client. Fixes #1090 (#1097)
[lemmy.git] / ui / package.json
1 {
2   "name": "lemmy",
3   "description": "The official Lemmy UI",
4   "version": "1.0.0",
5   "author": "Dessalines",
6   "license": "AGPL-3.0-or-later",
7   "main": "index.js",
8   "scripts": {
9     "api-test": "jest src/api_tests/ -i --verbose",
10     "build": "node fuse prod",
11     "lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
12     "prebuild": "node generate_translations.js",
13     "prestart": "node generate_translations.js",
14     "start": "node fuse dev"
15   },
16   "keywords": [],
17   "dependencies": {
18     "@types/autosize": "^3.0.6",
19     "@types/jest": "^26.0.7",
20     "@types/js-cookie": "^2.2.6",
21     "@types/jwt-decode": "^2.2.1",
22     "@types/markdown-it": "^10.0.1",
23     "@types/markdown-it-container": "^2.0.2",
24     "@types/node": "^14.0.26",
25     "@types/node-fetch": "^2.5.6",
26     "autosize": "^4.0.2",
27     "bootswatch": "^4.3.1",
28     "choices.js": "^9.0.1",
29     "classcat": "^4.0.2",
30     "dotenv": "^8.2.0",
31     "emoji-short-name": "^1.0.0",
32     "husky": "^4.2.5",
33     "i18next": "^19.4.1",
34     "inferno": "^7.4.2",
35     "inferno-helmet": "^5.2.1",
36     "inferno-i18next": "github:nimbusec-oss/inferno-i18next#semver:^7.4.2",
37     "inferno-router": "^7.4.2",
38     "js-cookie": "^2.2.0",
39     "jwt-decode": "^2.2.0",
40     "lemmy-js-client": "^1.0.8",
41     "markdown-it": "^11.0.0",
42     "markdown-it-container": "^3.0.0",
43     "markdown-it-emoji": "^1.4.0",
44     "markdown-it-sub": "^1.0.0",
45     "markdown-it-sup": "^1.0.0",
46     "moment": "^2.24.0",
47     "node-fetch": "^2.6.0",
48     "prettier": "^2.0.4",
49     "reconnecting-websocket": "^4.4.0",
50     "rxjs": "^6.5.5",
51     "terser": "^4.6.11",
52     "tippy.js": "^6.1.1",
53     "toastify-js": "^1.7.0",
54     "tributejs": "^5.1.3",
55     "ws": "^7.2.3"
56   },
57   "devDependencies": {
58     "eslint": "^7.5.0",
59     "eslint-plugin-inferno": "^7.14.3",
60     "eslint-plugin-jane": "^8.0.4",
61     "fuse-box": "^3.1.3",
62     "jest": "^26.0.7",
63     "lint-staged": "^10.1.3",
64     "sortpack": "^2.1.4",
65     "ts-jest": "^26.1.3",
66     "ts-node": "^8.8.2",
67     "ts-transform-classcat": "^1.0.0",
68     "ts-transform-inferno": "^4.0.3",
69     "typescript": "^3.8.3"
70   },
71   "engines": {
72     "node": ">=8.9.0"
73   },
74   "engineStrict": true,
75   "husky": {
76     "hooks": {
77       "pre-commit": "cargo +nightly clippy --manifest-path ../server/Cargo.toml --all-targets --workspace -- -D warnings && lint-staged"
78     }
79   },
80   "lint-staged": {
81     "*.{ts,tsx,js}": [
82       "prettier --write",
83       "eslint --fix"
84     ],
85     "../server/src/**/*.rs": [
86       "rustfmt +nightly --config-path ../server/.rustfmt.toml"
87     ],
88     "package.json": [
89       "sortpack"
90     ]
91   }
92 }