@oimdb/core 1.0.0 → 1.0.1

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.
Files changed (1) hide show
  1. package/package.json +5 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oimdb/core",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Core in-memory data library with type-safe indices, reactive subscriptions, and event processing",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -17,14 +17,15 @@
17
17
  "homepage": "https://github.com/abaikov/oimdb#readme",
18
18
  "exports": {
19
19
  ".": {
20
+ "types": "./dist/index.d.ts",
20
21
  "import": "./dist/index.js",
21
- "require": "./dist/index.cjs",
22
- "types": "./dist/index.d.ts"
22
+ "require": "./dist/index.cjs"
23
23
  }
24
24
  },
25
25
  "scripts": {
26
26
  "build": "tsup src/index.ts --dts --format esm,cjs",
27
- "clean": "rimraf dist"
27
+ "clean": "rimraf dist",
28
+ "prepublishOnly": "npm run build"
28
29
  },
29
30
  "files": [
30
31
  "dist"