generated from ScoopInstaller/BucketTemplate
/
nodejs-lts.json
40 lines (40 loc) · 1.38 KB
/
nodejs-lts.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
{
"version": "20.11.1",
"description": "An asynchronous event driven JavaScript runtime designed to build scalable network applications.",
"homepage": "https://nodejs.org",
"license": "MIT",
"architecture": {
"64bit": {
"url": "http://mirrors.cloud.tencent.com/nodejs-release/v20.11.1/node-v20.11.1-win-x64.7z",
"hash": "fb9b5348259988a562a48eed7349e7e716c0bec78d98ad0a336b2993a8b3bf34",
"extract_dir": "node-v20.11.1-win-x64"
}
},
"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`nregistry=https://registry.npmmirror.com/\" -Path \"$dir\\node_modules\\npm\\npmrc\""
],
"checkver": {
"url": "https://nodejs.org/en/download/",
"regex": "LTS Version.*: <strong>([\\d\\.]+)</strong>"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "http://mirrors.cloud.tencent.com/nodejs-release/v$version/node-v$version-win-x64.7z",
"extract_dir": "node-v$version-win-x64"
}
},
"hash": {
"url": "https://nodejs.org/dist/v$version/SHASUMS256.txt.asc"
}
}
}