summaryrefslogtreecommitdiffstats
path: root/ui/package.json
blob: 987d4c42aa892c8327a78f621eba490a8e02b0e8 (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
{
  "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",
    "autosize": "^4.0.2",
    "bootswatch": "^4.3.1",
    "classcat": "^1.1.3",
    "dotenv": "^8.2.0",
    "emoji-short-name": "^0.1.0",
    "husky": "^3.0.9",
    "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.0",
    "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.0",
    "fuse-box": "^3.1.3",
    "lint-staged": "^9.4.2",
    "sortpack": "^2.0.1",
    "ts-transform-classcat": "^0.0.2",
    "ts-transform-inferno": "^4.0.2",
    "typescript": "^3.5.3"
  },
  "engines": {
    "node": ">=8.9.0"
  },
  "engineStrict": true,
  "husky": {
    "hooks": {
      "pre-commit": "cargo fmt --manifest-path ../server/Cargo.toml && cargo clippy --manifest-path ../server/Cargo.toml --all-targets --all-features -- -D warnings && lint-staged"
    }
  },
  "lint-staged": {
    "*.{ts,tsx,js}": [
      "prettier --write",
      "eslint --fix",
      "git add"
    ],
    "../server/src/**/*.rs": [
      "git add"
    ],
    "package.json": [
      "sortpack",
      "git add"
    ]
  }
}