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

build: add npm prepare script #95

Merged
merged 1 commit into from
Mar 1, 2021
Merged

Conversation

sinedied
Copy link
Member

@sinedied sinedied commented Mar 1, 2021

Add prepare script to automatically build the project on local install and linking.

It allows running a dev version and working on the project more easily:

  • you can npm install directly from the github repo without errors
  • you can clone the project and run npm link immediately without errors

As a bonus, this also builds the project before packing or publishing the project, avoiding the possibility of outdated builds when publishing.

@manekinekko manekinekko merged commit 2d6343f into Azure:main Mar 1, 2021
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.

2 participants