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

py-components

Package Overview
Dependencies
Maintainers
2
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

py-components

基于 element 2.13.1 版本

latest
npmnpm
Version
1.2.12
Version published
Weekly downloads
113
Maintainers
2
Weekly downloads
 
Created
Source

开发规范

基于 element 2.13.1 版本

查看 package.json npm scripts

运行 examples

"serve:examples": "vue-cli-service serve"

使用 serve:examples 命令运行 examples 目录下代码

使用 commit 命令提交代码

"commit": "git-cz"

使用 git-cz 提交标准格式的 git message 信息,易于查看历史修改 详细配置在根目录.cz-config 内配置

使用 pord:build 命令打包

"pord:build": "npm run build:lib && npm run build:components && npm run build:style && npm run build:icon"

pord:build 会依次运行子命令 分别 build 组件、样式与图标

使用 release 命令发布

"release": "npm run pord:build && standard-version",

release 命令运行 build 命令之后使用 standard-version 自动打版本号和 git tag

执行完 npm run release命令后执行git push --follow-tags origin master 推送tag

执行npm publish 推送到npm

FAQs

Package last updated on 07 Jan 2022

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