diff --git a/packages/cli/package.json b/packages/cli/package.json index 8d6666b..d813956 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -10,6 +10,7 @@ "penpot-export": "./dist/bin/index.js" }, "scripts": { + "prepack": "npm run build", "build": "tsc", "format": "prettier -w .", "dev": "tsc-watch" diff --git a/packages/core/package.json b/packages/core/package.json index aeaea60..871b771 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -8,6 +8,7 @@ "dist" ], "scripts": { + "prepack": "npm run build", "build": "tsc", "pretest": "npm run build", "test": "node --test",