diff --git a/package.json b/package.json index 2c6201e..12550da 100644 --- a/package.json +++ b/package.json @@ -2,8 +2,13 @@ "name": "node-ipc", "version": "10.1.0", "description": "A nodejs module for local and remote Inter Process Communication (IPC), Neural Networking, and able to facilitate machine learning.", + "type": "module", "main": "node-ipc.cjs", "module": "node-ipc.js", + "exports": { + "import": "./node-ipc.js", + "require": "./node-ipc.cjs" + }, "directories": { "example": "example" }, @@ -61,4 +66,4 @@ "url": "https://github.com/RIAEvangelist/node-ipc/issues" }, "homepage": "http://riaevangelist.github.io/node-ipc/" -} +} \ No newline at end of file