Răsfoiți Sursa

Renamem npm script "reinstall" to "init" and added "reinstall" script which just re-install deps.

Kamil Piechaczek 7 ani în urmă
părinte
comite
c74f9e12cc
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      package.json

+ 2 - 1
package.json

@@ -101,7 +101,8 @@
     "precommit": "lint-staged",
     "test": "node --max_old_space_size=4096 node_modules/@ckeditor/ckeditor5-dev-tests/bin/test.js",
     "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",
+    "init": "rm -rf ./packages ./node_modules && mgit bootstrap && lerna bootstrap",
+    "reinstall": "lerna clean --yes && 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",