-
Notifications
You must be signed in to change notification settings - Fork 105
/
package.json
178 lines (178 loc) · 5.36 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{
"name": "astrofox",
"version": "1.4.0",
"productName": "Astrofox",
"description": "Audio reactive motion graphics program",
"author": "Mike Cao <[email protected]>",
"license": "MIT",
"homepage": "https://astrofox.io",
"repository": {
"type": "git",
"url": "https://github.com/astrofox-io/astrofox"
},
"main": "app/main.js",
"scripts": {
"start": "dotenv electron ./app",
"dev": "npm-run-all bootstrap dev-all",
"build": "npm-run-all bootstrap build-prod",
"test": "jest --coverage",
"dev-all": "npm-run-all --parallel dev-electron dev-view",
"dev-view": "dotenv webpack serve --progress --config webpack.config.view.js",
"dev-electron": "webpack --progress --watch --config webpack.config.electron.js",
"build-dev": "webpack --progress --config webpack.config.js",
"build-prod": "cross-env NODE_ENV=production webpack --progress --config webpack.config.js",
"build-electron": "npm-run-all init-app build-main build-preload",
"build-main": "webpack --config webpack.config.main.js",
"build-preload": "webpack --config webpack.config.preload.js",
"build-win": "dotenv electron-builder --x64 --win",
"build-mac": "dotenv electron-builder --x64 --mac",
"build-linux": "dotenv electron-builder --x64 --linux",
"lint": "eslint src || exit 0",
"lint-fix": "eslint --fix src || exit 0",
"lint-check": "eslint --print-config . | eslint-config-prettier-check",
"stylelint": "stylelint src/view/components",
"notarize": "node ./scripts/notarize.js",
"bootstrap": "node scripts/bootstrap.js",
"install-ffmpeg": "node ./scripts/install-ffmpeg.js"
},
"build": {
"appId": "io.astrofox.app",
"productName": "Astrofox",
"asar": true,
"files": [
"**/*",
"!*.yml",
"!*.lock"
],
"extraResources": [
{
"from": "bin",
"to": "bin"
}
],
"publish": {
"provider": "generic",
"url": "https://files.astrofox.io/download",
"channel": "latest"
},
"dmg": {
"sign": false
},
"nsis": {
"oneClick": true
},
"mac": {
"category": "public.app-category.video",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist"
},
"win": {
"target": [
"nsis"
]
},
"linux": {
"target": [
"AppImage"
],
"icon": "build/icons/512x512.png",
"category": "AudioVideo"
}
},
"lint-staged": {
"src/**/*.js": [
"prettier --write",
"eslint"
],
"src/**/*.{css,less}": [
"stylelint --fix",
"prettier --write"
]
},
"dependencies": {
"classnames": "^2.3.1",
"debug": "^4.3.1",
"del": "^6.0.0",
"electron-localshortcut": "^3.2.1",
"fourier-transform": "^1.1.2",
"glob": "^7.1.6",
"id3js": "2.1.1",
"immer": "^9.0.6",
"lodash": "^4.17.21",
"mime": "^2.5.2",
"path-browserify": "^1.0.1",
"prop-types": "^15.7.2",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-spring": "^9.0.0",
"react-window": "^1.8.6",
"reselect": "^4.0.0",
"semver": "^7.3.5",
"three": "0.139.2",
"tinycolor2": "^1.4.2",
"window-function": "^2.1.0",
"yauzl": "^2.10.0",
"zustand": "^3.4.0"
},
"devDependencies": {
"@babel/core": "^7.13.14",
"@babel/eslint-parser": "^7.16.3",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-proposal-export-default-from": "^7.12.13",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.8",
"@babel/plugin-proposal-object-rest-spread": "^7.13.8",
"@babel/plugin-proposal-optional-chaining": "^7.13.12",
"@babel/preset-env": "^7.13.12",
"@babel/preset-react": "^7.12.13",
"@hot-loader/react-dom": "^17.0.1",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.1",
"babel-loader": "^8.2.2",
"copy-webpack-plugin": "^9.0.1",
"cross-env": "^7.0.3",
"css-loader": "^6.4.0",
"css-minimizer-webpack-plugin": "^3.1.1",
"dotenv": "^10.0.0",
"dotenv-cli": "^4.0.0",
"electron": "18.3.7",
"electron-builder": "^23.0.3",
"electron-notarize": "^1.0.0",
"electron-updater": "^5.0.1",
"eslint": "^8.0.1",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-css-modules": "^2.11.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^25.2.2",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-react": "^7.23.1",
"eslint-plugin-react-hooks": "^4.2.0",
"express": "^4.17.1",
"file-loader": "^6.2.0",
"glsl-man": "^1.1.14",
"glslx": "^0.2.13",
"husky": "^7.0.2",
"jest": "^27.2.5",
"less": "^4.1.1",
"less-loader": "^10.1.0",
"lint-staged": "^11.2.3",
"mini-css-extract-plugin": "^2.4.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"prettier-eslint": "^13.0.0",
"react-refresh": "^0.13.0",
"style-loader": "^3.3.0",
"stylelint": "^14.0.1",
"stylelint-config-css-modules": "^2.2.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-recommended": "^6.0.0",
"svg-sprite-loader": "6.0.11",
"terser-webpack-plugin": "^5.1.1",
"url-loader": "^4.1.1",
"webpack": "^5.30.0",
"webpack-cli": "^4.6.0",
"webpack-dev-server": "^4.3.1"
}
}