reciple 5.4.1-pre.1 → 5.4.1-pre.2

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.
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
package/package.json CHANGED
@@ -1,16 +1,18 @@
1
1
  {
2
2
  "name": "reciple",
3
- "version": "5.4.1-pre.1",
3
+ "version": "5.4.1-pre.2",
4
4
  "license": "GPL-3.0",
5
5
  "typings": "bin/types/index.d.ts",
6
6
  "author": "FalloutStudios",
7
7
  "description": "Handler for Discord.js",
8
8
  "homepage": "https://reciple.js.org",
9
+ "main": "./bin/cjs/index.js",
10
+ "module": "./bin/mjs/index.js",
9
11
  "bin": {
10
12
  "reciple": "./bin/cjs/bin.js"
11
13
  },
12
14
  "exports": {
13
- "import": "./bin/mjs/bin.js",
15
+ "import": "./bin/mjs/index.js",
14
16
  "require": "./bin/cjs/index.js"
15
17
  },
16
18
  "keywords": [
@@ -26,7 +28,7 @@
26
28
  },
27
29
  "scripts": {
28
30
  "clean": "yarn exec rimraf bin",
29
- "build": "yarn clean && echo Building commonjs && yarn exec tsc -p ./tsconfigs/tsconfig-cjs.json && echo Building mjs && yarn exec tsc -p ./tsconfigs/tsconfig-mjs.json",
31
+ "build": "yarn clean && echo Building commonjs && yarn exec tsc -p ./tsconfigs/tsconfig-cjs.json && echo Building mjs && yarn exec tsc -p ./tsconfigs/tsconfig-mjs.json && node ./tsconfigs/package.json.js",
30
32
  "build:publish": "yarn build && yarn npm publish && yarn build:docs && yarn publish:docs",
31
33
  "build:publish-prerelease": "yarn build && yarn npm publish --tag pre",
32
34
  "build:docs": "yarn exec typedoc --tsconfig ./docs/typedoc.json",