summaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-06-12 13:26:37 +0200
committerGitHub <noreply@github.com>2020-06-12 14:26:37 +0300
commitbc4f7ba69b01c6f10f6ea26325bf61485adaa0ff (patch)
tree3b7a6dafcc034b2f9605b20673cad4d82d25a844 /package.json
parent2b573f49cf42cf157b89db3acc1c1dfa0d33cacb (diff)
downloadgitea-bc4f7ba69b01c6f10f6ea26325bf61485adaa0ff.tar.gz
gitea-bc4f7ba69b01c6f10f6ea26325bf61485adaa0ff.zip
Add automatic JS license generation (#11810)
* Add automatic JS license generation Removed librejs file and replaced it with a plaintext file that is built from all JS dependencies that are included in the webpack build. It does not cover the few remaining statically vendored files and fomantic is added manually because it's not yet in the webpack build process. Fixes: https://github.com/go-gitea/gitea/issues/11630 * fix lint * remove jslicense, we're not librejs compatible any more * remove license.txt test as it depens on absent files * small optimization * trailing comma * localize and capitalize the word 'licenses' * reduce text to just 'Licenses' Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/package.json b/package.json
index 7d82df3713..2320a45f4f 100644
--- a/package.json
+++ b/package.json
@@ -25,6 +25,7 @@
"jquery": "3.5.1",
"jquery.are-you-sure": "1.9.0",
"less-loader": "6.1.0",
+ "license-webpack-plugin": "2.2.0",
"mini-css-extract-plugin": "0.9.0",
"monaco-editor": "0.20.0",
"monaco-editor-webpack-plugin": "1.9.0",
@@ -48,7 +49,8 @@
"webpack-fix-style-only-entries": "0.5.0",
"workbox-routing": "5.1.3",
"workbox-strategies": "5.1.3",
- "worker-loader": "2.0.0"
+ "worker-loader": "2.0.0",
+ "wrap-ansi": "7.0.0"
},
"devDependencies": {
"eslint": "7.2.0",