Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
150 lines (150 loc) · 5.16 KB
/
Copy pathpackage.json
File metadata and controls
150 lines (150 loc) · 5.16 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
{
"name": "mountea-dialoguer",
"productName": "Mountea Dialoguer",
"version": "0.2.0",
"description": "A dialogue graph editor for designing and organizing branching conversations.",
"author": "Dominik Pavlicek",
"type": "module",
"main": "electron/main.cjs",
"private": true,
"scripts": {
"dev": "vite",
"dev:electron:web": "vite --port 5173 --strictPort",
"dev:electron:main": "wait-on tcp:5173 && cross-env VITE_DEV_SERVER_URL=http://localhost:5173 electron .",
"dev:electron": "node scripts/dev-electron.mjs",
"dev:electron:steam": "cross-env VITE_DIST_CHANNEL=steam STEAM_APP_ID=4509320 node scripts/dev-electron.mjs",
"build": "vite build",
"build:steam": "cross-env VITE_DIST_CHANNEL=steam STEAM_APP_ID=4509320 vite build",
"preview": "vite preview",
"electron:start": "electron .",
"electron:pack": "node scripts/run-electron-builder.mjs --dir",
"electron:pack:steam": "cross-env VITE_DIST_CHANNEL=steam STEAM_APP_ID=4509320 node scripts/run-electron-builder.mjs --dir --config.extraMetadata.mounteaDistChannel=steam --config.extraMetadata.mounteaSteamAppId=4509320",
"electron:dist": "node scripts/run-electron-builder.mjs --public-release",
"electron:dist:steam": "cross-env VITE_DIST_CHANNEL=steam STEAM_APP_ID=4509320 node scripts/run-electron-builder.mjs --public-release --config.extraMetadata.mounteaDistChannel=steam --config.extraMetadata.mounteaSteamAppId=4509320",
"steam:upload:mac": "node scripts/steam-upload.mjs --platform macos",
"lint": "eslint src electron scripts tests *.config.js .eslintrc.cjs --ext js,jsx,cjs,mjs",
"lint:ci": "npm run lint",
"test:e2e": "playwright test",
"test:e2e:smoke": "playwright test tests/e2e/smoke.spec.js",
"test:e2e:evidence": "npx playwright test tests/e2e/evidence.spec.js --reporter=list --workers=1",
"validate:skills": "npm run lint:ci && npm run test:regressions && npm run build && npm run validate:artifact",
"steam:upload:linux": "node scripts/steam-upload.mjs --platform linux",
"test:regressions": "playwright test regressions --workers=1",
"test:e2e:production": "playwright test --config playwright.production.config.js",
"validate:artifact": "node scripts/release-artifact.mjs finalize && npm run test:e2e:production && node scripts/release-artifact.mjs attest",
"validate:native-package": "node scripts/validate-native-package.mjs",
"steam:upload": "node scripts/steam-upload.mjs",
"video:capture": "node tools/video-capture/runner/cli.mjs",
"video:test": "npm test --prefix tools/video-capture"
},
"build": {
"appId": "com.mountea.dialoguer",
"productName": "Mountea Dialoguer",
"icon": "mounteaDialoguerIcon.png",
"asar": true,
"asarUnpack": [
"node_modules/steamworks.js/**/*"
],
"directories": {
"output": "release",
"buildResources": "public"
},
"files": [
"dist/**/*",
"electron/**/*",
"node_modules/steamworks.js/**/*",
"package.json",
"!dist/**/*.map"
],
"win": {
"target": [
"nsis",
"portable"
],
"icon": "mounteaDialoguerIcon.png"
},
"mac": {
"target": [
"dmg",
"zip"
],
"category": "public.app-category.productivity",
"icon": "mounteaDialoguerIcon.png",
"notarize": false
},
"linux": {
"target": [
"AppImage",
"deb"
],
"category": "Utility",
"icon": "mounteaDialoguerIcon.png"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true
}
},
"dependencies": {
"@radix-ui/react-accordion": "^1.2.12",
"@radix-ui/react-alert-dialog": "^1.1.15",
"@radix-ui/react-context-menu": "^2.2.16",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-tooltip": "^1.2.8",
"@sentry/electron": "^7.10.0",
"@tanstack/react-router": "^1.87.0",
"@xyflow/react": "^12.10.0",
"canvas-confetti": "^1.9.4",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"dagre": "^0.8.5",
"dexie": "^4.0.11",
"dexie-react-hooks": "^1.1.7",
"embla-carousel-autoplay": "^8.6.0",
"embla-carousel-react": "^8.6.0",
"file-saver": "^2.0.5",
"i18next": "^24.2.0",
"i18next-browser-languagedetector": "^8.0.2",
"jszip": "^3.10.1",
"lucide-react": "^0.462.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-i18next": "^15.2.0",
"react-joyride": "^2.9.3",
"steamworks.js": "^0.4.0",
"tailwind-merge": "^2.5.5",
"uuid": "^11.0.3",
"vaul": "^1.1.2",
"zustand": "^5.0.2"
},
"devDependencies": {
"@axe-core/playwright": "^4.13.0",
"@playwright/test": "^1.58.2",
"@sentry/cli": "^2.58.6",
"@sentry/react": "^10.43.0",
"@tanstack/router-devtools": "^1.87.0",
"@tanstack/router-plugin": "^1.87.0",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react": "^4.3.4",
"autoprefixer": "^10.4.20",
"concurrently": "^9.2.1",
"cross-env": "^10.1.0",
"electron": "^44.5.1",
"electron-builder": "26.15.3",
"eslint": "^8.57.1",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.16",
"gh-pages": "^6.1.1",
"postcss": "^8.5.6",
"postcss-scss": "^4.0.9",
"tailwindcss": "^3.4.17",
"tailwindcss-animate": "^1.0.7",
"vite": "^6.0.5",
"wait-on": "^9.0.1"
}
}