-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
207 lines (207 loc) · 4.8 KB
/
package.json
File metadata and controls
207 lines (207 loc) · 4.8 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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
{
"name": "deadtext",
"productName": "DeadText",
"version": "0.4.0",
"description": "A dead simple plain-text editor.",
"main": "main.js",
"author": {
"name": "Chris Portka"
},
"license": "ISC",
"homepage": "https://github.com/cportka/deadtext#readme",
"repository": {
"type": "git",
"url": "https://github.com/cportka/deadtext.git"
},
"bugs": {
"url": "https://github.com/cportka/deadtext/issues"
},
"keywords": [
"text-editor",
"plain-text",
"electron"
],
"scripts": {
"start": "electron .",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"gen:icons": "node scripts/build-icons.js",
"build": "electron-builder",
"build:mac": "node scripts/build-icons.js && electron-builder --mac",
"build:win": "node scripts/build-icons.js && electron-builder --win",
"build:linux": "node scripts/build-icons.js && electron-builder --linux",
"build:web": "node scripts/build-icons.js && node scripts/build-web.js",
"serve:web": "node scripts/build-icons.js && node scripts/build-web.js && npx --yes http-server dist-web -p 5173 -c-1",
"pack": "electron-builder --dir",
"cap:add:android": "node scripts/cap.js add android",
"cap:add:ios": "node scripts/cap.js add ios",
"cap:sync": "node scripts/cap.js sync",
"cap:open:android": "node scripts/cap.js open android",
"cap:open:ios": "node scripts/cap.js open ios",
"build:android": "node scripts/build-android.js",
"build:ios": "node scripts/build-ios.js"
},
"devDependencies": {
"@capacitor/cli": "^6.2.0",
"electron": "^33.2.1",
"electron-builder": "^25.1.8",
"eslint": "^8.57.1",
"png2icons": "^2.0.1",
"sharp": "^0.34.5"
},
"dependencies": {
"@capacitor/android": "^6.2.0",
"@capacitor/core": "^6.2.0",
"@capacitor/filesystem": "^6.0.3",
"@capacitor/ios": "^6.2.0",
"@capacitor/share": "^6.0.3"
},
"build": {
"appId": "com.cportka.deadtext",
"productName": "DeadText",
"copyright": "Copyright (c) 2025 Chris Portka",
"files": [
"main.js",
"preload.js",
"src/**/*",
"LICENSE",
"README.md",
"!**/*.map",
"!**/.DS_Store",
"!**/sw.js",
"!**/manifest.webmanifest",
"!node_modules/@capacitor/**"
],
"directories": {
"buildResources": "build",
"output": "dist"
},
"fileAssociations": [
{
"ext": "txt",
"name": "Plain Text",
"role": "Editor"
},
{
"ext": "md",
"name": "Markdown",
"role": "Editor"
},
{
"ext": "log",
"name": "Log File",
"role": "Editor"
},
{
"ext": "json",
"name": "JSON",
"role": "Editor"
},
{
"ext": "csv",
"name": "CSV",
"role": "Editor"
},
{
"ext": "ini",
"name": "INI",
"role": "Editor"
},
{
"ext": "yml",
"name": "YAML",
"role": "Editor"
},
{
"ext": "yaml",
"name": "YAML",
"role": "Editor"
},
{
"ext": "xml",
"name": "XML",
"role": "Editor"
}
],
"mac": {
"category": "public.app-category.productivity",
"target": [
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
},
{
"target": "zip",
"arch": [
"x64",
"arm64"
]
}
],
"icon": "build/icon.icns",
"hardenedRuntime": false,
"gatekeeperAssess": false,
"identity": null
},
"dmg": {
"title": "${productName} ${version}",
"writeUpdateInfo": false
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64",
"arm64"
]
},
{
"target": "portable",
"arch": [
"x64"
]
}
],
"icon": "build/icon.ico"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": true
},
"linux": {
"target": [
{
"target": "AppImage",
"arch": [
"x64",
"arm64"
]
},
{
"target": "deb",
"arch": [
"x64",
"arm64"
]
},
{
"target": "rpm",
"arch": [
"x64"
]
}
],
"icon": "build/icon.png",
"category": "Utility;TextEditor",
"maintainer": "Chris Portka <noreply@cportka.com>",
"synopsis": "A dead simple plain-text editor",
"description": "DeadText is a minimal plain-text editor. No formatting, no settings, no fuss."
}
}
}