Skip to content

monicat112/npm-package-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NPM Package Demo

This is a companion project for Build & publish your own private npm package for free.

Example

If you focus on the button via mouse, you won't see a focus outline. If you interact via keyboard, you will. 🎉

Button Outline Demo

Usage

  1. $ npm install in both /tester-project and /smart-focus-ring
  2. $ npm install -g parcel-bundler to install parcel globally
  3. In /tester-project, import smart-focus-ring either:
    1. Locally
    $ npm link /YOUR-PATH/npm-package-demo/smart-focus-ring
    1. From your repo
    $ npm i git+ssh://git@bitbucket.org:YOUR-USER-NAME/smart-focus-ring.git
    1. Or from npm
    $ npm i smart-focus-ring
  4. Run parcel $ parcel index.html
  5. View in browser at the parcel gives you, probably localhost:1234

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published