Socket
Socket
Sign inDemoInstall

ehapp

Package Overview
Dependencies
161
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ehapp

a company react-app template & deployment tool


Version published
Weekly downloads
6
increased by50%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

移动端项目脚手架

TODO

  • 支持快速生成 react 模版或者react-hooks 模版;
  • eslint,prettier,stylelint 校验规范;
  • husky 代码提交校验;
  • 自动校验模块文件名,防止文件覆盖;
  • deploy 命令自动化部署;
  • 自动过滤 node_modules & .vscode 等上传服务器
  • 部署离线App ...
  • 基于react + typescript 项目模块开发
  • 由于公司单元环境 ip 零散 ,暂时先手动输入ip部署吧

ehapp 脚手架使用说明

  1. 全局安装:npm install ehapp -g

  2. 新创建一个app项目:ehapp --init

app 项目命名规范:单独英文或英文 + - 命名方式

  1. 业务开发,打包,将文件拖入zapp repo 统一托管

建议在 zapp 目录下运行 ehapp -i 来获取相同文件名格式校验

  1. 自动化部署

先运行命令打包,然后执行 ehapp -d 部署项目到单元环境,部署完成即可通知测试

脚手架常用命令

  • ehapp --version or -V // ehapp curren version

  • ehapp --init or -i xx // create an app template

  • ehapp -l or --list // view a list of all available templates

  • ehapp -h or --help // output usage information of the ehapp

  • ehapp -d or ehapp --deploy // deploy app to server

FAQ

该脚手架仅支持单独部署 zapp 项目,如果部署 ehome-admin 或其它后台项目需要 运用Jenkins

Keywords

FAQs

Last updated on 27 Apr 2021

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc