-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.62 KB
/
package.json
File metadata and controls
89 lines (89 loc) · 2.62 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
{
"name": "fret",
"version": "0.1.5",
"description": "Guitar fretboard app with real-time note detection and scale visualization",
"main": "dist/main.js",
"type": "commonjs",
"scripts": {
"start": "electron .",
"dev": "node scripts/dev.js",
"watch": "webpack --watch --mode development --watch-options-poll 1000",
"watch:main": "node ./node_modules/typescript/bin/tsc --project tsconfig.main.json --watch --preserveWatchOutput --watchFile dynamicprioritypolling --watchDirectory dynamicprioritypolling --fallbackPolling dynamicpriority",
"dev:web": "cross-env BUILD_TARGET=web webpack serve --mode development",
"serve": "webpack serve --open",
"electron-dev": "cross-env NODE_ENV=development electron .",
"build": "npm run build:main && webpack --mode production",
"build:web": "cross-env NODE_ENV=production BUILD_TARGET=web PUBLIC_PATH=/fret/ webpack --mode production",
"build:main": "node scripts/build-main.js",
"build:win": "npm run build && electron-builder --win",
"build:mac": "npm run build && electron-builder --mac",
"build:all": "npm run build && electron-builder --win --mac --linux",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"guitar",
"fretboard",
"music",
"scales",
"electron"
],
"author": "",
"license": "ISC",
"dependencies": {
"@types/react": "^19.1.2",
"@types/react-dom": "^19.1.3",
"pitchfinder": "^2.3.2",
"pitchy": "^4.1.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"typescript": "^5.8.3"
},
"devDependencies": {
"@types/node": "^20.11.0",
"concurrently": "^8.2.0",
"cross-env": "^7.0.3",
"css-loader": "^6.8.1",
"electron": "^36.0.1",
"electron-builder": "^26.0.12",
"html-webpack-plugin": "^5.5.3",
"style-loader": "^3.3.3",
"ts-loader": "^9.5.1",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
},
"build": {
"appId": "com.fret.app",
"productName": "Fret",
"publish": null,
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"package.json"
],
"mac": {
"category": "public.app-category.music",
"target": "dmg",
"extendInfo": {
"NSMicrophoneUsageDescription": "Fret uses the microphone to detect played guitar notes in real time."
}
},
"win": {
"target": [
{
"target": "nsis",
"arch": ["x64"]
}
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"linux": {
"target": "AppImage"
}
}
}