diff --git a/components/x-increment/package.json b/components/x-increment/package.json index e85cad9df..64958f3a0 100644 --- a/components/x-increment/package.json +++ b/components/x-increment/package.json @@ -4,7 +4,7 @@ "description": "", "main": "dist/Increment.cjs.js", "scripts": { - "postinstall": "npm run build", + "prepare": "npm run build", "build": "node rollup.js" }, "keywords": [], diff --git a/components/x-interaction/package.json b/components/x-interaction/package.json index 960718757..848bf6bde 100644 --- a/components/x-interaction/package.json +++ b/components/x-interaction/package.json @@ -4,7 +4,7 @@ "description": "", "main": "dist/Interaction.cjs.js", "scripts": { - "postinstall": "npm run build", + "prepare": "npm run build", "build": "node rollup.js" }, "keywords": [], diff --git a/components/x-styling-demo/package.json b/components/x-styling-demo/package.json index 6bcc91720..ac5cf3e45 100644 --- a/components/x-styling-demo/package.json +++ b/components/x-styling-demo/package.json @@ -8,7 +8,7 @@ "style": "dist/Button.css", "private": true, "scripts": { - "postinstall": "npm run build", + "prepare": "npm run build", "build": "node rollup.js" }, "keywords": [], diff --git a/components/x-teaser/package.json b/components/x-teaser/package.json index 8bfcb9777..5cfd91097 100644 --- a/components/x-teaser/package.json +++ b/components/x-teaser/package.json @@ -7,7 +7,7 @@ "browser": "dist/Teaser.es5.js", "types": "Props.d.ts", "scripts": { - "postinstall": "npm run build", + "prepare": "npm run build", "build": "node rollup.js" }, "keywords": [],