Skip to content

Self-improving AI Employees for everyone

Add postinstall to auto-build after npm install -g

trohitgaf0073d78674
diff --git a/package.json b/package.json
index cb63699d..a024f5b6 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "machinaos",
- "version": "0.0.6",
+ "version": "0.0.7",
"description": "Open source workflow automation platform with AI agents, React Flow, and n8n-inspired architecture",
"type": "module",
"keywords": [
@@ -68,7 +68,8 @@
"docker:prod:logs": "docker-compose -f docker-compose.prod.yml logs -f",
"deploy": "bash deploy.sh",
"deploy:gcp": "bash deploy.sh",
- "prepublishOnly": "node -e \"const p=require('./package.json'); if(!p.bin||!p.version){process.exit(1)}\""
+ "prepublishOnly": "node -e \"const p=require('./package.json'); if(!p.bin||!p.version){process.exit(1)}\"",
+ "postinstall": "node scripts/build.js"
},
"dependencies": {
"concurrently": "^9.2.1",