🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

hzw-components

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hzw-components

![](设计图.png)

latest
npmnpm
Version
1.0.0
Version published
Weekly downloads
4
-55.56%
Maintainers
1
Weekly downloads
 
Created
Source

流程

开发

工作目录为 lujing-fe-components

创建新组件需加前缀 例如 js-map,react-table,rax-address 前缀为依赖环境 以下拿js-map 为例

npm run create js-maps
  npm run dev js-map

react 组件的demo的入口文件 在demo文件夹下的 index.js

dist

  npm run dist js-map

发布jekens

  npm run versions js-map

注:如只支持npm 不支持script 可以不用versions

todolist

发布npm

  cd components/js-map
  npm run publish

组件命名规范

  • 格式lujing-fe-xxx

jekens发布

  • 在 publish.json 中填写要发布的组件
  • 目前jekens发布方式每次只发布对用组件的对应版本(x.y.z和x.y),机器扩容成本大

FAQs

Package last updated on 03 Dec 2018

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