Skip to content

Commit da72dab

Browse files
committed
Switch back to running the script with prepare because postinstall will also run when installing the package from npm (#198)
1 parent ca27ed5 commit da72dab

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

package-lock.json

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"demo": "cd demo && tsc && node demo.js",
4242
"lint": "eslint --max-warnings=0 .",
4343
"issue": "cd issue && tsc && node issue.js",
44-
"postinstall": "node npm-postinstall.mjs",
44+
"prepare": "node npm-postinstall.mjs",
4545
"test": "vitest run",
4646
"test-dist": "node tests/dist/test-dist",
4747
"update-index": "cd tools && tsc && node update-index.js ../src"

0 commit comments

Comments
 (0)