Security News
npm Updates Search Experience with New Objective Sorting Options
npm has a revamped search experience with new, more transparent sorting options—Relevance, Downloads, Dependents, and Publish Date.
Command Line Interface for MIP 2.0.
Prerequisites: Node.js (>=8.x), npm version 3+ and Git.
$ npm install -g mip2
创建项目
$ mip2 init
新增一个组件
在项目根目录运行 mip2 add
命令,即可快速添加一个新组件
# 快速添加名为 mip-new 的组件
$ mip2 add mip-new
# 使用 -f 或 --force 参数强制覆盖同名组件
$ mip2 add mip-new -f
启动调试服务器,在项目根目录运行
$ mip2 dev
Example:
# 可使用 ——port 指定端口
$ mip2 dev --port 8888
组件和页面校验
$ mip2 validate
Example:
# 组件校验
$ mip2 validate components
$ mip2 validate -c components
# 页面校验
$ mip2 validate -p page.html
构建组件,在项目根目录运行
$ mip2 build
FAQs
CLI for mip 2.0
The npm package mip2 receives a total of 53 weekly downloads. As such, mip2 popularity was classified as not popular.
We found that mip2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
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.
Security News
npm has a revamped search experience with new, more transparent sorting options—Relevance, Downloads, Dependents, and Publish Date.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.