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
package/.editorconfig
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
root = true
|
|
2
|
+
|
|
3
|
+
[*]
|
|
4
|
+
charset = utf-8
|
|
5
|
+
end_of_line = lf
|
|
6
|
+
insert_final_newline = true
|
|
7
|
+
trim_trailing_whitespace = true
|
|
8
|
+
|
|
9
|
+
[*.{js,jsx,ts,tsx,mjs}]
|
|
10
|
+
indent_style = space
|
|
11
|
+
indent_size = 2
|
|
12
|
+
|
|
13
|
+
[*.json]
|
|
14
|
+
indent_style = space
|
|
15
|
+
indent_size = 2
|
|
16
|
+
|
|
17
|
+
[*.md]
|
|
18
|
+
trim_trailing_whitespace = false
|
package/.gitattributes
ADDED
package/.npmignore
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Exclude everything by default
|
|
2
|
+
*
|
|
3
|
+
|
|
4
|
+
# Include only necessary files
|
|
5
|
+
!src/
|
|
6
|
+
!README.md
|
|
7
|
+
!LICENSE
|
|
8
|
+
!package.json
|
|
9
|
+
|
|
10
|
+
# Exclude test files if not needed
|
|
11
|
+
src/test/
|
|
12
|
+
test/
|
|
13
|
+
|
|
14
|
+
# Exclude build configs if not needed
|
|
15
|
+
webpack.config.mjs
|
|
16
|
+
electron-builder.json
|
|
17
|
+
|
|
18
|
+
# Exclude development files
|
|
19
|
+
.gitignore
|
|
20
|
+
.npmignore
|