Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add npm script prepare #489

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add npm script prepare #489

wants to merge 1 commit into from

Conversation

gobengo
Copy link

@gobengo gobengo commented Feb 27, 2025

so when the repo is depended on via npm git dep, it builds the ts to js referenced by the package.json.

I tried this on my fork and verified it enabled me to install the branch via npm git dep
gobengo@7f0c171

(when package.json has a prepare script, then when npm loads it as a dependency in certain contexts outside of npm registry, then it will include devDeps and can then run tsc in the prepare script when being installed by a dependent)

so when the repo is depended on via npm git dep, it builds the ts to js referenced by the package.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant