1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 09:04:26 +00:00
gitea/package.json
silverwind 37205039fc
Replace clipboard.js with async clipboard api (#15899)
Use async clipboard api [1] over this dependency, saving around 10kB
bundle size before minify while delivering the same functionality.

The issue comment button works but does not have a popup indication. We
could add some toast-style notifications in the future to fix that but I
think it's out of scope of this PR.

[1] https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/writeText
2021-05-30 20:15:57 +01:00

65 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": "13.0.0",
"add-asset-webpack-plugin": "2.0.1",
"codemirror": "5.61.0",
"css-loader": "5.2.4",
"dropzone": "5.9.2",
"easymde": "2.15.0",
"esbuild-loader": "2.13.0",
"escape-goat": "4.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.1.1",
"license-checker-webpack-plugin": "0.2.1",
"mermaid": "8.10.1",
"mini-css-extract-plugin": "1.6.0",
"monaco-editor": "0.24.0",
"monaco-editor-webpack-plugin": "3.1.0",
"pretty-ms": "7.0.1",
"sortablejs": "1.13.0",
"swagger-ui-dist": "3.48.0",
"tributejs": "5.1.3",
"vue": "2.6.12",
"vue-bar-graph": "1.2.2",
"vue-calendar-heatmap": "0.8.4",
"vue-loader": "15.9.7",
"vue-template-compiler": "2.6.12",
"webpack": "5.37.0",
"webpack-cli": "4.7.0",
"workbox-routing": "6.1.5",
"workbox-strategies": "6.1.5",
"worker-loader": "3.0.8",
"wrap-ansi": "8.0.0"
},
"devDependencies": {
"editorconfig-checker": "4.0.2",
"eslint": "7.26.0",
"eslint-plugin-html": "6.1.2",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-unicorn": "32.0.1",
"eslint-plugin-vue": "7.9.0",
"jest": "26.6.3",
"jest-extended": "0.11.5",
"stylelint": "13.13.1",
"stylelint-config-standard": "22.0.0",
"svgo": "2.3.0",
"updates": "12.1.0"
},
"browserslist": [
"defaults",
"not ie > 0",
"not ie_mob > 0"
]
}