#! /bin/bash # Copyright 2017-2020 The ShadowEditor Authors. All rights reserved. # Use of this source code is governed by a MIT-style # license that can be found in the LICENSE file. # # For more information, please visit: https://github.com/tengge1/ShadowEditor # You can also visit: https://gitee.com/tengge1/ShadowEditor # # For some well-known reasons, it is slow to install packages from https://www.npmjs.com/ in china. # So, we can set a proxy to make it faster to install third-party dependencies. npm config set registry https://registry.npm.taobao.org/