]> Untitled Git - lemmy.git/blob - ui/package.json
make i18n compatible with weblate
[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     "build": "node fuse prod",
10     "lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
11     "start": "node fuse dev"
12   },
13   "keywords": [],
14   "dependencies": {
15     "@types/autosize": "^3.0.6",
16     "@types/js-cookie": "^2.2.1",
17     "@types/jwt-decode": "^2.2.1",
18     "@types/markdown-it": "^0.0.9",
19     "@types/markdown-it-container": "^2.0.2",
20     "@types/node": "^13.7.0",
21     "autosize": "^4.0.2",
22     "bootswatch": "^4.3.1",
23     "classcat": "^1.1.3",
24     "dotenv": "^8.2.0",
25     "emoji-short-name": "^1.0.0",
26     "husky": "^4.2.1",
27     "i18next": "^19.0.3",
28     "i18next-xhr-backend": "^2.0.0",
29     "inferno": "^7.0.1",
30     "inferno-i18next": "nimbusec-oss/inferno-i18next",
31     "inferno-router": "^7.0.1",
32     "js-cookie": "^2.2.0",
33     "jwt-decode": "^2.2.0",
34     "markdown-it": "^10.0.0",
35     "markdown-it-container": "^2.0.0",
36     "markdown-it-emoji": "^1.4.0",
37     "mobius1-selectr": "^2.4.13",
38     "moment": "^2.24.0",
39     "prettier": "^1.18.2",
40     "reconnecting-websocket": "^4.4.0",
41     "rxjs": "^6.4.0",
42     "terser": "^4.6.3",
43     "toastify-js": "^1.6.2",
44     "tributejs": "^4.1.1",
45     "twemoji": "^12.1.2",
46     "ws": "^7.0.0"
47   },
48   "devDependencies": {
49     "eslint": "^6.5.1",
50     "eslint-plugin-inferno": "^7.14.3",
51     "eslint-plugin-jane": "^7.0.2",
52     "fuse-box": "^3.1.3",
53     "lint-staged": "^10.0.2",
54     "sortpack": "^2.0.1",
55     "ts-node": "^8.6.2",
56     "ts-transform-classcat": "^0.0.2",
57     "ts-transform-inferno": "^4.0.2",
58     "typescript": "^3.7.5"
59   },
60   "engines": {
61     "node": ">=8.9.0"
62   },
63   "engineStrict": true,
64   "husky": {
65     "hooks": {
66       "pre-commit": "yarn run ts-node translation_report.ts && git add ../README.md && cargo clippy --manifest-path ../server/Cargo.toml --all-targets --all-features -- -D warnings && lint-staged"
67     }
68   },
69   "lint-staged": {
70     "*.{ts,tsx,js}": [
71       "prettier --write",
72       "eslint --fix"
73     ],
74     "../server/src/**/*.rs": [
75       "rustfmt --config-path ../server/.rustfmt.toml"
76     ],
77     "package.json": [
78       "sortpack"
79     ]
80   }
81 }