-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 3.58 KB
/
package.json
File metadata and controls
107 lines (107 loc) · 3.58 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
{
"name": "wrong",
"version": "0.2.2",
"description": "WRONG — a browser that's wrong on purpose.",
"author": {
"name": "willbearfruits",
"email": "willbear_fruits@proton.me"
},
"license": "MIT",
"homepage": "https://willbearfruits.github.io/wrong/",
"repository": {
"type": "git",
"url": "https://github.com/willbearfruits/wrong.git"
},
"bugs": {
"url": "https://github.com/willbearfruits/wrong/issues"
},
"keywords": [
"browser",
"electron",
"glitch",
"datamosh",
"art",
"zalgo",
"creative-coding"
],
"private": true,
"main": "main.js",
"scripts": {
"start": "electron .",
"start:cpu": "electron . --cpu",
"start:debug": "WRONG_DEBUG=1 electron .",
"icons": "rsvg-convert -w 1024 -h 1024 assets/icon.svg -o build/icon.png && rsvg-convert -w 512 -h 512 assets/icon.svg -o build/icon-512.png && rsvg-convert -w 256 -h 256 assets/icon.svg -o build/icon-256.png && rsvg-convert -w 128 -h 128 assets/icon.svg -o build/icon-128.png && rsvg-convert -w 64 -h 64 assets/icon.svg -o build/icon-64.png",
"og": "convert docs/screenshots/wiki-heavy.png -resize 1200x -gravity center -extent 1200x630 -evaluate Multiply 0.85 -modulate 100,135,100 /tmp/og-bg.png && rsvg-convert -w 1200 -h 630 assets/og-overlay.svg -o /tmp/og-fg.png && convert /tmp/og-bg.png /tmp/og-fg.png -compose over -composite docs/og.png && rm /tmp/og-bg.png /tmp/og-fg.png",
"dist": "npm run icons && electron-builder --publish never",
"dist:linux": "npm run icons && electron-builder --linux --publish never",
"dist:mac": "npm run icons && electron-builder --mac --publish never",
"dist:win": "npm run icons && electron-builder --win --publish never",
"release:linux": "npm run icons && electron-builder --linux --publish always",
"release:mac": "npm run icons && electron-builder --mac --publish always",
"release:win": "npm run icons && electron-builder --win --publish always"
},
"build": {
"appId": "art.glitches.wrong",
"productName": "WRONG",
"asar": true,
"files": [
"main.js",
"preload.js",
"chrome-preload.js",
"chrome.html",
"newtab.html",
"glitch/**",
"assets/**",
"build/icon*.png",
"package.json",
"!**/.DS_Store",
"!**/screenshots/**",
"!**/screenshot.js"
],
"linux": {
"target": ["AppImage"],
"category": "Network",
"icon": "build/icon.png",
"executableName": "wrong",
"synopsis": "a browser that's wrong on purpose",
"description": "a deliberately broken browser. byte-flips image responses, zalgos every visible character, datamoshes video. for art, not for productivity."
},
"mac": {
"target": [
{ "target": "dmg", "arch": ["x64", "arm64"] },
{ "target": "zip", "arch": ["x64", "arm64"] }
],
"category": "public.app-category.utilities",
"icon": "build/icon.png",
"identity": null,
"hardenedRuntime": false,
"gatekeeperAssess": false
},
"dmg": {
"title": "WRONG ${version}",
"writeUpdateInfo": false
},
"win": {
"target": [
{ "target": "nsis", "arch": ["x64"] },
{ "target": "portable", "arch": ["x64"] }
],
"icon": "build/icon.png"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"shortcutName": "WRONG"
},
"publish": {
"provider": "github",
"owner": "willbearfruits",
"repo": "wrong",
"releaseType": "draft"
}
},
"devDependencies": {
"electron": "^33.0.0",
"electron-builder": "^25.1.8"
}
}