lxiaoixi / mirrors

mirrors all you need

Home Page:https://npm.taobao.org/mirrors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mirrors

NPM version build status Test coverage David deps node version Gittip

mirrors everything

Usage

electron-builder

# windows
ELECTRON_BUILDER_BINARIES_MIRROR=https://npm.taobao.org/mirrors/electron-builder-binaries/ \
  ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/ electron-builder build --win

# linux
ELECTRON_BUILDER_BINARIES_MIRROR=https://npm.taobao.org/mirrors/electron-builder-binaries/ \
  ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/ electron-builder build --linux

# macOS
ELECTRON_BUILDER_BINARIES_MIRROR=https://npm.taobao.org/mirrors/electron-builder-binaries/ \
  ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/ electron-builder build --mac

Contributing

  1. make test
  2. Add your code and test code. Run test again. You can refer to test/sync/nw.test.js for syncer test

For more information about how to run the project, see Makefile.

Development run

  1. make init-database
  2. node dispatch.js
  3. You can alternatively choose which one you wanna sync in config.categories in config/index.js
  4. If you wanna visit 7001 port, change bindingHost to 0.0.0.0 in config/index.js

Usage

License

MIT

About

mirrors all you need

https://npm.taobao.org/mirrors

License:Other


Languages

Language:JavaScript 94.5%Language:HTML 3.1%Language:Makefile 1.3%Language:Shell 1.1%