react-native-electron-platform 0.0.11 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +18 -0
- package/.gitattributes +2 -0
- package/.npmignore +20 -0
- package/README.md +1157 -27
- package/electron-builder.json +3 -2
- package/index.mjs +83 -0
- package/package.json +6 -3
- package/src/icon.ico +0 -0
- package/src/main.mjs +515 -44
- package/src/webpackConfigHelper.mjs +1 -1
- package/test/package.json +43 -0
- package/test/test.mjs +27 -0
- package/test/electron/electron-builder.json +0 -94
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"appId": "com.app.desktop",
|
|
3
|
-
"productName": "app",
|
|
4
|
-
"asar": {
|
|
5
|
-
"smartUnpack": true
|
|
6
|
-
},
|
|
7
|
-
"compression": "maximum",
|
|
8
|
-
"electronLanguages": ["en-US"],
|
|
9
|
-
"removePackageScripts": true,
|
|
10
|
-
"removePackageKeywords": true,
|
|
11
|
-
"buildDependenciesFromSource": false,
|
|
12
|
-
"npmRebuild": false,
|
|
13
|
-
"nodeGypRebuild": false,
|
|
14
|
-
"directories": {
|
|
15
|
-
"output": "dist",
|
|
16
|
-
"buildResources": "node_modules/react-native-electron-platform/src"
|
|
17
|
-
},
|
|
18
|
-
"publish": [
|
|
19
|
-
{
|
|
20
|
-
"provider": "generic",
|
|
21
|
-
"url": "https://yourdomain.com/updates/"
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
"files": [
|
|
25
|
-
"electron/**/*",
|
|
26
|
-
"web-build/**/*",
|
|
27
|
-
"package.json",
|
|
28
|
-
"!**/*.map",
|
|
29
|
-
"!**/*.md",
|
|
30
|
-
"!**/*.ts",
|
|
31
|
-
"!**/*.tsx",
|
|
32
|
-
"!**/*.log",
|
|
33
|
-
"!**/test/**",
|
|
34
|
-
"!**/__tests__/**",
|
|
35
|
-
"!**/tests/**",
|
|
36
|
-
"!**/docs/**",
|
|
37
|
-
"!**/example/**",
|
|
38
|
-
"!**/examples/**",
|
|
39
|
-
"!**/.vscode/**",
|
|
40
|
-
"!**/.github/**",
|
|
41
|
-
"!**/node_modules/.bin",
|
|
42
|
-
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md}",
|
|
43
|
-
"!**/node_modules/*/{test,__tests__,tests,example,examples}",
|
|
44
|
-
"!**/node_modules/**/*.d.ts",
|
|
45
|
-
"!**/android/**",
|
|
46
|
-
"!**/ios/**",
|
|
47
|
-
"!**/build/**",
|
|
48
|
-
"!**/*.gradle",
|
|
49
|
-
"!**/*.java",
|
|
50
|
-
"!**/*.kt",
|
|
51
|
-
"!**/node_modules/**/android/**",
|
|
52
|
-
"!**/node_modules/**/ios/**",
|
|
53
|
-
"!**/node_modules/**/build/**",
|
|
54
|
-
"!**/node_modules/react-native/**",
|
|
55
|
-
"!**/node_modules/react-native-*/*",
|
|
56
|
-
"!**/node_modules/rn-fetch-blob/**",
|
|
57
|
-
"!**/locales/**",
|
|
58
|
-
"node_modules/react-native-electron-platform/src/**/*"
|
|
59
|
-
],
|
|
60
|
-
"asarUnpack": [
|
|
61
|
-
"**/*.node"
|
|
62
|
-
],
|
|
63
|
-
"extraMetadata": {
|
|
64
|
-
"main": "node_modules/react-native-electron-platform/src/main.mjs"
|
|
65
|
-
},
|
|
66
|
-
"win": {
|
|
67
|
-
"target": [
|
|
68
|
-
{
|
|
69
|
-
"target": "nsis",
|
|
70
|
-
"arch": ["x64"]
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"target": "msi",
|
|
74
|
-
"arch": ["x64"]
|
|
75
|
-
}
|
|
76
|
-
],
|
|
77
|
-
"icon": "electron/icon.ico"
|
|
78
|
-
},
|
|
79
|
-
"nsis": {
|
|
80
|
-
"oneClick": false,
|
|
81
|
-
"allowToChangeInstallationDirectory": true,
|
|
82
|
-
"createDesktopShortcut": true,
|
|
83
|
-
"createStartMenuShortcut": true,
|
|
84
|
-
"shortcutName": "ris",
|
|
85
|
-
"artifactName": "${productName} Setup ${version}.${ext}"
|
|
86
|
-
},
|
|
87
|
-
"msi": {
|
|
88
|
-
"oneClick": false,
|
|
89
|
-
"perMachine": true,
|
|
90
|
-
"createDesktopShortcut": true,
|
|
91
|
-
"createStartMenuShortcut": true,
|
|
92
|
-
"warningsAsErrors": false
|
|
93
|
-
}
|
|
94
|
-
}
|