diff --git a/package.json b/package.json index 3c8af4112bb0..b879e53798e6 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "update-template-deps": "node bin/update-template-deps -f", "update-all-deps": "npm update && lerna exec -- npm update && npm run update-package-locks", "sync-dev-deps": "node bin/sync-dev-deps", - "version": "npm run update-template-deps", + "version": "npm run update-template-deps && npm run update-package-locks && git add \"**/package-lock.json\"", "outdated": "npm outdated --depth 0 && lerna exec --no-bail \"npm outdated --depth 0\"", "tsdocs": "lerna run --scope @loopback/tsdocs build:tsdocs", "coverage:ci": "node packages/build/bin/run-nyc report --reporter=text-lcov | coveralls", @@ -52,7 +52,7 @@ "clean": "lerna run clean && node packages/build/bin/run-clean \"packages/*/dist\" \"extensions/*/dist\" \"examples/*/dist\" \"benchmark/dist\"", "clean:lerna": "lerna clean", "build": "node bin/run-lerna run build", - "build:full": "npm run clean:lerna && npm install && npm run clean && npm run build", + "build:full": "lerna clean && node packages/build/bin/run-clean \"node_modules\" && npm install && npm run clean && npm run build", "pretest": "npm run clean && npm run build", "test": "node packages/build/bin/run-nyc npm run mocha --scripts-prepend-node-path", "test:ci": "node packages/build/bin/run-nyc npm run mocha --scripts-prepend-node-path",