-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
122 lines (122 loc) · 3.67 KB
/
Copy pathpackage.json
File metadata and controls
122 lines (122 loc) · 3.67 KB
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
{
"name": "ferrum",
"private": true,
"productName": "Ferrum",
"author": "kasper.space",
"description": "Music library app",
"version": "1.0.0",
"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-android": "cd mobile && cargo tauri android dev",
"dev-prod": "npm run napi && npm run build:web && APP_ENV=prod vite dev",
"dev-release": "npm run napi && vite dev",
"napi": "napi build --output-dir ferrum-addon --dts addon.d.ts --release",
"napi:dev": "napi build --output-dir 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",
"build-android": "cd mobile && cargo tauri android dev",
"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",
"release": "npm run check && echo && bash -c 'read -ep \"Enter new version: \" version && read -ep \"Before continuing, update CHANGELOG.md (Enter)\" && git add . && npm version --force \"$version\"' && read -ep \"Before continuing, add release notes to the generated GitHub release and publish it (Enter)\" && read -ep \"Nice! Press enter to exit\""
},
"build": {
"appId": "space.kasper.ferrum",
"productName": "Ferrum",
"artifactName": "${productName}-v${version}-${os}-${arch}.${ext}",
"releaseInfo": {
"releaseName": "v${version}"
},
"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 <example@example.com>",
"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": {
"binaryName": "addon"
},
"devDependencies": {
"@eslint/compat": "^1.4.1",
"@eslint/js": "^9.30.1",
"@napi-rs/cli": "^3.5.1",
"@sveltejs/vite-plugin-svelte": "^5.1.1",
"@tailwindcss/vite": "^4.1.8",
"@tsconfig/svelte": "^5.0.4",
"@types/d3-scale": "^4.0.9",
"d3-scale": "^4.0.2",
"electron": "^30.5.1",
"electron-builder": "^26.0.12",
"eslint": "^9.39.3",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-svelte": "^3.15.0",
"fuzzysort": "^3.1.0",
"meyda": "^5.6.3",
"prettier": "^3.8.1",
"prettier-plugin-svelte": "^3.5.1",
"prettier-plugin-tailwindcss": "^0.7.2",
"sass": "^1.89.1",
"svelte": "^5.34.3",
"svelte-check": "^4.4.4",
"svelte-preprocess": "^6.0.3",
"tailwindcss": "^4.1.8",
"typescript": "~5.8.3",
"typescript-eslint": "^8.56.1",
"vite": "^6.4.1",
"vite-plugin-electron": "^0.29.0"
},
"prettier": {
"useTabs": true,
"printWidth": 100,
"semi": false,
"singleQuote": true,
"plugins": [
"prettier-plugin-svelte",
"prettier-plugin-tailwindcss"
],
"overrides": [
{
"files": "*.svelte",
"options": {
"parser": "svelte"
}
}
]
}
}