mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 20:58:07 -06:00
Compared to plain function, arrow function is simpler to understand (without bindings to `this`, `arguments`, `super`) and to read. Now, plain function will only be used when this object is required. PR #21691.
26 lines
865 B
JSON
26 lines
865 B
JSON
{
|
|
"name": "webui",
|
|
"description": "qBittorrent WebUI",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/qbittorrent/qBittorrent.git"
|
|
},
|
|
"scripts": {
|
|
"format": "js-beautify -r *.mjs private/*.html private/scripts/*.js private/views/*.html public/*.html public/scripts/*.js && prettier --write **.css",
|
|
"lint": "eslint *.mjs private/*.html private/scripts/*.js private/views/*.html public/*.html public/scripts/*.js && stylelint **/*.css && html-validate private public"
|
|
},
|
|
"devDependencies": {
|
|
"@stylistic/eslint-plugin": "*",
|
|
"eslint": "*",
|
|
"eslint-plugin-html": "*",
|
|
"eslint-plugin-prefer-arrow-functions": "*",
|
|
"eslint-plugin-regexp": "*",
|
|
"html-validate": "*",
|
|
"js-beautify": "*",
|
|
"prettier": "*",
|
|
"stylelint": "*",
|
|
"stylelint-config-standard": "*",
|
|
"stylelint-order": "*"
|
|
}
|
|
}
|