summaryrefslogtreecommitdiffstats
path: root/ui/package.json
blob: 1bd07e86378a1eeb5d6ee54d36f500ded3d8c412 (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
79
80
81
82
83
84
85
86
87
88
{
  "name": "lemmy",
  "description": "The official Lemmy UI",
  "version": "1.0.0",
  "author": "Dessalines",
  "license": "AGPL-3.0-or-later",
  "main": "index.js",
  "scripts": {
    "api-test": "jest src/api_tests/api.spec.ts",
    "build": "node fuse prod",
    "lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
    "prebuild": "node generate_translations.js",
    "prestart": "node generate_translations.js",
    "start": "node fuse dev"
  },
  "keywords": [],
  "dependencies": {
    "@types/autosize": "^3.0.6",
    "@types/js-cookie": "^2.2.6",
    "@types/jwt-decode": "^2.2.1",
    "@types/markdown-it": "^0.0.9",
    "@types/markdown-it-container": "^2.0.2",
    "@types/node": "^13.11.1",
    "autosize": "^4.0.2",
    "bootswatch": "^4.3.1",
    "choices.js": "^9.0.1",
    "classcat": "^4.0.2",
    "dotenv": "^8.2.0",
    "emoji-short-name": "^1.0.0",
    "husky": "^4.2.5",
    "i18next": "^19.4.1",
    "inferno": "^7.4.2",
    "inferno-i18next": "nimbusec-oss/inferno-i18next",
    "inferno-router": "^7.4.2",
    "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",
    "node-fetch": "^2.6.0",
    "prettier": "^2.0.4",
    "reconnecting-websocket": "^4.4.0",
    "rxjs": "^6.5.5",
    "terser": "^4.6.11",
    "tippy.js": "^6.1.1",
    "toastify-js": "^1.7.0",
    "tributejs": "^5.1.3",
    "ws": "^7.2.3"
  },
  "devDependencies": {
    "@types/jest": "^25.2.1",
    "@types/node-fetch": "^2.5.6",
    "eslint": "^6.5.1",
    "eslint-plugin-inferno": "^7.14.3",
    "eslint-plugin-jane": "^7.2.1",
    "fuse-box": "^3.1.3",
    "jest": "^25.4.0",
    "lint-staged": "^10.1.3",
    "sortpack": "^2.1.4",
    "ts-jest": "^25.4.0",
    "ts-node": "^8.8.2",
    "ts-transform-classcat": "^1.0.0",
    "ts-transform-inferno": "^4.0.3",
    "typescript": "^3.8.3"
  },
  "engines": {
    "node": ">=8.9.0"
  },
  "engineStrict": true,
  "husky": {
    "hooks": {
      "pre-commit": "cargo clippy --manifest-path ../server/Cargo.toml --all-targets --workspace -- -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"
    ]
  }
}