Skip to content

Instantly share code, notes, and snippets.

@dexteryy
Created July 13, 2016 09:32
Show Gist options
  • Save dexteryy/f727a34c8cef7b0f99cd7dd4858236e2 to your computer and use it in GitHub Desktop.
Save dexteryy/f727a34c8cef7b0f99cd7dd4858236e2 to your computer and use it in GitHub Desktop.

Revisions

  1. dexteryy created this gist Jul 13, 2016.
    12 changes: 12 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    export NVM_NODEJS_ORG_MIRROR=http://npm.taobao.org/mirrors/node
    export SASS_BINARY_SITE="https://npm.taobao.org/mirrors/node-sass"
    export PHANTOMJS_CDNURL=http://npm.taobao.org/mirrors/phantomjs
    export ELECTRON_MIRROR="https://npm.taobao.org/mirrors/electron/"
    export CHROMEDRIVER_CDNURL=http://npm.taobao.org/mirrors/chromedriver
    export SELENIUM_CDNURL=http://npm.taobao.org/mirrorss/selenium


    alias cnpm="npm --registry=https://registry.npm.taobao.org \
    --cache=$HOME/.npm/.cache/cnpm \
    --disturl=https://npm.taobao.org/dist \
    --userconfig=$HOME/.cnpmrc"