generated from ScoopInstaller/BucketTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nodejs.json
58 lines (58 loc) · 2.14 KB
/
nodejs.json
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
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"version": "22.3.0",
"description": "An asynchronous event driven JavaScript runtime designed to build scalable network applications.",
"homepage": "https://nodejs.org",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://mirrors.ustc.edu.cn/node/v22.3.0/node-v22.3.0-win-x64.7z",
"hash": "5eead5f9946b5381ffb36430970a2e3d0bcf90383a9432ea76e93d0efdc70691",
"extract_dir": "node-v22.3.0-win-x64"
},
"32bit": {
"url": "https://mirrors.ustc.edu.cn/node/v22.3.0/node-v22.3.0-win-x86.7z",
"hash": "e8e34fbef56216f8d58499215d3c5220ce429c455ee2bfa97b29bb0e9ba57e1b",
"extract_dir": "node-v22.3.0-win-x86"
},
"arm64": {
"url": "https://mirrors.ustc.edu.cn/node/v22.3.0/node-v22.3.0-win-arm64.7z",
"hash": "57a44a7c956581e2939c8c040cb49f72dfa148c4e97178e54be67e78cc45ca69",
"extract_dir": "node-v22.3.0-win-arm64"
}
},
"persist": [
"bin",
"cache"
],
"env_add_path": [
"bin",
"."
],
"post_install": [
"# Set npm prefix to install modules inside bin and npm cache so they persist",
"Set-Content -Value \"prefix=$persist_dir\\bin`ncache=$persist_dir\\cache\" -Path \"$dir\\node_modules\\npm\\npmrc\""
],
"checkver": {
"url": "https://nodejs.org/dist/latest/",
"regex": "node-v([\\d.]+)-win-x64\\.7z"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://mirrors.ustc.edu.cn/node/v$version/node-v$version-win-x64.7z",
"extract_dir": "node-v$version-win-x64"
},
"32bit": {
"url": "https://mirrors.ustc.edu.cn/node/v$version/node-v$version-win-x86.7z",
"extract_dir": "node-v$version-win-x86"
},
"arm64": {
"url": "https://mirrors.ustc.edu.cn/node/v$version/node-v$version-win-arm64.7z",
"extract_dir": "node-v$version-win-arm64"
}
},
"hash": {
"url": "$baseurl/SHASUMS256.txt.asc"
}
}
}