Selaa lähdekoodia

Merge pull request #1027 from ckeditor/t/954

Internal: Introduced `npm run reinstall` that will be helpful when updating the whole project. Closes #954.
Piotrek Koszuliński 7 vuotta sitten
vanhempi
commit
9be3bf0660
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      package.json

+ 1 - 0
package.json

@@ -102,6 +102,7 @@
     "precommit": "lint-staged",
     "test": "node --max_old_space_size=4096 node_modules/@ckeditor/ckeditor5-dev-tests/bin/test.js",
     "test:manual": "node --max_old_space_size=4096 node_modules/@ckeditor/ckeditor5-dev-tests/bin/test-manual.js",
+    "reinstall": "rm -rf ./packages ./node_modules && mgit bootstrap && lerna bootstrap",
     "docs": "node ./scripts/docs/build-docs.js",
     "docs:api": "node ./scripts/docs/build-api-docs.js",
     "docs:build-and-publish": "node ./scripts/docs/build-and-publish.js",