about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/web-apps/lemmy/package.json
blob: 97600d6801a2e48a82223affd8131edb1c2f2937 (plain) (blame)
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
  "name": "lemmy-ui",
  "description": "An isomorphic UI for lemmy",
  "version": "0.19.3",
  "author": "Dessalines <tyhou13@gmx.com>",
  "license": "AGPL-3.0-only",
  "scripts": {
    "analyze": "webpack --mode=none",
    "build:dev": "webpack --env COMMIT_HASH=$(git rev-parse --short HEAD) --mode=development",
    "build:prod": "webpack --env COMMIT_HASH=$(git rev-parse --short HEAD) --mode=production",
    "clean": "yarn run rimraf dist",
    "dev": "yarn build:dev --watch",
    "lint": "yarn translations:generate && tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx \"src/**\" && prettier --check \"src/**/*.{ts,tsx,js,css,scss}\"",
    "postinstall": "husky install",
    "prebuild:dev": "yarn clean && node generate_translations.js",
    "prebuild:prod": "yarn clean && node generate_translations.js",
    "prepare": "husky install",
    "themes:build": "sass src/assets/css/themes/:src/assets/css/themes",
    "themes:watch": "sass --watch src/assets/css/themes/:src/assets/css/themes",
    "translations:generate": "node generate_translations.js",
    "translations:init": "git submodule init && yarn translations:update",
    "translations:update": "git submodule update --remote --recursive"
  },
  "repository": "https://github.com/LemmyNet/lemmy-ui",
  "engines": {
    "node": ">=8.9.0"
  },
  "dependencies": {
    "@babel/plugin-proposal-class-properties": "^7.18.6",
    "@babel/plugin-proposal-decorators": "^7.23.7",
    "@babel/plugin-transform-runtime": "^7.23.7",
    "@babel/plugin-transform-typescript": "^7.23.6",
    "@babel/preset-env": "^7.23.8",
    "@babel/preset-typescript": "^7.21.5",
    "@babel/runtime": "^7.23.8",
    "@emoji-mart/data": "^1.1.0",
    "@shortcm/qr-image": "^9.0.2",
    "autosize": "^6.0.1",
    "babel-loader": "^9.1.3",
    "babel-plugin-inferno": "^6.7.1",
    "bootstrap": "^5.3.1",
    "check-password-strength": "^2.0.7",
    "classnames": "^2.5.1",
    "clean-webpack-plugin": "^4.0.0",
    "cookie": "^0.6.0",
    "copy-webpack-plugin": "^12.0.2",
    "css-loader": "^6.9.1",
    "date-fns": "^3.2.0",
    "emoji-mart": "^5.4.0",
    "emoji-short-name": "^2.0.0",
    "express": "~4.18.2",
    "history": "^5.3.0",
    "html-to-text": "^9.0.5",
    "husky": "^8.0.3",
    "i18next": "^23.7.16",
    "inferno": "^8.2.3",
    "inferno-create-element": "^8.2.3",
    "inferno-helmet": "^5.2.1",
    "inferno-hydrate": "^8.2.3",
    "inferno-i18next-dess": "0.0.2",
    "inferno-router": "^8.2.3",
    "inferno-server": "^8.2.3",
    "jwt-decode": "^4.0.0",
    "lemmy-js-client": "0.19.2-alpha.1",
    "lodash.isequal": "^4.5.0",
    "markdown-it": "^14.0.0",
    "markdown-it-bidi": "^0.1.0",
    "markdown-it-container": "^4.0.0",
    "markdown-it-emoji": "^3.0.0",
    "markdown-it-footnote": "^4.0.0",
    "markdown-it-highlightjs": "^4.0.1",
    "markdown-it-html5-embed": "^1.0.0",
    "markdown-it-ruby": "^0.1.1",
    "markdown-it-sub": "^2.0.0",
    "markdown-it-sup": "^2.0.0",
    "mini-css-extract-plugin": "^2.7.7",
    "register-service-worker": "^1.7.2",
    "run-node-webpack-plugin": "^1.3.0",
    "rxjs": "^7.8.1",
    "sanitize-html": "^2.11.0",
    "sass": "^1.70.0",
    "sass-loader": "^14.0.0",
    "serialize-javascript": "^6.0.2",
    "service-worker-webpack": "^1.0.0",
    "sharp": "0.32.6",
    "tippy.js": "^6.3.7",
    "toastify-js": "^1.12.0",
    "tributejs": "^5.1.3",
    "webpack": "^5.89.0",
    "webpack-cli": "^5.1.4",
    "webpack-node-externals": "^3.0.0"
  },
  "devDependencies": {
    "@babel/core": "^7.23.7",
    "@types/autosize": "^4.0.0",
    "@types/bootstrap": "^5.2.6",
    "@types/cookie": "^0.6.0",
    "@types/express": "^4.17.17",
    "@types/html-to-text": "^9.0.0",
    "@types/lodash.isequal": "^4.5.6",
    "@types/markdown-it": "^13.0.7",
    "@types/markdown-it-container": "^2.0.6",
    "@types/node": "^20.11.5",
    "@types/path-browserify": "^1.0.0",
    "@types/sanitize-html": "^2.9.0",
    "@types/serialize-javascript": "^5.0.1",
    "@types/toastify-js": "^1.12.0",
    "@typescript-eslint/eslint-plugin": "^6.19.0",
    "@typescript-eslint/parser": "^6.19.0",
    "eslint": "^8.56.0",
    "eslint-plugin-inferno": "^7.33.3",
    "eslint-plugin-jsx-a11y": "^6.7.1",
    "eslint-plugin-prettier": "^5.1.3",
    "import-sort-style-module": "^6.0.0",
    "lint-staged": "^15.2.0",
    "prettier": "^3.2.4",
    "prettier-plugin-import-sort": "^0.0.7",
    "prettier-plugin-organize-imports": "^3.2.3",
    "prettier-plugin-packagejson": "^2.4.9",
    "rimraf": "^5.0.0",
    "sortpack": "^2.4.0",
    "style-loader": "^3.3.4",
    "terser": "^5.27.0",
    "typescript": "^5.3.3",
    "typescript-language-server": "^4.3.1",
    "webpack-bundle-analyzer": "^4.9.0",
    "webpack-dev-server": "4.15.1"
  },
  "lint-staged": {
    "*.{css, scss}": [
      "prettier --write"
    ],
    "*.{ts,tsx,js}": [
      "prettier --write",
      "eslint --fix"
    ],
    "package.json": [
      "sortpack"
    ]
  },
  "packageManager": "yarn@1.22.19",
  "engineStrict": true,
  "importSort": {
    ".js, .jsx, .ts, .tsx": {
      "style": "module",
      "parser": "typescript"
    }
  }
}