mirrors
mirrors copied to clipboard
‼️ ‼️ ‼️ ‼️ DEPRECATED, please use https://github.com/cnpm/cnpmcore ‼️ ‼️ ‼️ ‼️
DEPRECATED, please use https://github.com/cnpm/cnpmcore instead
DEPRECATED, please use https://github.com/cnpm/cnpmcore instead
DEPRECATED, please use https://github.com/cnpm/cnpmcore instead
mirrors
mirrors everything
Usage
electron-builder
# windows
ELECTRON_BUILDER_BINARIES_MIRROR=https://npmmirror.com/mirrors/electron-builder-binaries/ \
ELECTRON_MIRROR=http://npmmirror.com/mirrors/electron/ electron-builder build --win
# linux
ELECTRON_BUILDER_BINARIES_MIRROR=https://npmmirror.com/mirrors/electron-builder-binaries/ \
ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ electron-builder build --linux
# macOS
ELECTRON_BUILDER_BINARIES_MIRROR=https://npmmirror.com/mirrors/electron-builder-binaries/ \
ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ electron-builder build --mac
Contributing
make test- Add your code and test code. Run test again. You can refer to
test/sync/nw.test.jsfor syncer test
For more information about how to run the project, see Makefile.
Development run
make init-databasenode dispatch.js- You can alternatively choose which one you wanna sync in
config.categoriesinconfig/index.js - If you wanna visit 7001 port, change
bindingHostto0.0.0.0inconfig/index.js
License
MIT