-
Notifications
You must be signed in to change notification settings - Fork 30
/
package.json
109 lines (109 loc) · 3.44 KB
/
package.json
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
{
"name": "memo",
"productName": "Memo",
"description": "Take smarter notes with GitHub gists.",
"version": "1.0.3",
"author": "Burak Tokak <[email protected]> (https://buraktokak.com/)",
"copyright": "GPLv3",
"license": "GPLv3",
"private": true,
"main": "src/electron.js",
"dependencies": {
"@octokit/rest": "^16.35.0",
"file-saver": "^2.0.2",
"jsstore": "^3.4.4",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-ga": "^2.5.7",
"react-scripts": "2.1.8",
"write-good": "^1.0.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"push": "react-scripts build && aws s3 rm s3://app.usememo.com --recursive && aws s3 cp build s3://app.usememo.com --recursive && aws s3 cp build s3://app.usememo.com/ --recursive --exclude * --include precache*.js --include service-worker.js --metadata-directive REPLACE --cache-control max-age=0,no-cache,no-store,must-revalidate --content-type application/javascript --acl public-read",
"icon": "./node_modules/.bin/electron-icon-maker --input=./src/assets/memo_desktop_png.png --output=./src/assets",
"app": "electron .",
"app-mac": "electron-packager . --overwrite --platform=darwin --arch=x64 --icon=src/assets/icons/mac/icon.icns --prune=true --out=release-builds",
"app-win": "electron-packager . --overwrite --asar --platform=win32 --arch=x64 --icon=src/assets/icons/win/icon.ico --prune=true --out=release-builds --version-string.CompanyName=CE --version-string.FileDescription=CE --version-string.ProductName=\"Memo App\"",
"app-lin": "electron-packager . --overwrite --platform=linux --arch=x64 --icon=src/assets/icons/png/1024x1024.png --prune=true --out=release-builds",
"package": "yarn build && electron-builder build --publish never",
"package-all": "electron-builder build -mwl",
"package-mac": "electron-builder build --mac osx-sign=true",
"package-ci": "yarn build && electron-builder --publish always",
"package-linux": "electron-builder build --linux",
"package-win": "electron-builder build --win --x64"
},
"homepage": "https://app.usememo.com",
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"devDependencies": {
"electron": "^7.1.7",
"electron-notarize": "^0.2.1"
},
"build": {
"afterSign": "scripts/notarize.js",
"appId": "com.usememo.app",
"files": [
"src/electron.js",
"package.json"
],
"directories": {
"buildResources": "resources"
},
"dmg": {
"sign": false,
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
]
},
"mac": {
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "./src/entitlements.mac.inherit.plist",
"entitlementsInherit": "./src/entitlements.mac.inherit.plist",
"target": [
"dmg",
"zip"
]
},
"win": {
"target": [
"nsis",
"msi"
]
},
"linux": {
"target": [
"deb",
"rpm",
"AppImage"
],
"category": "Productivity"
},
"publish": {
"provider": "github",
"owner": "btk",
"repo": "memo",
"private": true
}
}
}