This is a companion project for Build & publish your own private npm package for free.
If you focus on the button via mouse, you won't see a focus outline. If you interact via keyboard, you will. 🎉
$ npm install
in both /tester-project and /smart-focus-ring$ npm install -g parcel-bundler
to install parcel globally- In /tester-project, import smart-focus-ring either:
- Locally
$ npm link /YOUR-PATH/npm-package-demo/smart-focus-ring
- From your repo
$ npm i git+ssh://git@bitbucket.org:YOUR-USER-NAME/smart-focus-ring.git
- Or from npm
$ npm i smart-focus-ring
- Run parcel
$ parcel index.html
- View in browser at the parcel gives you, probably localhost:1234