Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@g123jp/app-ctr-navbar

Package Overview
Dependencies
Maintainers
6
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@g123jp/app-ctr-navbar

A react + ts package template with rollup,

  • 1.0.6
  • latest
  • npm
  • Socket score

Version published
Maintainers
6
Created
Source

react-ts-package-template

A react + ts package template with rollup,

feel free using it to create a new UI package.

(ref to: tree-shakable-component-library)

links:

used dependencies

Important note

Deploying

  1. change version in package.json file
  2. run yarn build
  3. replace all the code in a types-package/index.d.ts file with the following code.
import React from 'react';

import { G123NavigationSideBarProps } from './type';

export declare function renderComponent(
  props: G123NavigationSideBarProps,
): void;

declare global {
  namespace G123NavigationSideBar {
    const NavigationSideBar: React.NamedExoticComponent<G123NavigationSideBarProps>;
    function renderComponent(props: G123NavigationSideBarProps): void;
    function login(jwt: string): void;
  }
}
  1. run
npm publish --access public --tag latest --registry https://registry.npmjs.org/ --package-lock false --json

FAQs

Package last updated on 13 Nov 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