Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
122 lines (122 loc) · 4.67 KB
/
Copy pathpackage.json
File metadata and controls
122 lines (122 loc) · 4.67 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "colopresso",
"version": "0.0.0",
"packageManager": "pnpm@12.10.1",
"description": "colopresso - PNG to Advanced Image Format converter",
"main": "build/electron/main.js",
"scripts": {
"format:web": "prettier --write 'app/shared/**/*.{ts,tsx,js,css,html}' 'app/electron/**/*.{ts,tsx,js,css,html}'",
"format:c": "find library/src/ library/utils/ library/tests/ library/include/ -name '*.c' -o -name '*.h' | xargs clang-format -i",
"format:rust": "cd library/pngx_bridge && cargo fmt && cd -",
"format:header": "python utils/update_licence_header.py",
"format": "pnpm run format:web && pnpm run format:c && pnpm run format:rust && pnpm run format:header",
"clean": "rm -rf build dist_build",
"make": "/bin/sh -c 'PAR=\"${npm_config_j}\"; if test -z \"${PAR}\"; then PAR=\"${npm_config_jobs}\"; fi; RUN=\"pnpm run build\"; if test -n \"${PAR}\"; then RUN=\"${RUN} --parallel=$PAR\"; fi; exec ${RUN}'",
"build": "/bin/sh -c 'PAR_FLAG=--parallel; if test -n \"${npm_config_parallel}\"; then PAR_FLAG=\"--parallel=${npm_config_parallel}\"; fi; cmake --build build ${PAR_FLAG}'",
"test": "/bin/sh -c 'PAR_FLAG=--parallel; if test -n \"${npm_config_parallel}\"; then PAR_FLAG=\"--parallel=${npm_config_parallel}\"; fi; ctest --test-dir build ${PAR_FLAG}'",
"configure": "cmake -B build -DCMAKE_BUILD_TYPE=Release -DCOLOPRESSO_USE_UTILS=ON -DCOLOPRESSO_USE_TESTS=ON -DCOLOPRESSO_USE_CLI=ON",
"vconfigure": "cmake -B build -DCMAKE_BUILD_TYPE=Debug -DCOLOPRESSO_USE_VALGRIND=ON -DCOLOPRESSO_USE_TESTS=ON",
"aconfigure": "cmake -B build -DCMAKE_C_COMPILER=$(command -v clang) -DCMAKE_CXX_COMPILER=$(command -v clang++) -DCMAKE_BUILD_TYPE=Debug -DCOLOPRESSO_USE_ASAN=ON -DCOLOPRESSO_USE_TESTS=ON",
"ubconfigure": "cmake -B build -DCMAKE_C_COMPILER=$(command -v clang) -DCMAKE_CXX_COMPILER=$(command -v clang++) -DCMAKE_BUILD_TYPE=Debug -DCOLOPRESSO_USE_UBSAN=ON -DCOLOPRESSO_USE_TESTS=ON",
"dconfigure": "cmake -B build -DCMAKE_BUILD_TYPE=Debug -DCOLOPRESSO_USE_UTILS=ON -DCOLOPRESSO_USE_TESTS=ON -DCOLOPRESSO_USE_CLI=ON",
"wconfigure": "emcmake cmake -B build -DCMAKE_BUILD_TYPE=Release -DCOLOPRESSO_USE_UTILS=ON -DCOLOPRESSO_USE_TESTS=ON -DCOLOPRESSO_USE_CLI=ON -DCOLOPRESSO_NODE_BUILD=ON",
"wdconfigure": "emcmake cmake -B build -DCMAKE_BUILD_TYPE=Debug -DCOLOPRESSO_USE_UTILS=ON -DCOLOPRESSO_USE_TESTS=ON -DCOLOPRESSO_USE_CLI=ON -DCOLOPRESSO_NODE_BUILD=ON",
"econfigure": "utils/electron_configure.sh Release",
"edconfigure": "utils/electron_configure.sh Debug"
},
"keywords": [
"png",
"webp",
"avif",
"converter",
"compressor",
"electron",
"colopl"
],
"author": "COLOPL, Inc. <g-kudo@colopl.co.jp>",
"license": "GPL-3.0-or-later",
"devDependencies": {
"@types/node": "^24.10.3",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.0",
"electron": "^44.0.0",
"electron-builder": "^26.3.6",
"node-api-headers": "^1.9.0",
"prettier": "^3.7.4",
"tslib": "^2.8.1",
"typescript": "^7.0.0",
"vite": "^8.0.0"
},
"dependencies": {
"@reduxjs/toolkit": "^2.11.1",
"electron-updater": "^6.6.2",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"react-redux": "^9.2.0"
},
"build": {
"appId": "jp.colopl.colopresso",
"productName": "colopresso",
"publish": [
{
"provider": "github",
"owner": "colopl",
"repo": "colopresso",
"channel": "latest",
"releaseType": "release"
}
],
"files": [
"build/electron/**/*"
],
"asarUnpack": [
"build/electron/pngx_bridge.js",
"build/electron/pngx_bridge_bg.wasm",
"build/electron/**/*.node"
],
"directories": {
"output": "dist_build"
},
"mac": {
"category": "public.app-category.productivity",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"icon": "app/electron/colopresso.icns",
"entitlements": "app/electron/entitlements.mac.plist",
"entitlementsInherit": "app/electron/entitlements.mac.plist",
"artifactName": "${productName}_macos_gui_${arch}.${ext}",
"target": [
{
"target": "dmg",
"arch": [
"arm64",
"x64"
]
},
{
"target": "zip",
"arch": [
"arm64",
"x64"
]
}
]
},
"win": {
"target": [
{
"target": "nsis"
}
],
"icon": "app/electron/colopresso.ico"
},
"dmg": {
"icon": null,
"artifactName": "${productName}_macos_gui_${arch}.${ext}"
},
"nsis": {
"artifactName": "${productName}_windows_gui_${arch}.${ext}"
}
}
}