diff --git a/package.json b/package.json index b45f19ba0..36a9f75cc 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,9 @@ }, "scripts": { "start": "lerna bootstrap --hoist", - "i-all": "lerna link && lerna exec npm install " + "i-all": "lerna link && lerna exec npm install ", + "prepublishOnly": "npm run before-build && lerna run build ", + "before-build": "cd ./packages/core/acme-client && time /t >build.md && git add ./build.md && git commit -m \"build: prepare to build\"" }, "license": "MIT", "dependencies": {