]> Untitled Git - lemmy.git/blob - ui/package.json
Merge branch 'main' into inbox-refactoring-dessalines
[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/api.spec.ts",
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": "nimbusec-oss/inferno-i18next",
37     "inferno-router": "^7.4.2",
38     "js-cookie": "^2.2.0",
39     "jwt-decode": "^2.2.0",
40     "markdown-it": "^11.0.0",
41     "markdown-it-container": "^3.0.0",
42     "markdown-it-emoji": "^1.4.0",
43     "markdown-it-sub": "^1.0.0",
44     "markdown-it-sup": "^1.0.0",
45     "moment": "^2.24.0",
46     "node-fetch": "^2.6.0",
47     "prettier": "^2.0.4",
48     "reconnecting-websocket": "^4.4.0",
49     "rxjs": "^6.5.5",
50     "terser": "^4.6.11",
51     "tippy.js": "^6.1.1",
52     "toastify-js": "^1.7.0",
53     "tributejs": "^5.1.3",
54     "ws": "^7.2.3"
55   },
56   "devDependencies": {
57     "eslint": "^7.5.0",
58     "eslint-plugin-inferno": "^7.14.3",
59     "eslint-plugin-jane": "^8.0.4",
60     "fuse-box": "^3.1.3",
61     "jest": "^26.0.7",
62     "lint-staged": "^10.1.3",
63     "sortpack": "^2.1.4",
64     "ts-jest": "^26.1.3",
65     "ts-node": "^8.8.2",
66     "ts-transform-classcat": "^1.0.0",
67     "ts-transform-inferno": "^4.0.3",
68     "typescript": "^3.8.3"
69   },
70   "engines": {
71     "node": ">=8.9.0"
72   },
73   "engineStrict": true,
74   "husky": {
75     "hooks": {
76       "pre-commit": "cargo clippy --manifest-path ../server/Cargo.toml --all-targets --workspace -- -D warnings && lint-staged"
77     }
78   },
79   "lint-staged": {
80     "*.{ts,tsx,js}": [
81       "prettier --write",
82       "eslint --fix"
83     ],
84     "../server/src/**/*.rs": [
85       "rustfmt +nightly --config-path ../server/.rustfmt.toml"
86     ],
87     "package.json": [
88       "sortpack"
89     ]
90   }
91 }