-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
55 lines (55 loc) · 2.18 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
55
{
"name": "spotify-ad-blocker",
"engines": {
"node": "14"
},
"bin": "./src/main.js",
"main": "./src/main.js",
"license": "MIT",
"scripts": {
"beforebuild": "node-gyp rebuild && renamer -f .node -r .foolpkg **/*.node",
"build": "yarn beforebuild && yarn build:detection && yarn build:pkg && yarn silenceexe && yarn changeicon && yarn afterbuild",
"build:dev": "node-gyp rebuild && yarn build:detection",
"build:detection": "g++ native\\win\\spotify\\spotify.cc -o build\\Release\\spotify-ad-blocker_detection.exe",
"build:nonsilent": "yarn beforebuild && yarn build:detection && yarn build:pkg && yarn afterbuild",
"build:log": "yarn beforebuild && yarn build:pkg:log && yarn afterbuild",
"build:pkg": "pkg . --options expose-gc --target win --output spotify-ad-blocker.exe",
"build:pkg:log": "pkg . --debug --target win --output spotify-ad-blocker.exe > pkg.log",
"afterbuild": "renamer -f .foolpkg -r .node **/*.foolpkg",
"changeicon": "node node_modules\\exe-edit\\out\\cli.js spotify-ad-blocker.exe spotify-ad-blocker.exe --icon ./assets/spotify-ad-blocker_for_exe.ico",
"lint": "yarn eslint --ext .js .",
"silenceexe": "create-nodew-exe spotify-ad-blocker.exe spotify-ad-blocker.exe",
"start": "cross-env DEBUG=swh node --expose-gc .",
"start:webstorm": "yarn build:mute && cross-env DEBUG=* node %NODE_DEBUG_OPTION% .",
"postinstall": "patch-package"
},
"dependencies": {
"auto-launch": "5.0.5",
"bindings": "1.5.0",
"fecha": "2.3.3",
"fs-extra": "6.0.1",
"process-list": "2.0.0"
},
"devDependencies": {
"create-nodew-exe": "1.0.5",
"cross-env": "5.2.0",
"eslint": "8.10.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.0.0",
"exe-edit": "0.1.1",
"patch-package": "6.1.2",
"pkg": "5.5.2",
"postinstall-postinstall": "2.0.0",
"prettier": "2.5.1",
"renamer": "1.1.2"
},
"pkg": {
"assets": [
"./assets/spotify-ad-blocker.ico",
"./build/Release/spotify-ad-blocker_detection.exe",
"./build/Release/tray.foolpkg",
"./build/Release/volumectrl.foolpkg",
"./node_modules/process-list/build/Release/processlist.foolpkg"
]
}
}