npm run-script cleanbuild
Go to the npm subfolder
npm --registry URL_OF_YOUR_REGISTRY_HERE publish
Navigate to the example
subfolder.
Ensure that you see the library source (from the main src
folder) also within example\src\lib\
(on Windows you have to copy it there, on Linux it should be a symlink).
Then run:
npm install
npm start
Naivate to the example
subfolder.
Then run:
npm run-script e2e