-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
110 lines (110 loc) · 2.93 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
{
"name": "ferrum",
"private": true,
"productName": "Ferrum",
"author": "kasper.space",
"description": "Music library app",
"version": "0.19.3",
"repository": "https://github.com/probablykasper/ferrum",
"updates_url_prefix": "https://github.com/probablykasper/ferrum/releases",
"latest-release-api-url": "https://api.github.com/repos/probablykasper/ferrum/releases/latest",
"scripts": {
"dev": "npm run napi:dev && vite dev",
"dev-release": "npm run napi && vite dev",
"napi": "napi build ferrum-addon --dts addon.d.ts --release",
"napi:dev": "napi build ferrum-addon --dts addon.d.ts",
"build": "npm run napi && npm run build:web && electron-builder && npm run generate-update-json",
"build:web": "vite build",
"electron-builder": "electron-builder",
"generate-update-json": "node ./generate-update-json.mjs",
"preview": "LOCAL_DATA=./src-native/appdata/local_data LIBRARY=./src-native/appdata/Library ./build/app/mac/Ferrum.app/Contents/MacOS/Ferrum",
"lint": "svelte-check --tsconfig ./tsconfig.json && eslint src && prettier --check src",
"format": "eslint --fix src && prettier --write src",
"check": "npm run lint && cargo check"
},
"build": {
"appId": "space.kasper.ferrum",
"productName": "Ferrum",
"artifactName": "${productName}-v${version}-${os}-${arch}.${ext}",
"mac": {
"category": "public.app-category.music",
"icon": "assets/icon.icns",
"target": [
"dmg"
],
"darkModeSupport": true,
"identity": null,
"electronLanguages": null
},
"linux": {
"category": "Audio",
"icon": "assets/icon.icns",
"maintainer": "kasper.space <[email protected]>",
"target": [
"deb",
"rpm"
]
},
"win": {
"icon": "assets/icon.ico",
"target": [
"nsis"
]
},
"files": [
"build/web",
"build/electron",
"ferrum-addon/addon.node"
],
"directories": {
"buildResources": "build_resources",
"output": "build/app"
}
},
"main": "build/electron/main.js",
"napi": {
"name": "addon"
},
"devDependencies": {
"@napi-rs/cli": "^2.18.4",
"@sveltejs/vite-plugin-svelte": "^3.1.2",
"@tailwindcss/vite": "4.0.0-alpha.23",
"@tsconfig/svelte": "^5.0.4",
"electron": "^28.3.3",
"electron-builder": "^25.0.5",
"eslint": "^9.10.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.43.0",
"fuzzysort": "^3.0.2",
"prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.2.6",
"prettier-plugin-tailwindcss": "^0.6.6",
"sass": "^1.78.0",
"svelte": "^4.2.19",
"svelte-check": "^4.0.1",
"svelte-preprocess": "^6.0.2",
"tailwindcss": "4.0.0-alpha.23",
"typescript": "~5.5.4",
"typescript-eslint": "^8.4.0",
"vite": "^5.4.3",
"vite-plugin-electron": "^0.28.7"
},
"prettier": {
"useTabs": true,
"printWidth": 100,
"semi": false,
"singleQuote": true,
"plugins": [
"prettier-plugin-svelte",
"prettier-plugin-tailwindcss"
],
"overrides": [
{
"files": "*.svelte",
"options": {
"parser": "svelte"
}
}
]
}
}