New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@one-platform/opc-base

Package Overview
Dependencies
Maintainers
3
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@one-platform/opc-base

It contains shared components like layout, authentication provider for one platform

  • 1.2.0-beta
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

Opc-Base

Opc-Base is an npm package that provides authentication, toast notification, injecting logic into opc components like opc-nav, drawer components etc.

Getting Started

Copy the config.example.js file in dev folder, rename it as config.js and provide the configuration values needed to load the variables.

For testing es module copy the config.es.example.js file in dev folder, rename it as config.es.js and provide the configuration values needed to load the variables.

Installation

    npm install

Development Setup

To start the live build with rollup

   npm run build:watch

To start the development server

   npm run dev

Docs

  1. opc-base
  2. opc-provider

Build

This projects uses typescript with rollup for bundling

To build the project:

npm run build

To watch for changes and rebuild the files:

npm run build:watch

Inorder to preview the changes you made the project uses web @web-dev-server:

npm run dev

Testing

Testing is done using @web/test-runner and @open-wc/testing. Remember to build the package as some test are done using build file due to dependency import issues.

To run test:

npm run test

For local testing during development

npm run test:watch

Contributors

👤 Akhil Mohan (@akhilmhdh)

FAQs

Package last updated on 13 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc