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

fs-component

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fs-component

latest
npmnpm
Version
1.3.1
Version published
Weekly downloads
139
434.62%
Maintainers
1
Weekly downloads
 
Created
Source

fs-component

将js打包到lib

npm run build:js

将公共的css打包到lib/pages

npm run copy-css:lib

将src/assets 下的所有文件打包到lib/assets

npm run copy-other

发布、更新

使用命令:npm version <update_type>进行修改,update_type 有三个参数,

第一个是patch,  第二个是minor,第三个是 major,

patch:这个是补丁的意思,补丁最合适;

minor:这个是小修小改;

major:这个是大改咯;

具体咋用:

比如我想来个1.0.1版本,注意,是最后一位修改了增1,那么命令:npm version patch    回车就可以了;

比如我想来个1.1.0版本,注意,是第二位修改了增1,那么命令:    npm version minor    回车就可以了;

比如我想来个2.0.0版本,注意,是第一位修改了增1,那么命令:    npm version major     回车就可以了;

npm publish

FAQs

Package last updated on 03 Feb 2020

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