mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-18 11:28:39 +08:00
a159c3175f
* Add new JS linter rules Adds a few useful rules from eslint-plugin-github. Notable changes: - Forbid dataset usage, its camel-casing behaviour makes it hard to grep for attributes. - Forbid .then() and .catch(), we should generally prefer await for new code. For rare cases where they are useful, a eslint-disable-line directive can be set. - Add docs js to linting * also enable github/array-foreach * small tweak Co-authored-by: Andrew Thornton <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
68 lines
1.8 KiB
JSON
68 lines
1.8 KiB
JSON
{
|
|
"license": "MIT",
|
|
"private": true,
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">= 12.17.0"
|
|
},
|
|
"dependencies": {
|
|
"@claviska/jquery-minicolors": "2.3.5",
|
|
"@primer/octicons": "16.1.1",
|
|
"add-asset-webpack-plugin": "2.0.1",
|
|
"codemirror": "5.63.3",
|
|
"css-loader": "6.5.1",
|
|
"dropzone": "6.0.0-beta.1",
|
|
"easymde": "2.15.0",
|
|
"esbuild-loader": "2.16.0",
|
|
"escape-goat": "4.0.0",
|
|
"fast-glob": "3.2.7",
|
|
"font-awesome": "4.7.0",
|
|
"jquery": "3.6.0",
|
|
"jquery.are-you-sure": "1.9.0",
|
|
"less": "4.1.2",
|
|
"less-loader": "10.2.0",
|
|
"license-checker-webpack-plugin": "0.2.1",
|
|
"mermaid": "8.13.3",
|
|
"mini-css-extract-plugin": "2.4.4",
|
|
"monaco-editor": "0.30.1",
|
|
"monaco-editor-webpack-plugin": "6.0.0",
|
|
"pretty-ms": "7.0.1",
|
|
"sortablejs": "1.14.0",
|
|
"swagger-ui-dist": "4.1.0",
|
|
"tributejs": "5.1.3",
|
|
"vue": "2.6.14",
|
|
"vue-bar-graph": "1.3.0",
|
|
"vue-calendar-heatmap": "0.8.4",
|
|
"vue-loader": "15.9.8",
|
|
"vue-template-compiler": "2.6.14",
|
|
"webpack": "5.63.0",
|
|
"webpack-cli": "4.9.1",
|
|
"workbox-routing": "6.3.0",
|
|
"workbox-strategies": "6.3.0",
|
|
"worker-loader": "3.0.8",
|
|
"wrap-ansi": "8.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"editorconfig-checker": "4.0.2",
|
|
"eslint": "8.2.0",
|
|
"eslint-plugin-github": "4.3.5",
|
|
"eslint-plugin-html": "6.2.0",
|
|
"eslint-plugin-import": "2.25.3",
|
|
"eslint-plugin-unicorn": "38.0.1",
|
|
"eslint-plugin-vue": "8.0.3",
|
|
"jest": "27.3.1",
|
|
"jest-extended": "1.1.0",
|
|
"jest-raw-loader": "1.0.1",
|
|
"postcss-less": "5.0.0",
|
|
"stylelint": "14.0.1",
|
|
"stylelint-config-standard": "23.0.0",
|
|
"svgo": "2.8.0",
|
|
"updates": "12.2.2"
|
|
},
|
|
"browserslist": [
|
|
"defaults",
|
|
"not ie > 0",
|
|
"not ie_mob > 0"
|
|
]
|
|
}
|