-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
54 lines (54 loc) · 1.89 KB
/
package.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
{
"name": "register-url-windows",
"version": "1.0.24",
"description": "Register a URL protocol for Windows with support for Chrome and Edge",
"main": "index.js",
"files": [
"index.js",
"types.d.ts"
],
"types": "types.d.ts",
"scripts": {
"build": "node build.js",
"postbuild": "npm run types",
"build-cs": "pnpm compile-cs; pnpm copy-cs",
"compile-cs-main": "cd dotnet; dotnet publish -p:PublishSingleFile=true --self-contained true -c Release; cd ../",
"compile-cs-uac": "cd dotnet; dotnet publish -p:PublishSingleFile=true --self-contained true -c UAC; cd ../",
"copy-cs-main": "cp ./dotnet/RegisterURLHandler/bin/Release/netcoreapp3.1/win-x64/publish/register-url.exe ./packages/register-url-win64-bin/register-url.exe",
"copy-cs-uac": "cp ./dotnet/RegisterURLHandler/bin/UAC/netcoreapp3.1/win-x64/publish/register-url-uac.exe ./packages/register-url-win64-bin-uac/register-url.exe",
"compile-cs": "npm run compile-cs-main; npm run compile-cs-uac;",
"publish-cs": "cd ./packages/register-url-win64-bin-uac; npm publish; cd ../register-url-win64-bin; npm publish; cd ../../",
"copy-cs": "pnpm copy-cs-main; pnpm copy-cs-uac;",
"types": "tsc src/index.ts --esModuleInterop --strict false --emitDeclarationOnly --declaration; mv ./src/index.d.ts ./types.d.ts"
},
"author": "Jarred Sumner (@jarred-sumner)",
"keywords": [
"url",
"protocol",
"scheme",
"windows",
"win32",
"url-protoocl",
"register-url",
"uac",
"c#",
".net",
"dotnet",
"registerProtocolHandler"
],
"license": "MIT",
"devDependencies": {
"@types/node": "^14.14.27",
"@types/shell-quote": "^1.7.0",
"@types/tmp": "^0.2.0",
"esbuild": "^0.8.46",
"typescript": "^4.2.0-beta"
},
"dependencies": {
"find-up": "^5.0.0",
"shell-quote": "^1.7.2",
"tmp": "^0.2.1",
"tmp-promise": "^3.0.2",
"which": "^2.0.2"
}
}