@sudobility/mail_box_types 1.0.2 → 1.0.3
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 +6 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sudobility/mail_box_types",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "TypeScript types for Mail Box services - indexer, WildDuck, and KYC",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
|
-
"build": "
|
|
16
|
+
"build": "bun run build:esm && bun run build:cjs",
|
|
17
17
|
"build:esm": "tsc -p tsconfig.esm.json",
|
|
18
|
-
"build:cjs": "tsc -p tsconfig.cjs.json &&
|
|
18
|
+
"build:cjs": "tsc -p tsconfig.cjs.json && bun run build:cjs-rename",
|
|
19
19
|
"build:cjs-rename": "find dist -name '*.js' -not -name '*.cjs' -exec sh -c 'cp \"$1\" \"${1%.js}.cjs\"' _ {} \\;",
|
|
20
20
|
"clean": "rimraf dist",
|
|
21
21
|
"dev": "tsc --watch",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"test": "vitest run",
|
|
28
28
|
"test:watch": "vitest",
|
|
29
29
|
"test:coverage": "vitest run --coverage",
|
|
30
|
-
"prepublishOnly": "
|
|
30
|
+
"prepublishOnly": "bun run clean && bun run build"
|
|
31
31
|
},
|
|
32
32
|
"files": [
|
|
33
33
|
"dist/**/*",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"license": "MIT",
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@eslint/js": "^9.38.0",
|
|
48
|
-
"@sudobility/types": "^1.9.
|
|
48
|
+
"@sudobility/types": "^1.9.44",
|
|
49
49
|
"@types/node": "^24.9.1",
|
|
50
50
|
"@typescript-eslint/eslint-plugin": "^8.46.2",
|
|
51
51
|
"@typescript-eslint/parser": "^8.46.2",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"vitest": "^4.0.16"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
|
-
"@sudobility/types": "^1.9.
|
|
61
|
+
"@sudobility/types": "^1.9.44"
|
|
62
62
|
},
|
|
63
63
|
"publishConfig": {
|
|
64
64
|
"access": "public"
|