/
package.json
152 lines (152 loc) · 4.21 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
{
"name": "sonos-controller-unofficial",
"version": "0.3.1",
"description": "Unoffical sonos controller for linux",
"main": "app/main.js",
"homepage": "http://pascalopitz.github.io/unoffical-sonos-controller-for-linux/",
"scripts": {
"postinstall": "electron-builder install-app-deps",
"clean": "rm -Rf dist && find app/ | grep -v node_modules | grep -e \"\\.\\(map\\|js\\)$\" | xargs -n1 rm",
"pack": "electron-builder --dir",
"dist": "electron-builder",
"build_help": "electron-builder --help",
"build": "npm run lint && npm run test && npm run fonts && npm run transpile",
"develop": "export NODE_ENV=development npm run fonts && npm run transpile:dev && npm run start & npm run watch:dev",
"start": "export NODE_ENV=development && electron .",
"watch": "webpack -w --config=webpack.config.js",
"transpile": "webpack --mode development --config=webpack.config.js",
"watch:dev": "webpack --mode development -w --config=webpack.config.js",
"transpile:dev": "webpack --config=webpack.config.js",
"fonts": "mkdir -p ./app/fonts && cp ./node_modules/material-design-icons/iconfont/* ./app/fonts/",
"lint": "eslint --ext .jsx --ext .js src",
"lint-and-fix": "eslint --fix --ext .jsx --ext .js src",
"prettier-css": "prettier --tab-width 4 --write app/css/*.css",
"test": "jest src",
"rebuild": "npx electron-rebuild --version `npx electron --version`"
},
"author": {
"name": "Pascal Opitz",
"email": "contact@pascalopitz.com",
"url": "http://github.com/pascalopitz"
},
"contributors": [
{
"name": "leanto",
"url": "https://github.com/leanto"
},
{
"name": "Basster",
"url": "https://github.com/Basster"
},
{
"name": "economysizegeek",
"url": "https://github.com/economysizegeek"
},
{
"name": "derTobsch",
"url": "https://github.com/derTobsch"
},
{
"name": "pjetherton",
"url": "https://github.com/pjetherton"
},
{
"name": "stan-qaz",
"url": "https://github.com/stan-qaz"
},
{
"name": "FlorentChabaud",
"url": "https://github.com/FlorentChabaud"
},
{
"name": "wapacro",
"url": "https://github.com/wapacro"
},
{
"name": "Stefan Adams",
"url": "https://github.com/s1037989"
}
],
"build": {
"appId": "com.electron.unoffcial.sonos.controller",
"linux": {
"category": "Audio",
"target": [
{
"target": "deb",
"arch": [
"x64",
"armv7l",
"arm64"
]
},
{
"target": "rpm",
"arch": [
"x64",
"armv7l",
"arm64"
]
},
{
"target": "appImage",
"arch": [
"x64",
"armv7l",
"arm64"
]
}
]
}
},
"jest": {
"moduleFileExtensions": [
"js",
"jsx"
],
"moduleDirectories": [
"app/node_modules",
"node_modules"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"setupFiles": [
"./setupTests.js"
],
"testEnvironment": "jsdom"
},
"license": "ISC",
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.17.0",
"@babel/eslint-parser": "^7.16.3",
"@babel/plugin-proposal-object-rest-spread": "^7.15.6",
"@babel/plugin-transform-react-jsx": "^7.22.15",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@cfaester/enzyme-adapter-react-18": "^0.7.1",
"babel-loader": "^8.2.3",
"babel-plugin-syntax-jsx": "^6.18.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"electron": "^17.0.0",
"electron-builder": "^22.11.7",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.2",
"eslint": "^8.4.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.26.1",
"jest": "^27.2.4",
"jest-fetch-mock": "^3.0.3",
"material-design-icons": "^3.0.1",
"prettier": "^2.4.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"webpack": "^5.65.0",
"webpack-cli": "^4.9.1",
"webpack-node-externals": "^3.0.0"
}
}