Skip to content

Commit

Permalink
Chore: Add postpack script to clean the npm README changes
Browse files Browse the repository at this point in the history
  • Loading branch information
SBoudrias committed Jan 11, 2025
1 parent 43afbb5 commit ce98022
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
"demo": "node --watch-path=packages/ packages/demo/dist/esm/index.js",
"dev": "turbo watch tsc",
"prepare": "husky && turbo tsc attw",
"prepublishOnly": "find . -type f -name 'README*' -exec sed -i '' -e 's/utm_source=github/utm_source=npmjs/g' {} +",
"prepack": "find . -type f -name 'README*' -exec sed -i '' -e 's/utm_source=github/utm_source=npmjs/g' {} +",
"postpack": "git restore packages/**/README.md",
"setup": "node ./tools/setup-packages.mjs",
"pretest": "turbo tsc && eslint . && yarn tsc:test",
"test": "vitest --run packages && node --test integration/**/*.test.*",
Expand Down

0 comments on commit ce98022

Please sign in to comment.