@jmcomic/jmv-windows-x64 2.6.20 → 2.6.21

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.
Files changed (3) hide show
  1. package/bin/jmv.exe +0 -0
  2. package/index.js +12 -0
  3. package/package.json +9 -3
package/bin/jmv.exe CHANGED
Binary file
package/index.js ADDED
@@ -0,0 +1,12 @@
1
+ const path = require("path")
2
+
3
+ const binary = path.join(__dirname, "bin", "jmv.exe")
4
+
5
+ function getBinaryPath() {
6
+ return binary
7
+ }
8
+
9
+ module.exports = binary
10
+ module.exports.default = binary
11
+ module.exports.binary = binary
12
+ module.exports.getBinaryPath = getBinaryPath
package/package.json CHANGED
@@ -1,17 +1,23 @@
1
1
  {
2
2
  "name": "@jmcomic/jmv-windows-x64",
3
- "version": "2.6.20",
3
+ "version": "2.6.21",
4
4
  "os": [
5
5
  "win32"
6
6
  ],
7
7
  "cpu": [
8
8
  "x64"
9
9
  ],
10
+ "main": "./index.js",
11
+ "exports": {
12
+ ".": "./index.js",
13
+ "./bin/*": "./bin/*"
14
+ },
10
15
  "bin": {
11
- "jmv": "bin/jmv.exe"
16
+ "jmv": "./bin/jmv.exe"
12
17
  },
13
18
  "files": [
14
- "bin"
19
+ "bin",
20
+ "index.js"
15
21
  ],
16
22
  "publishConfig": {
17
23
  "access": "public"