forked from theophanemayaud/video-simili-duplicate-cleaner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
60 lines (60 loc) · 3.78 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
56
57
58
59
60
{
"name": "Video simili duplicate cleaner",
"version": "1.10.1",
"description": "Video simili duplicate cleaner is a program that can find duplicate and similar video files.",
"main": "QtProject/video-simili-duplicate-cleaner.pro",
"cpp-dependencies": {
"ffmpeg": "https://github.com/FFmpeg/FFmpeg.git#n4.4.4",
"opencv": "https://github.com/opencv/opencv.git#4.8.0"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"husky": "^4.3.8",
"standard-version": "^9.3.0"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"standard-version": {
"scripts": {
"postbump": "npm run binaries || npm run win-binaries && git add -A"
}
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"release": "standard-version --sign -a",
"release:minor": "standard-version --release-as minor --sign -a && npm run notif-push",
"release:patch": "standard-version --release-as patch --sign -a && npm run notif-push",
"release:major": "standard-version --release-as major --sign -a && npm run notif-push",
"notif-push": "echo '\n\n Remember to push commits and tags with \n git push && git push --tags' ",
"update-build-version": "node -p -e \"require('./package.json').version\" > ./QtProject/app/version.txt && node update-plist-version.js && node update-appxmanifest-version.js",
"build": "npm run update-build-version && npm run build-mac-binaries --prefix QtProject/release-build/macos",
"build-arm": "npm run update-build-version && npm run build-mac-arm-binaries --prefix QtProject/release-build/macos",
"clean": "npm run clean --prefix QtProject/release-build/macos",
"copy-binaries": "cp 'QtProject/release-build/macos/Video simili duplicate cleaner.dmg' '../Video simili duplicate cleaner.dmg' && cp -R 'QtProject/release-build/macos/Video simili duplicate cleaner.app' '../' & cp 'QtProject/release-build/macos/Video simili duplicate cleaner.pkg' '../Video simili duplicate cleaner.pkg'",
"binaries": "npm run kill-app && npm run delete-binaries && npm run clean && npm run build && npm run copy-binaries && npm run clean",
"binaries-arm": "npm run kill-app && npm run delete-binaries && npm run clean && npm run build-arm && npm run copy-binaries && npm run clean",
"manual-binaries": "npm run binaries && npm run add-receit",
"delete-binaries": "(rm -r '../Video simili duplicate cleaner.app' || exit 0) && (rm -r '../Video simili duplicate cleaner.dmg' || exit 0) && (rm -r '../Video simili duplicate cleaner.pkg' || exit 0)",
"add-receit": "cp -r 'QtProject/release-build/macos/_MASReceipt' '../Video simili duplicate cleaner.app/Contents'",
"kill-app": "killall 'Video simili duplicate cleaner' || exit 0",
"win-build": "npm run update-build-version && npm run build-win-binaries --prefix QtProject/release-build/windows",
"win-clean": "npm run clean --prefix QtProject/release-build/windows",
"win-copy-binaries": "copy \"QtProject\\release-build\\windows\\Video simili duplicate cleaner.msix\" \"..\\Video simili duplicate cleaner.msix\"",
"win-copy-vcredist": "copy \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Redist\\MSVC\\14.29.30036\\vc_redist.x64.exe\" \"..\\vc_redist.x64.exe\"",
"win-binaries": "npm run win-clean && npm run win-build && npm run win-copy-binaries && npm run win-copy-vcredist && npm run win-clean"
},
"repository": {
"type": "git",
"url": "github:theophanemayaud/video-simili-duplicate-cleaner"
},
"author": "Théophane Mayaud",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/theophanemayaud/video-simili-duplicate-cleaner/issues"
},
"homepage": "https://github.com/theophanemayaud/video-simili-duplicate-cleaner#readme"
}