-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
140 lines (140 loc) · 3.75 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
138
139
140
{
"name": "sputnik",
"version": "1.0.0",
"description": "A desktop music player built with Electron and React",
"main": "electron/main.js",
"homepage": "./",
"license": "MIT",
"author": "Diego Bonavida <gecko.bona@gmail.com>",
"repository": {
"type": "git",
"url": "git@github.com:bonavida/sputnik.git"
},
"keywords": [
"electron",
"react",
"vite",
"music",
"desktop"
],
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"start": "concurrently -k \"yarn dev\" \"yarn electron\"",
"start:prod": "yarn build && electron .",
"electron:start": "wait-on tcp:3000 && electron .",
"electron": "cross-env NODE_ENV=development ELECTRON_START_URL=http://localhost:3000 nodemon --watch . --exec 'yarn electron:start'",
"postinstall": "electron-builder install-app-deps",
"app:build": "yarn app:build:win",
"app:build:win": "yarn build && electron-builder -w --x64",
"app:build:linux": "yarn build && electron-builder -l",
"app:build:osx": "yarn build && electron-builder -m",
"lint": "eslint .",
"lint:fix": "eslint --fix ."
},
"dependencies": {
"@dnd-kit/core": "^6.0.8",
"@dnd-kit/modifiers": "^6.0.1",
"@dnd-kit/sortable": "^7.0.2",
"@dnd-kit/utilities": "^3.2.1",
"@fortawesome/fontawesome-svg-core": "^6.4.2",
"@fortawesome/free-regular-svg-icons": "^6.4.2",
"@fortawesome/free-solid-svg-icons": "^6.4.2",
"@fortawesome/react-fontawesome": "^0.2.0",
"classnames": "^2.3.2",
"music-metadata": "7.13.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-dropzone": "^14.2.3",
"uuid": "^9.0.1"
},
"devDependencies": {
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.48.0",
"@vitejs/plugin-react": "^3.0.0",
"concurrently": "^7.6.0",
"cross-env": "^7.0.3",
"electron": "^22.0.0",
"electron-builder": "^23.6.0",
"electron-extension-installer": "^1.2.0",
"eslint": "^8.0.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.6.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.11",
"nodemon": "^2.0.20",
"prettier": "^2.8.1",
"sass": "^1.57.1",
"typescript": "*",
"vite": "^4.0.0",
"wait-on": "^7.0.1"
},
"build": {
"productName": "Sputnik",
"appId": "org.bonavida.sputnik",
"asar": true,
"asarUnpack": "**\\*.{node,dll}",
"files": [
"dist/**/*",
"electron/**/*",
"!node_modules"
],
"win": {
"target": [
"nsis"
]
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": true
},
"linux": {
"target": [
"deb",
"AppImage"
],
"category": "public.app-category.music"
},
"mac": {
"target": "default",
"category": "public.app-category.music",
"type": "distribution",
"hardenedRuntime": true,
"entitlements": "electron/assets/entitlements.mac.plist",
"entitlementsInherit": "electron/assets/entitlements.mac.plist",
"gatekeeperAssess": false
},
"dmg": {
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
]
},
"directories": {
"output": "release"
}
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
}
}