dragonfly-schema 1.1504.0 → 2.100.0

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,7 +1,7 @@
1
1
  {
2
2
  "name": "dragonfly-schema",
3
3
  "license": "MIT",
4
- "version": "1.1504.0",
4
+ "version": "2.100.0",
5
5
  "description": "Dragonfly Schema's typescript version",
6
6
  "author": "Ladybug Tools",
7
7
  "type": "module",
@@ -11,11 +11,16 @@
11
11
  "main": "dist/index.cjs",
12
12
  "module": "dist/index.js",
13
13
  "types": "dist/index.d.ts",
14
+ "exports": {
15
+ ".": {
16
+ "types": "./dist/index.d.ts",
17
+ "require": "./dist/index.cjs",
18
+ "import": "./dist/index.js"
19
+ }
20
+ },
14
21
  "scripts": {
15
22
  "dev": "tsc --watch",
16
23
  "check": "tsc --noEmit",
17
- "build:tsc": "npm run clean && tsc --build",
18
- "build:dts": "tsc --emitDeclarationOnly",
19
24
  "build:tsup": "tsup src/index.ts --out-dir ./dist --sourcemap --dts --clean --format cjs,esm --external class-validator,class-transformer,reflect-metadata",
20
25
  "build": "npm run clean && npm run check && npm run build:tsup",
21
26
  "custom-pack": "npm run build && npm pack",