-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
137 lines (137 loc) · 5.1 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "@natoboram/leanish",
"version": "0.0.4",
"description": "A lean-ish web client for Lemmy.",
"keywords": [
"Lemmy",
"Fediverse"
],
"homepage": "https://github.com/NatoBoram/Leanish",
"bugs": {
"url": "https://github.com/NatoBoram/Leanish/issues"
},
"license": "AGPL-3.0-or-later",
"author": {
"name": "Nato Boram",
"url": "https://github.com/NatoBoram"
},
"funding": [
{
"type": "patreon",
"url": "https://www.patreon.com/NatoBoram"
},
{
"type": "individual",
"url": "https://paypal.me/NatoBoram/5"
}
],
"files": [
"build",
"!build/**/*.test.*",
"dist",
"!dist/**/*.test.*"
],
"main": "dist/index.js",
"module": "dist/index.js",
"bin": {
"leanish": "build/index.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"svelte": "./dist/index.js",
"default": "./dist/index.js"
}
},
"repository": "github:NatoBoram/Leanish",
"scripts": {
"act": "act --secret-file .env.local --var-file .env.vars.local",
"clean": "rm -rf .svelte-kit build dist node_modules playwright-report test-results",
"dev": "vite dev",
"dev:android": "pnpm run build:csr && cap run android",
"build": "vite build",
"build:csr": "./scripts/build_csr.sh",
"build:ipfs": "BUILD_IPFS=true pnpm run build:csr && ipfs add --chunker=buzhash --cid-version=1 --pin=false --recursive build",
"build:apk": "pnpm run build:csr && cap sync android && ./android/gradlew -p android assembleRelease",
"build:aab": "pnpm run build:csr && cap sync android && ./android/gradlew -p android bundleRelease",
"install:apk": "adb install -d -r android/app/build/outputs/apk/release/app-release.apk",
"install:aab": "export env $(cat android/key.properties | xargs) && bundletool build-apks --bundle=android/app/build/outputs/bundle/release/app-release.aab --key-pass=\"pass:$keyPassword\" --ks-key-alias=\"$keyAlias\" --ks-pass=\"pass:$storePassword\" --ks=\"$storeFile\" --output=android/app/build/outputs/bundle/release/app-release.apks --overwrite && bundletool install-apks --apks=android/app/build/outputs/bundle/release/app-release.apks",
"preview": "vite preview",
"preview:android": "pnpm run build:csr && cap sync android && cap run android",
"package": "svelte-kit sync && svelte-package && publint",
"package:watch": "svelte-kit sync && svelte-package -w",
"prepublishOnly": "BUILD_ADAPTER=node pnpm run build && pnpm run package",
"test": "pnpm run test:integration && pnpm run test:unit",
"test:integration": "playwright test",
"test:unit": "vitest --sequence.concurrent",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --check . && eslint .",
"lint:fix": "eslint --fix .; pnpm run format --list-different",
"format": "prettier --write .",
"generate:android": "capacitor-assets generate --android --iconBackgroundColor '#171717' --iconBackgroundColorDark '#171717' --logoSplashScale 0.5 --splashBackgroundColor '#0A0A0A' --splashBackgroundColorDark '#0A0A0A'",
"generate:pwa": "capacitor-assets generate --pwa --pwaManifestPath static/manifest.webmanifest",
"ionic:build": "pnpm run build:csr",
"ionic:serve": "vite dev --host=0.0.0.0 --port=8100",
"docker:build": "docker build --secret id=BUILD_BASE --tag leanish .",
"docker:run": "docker run --publish 127.0.0.1:3000:3000 leanish",
"docker:kill": "docker ps --format '{{.Image}} {{.ID}}' | grep leanish | awk '{print $2}' | xargs docker kill",
"sync": "svelte-kit sync"
},
"dependencies": {
"@capacitor/android": "^6.1.2",
"@capacitor/app": "^6.0.1",
"@capacitor/clipboard": "^6.0.1",
"@capacitor/core": "^6.1.2",
"@capacitor/preferences": "^6.0.2"
},
"devDependencies": {
"@capacitor/assets": "^3.0.5",
"@capacitor/cli": "^6.1.2",
"@eslint/js": "^9.13.0",
"@natoboram/heroicons.svelte": "^1.0.6",
"@playwright/test": "^1.48.1",
"@prettier/plugin-xml": "^3.4.1",
"@sveltejs/adapter-auto": "^3.2.5",
"@sveltejs/adapter-node": "^5.2.8",
"@sveltejs/adapter-static": "^3.0.5",
"@sveltejs/kit": "^2.7.2",
"@sveltejs/package": "^2.3.5",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"@tailwindcss/forms": "^0.5.9",
"@tailwindcss/typography": "^0.5.15",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@ts-stack/markdown": "^1.5.0",
"@types/cookie": "^0.6.0",
"@vitejs/plugin-basic-ssl": "^1.1.0",
"autoprefixer": "^10.4.20",
"cookie": "^1.0.1",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.45.1",
"globals": "^15.11.0",
"highlight.js": "^11.10.0",
"lemmy-js-client": "0.19.4",
"postcss": "^8.4.47",
"prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.2.7",
"prettier-plugin-tailwindcss": "^0.6.8",
"publint": "^0.2.11",
"svelte": "^5.0.3",
"svelte-check": "^4.0.5",
"svelte-eslint-parser": "^0.42.0",
"tailwindcss": "^3.4.14",
"tslib": "^2.8.0",
"typescript": "^5.6.3",
"typescript-eslint": "^8.10.0",
"vite": "^5.4.9",
"vitest": "^2.1.3"
},
"peerDependencies": {
"@sveltejs/kit": "^2.6.1",
"svelte": "^4.2.19"
},
"svelte": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module"
}