-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.npmrc
45 lines (38 loc) · 1.53 KB
/
.npmrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# registry = "https://registry.npm.taobao.org"
# registry = "https://r.npm.taobao.org"
sass_binary_site = "https://npm.taobao.org/mirrors/node-sass"
phantomjs_cdnurl = "http://cnpmjs.org/downloads"
electron_mirror = "https://npm.taobao.org/mirrors/electron/"
sqlite3_binary_host_mirror = "https://foxgis.oss-cn-shanghai.aliyuncs.com/"
profiler_binary_host_mirror = "https://npm.taobao.org/mirrors/node-inspector/"
chromedriver_cdnurl = "https://cdn.npm.taobao.org/dist/chromedriver"
# pnpm 子线程交叉打印
stream = true
# pnpm 工作区中的本地包是否优先于注册表中的包
prefer-workspace-packages = true
# pnpm 将 monorepo 工作区中的本地可用包链接到 node_modules,而不是从注册表重新下载它们。
link-workspace-packages = true
# 依赖提升
public-hoist-pattern[] = *types*
public-hoist-pattern[] = *eslint*
public-hoist-pattern[] = *stylelint*
public-hoist-pattern[] = @prettier/plugin-*
public-hoist-pattern[] = *prettier-plugin-*
public-hoist-pattern[] = prettier
public-hoist-pattern[] = *jest*
public-hoist-pattern[] = *rollup*
public-hoist-pattern[] = *babel*
public-hoist-pattern[] = core-js
public-hoist-pattern[] = regenerator-runtime
public-hoist-pattern[] = esbuild
public-hoist-pattern[] = *conventional*
public-hoist-pattern[] = jsdom
hoist-pattern[] = typescript
hoist-pattern[] = @vue/*
hoist-pattern[] = vue-template-compiler
hoist-pattern[] = vue-template-es2015-compiler
hoist-pattern[] = *vuepress*
hoist-pattern[] = *plop*
hoist-pattern[] = vue-demi
# for doc-site
hoist-pattern[] = nprogress