-
Notifications
You must be signed in to change notification settings - Fork 56
/
package.json
123 lines (123 loc) · 3.92 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "fraidycat",
"description": "Follow blogs, wikis, YouTube, Twitter, Reddit, Instagram and the like... from a distance.",
"homepage": "https://fraidyc.at/",
"bin": {
"fraidycat-server": "src/js/server/main.js"
},
"productName": "Fraidycat",
"author": {
"name": "Kicks Condor",
"email": "[email protected]"
},
"repository": {
"url": "https://github.com/kickscondor/fraidycat"
},
"version": "2.0.0",
"scripts": {
"build": "pnpm run build:frontend && pnpm run build:desktop && node ./src/package.js build/desktop",
"build:desktop": "fsbin emptyDir build/desktop && cross-env esbuild src/js/server/main.js migrations/00_initial.js --bundle --platform=node --external:electron --external:sqlite3 --outdir=build/desktop",
"build:frontend": "fsbin emptyDir build/frontend && cross-env STORAGE=frontend parcel build src/index.html --target frontend",
"start": "pnpm run build:frontend && node ./src/js/server/main.js",
"start:firefox": "web-ext run --source-dir ./build/webext/",
"test": "ava",
"webext": "fsbin emptyDir build/webext && cross-env STORAGE=webext parcel build src/manifest.json --no-cache --no-source-maps --dist-dir 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'"
},
"targets": {
"desktop": {
"distDir": "build/desktop",
"context": "node",
"optimize": false,
"includeNodeModules": true
},
"frontend": {
"distDir": "build/frontend",
"scopeHoist": false,
"optimize": false,
"engines": {
"browsers": "> 0.5%, last 2 versions, not dead"
}
}
},
"assets": [
{
"source": "build/frontend/**/*"
},
{
"source": "src/images/flatcat-*.{png,ico}",
"dir": "src/js/server/images"
},
{
"source": "node_modules/uWebSockets.js/uws_${platform}_${arch}_${vmod}.node",
"dir": "src/js/server"
},
{
"source": "node_modules/systray/traybin/tray_${platform_full}_release*",
"dir": "src/js/traybin"
},
{
"source": "node_modules/7zip/7zip-lite/7z.*",
"dir": "src/js/server/7zip-lite",
"platform": "win"
},
{
"source": "node_modules/node-pre-gyp/**/*"
},
{
"source": "node_modules/sqlite3/**/*"
}
],
"browserslist": "firefox >= 57, chrome >= 49",
"dependencies": {
"@kickscondor/granax": "^3.2.9",
"@xmldom/xmldom": "^0.7.5",
"domify": "^1.4.1",
"electron-fetch": "^1.7.4",
"esbuild": "^0.13.10",
"fraidyscrape": "^1.0.16",
"json-date-parser": "^1.0.1",
"needle": "^3.0.0",
"normalize-url": "^7.0.2",
"open": "^8.2.1",
"opml-generator": "^1.1.1",
"pg-hstore": "^2.3.4",
"regenerator-runtime": "^0.13.9",
"rotating-file-stream": "^2.1.6",
"selfsigned": "^1.10.11",
"sqlite3": "^5.0.2",
"systray": "^1.0.5",
"twemoji": "^13.1.0",
"uWebSockets.js": "github:uNetworking/uWebSockets.js#binaries",
"xpath": "^0.0.32"
},
"darwinDependencies": {
"appdmg": "^0.6.2"
},
"devDependencies": {
"@babel/core": "^7.15.5",
"@babel/preset-env": "^7.15.6",
"@kickscondor/emoji-button": "^2.1.4",
"@kickscondor/router": "^0.7.3",
"@kickscondor/umbrellajs": "^3.1.2",
"@parcel/transformer-image": "^2.0.0-rc.0",
"@parcel/transformer-sass": "^2.0.0-rc.0",
"ava": "^3.15.0",
"cross-env": "^7.0.3",
"decompress": "^4.2.1",
"ent": "^2.2.0",
"fast-glob": "^3.2.7",
"fast-json-patch": "^3.1.0",
"fsbin": "^1.0.11",
"hyperapp": "^1.2.10",
"koalaesce": "^0.6.5",
"parcel": "^2.0.0-rc.0",
"pkg": "github:geekuillaume/pkg",
"sass": "^1.39.2",
"sequelize": "^6.6.5",
"umzug": "^2.3.0",
"web-ext": "^4.3.0",
"webextension-polyfill": "^0.6.0"
}
}