bireader 1.0.49 → 1.0.50

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/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "bireader",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "description": "Read and write data in binary",
5
5
  "module": "lib/esm/index.mjs",
6
- "main": "lib/cjs/index.js",
6
+ "main": "lib/cjs/index.cjs",
7
+ "type": "module",
7
8
  "files": [
8
9
  "lib"
9
10
  ],
@@ -14,15 +15,16 @@
14
15
  "exports": {
15
16
  ".": {
16
17
  "import": "./lib/esm/index.mjs",
17
- "require": "./lib/cjs/index.js"
18
+ "require": "./lib/cjs/index.cjs"
18
19
  },
19
20
  "./*": "./*"
20
21
  },
21
22
  "scripts": {
22
23
  "clean": "rmdir /S /Q lib",
23
- "build": "npm run clean && npm run build:esm && npm run move && npm run build:cjs",
24
+ "build": "npm run clean && npm run build:esm && npm run build:cjs && npm run movem && npm run movec",
24
25
  "build:esm": "tsc --module esnext --outDir lib/esm",
25
- "move": "cd ./lib/esm/ && ren index.js index.mjs && cd ../../",
26
+ "movem": "mjs.bat" ,
27
+ "movec": "cjs.bat",
26
28
  "build:cjs": "tsc --module commonjs --outDir lib/cjs",
27
29
  "prepack": ""
28
30
  },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes