diff --git a/package.json b/package.json index 841c40f..bb22006 100644 --- a/package.json +++ b/package.json @@ -19,11 +19,12 @@ ], "scripts": { "prepare": "husky install", + "prepublishOnly": "npm run build", "antlr4": "node ./scripts/antlr4.js", "build": "rm -rf dist && tsc", "check-types": "tsc -p ./tsconfig.check.json", "test": "NODE_OPTIONS=--max_old_space_size=4096 && jest", - "release": "npm run build && node ./scripts/release.js", + "release": "node ./scripts/release.js", "lint": "prettier --check '**/*.ts' --config ./.prettierrc", "lint-fix": "prettier --write '**/*.ts' --config ./.prettierrc" },