-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
34 lines (34 loc) · 1.42 KB
/
package.json
File metadata and controls
34 lines (34 loc) · 1.42 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
{
"name": "bpm-sniffer-ui",
"private": true,
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "pnpm web:build && node scripts/prepare-updater-endpoints.cjs && tauri dev",
"prebuild": "node -e \"const fs=require('fs');['src-tauri/dist','dist'].forEach(p=>{try{fs.rmSync(p,{recursive:true,force:true})}catch{}});\" && node scripts/prepare-updater-endpoints.cjs",
"build": "pnpm web:build && node scripts/prepare-updater-endpoints.cjs && tauri build --bundles nsis,updater",
"preview": "vite preview",
"web:build": "vite build --outDir src-tauri/dist",
"logo:gen": "node logo/snap-all.cjs && pnpm exec tauri icon logo/256.png && node -e \"const fs=require('fs');const p='src-tauri/icons';['android','ios'].forEach(d=>{try{fs.rmSync(p+'/'+d,{recursive:true,force:true})}catch{}});fs.readdirSync(p).filter(f=>/^Square.*\\.png$/.test(f)||f==='StoreLogo.png').forEach(f=>{try{fs.rmSync(p+'/'+f,{force:true})}catch{}})\""
},
"dependencies": {
"@tauri-apps/api": "^2.8.0",
"@tauri-apps/plugin-opener": "^2",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@tauri-apps/cli": "^2.8.3",
"@tauri-apps/plugin-updater": "^2",
"@types/react": "^18.3.10",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.4",
"puppeteer": "^24.18.0",
"sharp": "^0.34.3",
"typescript": "^5.5.4",
"vite": "^5.4.8"
},
"engines": {
"node": ">=18"
}
}