mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 14:13:52 +03:00
0d1a5e0ffc
- Add basic frontend unit testing infrastructure using jest in ESM mode - Rename 'make test' to 'make test-backend' - Introduce 'make test-frontend' and 'make test' that runs both - Bump Node.js requirement to v12. v10 will be EOL in less than a month. - Convert all build-related JS files to ESM. I opted to run frontend tests run as part of the compliance pipeline because they complete fast and are not platform-specific like the golang tests.
66 lines
1.7 KiB
JSON
66 lines
1.7 KiB
JSON
{
|
|
"license": "MIT",
|
|
"private": true,
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">= 12.17.0"
|
|
},
|
|
"dependencies": {
|
|
"@claviska/jquery-minicolors": "2.3.5",
|
|
"@primer/octicons": "12.1.0",
|
|
"add-asset-webpack-plugin": "2.0.1",
|
|
"clipboard": "2.0.8",
|
|
"codemirror": "5.60.0",
|
|
"css-loader": "5.2.0",
|
|
"css-minimizer-webpack-plugin": "1.3.0",
|
|
"dropzone": "5.9.2",
|
|
"easymde": "2.14.0",
|
|
"esbuild-loader": "2.11.0",
|
|
"escape-goat": "3.0.0",
|
|
"fast-glob": "3.2.5",
|
|
"font-awesome": "4.7.0",
|
|
"jquery": "3.6.0",
|
|
"jquery.are-you-sure": "1.9.0",
|
|
"less": "4.1.1",
|
|
"less-loader": "8.0.0",
|
|
"license-checker-webpack-plugin": "0.2.1",
|
|
"mermaid": "8.9.2",
|
|
"mini-css-extract-plugin": "1.4.0",
|
|
"monaco-editor": "0.23.0",
|
|
"monaco-editor-webpack-plugin": "3.0.1",
|
|
"postcss": "8.2.9",
|
|
"pretty-ms": "7.0.1",
|
|
"sortablejs": "1.13.0",
|
|
"swagger-ui-dist": "3.46.0",
|
|
"tributejs": "5.1.3",
|
|
"vue": "2.6.12",
|
|
"vue-bar-graph": "1.2.0",
|
|
"vue-calendar-heatmap": "0.8.4",
|
|
"vue-loader": "15.9.6",
|
|
"vue-template-compiler": "2.6.12",
|
|
"webpack": "5.30.0",
|
|
"webpack-cli": "4.6.0",
|
|
"workbox-routing": "6.1.2",
|
|
"workbox-strategies": "6.1.2",
|
|
"worker-loader": "3.0.8",
|
|
"wrap-ansi": "7.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "7.23.0",
|
|
"eslint-plugin-html": "6.1.2",
|
|
"eslint-plugin-import": "2.22.1",
|
|
"eslint-plugin-unicorn": "29.0.0",
|
|
"eslint-plugin-vue": "7.8.0",
|
|
"jest": "26.6.3",
|
|
"jest-extended": "0.11.5",
|
|
"stylelint": "13.12.0",
|
|
"stylelint-config-standard": "21.0.0",
|
|
"svgo": "2.3.0",
|
|
"updates": "11.4.3"
|
|
},
|
|
"browserslist": [
|
|
"defaults",
|
|
"not ie > 0",
|
|
"not ie_mob > 0"
|
|
]
|
|
}
|