]> Untitled Git - lemmy.git/blob - ui/package.json
76920d184a90e2f030d2687619e3ad94e0c8c23c
[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.9",
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     "register-service-worker": "^1.7.1",
51     "rxjs": "^6.5.5",
52     "terser": "^4.6.11",
53     "tippy.js": "^6.1.1",
54     "toastify-js": "^1.7.0",
55     "tributejs": "^5.1.3",
56     "ws": "^7.2.3"
57   },
58   "devDependencies": {
59     "eslint": "^7.5.0",
60     "eslint-plugin-inferno": "^7.14.3",
61     "eslint-plugin-jane": "^8.0.4",
62     "fuse-box": "^3.1.3",
63     "jest": "^26.0.7",
64     "lint-staged": "^10.1.3",
65     "sortpack": "^2.1.4",
66     "ts-jest": "^26.1.3",
67     "ts-node": "^8.8.2",
68     "ts-transform-classcat": "^1.0.0",
69     "ts-transform-inferno": "^4.0.3",
70     "typescript": "^3.8.3"
71   },
72   "engines": {
73     "node": ">=8.9.0"
74   },
75   "engineStrict": true,
76   "husky": {
77     "hooks": {
78       "pre-commit": "cargo +nightly clippy --manifest-path ../server/Cargo.toml --all-targets --workspace -- -D warnings && lint-staged"
79     }
80   },
81   "lint-staged": {
82     "*.{ts,tsx,js}": [
83       "prettier --write",
84       "eslint --fix"
85     ],
86     "../server/src/**/*.rs": [
87       "rustfmt +nightly --config-path ../server/.rustfmt.toml"
88     ],
89     "package.json": [
90       "sortpack"
91     ]
92   }
93 }