quantible 0.1.3-alpha → 0.1.5-alpha

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,14 +1,16 @@
1
1
  {
2
2
  "name": "quantible",
3
- "version": "0.1.3-alpha",
3
+ "version": "0.1.5-alpha",
4
4
  "description": "A versatile library for extracting and converting numerical values, units, currency, and mathematical expressions into their spoken word equivalents.",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
7
7
  "types": "dist/types/index.d.ts",
8
8
  "exports": {
9
9
  ".": {
10
+ "types": "./dist/types/index.d.ts",
11
+ "import": "./dist/esm/index.js",
10
12
  "require": "./dist/cjs/index.js",
11
- "import": "./dist/esm/index.js"
13
+ "default": "./dist/esm/index.js"
12
14
  }
13
15
  },
14
16
  "files": [
@@ -17,9 +19,8 @@
17
19
  ],
18
20
  "scripts": {
19
21
  "test": "jest _tests_",
20
- "build:cjs": "tsc --project tsconfig.cjs.json",
21
- "build:esm": "tsc --project tsconfig.esm.json",
22
- "build": "npm run build:cjs && npm run build:esm",
22
+ "build": "tsup",
23
+ "dev": "tsup --watch",
23
24
  "compile": "tsc && node dist/index.js",
24
25
  "lint": "eslint . --ext .ts",
25
26
  "format": "prettier --write ."
@@ -56,6 +57,7 @@
56
57
  "jest": "^29.7.0",
57
58
  "prettier": "^3.5.3",
58
59
  "ts-jest": "^29.3.1",
60
+ "tsup": "^8.4.0",
59
61
  "typescript": "^5.8.2"
60
62
  }
61
63
  }