]> Untitled Git - lemmy.git/blob - ui/package.json
Adding prettier.
[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.7",
19     "@types/markdown-it-container": "^2.0.2",
20     "autosize": "^4.0.2",
21     "bootswatch": "^4.3.1",
22     "classcat": "^1.1.3",
23     "dotenv": "^6.1.0",
24     "emoji-short-name": "^0.1.0",
25     "i18next": "^17.0.9",
26     "inferno": "^7.0.1",
27     "inferno-i18next": "nimbusec-oss/inferno-i18next",
28     "inferno-router": "^7.0.1",
29     "js-cookie": "^2.2.0",
30     "jwt-decode": "^2.2.0",
31     "markdown-it": "^8.4.2",
32     "markdown-it-container": "^2.0.0",
33     "markdown-it-emoji": "^1.4.0",
34     "moment": "^2.24.0",
35     "prettier": "^1.18.2",
36     "rxjs": "^6.4.0",
37     "terser": "^3.17.0",
38     "tributejs": "3.7.2",
39     "twemoji": "^12.1.2",
40     "ws": "^7.0.0"
41   },
42   "devDependencies": {
43     "@types/i18next": "^12.1.0",
44     "eslint": "^6.5.1",
45     "eslint-plugin-inferno": "^7.14.3",
46     "eslint-plugin-jane": "^7.0.0",
47     "fuse-box": "^3.1.3",
48     "husky": "^3.0.9",
49     "lint-staged": "^9.4.2",
50     "sortpack": "^2.0.1",
51     "ts-transform-classcat": "^0.0.2",
52     "ts-transform-inferno": "^4.0.2",
53     "typescript": "^3.5.3"
54   },
55   "engines": {
56     "node": ">=8.9.0"
57   },
58   "engineStrict": true,
59   "husky": {
60     "hooks": {
61       "pre-commit": "lint-staged",
62       "pre-push": "yarn run lint"
63     }
64   },
65   "lint-staged": {
66     "*.js": [
67       "prettier --write",
68       "yarn run lint",
69       "git add"
70     ],
71     "*.ts": [
72       "prettier --write",
73       "yarn run lint",
74       "git add"
75     ],
76     "*.tsx": [
77       "prettier --write",
78       "yarn run lint",
79       "git add"
80     ],
81     "package.json": [
82       "sortpack",
83       "git add"
84     ]
85   }
86 }