We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccc2355 commit ea35cdfCopy full SHA for ea35cdf
package.json
@@ -7,13 +7,8 @@
7
"url": "https://github.com/JovannMC/haritorax-interpreter/issues",
8
"email": "[email protected]"
9
},
10
- "type": "module",
11
"description": "Communicate with the HaritoraX trackers",
12
- "main": "./src/index.js",
13
- "exports": {
14
- "import": "./src/index.js",
15
- "require": "./src/index.cjs"
16
- },
+ "main": "./dist/index.js",
17
"scripts": {
18
"start": "node ./test/test.js",
19
"build": "tsc"
test/test.js
@@ -1,4 +1,4 @@
1
-import { HaritoraXWireless } from "../src/index.js";
+const { HaritoraXWireless } = require("../dist/index.js");
2
3
let mode = process.argv[2] || "gx";
4
let device = new HaritoraXWireless(2);
0 commit comments