]> Untitled Git - lemmy.git/blob - ui/package.json
Adding yarn run ts-node to husky pre-commit.
[lemmy.git] / ui / package.json
1 {
2   "name": "lemmy",
3   "description": "A simple UI for lemmy",
4   "version": "1.0.0",
5   "author": "Dessalines",
6   "license": "GPL-2.0-or-later",
7   "main": "index.js",
8   "scripts": {
9     "build": "node fuse prod",
10     "lint": "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.5.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": "^0.1.0",
26     "husky": "^4.2.1",
27     "i18next": "^19.0.3",
28     "inferno": "^7.0.1",
29     "inferno-i18next": "nimbusec-oss/inferno-i18next",
30     "inferno-router": "^7.0.1",
31     "js-cookie": "^2.2.0",
32     "jwt-decode": "^2.2.0",
33     "markdown-it": "^10.0.0",
34     "markdown-it-container": "^2.0.0",
35     "markdown-it-emoji": "^1.4.0",
36     "moment": "^2.24.0",
37     "prettier": "^1.18.2",
38     "rxjs": "^6.4.0",
39     "terser": "^4.6.3",
40     "toastify-js": "^1.6.2",
41     "tributejs": "^4.1.1",
42     "twemoji": "^12.1.2",
43     "ws": "^7.0.0"
44   },
45   "devDependencies": {
46     "eslint": "^6.5.1",
47     "eslint-plugin-inferno": "^7.14.3",
48     "eslint-plugin-jane": "^7.0.2",
49     "fuse-box": "^3.1.3",
50     "lint-staged": "^10.0.2",
51     "sortpack": "^2.0.1",
52     "ts-node": "^8.6.2",
53     "ts-transform-classcat": "^0.0.2",
54     "ts-transform-inferno": "^4.0.2",
55     "typescript": "^3.7.5"
56   },
57   "engines": {
58     "node": ">=8.9.0"
59   },
60   "engineStrict": true,
61   "husky": {
62     "hooks": {
63       "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"
64     }
65   },
66   "lint-staged": {
67     "*.{ts,tsx,js}": [
68       "prettier --write",
69       "eslint --fix"
70     ],
71     "../server/src/**/*.rs": [
72       "rustfmt --config-path ../server/.rustfmt.toml"
73     ],
74     "package.json": [
75       "sortpack"
76     ]
77   }
78 }