diff --git a/package.json b/package.json index cfa52a392..bcaba5a1d 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ "lint:types": "tslint \"**/*.d.ts\" -e \"**/node_modules/**\" -t stylish -c config/tslint.json", "pages": "node scripts/pages", "prepublish": "cd cli && npm install && cd .. && npm run build", + "prepublishOnly": "cd cli && npm install && cd .. && npm run build", "postinstall": "node scripts/postinstall", "prof": "node bench/prof", "test": "npm run test:sources && npm run test:types",