Upgrade better-sqlite3 to the N-API based 13.0.3 release so the Windows package can load its native database module under Electron 43. Regenerate the lockfile to remove the obsolete prebuild-install toolchain and include the bundled Node-API dependency.
82 lines
3.0 KiB
JSON
82 lines
3.0 KiB
JSON
{
|
|
"name": "twitch-vod-manager",
|
|
"version": "1.0.2",
|
|
"description": "Twitch VOD Manager - Download Twitch VODs easily",
|
|
"main": "dist/main.js",
|
|
"author": "Sucukdeluxe",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=22.13.0"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"start": "npm run build && electron .",
|
|
"test:unit": "vitest run --passWithNoTests",
|
|
"test:unit:watch": "vitest",
|
|
"test:e2e:update-logic": "node scripts/smoke-test-update-version-logic.js",
|
|
"test:e2e:public-release": "node scripts/smoke-test-public-release-config.js",
|
|
"test:e2e": "node scripts/smoke-test.js",
|
|
"test:e2e:guide": "node scripts/smoke-test-template-guide.js",
|
|
"test:e2e:full": "node scripts/smoke-test-full.js",
|
|
"test:e2e:workspace-ui": "npm run build && node scripts/smoke-test-workspace-ui.js",
|
|
"test:e2e:isolation": "node scripts/smoke-test-e2e-isolation-contract.js",
|
|
"test:e2e:settings-autosave": "node scripts/smoke-test-settings-autosave.js",
|
|
"test:e2e:release": "npm run build && npm run test:unit && npm run test:e2e:update-logic && npm run test:merge-split && npm run test:e2e:public-release && npm run test:e2e:workspace-ui && npm run test:e2e:isolation && npm run test:e2e && npm run test:e2e:guide && npm run test:e2e:full && npm run test:e2e:settings-autosave",
|
|
"test:e2e:stress": "npm run test:e2e:release && npm run test:e2e:release && npm run test:e2e:release",
|
|
"pack": "npm run build && electron-builder --dir",
|
|
"dist": "npm run build && electron-builder",
|
|
"dist:win": "npm run test:e2e:release && electron-builder --win",
|
|
"test:merge-split": "node scripts/smoke-test-merge-split-logic.js"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^1.16.1",
|
|
"better-sqlite3": "^13.0.3",
|
|
"electron-updater": "^6.8.9"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@types/better-sqlite3": "^7.6.13",
|
|
"@types/node": "^20.10.0",
|
|
"electron": "^43.3.0",
|
|
"electron-builder": "^26.15.7",
|
|
"eslint": "^10.4.0",
|
|
"eslint-plugin-security": "^4.0.0",
|
|
"playwright": "^1.60.0",
|
|
"typescript": "^5.3.0",
|
|
"typescript-eslint": "^8.59.4",
|
|
"vitest": "^4.1.6"
|
|
},
|
|
"build": {
|
|
"appId": "io.github.sucukdeluxe.twitch-vod-manager",
|
|
"productName": "Twitch VOD Manager",
|
|
"files": [
|
|
"dist/**/*",
|
|
"src/index.html",
|
|
"src/styles.css",
|
|
"src/workspace.css",
|
|
"package.json"
|
|
],
|
|
"directories": {
|
|
"output": "release"
|
|
},
|
|
"win": {
|
|
"target": "nsis",
|
|
"signAndEditExecutable": false,
|
|
"artifactName": "Twitch-VOD-Manager-Setup-${version}.${ext}"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"deleteAppDataOnUninstall": false,
|
|
"createDesktopShortcut": true,
|
|
"createStartMenuShortcut": true,
|
|
"shortcutName": "Twitch VOD Manager v${version}",
|
|
"include": "build/installer.nsh"
|
|
},
|
|
"publish": {
|
|
"provider": "generic",
|
|
"url": "https://github.com/Sucukdeluxe/Twitch-VOD-Manager/releases/latest/download/"
|
|
}
|
|
}
|
|
}
|