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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
add npm link documentation #231
add npm link documentation #231
Conversation
馃憤 Perfect ! |
npm run build | ||
|
||
# copy package.json to dist | ||
npm run copy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was this for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is for copying LICENSE
and package.json
to dist
so that we release only dist
folder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And why is it needed to work with npm link
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
package.json
is needed for linking inside dist folder. Otherwise, it will link from the nearest folder that includes one.
@jmartinm |
Yes, the process should be same as publishing, otherwise |
Today @zzacharo and I realized that this is needed 馃槃