summaryrefslogtreecommitdiffstats
path: root/ui/package.json
blob: 7e75052b3789515327540192d7e4a1858846f8ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
  "name": "lemmy",
  "description": "A simple UI for lemmy",
  "version": "1.0.0",
  "author": "Dessalines",
  "license": "GPL-2.0-or-later",
  "main": "index.js",
  "scripts": {
    "build": "node fuse prod",
    "lint": "eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
    "start": "node fuse dev"
  },
  "keywords": [],
  "dependencies": {
    "@types/autosize": "^3.0.6",
    "@types/js-cookie": "^2.2.1",
    "@types/jwt-decode": "^2.2.1",
    "@types/markdown-it": "^0.0.9",
    "@types/markdown-it-container": "^2.0.2",
    "@types/node": "^13.5.0",
    "autosize": "^4.0.2",
    "bootswatch": "^4.3.1",
    "classcat": "^1.1.3",
    "dotenv": "^8.2.0",
    "emoji-short-name": "^0.1.0",
    "husky": "^4.2.1",
    "i18next": "^19.0.3",
    "inferno": "^7.0.1",
    "inferno-i18next": "nimbusec-oss/inferno-i18next",
    "inferno-router": "^7.0.1",
    "js-cookie": "^2.2.0",
    "jwt-decode": "^2.2.0",
    "markdown-it": "^10.0.0",
    "markdown-it-container": "^2.0.0",
    "markdown-it-emoji": "^1.4.0",
    "moment": "^2.24.0",
    "prettier": "^1.18.2",
    "rxjs": "^6.4.0",
    "terser": "^4.6.3",
    "toastify-js": "^1.6.2",
    "tributejs": "^4.1.1",
    "twemoji": "^12.1.2",
    "ws": "^7.0.0"
  },
  "devDependencies": {
    "eslint": "^6.5.1",
    "eslint-plugin-inferno": "^7.14.3",
    "eslint-plugin-jane": "^7.0.2",
    "fuse-box": "^3.1.3",
    "lint-staged": "^10.0.2",
    "sortpack": "^2.0.1",
    "ts-node": "^8.6.2",
    "ts-transform-classcat": "^0.0.2",
    "ts-transform-inferno": "^4.0.2",
    "typescript": "^3.7.5"
  },
  "engines": {
    "node": ">=8.9.0"
  },
  "engineStrict": true,
  "husky": {
    "hooks": {
      "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"
    }
  },
  "lint-staged": {
    "*.{ts,tsx,js}": [
      "prettier --write",
      "eslint --fix"
    ],
    "../server/src/**/*.rs": [
      "rustfmt --config-path ../server/.rustfmt.toml"
    ],
    "package.json": [
      "sortpack"
    ]
  }
}