Common web assets for use in LizardByte projects.
- Add the dependency to your package.json file:
npm install @lizardbyte/shared-web
-
Add a
.npmrc
file to the root of your project with the following contents.//npm.pkg.github.com/:_authToken=TOKEN @lizardbyte:registry=https://npm.pkg.github.com
Replace
TOKEN
with a valid GitHub token with read access to the package registry.See Authenticating with a personal access token for more information or alternative methods of authentication.
-
Add the dependency to your package.json file:
npm install @lizardbyte/shared-web