From 9d1512040222ccbd7fd6464fc619009ef1b701bf Mon Sep 17 00:00:00 2001 From: Rob Garrison Date: Thu, 9 Aug 2018 14:04:25 -0500 Subject: [PATCH] Add "update-quick" script Using "npm run update" now re-installs all modules --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 51a49c58..c122d6aa 100644 --- a/package.json +++ b/package.json @@ -20,9 +20,11 @@ }, "scripts": { "lint": "eslint **/*.js || true", - "update": "npm run update-node && npm run update-versions && npm run update-codemirror", + "update": "npm run update-node && npm run update-main", + "update-quick": "updates -u && npm update && npm run update-main", + "update-main": "npm run update-versions && npm run update-codemirror", + "update-node": "updates -u && rm -rf node_modules && npm install", "update-codemirror": "node tools/update-libraries.js && node tools/update-codemirror-themes.js", - "update-node": "updates -u && npm update", "update-versions": "node tools/update-versions", "zip": "npm run update-versions && node tools/zip.js" }