Add "update-quick" script
Using "npm run update" now re-installs all modules
This commit is contained in:
parent
d7b87130f9
commit
9d15120402
|
@ -20,9 +20,11 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint **/*.js || true",
|
"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-codemirror": "node tools/update-libraries.js && node tools/update-codemirror-themes.js",
|
||||||
"update-node": "updates -u && npm update",
|
|
||||||
"update-versions": "node tools/update-versions",
|
"update-versions": "node tools/update-versions",
|
||||||
"zip": "npm run update-versions && node tools/zip.js"
|
"zip": "npm run update-versions && node tools/zip.js"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user