Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

root-size

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

root-size

使用rem作为布局单位,实现弹性布局,页面等比适应所有“分辨率”的设备。

latest
Source
npmnpm
Version
1.1.2
Version published
Weekly downloads
5
150%
Maintainers
1
Weekly downloads
 
Created
Source

root-size

使用rem作为布局单位,实现弹性布局,页面等比适应所有“分辨率”的设备。

用例

  • 下载
  • 在渲染页面之前(最好内嵌在中)引入/dist/root-size.min.js

npm scripts

  • test 单元测试
  • build 构建项目
  • build:dev 构建开发环境代码
  • build:pro 构建生成环境代码
  • compile 编译源码
  • lint 检测语法
  • lint:watch 实时检测语法
  • install-git-hooks 安装git钩子
  • doc 自动生成文档
  • prepublish 发布到npm前执行的脚本
  • postpublish 发布到npm后执行的脚本

FAQs

Package last updated on 28 Nov 2017

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