Skip to content
This repository was archived by the owner on Apr 7, 2023. It is now read-only.

Commit 00b8b22

Browse files
authored
Merge pull request #59 from mardy/snap
Add snap packaging
2 parents 2c17225 + 05f9519 commit 00b8b22

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

build/icons/48x48.png

4.21 KB
Loading

package.json

+11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "Nocturn",
3+
"description": "Multi-platform Twitter Client built with React, Redux and Electron",
34
"version": "1.5.1",
45
"main": "app/main.js",
56
"repository": "https://github.com/k0kubun/Nocturn",
@@ -9,7 +10,16 @@
910
"url": "https://github.com/k0kubun"
1011
},
1112
"license": "MIT",
13+
"build": {
14+
"productName": "Nocturn",
15+
"linux": {
16+
"target": [
17+
"snap"
18+
]
19+
}
20+
},
1221
"scripts": {
22+
"dist": "cross-env NODE_ENV=production build",
1323
"build": "which wine && npm run package && npm run zip",
1424
"compile": "rm -rf app && gulp compile",
1525
"decaf": "node script/decaf.js",
@@ -44,6 +54,7 @@
4454
"cross-env": "^1.0.7",
4555
"decafjs": "^0.3.1",
4656
"electron": "1.3.6",
57+
"electron-builder": "^14.5.3",
4758
"electron-packager": "^7.0.1",
4859
"glob": "^7.0.0",
4960
"gulp": "^3.9.0",

0 commit comments

Comments
 (0)