1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-26 09:09:36 -05:00
forgejo/package.json
silverwind 23bd7b1211
Add copy button to markdown code blocks (#17638)
* Add copy button to markdown code blocks

Done mostly in JS because I think it's better not to try getting buttons
past the markup sanitizer.

* add svg module tests

* fix sanitizer regexp

* remove outdated comment

* vertically center button in issue comments as well

* add comment to css

* fix undefined on view file line copy

* combine animation less files

* Update modules/markup/markdown/markdown.go

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>

* add test for different sizes

* add cloneNode and add tests for it

* use deep clone

* remove useless optional chaining

* remove the svg node cache

* unify clipboard copy string and i18n

* remove unused var

* remove unused localization

* minor css tweaks to the button

* comment tweak

* remove useless attribute

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2021-11-16 16:16:05 +08:00

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": "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-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"
]
}