58 lines
1.6 KiB
JSON
58 lines
1.6 KiB
JSON
|
|
{
|
||
|
|
"name": "theseus-navigator",
|
||
|
|
"version": "0.0.1",
|
||
|
|
"description": "Theseus Navigator — a browser that follows the thread. By Silent Mode, a Deviant project.",
|
||
|
|
"author": "Silent Mode",
|
||
|
|
"main": "main.js",
|
||
|
|
"type": "commonjs",
|
||
|
|
"scripts": {
|
||
|
|
"start": "electron .",
|
||
|
|
"resolve-test": "node resolve-test.mjs",
|
||
|
|
"dist": "electron-builder --win nsis portable"
|
||
|
|
},
|
||
|
|
"dependencies": {
|
||
|
|
"fetch-socks": "^1.3.3",
|
||
|
|
"socks-proxy-agent": "^10.1.0",
|
||
|
|
"ws": "^8.18.0"
|
||
|
|
},
|
||
|
|
"devDependencies": {
|
||
|
|
"electron": "^33.0.0",
|
||
|
|
"electron-builder": "^25.1.8"
|
||
|
|
},
|
||
|
|
"build": {
|
||
|
|
"appId": "st.silentmode.theseus",
|
||
|
|
"productName": "Theseus Navigator",
|
||
|
|
"artifactName": "TheseusNavigator-${version}-${arch}.${ext}",
|
||
|
|
"directories": { "output": "dist-public" },
|
||
|
|
"asar": true,
|
||
|
|
"files": [
|
||
|
|
"main.js",
|
||
|
|
"preload.js",
|
||
|
|
"chrome.html",
|
||
|
|
"home.html",
|
||
|
|
"settings.html",
|
||
|
|
"settings-preload.js",
|
||
|
|
"package.json",
|
||
|
|
"node_modules/**/*",
|
||
|
|
"!**/*.md",
|
||
|
|
"!**/*.map",
|
||
|
|
"!tor${/*}",
|
||
|
|
"!dist-public${/*}",
|
||
|
|
"!resolve-test.mjs",
|
||
|
|
"!*PROMPT.md"
|
||
|
|
],
|
||
|
|
"extraResources": [
|
||
|
|
{ "from": "tor", "to": "tor" },
|
||
|
|
{ "from": "../Argus/src/lib/resolver-web.js", "to": "resolver-web.mjs" }
|
||
|
|
],
|
||
|
|
"win": { "target": ["nsis", "portable"] },
|
||
|
|
"nsis": {
|
||
|
|
"oneClick": false,
|
||
|
|
"perMachine": false,
|
||
|
|
"allowToChangeInstallationDirectory": true,
|
||
|
|
"artifactName": "TheseusNavigator-Setup-${version}.${ext}"
|
||
|
|
},
|
||
|
|
"portable": { "artifactName": "TheseusNavigator-${version}-portable.${ext}" }
|
||
|
|
}
|
||
|
|
}
|