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

Bug fixing in getting mouse position for issue #27. #68

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions BuildAndPublish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Build and Publish
Steps to build and publish the npm package.

## Update information in package.json

As a minimum, update the version number in package.json

## Commands
Open a command prompt in the project root directory and enter the following commands:

Build the package
```console
npm run build:prod
```

Pack the package
```console
npm pack
```

Login to npm
```console
npm login
```
Obviously you must be registered with npm :smiley:.
This command will open a browser window.

Publish the package
```console
npm publish --access public
```

Check that it has been published
```console
npm info @philjollans/fretboard.js
```

Alternatively visit:
https://www.npmjs.com/package/@philjollans/fretboard.js
Loading