New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

zzc-design-mobile

Package Overview
Dependencies
Maintainers
1
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zzc-design-mobile

zzc-design-mobile是基于react开发的ui框架,用于租租车移动端的ui框架。 由产品设计统一规范的移动端统一样式交互的方案。

  • 1.0.5
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

zzc-design-mobile

zzc-design-mobile是基于react开发的ui框架,用于租租车移动端的ui框架。 由产品设计统一规范的移动端统一样式交互的方案。

其中借鉴了antd的一些写法以及交互样式,并另外定制交互和样式。

Install

npm install zzc-design-mobile --save-dev

Development

npm run svgo //清除多余的svg标识
npm run build //编译整个component到es目录(es6文件)
npm run watch //动态编译整个component到es目录(es6文件)
npm run publish //编译整个es到lib目录(es5文件)
npm run build_demo //相当于执行publish并将lib文件复制到demo文件中的node_modlues文件中
npm run test //运行单元测试

demo

npm run build //编译demo
npm run watch //编译demo
npm run publish //编译demo

publishbuildwatch有一点不一样,因为buildwatch是开发环境,所以webpack打包的时候会将zzc-design-mobile指向外层文件的es文件中去获取。

所以在开发中需要在根目录运行watch,demo目录中也要同时运行watch

FAQs

Package last updated on 12 Jun 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc