diff options
author | silverwind <me@silverwind.io> | 2020-03-19 03:45:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-19 10:45:23 +0800 |
commit | 661289d48039d403a68033c5788b83d9b53cb3aa (patch) | |
tree | 39dcb6379ad0e1e52060487ede503f5def90d95e /package.json | |
parent | a2809b391d332a8b753c33c98229bd4243165187 (diff) | |
download | gitea-661289d48039d403a68033c5788b83d9b53cb3aa.tar.gz gitea-661289d48039d403a68033c5788b83d9b53cb3aa.zip |
Move JS build dependencies to 'dependencies' (#10763)
- move all JS build dependencies to 'dependencies'
- update all JS dependencies
Reason for this is that npm will only install 'dependencies' when under
the effect of NODE_ENV=production which may be present on some build
systems.
Linters currently need to be depdendencies because we run linting as
part of the build step, but I plan to move them to a separate 'lint'
target which means they can move to devDependencies then.
Fixes: https://github.com/go-gitea/gitea/pull/10761
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/package.json b/package.json index 58064a5424..9b90bf0852 100644 --- a/package.json +++ b/package.json @@ -5,36 +5,30 @@ "node": ">=10" }, "dependencies": { - "@primer/octicons": "9.6.0", - "clipboard": "2.0.6", - "dropzone": "5.7.0", - "fomantic-ui": "2.8.4", - "highlight.js": "9.18.1", - "jquery": "3.4.1", - "jquery-datetimepicker": "2.5.21", - "jquery-migrate": "3.1.0", - "jquery.are-you-sure": "1.9.0", - "swagger-ui": "3.25.0", - "vue": "2.6.11", - "vue-bar-graph": "1.2.0", - "vue-calendar-heatmap": "0.8.4" - }, - "devDependencies": { "@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", + "dropzone": "5.7.0", "eslint": "6.8.0", "eslint-config-airbnb-base": "14.1.0", "eslint-plugin-import": "2.20.1", "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", @@ -46,14 +40,20 @@ "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", - "updates": "10.2.3", + "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" }, + "devDependencies": { + "updates": "10.2.4" + }, "browserslist": [ "defaults" ] |