forked from kickscondor/fraidycat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
108 lines (108 loc) · 3.74 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
{
"name": "fraidycat",
"description": "Follow blogs, wikis, YouTube, Twitter, Reddit, Instagram and the like... from a distance.",
"homepage": "https://fraidyc.at/",
"main": "build/electron/js/electron/main.js",
"productName": "Fraidycat",
"author": {
"name": "Kicks Condor",
"email": "[email protected]"
},
"repository": {
"url": "https://github.com/kickscondor/fraidycat"
},
"version": "1.1.8",
"scripts": {
"start": "npm run electron:setup && electron .",
"start:firefox": "web-ext run --source-dir ./build/webext/",
"test": "ava",
"electron": "npm run electron:setup && electron-builder -wml",
"electron:linux": "npm run electron:setup && electron-builder -l",
"electron:mac": "npm run electron:setup && electron-builder -m",
"electron:windows": "npm run electron:setup && electron-builder -w",
"electron:setup": "fsbin emptyDir build/electron && cross-env parcel build src/js/electron/main.js src/js/electron/content-script.js src/index.html src/background.html --target=electron --public-url ./ -d build/electron",
"dat": "fsbin emptyDir build/dat && fsbin copy src/root/dat build/dat && cross-env STORAGE=dat parcel build src/index.html --no-cache -d build/dat",
"webext": "fsbin emptyDir build/webext && cross-env STORAGE=webext parcel build src/manifest.json --no-cache --no-source-maps -d build/webext",
"webext:lint": "web-ext lint --source-dir ./build/webext/",
"webext:safe": "find build/webext -type f -name '*.js' | xargs sed -i -e 's/Function(\"return this\")/function(){return this}/g' -e 's/\\([=: {]\\)Function(/\\1(function(){return function(){}})(/g'",
"publish": "npm run electron:setup && electron-builder -wml -p always",
"publish:windows": "npm run electron:setup && electron-builder -w -p always"
},
"build": {
"appId": "at.fraidyc",
"copyright": "by Kicks Condor",
"files": [
"build/electron/**/*"
],
"mac": {
"category": "public.app-category.news",
"target": "dmg",
"entitlements": "src/entitlements.mac.plist",
"entitlementsInherit": "src/entitlements.mac.plist",
"hardenedRuntime": true,
"icon": "src/images/flatcat-512.png"
},
"win": {
"target": "nsis",
"icon": "src/images/flatcat-512.png"
},
"linux": {
"target": [
"appImage",
"deb"
],
"icon": "src/images/flatcat-512.png",
"category": "News"
},
"dmg": {
"sign": false
},
"nsis": {
"deleteAppDataOnUninstall": true
},
"afterSign": "src/notarize.js",
"publish": [
{
"provider": "github"
}
]
},
"browserslist": "firefox >= 57, chrome >= 49",
"dependencies": {
"@kickscondor/elasticlunr": "^0.9.8",
"@kickscondor/emoji-button": "^2.1.4",
"@kickscondor/router": "^0.7.3",
"@kickscondor/umbrellajs": "^3.1.2",
"@shelacek/ubjson": "^1.0.2",
"about-window": "^1.14.0",
"cross-env": "^7.0.3",
"electron-log": "^4.3.2",
"electron-process": "^0.2.0",
"electron-updater": "^4.3.8",
"ent": "^2.2.0",
"fast-json-patch": "^3.0.0-1",
"fraidyscrape": "^1.0.12",
"fsbin": "^1.0.9",
"hyperapp": "^1.2.9",
"json-date-parser": "^1.0.1",
"node-fetch": "^2.6.0",
"normalize-url": "^4.5.0",
"opml-generator": "^1.1.1",
"parcel-bundler": "^1.12.5",
"regenerator-runtime": "^0.13.6",
"yarn": "^1.22.10"
},
"devDependencies": {
"@babel/core": "^7.13.14",
"@babel/preset-env": "^7.13.12",
"ava": "^3.15.0",
"electron": "^8.5.5",
"electron-builder": "^22.10.5",
"electron-notarize": "^0.3.0",
"node-sass": "^4.14.1",
"parcel-plugin-web-extension": "^1.6.1",
"sass": "^1.32.8",
"web-ext": "^4.3.0",
"webextension-polyfill": "^0.6.0"
}
}