gitea/package.json
silverwind 27e3cddfbe
Move syntax highlighting to web worker (#11017)
This should eliminate page freezes when loading big files/diff.
`highlightBlock` is needed to preserve existing nodes when highlighting
and for that, highlight.js needs access to the DOM API so I added a DOM
implementation to make it work, which adds around 300kB to the output
file size of the lazy-loaded `highlight.js`.

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-04-13 16:02:31 +03:00

62 lines
1.7 KiB
JSON

{
"license": "MIT",
"private": true,
"engines": {
"node": ">=10"
},
"dependencies": {
"@babel/core": "7.8.7",
"@babel/plugin-proposal-object-rest-spread": "7.8.3",
"@babel/plugin-transform-runtime": "7.8.3",
"@babel/preset-env": "7.8.7",
"@babel/runtime": "7.8.7",
"@primer/octicons": "9.6.0",
"babel-loader": "8.0.6",
"clipboard": "2.0.6",
"copy-webpack-plugin": "5.1.1",
"core-js": "3.6.4",
"css-loader": "3.4.2",
"cssnano": "4.1.10",
"domino": "2.1.4",
"dropzone": "5.7.0",
"fast-glob": "3.2.2",
"fomantic-ui": "2.8.4",
"highlight.js": "9.18.1",
"imports-loader": "0.8.0",
"jquery": "3.4.1",
"jquery-datetimepicker": "2.5.21",
"jquery-migrate": "3.1.0",
"jquery.are-you-sure": "1.9.0",
"less-loader": "5.0.0",
"mini-css-extract-plugin": "0.9.0",
"optimize-css-assets-webpack-plugin": "5.0.3",
"postcss-loader": "3.0.0",
"postcss-preset-env": "6.7.0",
"postcss-safe-parser": "4.0.2",
"svg-sprite-loader": "4.2.1",
"svgo": "1.3.2",
"svgo-loader": "2.2.1",
"swagger-ui": "3.25.0",
"terser-webpack-plugin": "2.3.5",
"vue": "2.6.11",
"vue-bar-graph": "1.2.0",
"vue-calendar-heatmap": "0.8.4",
"vue-loader": "15.9.0",
"vue-template-compiler": "2.6.11",
"webpack": "4.42.0",
"webpack-cli": "3.3.11",
"webpack-fix-style-only-entries": "0.4.0",
"worker-loader": "2.0.0"
},
"devDependencies": {
"eslint": "6.8.0",
"eslint-config-airbnb-base": "14.1.0",
"eslint-plugin-import": "2.20.1",
"stylelint": "13.2.1",
"stylelint-config-standard": "20.0.0",
"updates": "10.2.4"
},
"browserslist": [
"defaults"
]
}