open-index/open-npm huggingface dataset:
npm package: @fitmentgroup/viper-widgets
Description: ## Running
Latest version: 0.2.13

# viper-widgets

## Running

* `yarn install`
* Write your credentials in `.credentials.json` in this format:

```json
{
  "username": "someusername@fitmentgroup.com",
  "password": "<password>"
}
```
* `node auth.js`
* `yarn serve`

## How is this project used in viper?

* Browse or clone https://git.thegeck.com/demand/viper
* Check the file `src/viper/viper/Views/Shared/_ViperWidgetsLayout.cshtml`
* There's a line using this package through unpkg:
<script src="https://unpkg.com/@@fitmentgroup/viper-widgets@@next/umd/main.umd.js"></script>
(The double `@` mean a single `@` in cshtml/razor files)
Views using that layout will be able to access viper-widgets.

To see how components are used, browse any of the html pages on `public/`.

## Publishing

I like using `np`:

* `npm install --global np@5.2.1`
* `np --no-tests`

## How is this hosted and used?

This package is published to npm (https://www.npmjs.com/package/@fitmentgroup/viper-widgets)

We use the unpkg.com service (https://unpkg.com/@fitmentgroup/viper-widgets@next/umd/main.umd.js)
on a script tag in any page we want to use this package in.