wm-offline
waimai offline dev tool
Last updated 3 years ago by lin-xi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install wm-offline 
SYNC missed versions from official npm registry.

wmOffline

waimai offline dev tool

NPM version npm download

install

npm install -g wm-offline

config

add offline-config.json to the root of your project

{
	"watch": "./examples",
	"pluginId": "bdwm.plugin.pinzhi",
	"deploy": [
		{
			"receiver": "http://gzhxy-waimai-dcloud25.gzhxy.iwm.name:8325/receiver.php",
			"to": "/home/map/odp_cater/webroot/static/offline",
			"publicPort": 8109
		}
	]
}

usage

wm-offline watch

start the offline dev tool and watch the change of the configtion\'s watch folder

wm-offline build

build the release package, resovle '<script id="wmapp"></script>' to real path.
put the tag '<script id="wmapp"></script>' in the head front of any other js, to accelerate the NA to ready,
in fact, the NA is ready anywhere in other js.

提前注入bridge

  • 在header中添加标签 <script id="wmapp"></script>
  • wm-offline build

receiver

php version https://github.com/fex-team/fis-command-release/blob/master/tools/receiver.php

node version https://github.com/fex-team/receiver

release log

  • 1.1.51
   1. 修复react版本冲突bug
   2. 添加日志调试console.log功能
  • 1.1.47
   1. 添加wm-offline build, build打的包不会注入socket,然后会解析<script id="wmapp"></script>
   2. 离线协议修改,url -> downloadUrl
   3. 添加统计

tips

mac 下杀进程的方法

lsof -i tcp:8088

kill -9 进程id

Current Tags

  • 1.2.6                                ...           latest (3 years ago)

68 Versions

  • 1.2.6                                ...           3 years ago
  • 1.2.5                                ...           3 years ago
  • 1.2.4                                ...           3 years ago
  • 1.2.3                                ...           3 years ago
  • 1.2.2                                ...           3 years ago
  • 1.2.1                                ...           4 years ago
  • 1.2.0                                ...           4 years ago
  • 1.1.53                                ...           4 years ago
  • 1.1.52                                ...           4 years ago
  • 1.1.51                                ...           4 years ago
  • 1.1.50                                ...           4 years ago
  • 1.1.49                                ...           4 years ago
  • 1.1.48                                ...           4 years ago
  • 1.1.47                                ...           4 years ago
  • 1.1.46                                ...           4 years ago
  • 1.1.45                                ...           4 years ago
  • 1.1.44                                ...           4 years ago
  • 1.1.43                                ...           4 years ago
  • 1.1.42                                ...           4 years ago
  • 1.1.41                                ...           4 years ago
  • 1.1.40                                ...           4 years ago
  • 1.1.39                                ...           4 years ago
  • 1.1.38                                ...           4 years ago
  • 1.1.36                                ...           4 years ago
  • 1.1.35                                ...           4 years ago
  • 1.1.34                                ...           4 years ago
  • 1.1.33                                ...           4 years ago
  • 1.1.32                                ...           4 years ago
  • 1.1.31                                ...           4 years ago
  • 1.1.30                                ...           4 years ago
  • 1.1.29                                ...           4 years ago
  • 1.1.28                                ...           4 years ago
  • 1.1.27                                ...           4 years ago
  • 1.1.26                                ...           4 years ago
  • 1.1.24                                ...           4 years ago
  • 1.1.23                                ...           4 years ago
  • 1.1.22                                ...           4 years ago
  • 1.1.21                                ...           4 years ago
  • 1.1.19                                ...           4 years ago
  • 1.1.18                                ...           4 years ago
  • 1.1.17                                ...           4 years ago
  • 1.1.16                                ...           4 years ago
  • 1.1.15                                ...           4 years ago
  • 1.1.14                                ...           4 years ago
  • 1.1.13                                ...           4 years ago
  • 1.1.12                                ...           4 years ago
  • 1.1.11                                ...           4 years ago
  • 1.1.10                                ...           4 years ago
  • 1.1.9                                ...           4 years ago
  • 1.1.8                                ...           4 years ago
  • 1.1.7                                ...           4 years ago
  • 1.1.6                                ...           4 years ago
  • 1.1.5                                ...           4 years ago
  • 1.1.4                                ...           4 years ago
  • 1.1.3                                ...           4 years ago
  • 1.1.2                                ...           4 years ago
  • 0.1.2                                ...           4 years ago
  • 0.1.1                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
  • 0.0.9                                ...           5 years ago
  • 0.0.8                                ...           5 years ago
  • 0.0.7                                ...           5 years ago
  • 0.0.6                                ...           5 years ago
  • 0.0.5                                ...           5 years ago
  • 0.0.4                                ...           5 years ago
  • 0.0.3                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 1
Last Month 0
Dependencies (16)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |