@abtnode/constant 1.17.8-beta-20260119-102944-6ba93a16 → 1.17.8-beta-20260125-093329-64b43854

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
@@ -3,19 +3,32 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.17.8-beta-20260119-102944-6ba93a16",
6
+ "version": "1.17.8-beta-20260125-093329-64b43854",
7
7
  "description": "ABT Node constants",
8
- "main": "index.js",
8
+ "type": "module",
9
+ "main": "./dist/index.cjs",
10
+ "module": "./dist/index.mjs",
11
+ "exports": {
12
+ ".": {
13
+ "require": "./dist/index.cjs",
14
+ "import": "./dist/index.mjs"
15
+ }
16
+ },
9
17
  "files": [
10
- "index.js"
18
+ "dist"
11
19
  ],
12
20
  "scripts": {
13
- "lint": "eslint tests index.js",
14
- "lint:fix": "eslint --fix tests index.js",
21
+ "build": "tsdown",
22
+ "lint": "eslint src tests",
23
+ "lint:fix": "eslint --fix src tests",
15
24
  "test": "NODE_ENV=test bun test",
16
- "coverage": "NODE_ENV=test bun test --coverage"
25
+ "coverage": "NODE_ENV=test bun test --coverage",
26
+ "prepublishOnly": "npm run build"
27
+ },
28
+ "devDependencies": {
29
+ "tsdown": "^0.20.0-beta.3"
17
30
  },
18
31
  "author": "polunzh <polunzh@gmail.com> (http://github.com/polunzh)",
19
32
  "license": "Apache-2.0",
20
- "gitHead": "52d0430ade8bad2dbc91251b6183d152116fee0f"
33
+ "gitHead": "241254785bda907be2296228869b4fc9c1679a6b"
21
34
  }