aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2019-06-19 04:59:47 +0200
committertechknowlogick <techknowlogick@gitea.io>2019-06-18 22:59:47 -0400
commita71cabbd537d2ca3f937e8fb986315ccc6701270 (patch)
tree7e25cbd146d70b5c07083097edb0c7dda53aa9c2 /package.json
parent33ad5548002156f7fb7779870571600c0a181c85 (diff)
downloadgitea-a71cabbd537d2ca3f937e8fb986315ccc6701270.tar.gz
gitea-a71cabbd537d2ca3f937e8fb986315ccc6701270.zip
add 'npm' and 'npm-update' make targets and lockfile (#7246)
* add 'npm' and 'npm-update' make targets and lockfile - `make npm` installs and updates node_modules, triggered automatically on `make css` and `make js` as it completes reasonably fast and ensures consistent modules. - `make npm-update` updates all dependencies to their latest version, regenerates `node_modules` from scratch and updates `package-lock.json`. It uses npm modules `updates` written by yours truly to find the latest version of each dependency. * add suggested make dependencies * remove package-lock.json during npm-update * regenerate package-lock.json
Diffstat (limited to 'package.json')
-rw-r--r--package.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/package.json b/package.json
index 94bf01f909..5d352c5ca2 100644
--- a/package.json
+++ b/package.json
@@ -1,12 +1,13 @@
{
"license": "MIT",
"devDependencies": {
- "autoprefixer": "9.5.1",
+ "autoprefixer": "9.6.0",
"eslint": "5.16.0",
"less": "3.9.0",
"less-plugin-clean-css": "1.5.1",
"lesshint": "6.3.6",
- "postcss-cli": "6.1.2"
+ "postcss-cli": "6.1.2",
+ "updates": "8.1.0"
},
"browserslist": [
"> 1%",