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

@readr-media/react-component

Package Overview
Dependencies
Maintainers
0
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@readr-media/react-component

## Feature

2.2.0
latest
Source
npm
Version published
Maintainers
0
Created
Source

@readr-media/react-component · npm version

Feature

  • @readr-media/react-component 整理了 Readr 網站/靜態專題所需之共用元件。
  • 詳細使用方式可參閱各元件的 README.md。
  • 注意:此套件僅支援 ES modules,需注意使用環境須為 Node.js 12 / Next.js 12 以上。

Components

How to Use This Pkg?

  • Install the npm package yarn add @readr-media/react-component
  • Import component in the desired place

Installation

yarn install

Development

$ yarn dev
// or
$ npm run dev
// or
$ make dev

Build (Webpack Bundles and ES5 Transpiling)

$ yarn build
// or
$ npm run build
// or
$ make build

Transpile React, ES6 Codes to ES5

$ make build-lib

NPM Publish

After executing Build scripts, we will have /lib folders, and then we can execute publish command,

npm publish

Note: before publish npm package, we need to bump the package version first.

TODOs

  • 建立 CI pipeline,透過 CI 產生 npm package,並且上傳至 npm registry
  • 透過 Lerna 控制 packages 之間的版號

Keywords

react

FAQs

Package last updated on 31 Dec 2024

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