This repository has been archived by the owner on Dec 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
/
package.json
190 lines (190 loc) · 7.38 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
179
180
181
182
183
184
185
186
187
188
189
190
{
"name": "jellyfinclient",
"productName": "Jellyfin Client",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest",
"android": "react-native run-android",
"android:clean": "cd android && ./gradlew clean",
"android:dev_menu": "adb shell input keyevent KEYCODE_MENU",
"android:emulator": "scripts/android_emulator.js",
"android:kill_server": "scripts/kill_server.sh",
"android:log": "react-native log-android",
"android:release": "cd android && ./gradlew assembleRelease",
"electron": "electron build",
"electron:release": "electron-packager build --all --asar --icon=public/app --overwrite --out=electron",
"icon-gen": "icon-gen -i resources/icon.svg -o public && shx cp public/favicon-228.png public/app.png",
"install": "node scripts/install.js",
"ios": "react-native run-ios",
"ios:release": "react-native bundle --platform=ios",
"lint": "node node_modules/eslint/bin/eslint.js 'src/**/*.{js,ts,tsx}'",
"preandroid": "scripts/preandroid.sh",
"preelectron": "cross-env-shell ELECTRON=1 PUBLIC_URL=. \"yarn run web:release && shx cp index.electron.js build/index.js && echo {} > build/package.json\"",
"preelectron:release": "yarn run preelectron",
"preweb:release": "yarn run icon-gen",
"release": "yarn run android:release && yarn run electron:release && yarn run ios:release && yarn run web:release && yarn run windows:release",
"test:web": "node scripts/test.js --env=jsdom",
"web": "node scripts/start.js",
"web:release": "node scripts/build.js",
"windows": "react-native run-windows",
"windows:release": "react-native bundle --platform=windows --entry-file index.js --assets-dest windows/jellyfinclient/ReactAssets --bundle-output windows/jellyfinclient/ReactAssets/index.windows.bundle --dev false"
},
"dependencies": {
"@reduxjs/toolkit": "^1.1.0",
"electron-store": "^2.0.0",
"electron-store-webpack-wrapper": "^0.0.2",
"formik": "^1.4.2",
"fs-extra": "7.0.0",
"is-electron": "^2.2.0",
"jellyfin-apiclient": "^1.0.0",
"prop-types": "^15.7.2",
"react": "16.12.0",
"react-app-polyfill": "^0.1.3",
"react-art": "16.7.0",
"react-dev-utils": "^6.1.1",
"react-dom": "16.12.0",
"react-native": "0.59.9",
"react-native-sensitive-info": "^5.2.7",
"react-native-web_improved": "0.9.9",
"react-native-windows": "0.57.0-rc.4",
"react-redux": "^7.1.3",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"react-router-native": "^5.1.2",
"react-router-navigation": "^2.0.0-alpha.10",
"redux": "^4.0.1",
"redux-persist": "^6.0.0",
"redux-persist-electron-storage": "^2.1.0",
"redux-persist-sensitive-storage": "^1.0.0",
"redux-thunk": "^2.3.0",
"resolve": "1.8.1",
"scripts": "^0.1.0"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/preset-typescript": "^7.6.0",
"@svgr/webpack": "2.4.1",
"@types/jest": "^23.3.13",
"@types/react": "^16.9.16",
"@types/react-native": "^0.60.25",
"@types/react-redux": "^7.1.3",
"@types/react-router": "^5.1.2",
"@types/react-router-dom": "^5.1.2",
"@types/react-router-native": "^5.1.0",
"@typescript-eslint/eslint-plugin": "^2.10.0",
"@typescript-eslint/parser": "^2.10.0",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "9.0.0",
"babel-jest": "23.6.0",
"babel-loader": "8.0.4",
"babel-plugin-named-asset-import": "^0.2.3",
"babel-plugin-react-native-web": "0.9.9",
"babel-plugin-transform-react-remove-prop-types": "0.4.21",
"babel-preset-react-app": "^6.1.0",
"bfj": "6.1.1",
"case-sensitive-paths-webpack-plugin": "2.1.2",
"chalk": "2.4.1",
"core-js": "3",
"cross-env": "^5.2.0",
"css-loader": "1.0.0",
"dotenv": "6.0.0",
"dotenv-expand": "4.2.0",
"electron": "^4.0.1",
"electron-packager": "^13.0.1",
"eslint": "^5.16.0",
"eslint-config-react-app": "^3.0.5",
"eslint-loader": "2.1.1",
"eslint-plugin-flowtype": "2.50.1",
"eslint-config-standard-jsx": "^8.1.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-jsx-a11y": "6.1.2",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react-hooks": "^2.3.0",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-standard": "^4.0.1",
"file-loader": "2.0.0",
"fork-ts-checker-webpack-plugin-alt": "0.4.14",
"html-webpack-plugin": "4.0.0-alpha.2",
"icon-gen": "2.0.0",
"identity-obj-proxy": "3.0.0",
"jest": "23.6.0",
"jest-pnp-resolver": "1.0.1",
"jest-resolve": "23.6.0",
"metro-react-native-babel-preset": "0.57.0",
"mini-css-extract-plugin": "0.4.3",
"optimize-css-assets-webpack-plugin": "5.0.1",
"pnp-webpack-plugin": "1.1.0",
"postcss-flexbugs-fixes": "4.1.0",
"postcss-loader": "3.0.0",
"postcss-preset-env": "6.0.6",
"postcss-safe-parser": "4.0.1",
"react-test-renderer": "16.6.3",
"redux-devtools-extension": "^2.13.8",
"rnpm-plugin-windows": "0.2.8",
"sass-loader": "7.1.0",
"shx": "^0.3.2",
"style-loader": "0.23.0",
"terser-webpack-plugin": "1.1.0",
"typescript": "^3.6.3",
"url-loader": "1.1.1",
"webpack": "4.19.1",
"webpack-dev-server": "3.1.14",
"webpack-manifest-plugin": "2.0.4",
"workbox-webpack-plugin": "3.6.3"
},
"jest": {
"preset": "react-native",
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.d.ts"
],
"resolver": "jest-pnp-resolver",
"setupFiles": [
"react-app-polyfill/jsdom"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
"<rootDir>/src/**/?(*.)(spec|test).{js,jsx,ts,tsx}"
],
"testEnvironment": "jsdom",
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$",
"^.+\\.module\\.(css|sass|scss)$"
],
"moduleNameMapper": {
"^react-native$": "react-native-web",
"^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
},
"moduleFileExtensions": [
"web.js",
"js",
"web.ts",
"ts",
"web.tsx",
"tsx",
"json",
"web.jsx",
"jsx",
"node"
]
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"eslintConfig": {
"extends": "react-app"
}
}