gestion_table_tournante_libre/package.json
Mathieu Benoit 481f6a6bae [UPD] build: deny electron-winstaller's install script explicitly
npm 11 runs no install script it has not been told about and warns at each
install. electron-winstaller only builds Squirrel installers for Windows;
the Windows target here is the portable executable, so its script (picking
a 7-Zip binary) is never needed. Denying it in allowScripts records that
choice and silences the warning on ./run.sh and ./install_dev.sh.
Checked: npm install-scripts ls reports nothing unreviewed; 353 tests.

--- FR ---

[UPD] construction : refuser nommément le script d'electron-winstaller

npm 11 ne lance aucun script d'installation qu'on ne lui a pas nommé et le
signale à chaque installation. electron-winstaller ne sert qu'aux
installateurs Squirrel de Windows ; la cible Windows est ici l'exécutable
portable, et son script (le choix d'un 7-Zip) n'y sert jamais. Le refuser
dans allowScripts inscrit ce choix et tait l'avertissement de ./run.sh.
Vérifié : npm install-scripts ls ne signale plus rien ; 353 épreuves.

Assisted-by: Claude Opus 5.5
Claude-Session: https://claude.ai/code/session_01EUXSGcwCLSC69FWEdCtWSb
2026-10-06 23:17:57 -04:00

40 lines
1.4 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"name": "gestion-table-tournante-libre",
"productName": "Gestion table tournante Libre",
"version": "2026.1005.1",
"description": "Placement tournant des participants d’un événement, hors ligne",
"license": "AGPL-3.0-or-later",
"author": "TechnoLibre (http://www.technolibre.ca)",
"private": true,
"type": "module",
"main": "electron/main.js",
"scripts": {
"dev": "vite --mode developpement",
"build": "vite build --mode developpement",
"build:livraison": "node scripts/version.js controler && vite build --mode livraison",
"build:documentation": "vite build --mode documentation",
"test": "vitest run --project node",
"test:surveille": "vitest --project node",
"test:long": "vitest run --project node-long",
"test:navigateur": "vitest run --project navigateur",
"test:tout": "vitest run",
"couverture": "vitest run --project node --coverage --reporter=default"
},
"devDependencies": {
"@capacitor/cli": "^8.5.2",
"@capacitor/core": "^8.5.2",
"@sveltejs/vite-plugin-svelte": "^7.3.1",
"@vitest/browser-playwright": "^5.0.3",
"@vitest/coverage-v8": "^5.0.3",
"electron": "^44.5.1",
"electron-builder": "^26.15.3",
"fast-check": "^4.10.2",
"playwright": "^1.63.0",
"svelte": "^5.57.1",
"vite": "^8.3.2",
"vitest": "^5.0.3"
},
"allowScripts": {
"electron-winstaller": false
}
}