diff --git a/package.json b/package.json index 276fdbf1f..7d9489e31 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "generator-webtypes": "tsc -p antd-tools/generator-types/tsconfig.json && node antd-tools/generator-types/index.js", "pub": "node --max_old_space_size=8192 antd-tools/cli/run.js pub", "pub-with-ci": "node antd-tools/cli/run.js pub-with-ci", - "prepublish": "node antd-tools/cli/run.js guard", + "prepublishOnly": "node antd-tools/cli/run.js guard", "pre-publish": "node ./scripts/prepub && npm run generator-webtypes", "prettier": "prettier -c --write '**/*'", "pretty-quick": "pretty-quick",