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

ehdev

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ehdev

dev tool for ehuodi dever

  • 1.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

EHDEV


npm npm

易货滴前端开发脚手架

设计

desgin

如何使用


  1. 全局安装 ehdev
npm i -g ehdev
  1. 切换到工程目录,初始化脚手架环境
ehdev init
  1. 启动调试环境
ehdev server

配置文件说明

// abc.json
{
  // 项目类型
  "type": "standard",
  // 公共库
  "libiary": {
    "commonLib": [ "./lib/common.js" ]
  },
  // 直接引用的外部资源,不构建
  "externals": {
    "lodash": {
      "path": "node_modules/lodash/lodash.min.js",
      "alias": "_"
    }
  },
  // 接口代理转发
  "proxy": {
    "/someApiPath": "http://some.host/someApiPath"
  },
  // 兼容浏览器范围,同时影响 css 和 js
  // 规则:https://github.com/ai/browserslist
  "browser_support": {
    "DEVELOPMENT": [ "last 2 versions" ],
    "PRODUCTION": [ "last 2 versions" ]
  },
  // 发布地址,只在生产环境生效
  "publicPath": "http://your.publishserver.address/"
}

Keywords

FAQs

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

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