-
Notifications
You must be signed in to change notification settings - Fork 54
/
package.json
87 lines (87 loc) · 4 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
{
"name": "electron-audio-player",
"description": "Example of simple audio player in Electron.",
"version": "2.0.0",
"author": "akabeko",
"license": "MIT",
"private": true,
"main": "main.js",
"keywords": [
"Electron",
"Audio",
"Player"
],
"repository": {
"type": "git",
"url": "git+https://github.com/akabekobeko/examples-electron.git"
},
"config": {
"app": "AudioPlayer",
"appCompanyName": "Company",
"appLegalCopyright": "Copylight (C) USERNAME, All right reserved.",
"appFileDescription": "Electron application"
},
"scripts": {
"start": "npm run watch",
"app": "electron --inspect=5858 src/",
"test": "jest",
"tsc": "tsc --rootDir ./src/ --noEmit --skipLibCheck",
"build:js-main": "webpack --env main --mode development",
"build:js-preload": "webpack --env preload --mode development",
"build:js-renderer": "webpack --mode development",
"build": "npm-run-all -p build:*",
"watch:js-main": "webpack --env main --mode development --watch",
"watch:js-preload": "webpack --env preload --mode development --watch",
"watch:js-renderer": "webpack --mode development --watch",
"watch": "npm-run-all -p watch:*",
"release:js-main": "webpack --env main --mode production",
"release:js-preload": "webpack --env preload --mode production",
"release:js-renderer": "webpack --mode production",
"release:clean": "rimraf ./dist/src",
"release:copy-assets": "cpx \"./src/assets/**/!(*.js|*.css|*.scss|*.styl|*.map)\" ./dist/src/assets/",
"release:copy-json": "cpx \"./src/package.json\" ./dist/src/",
"release:copy": "npm-run-all release:copy-*",
"release:build": "npm-run-all -s release:clean release:copy -p release:js-*",
"release:pack-mac": "cross-conf-env electron-packager ./dist/src npm_package_config_app --out=dist/bin --download.cache=dist/cache --platform=darwin --arch=x64 --overwrite --asar --icon=src/app.icns",
"release:pack-win": "cross-conf-env electron-packager ./dist/src npm_package_config_app --out=dist/bin --download.cache=dist/cache --platform=win32 --arch=x64 --overwrite --asar --icon=src/app.ico --version-string.CompanyName=\"npm_package_config_appCompanyName\" --version-string.LegalCopyright=\"npm_package_config_appLegalCopyright\" --version-string.FileDescription=\"npm_package_config_appFileDescription\" --version-string.OriginalFilename=\"npm_package_config_app.exe\" --version-string.FileVersion=\"npm_package_version\" --version-string.ProductVersion=\"npm_package_version\" --version-string.ProductName=\"npm_package_config_app\" --version-string.InternalName=\"npm_package_config_app\"",
"release:pack-linux": "cross-conf-env electron-packager ./dist/src npm_package_config_app --out=dist/bin --download.cache=dist/cache --platform=linux --arch=x64 --overwrite --asar",
"release:mac": "npm-run-all -s release:build release:pack-mac",
"release:win": "npm-run-all -s release:build release:pack-win",
"release:linux": "npm-run-all -s release:build release:pack-linux",
"release": "npm-run-all -s release:build release:pack-*"
},
"dependencies": {
"@reduxjs/toolkit": "^1.8.1",
"mime-types": "^2.1.35",
"music-metadata": "^7.12.3",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-lifecycles-compat": "^3.0.4",
"react-redux": "^8.0.1",
"react-style-proptype": "^3.2.2",
"styled-components": "^5.3.5"
},
"devDependencies": {
"@types/jest": "^27.4.1",
"@types/react": "^18.0.6",
"@types/react-dom": "^18.0.2",
"@types/styled-components": "^5.1.25",
"@types/webpack": "^5.28.0",
"cpx": "^1.5.0",
"cross-conf-env": "^1.2.1",
"devtron": "^1.4.0",
"electron": "^18.1.0",
"electron-packager": "^15.5.1",
"ifdef-loader": "^2.3.2",
"jest": "^27.5.1",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"ts-jest": "^27.1.4",
"ts-loader": "^9.2.8",
"ts-node": "^10.7.0",
"typescript": "^4.6.3",
"typescript-styled-plugin": "^0.18.2",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2"
}
}