From 661289d48039d403a68033c5788b83d9b53cb3aa Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 19 Mar 2020 03:45:23 +0100 Subject: 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 --- package.json | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'package.json') 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" ] -- cgit v1.2.3