Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@codoonfxd/crn-cli

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codoonfxd/crn-cli

1. 安装包 ``` sudo npm install -g @codoonfxd/crn-cli ```

  • 1.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source
  1. 安装包
sudo npm install -g @codoonfxd/crn-cli
  1. 生成一个仓库
    • 下载基础库
    • 初始化git环境
    • 安装依赖包
crn-cli init myAwesomeObject 
  1. 生成一个页面
    • 根据页面生成自动生成flux相关文件
    • 生成样例文件并且自动引入依赖
    • 更新页面配置信息
crn-cli create myPageName 
  1. 版本控制
- 使用git tag做版本控制
- 开发一个页面的时候,切出一个开发分支feature/xxxx. 开发完毕之后合到master
- 需要发布一个版本的时候使用git tag v0.0.1,并且把tag提交到远程 
- 不能在开发分支上发布代码,必须强制合到master分支进行版本更新
  1. 打包
    • 批量打包.
    • 代码规范强制检查. 必须通过eslint代码风格检查,不通过显示错误信息
    • 可以同时上传多个环境test_ab_online
    • 打包的时候自动push,防止文件不提交
crn-cli build 
- 强制push分支
- 强制合并master
  1. 测试环境一键部署, 暂不支持其他环境
测试环境本地部署
crn-cli publish test

#ReactNative

FAQs

Package last updated on 27 Dec 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