diff --git a/packages/formats/package.json b/packages/formats/package.json index 30969df..4073792 100644 --- a/packages/formats/package.json +++ b/packages/formats/package.json @@ -1,6 +1,6 @@ { "name": "@oada/formats", - "version": "4.0.0", + "version": "4.1.0", "description": "Reworked OADA formats", "keywords": [ "oada", @@ -20,7 +20,19 @@ }, "license": "MIT", "type": "module", - "main": "dist/index.js", + "main": "./dist/index.js", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "module": "./src/index.ts", + "default": "./dist/index.js" + }, + "./ajv": { + "types": "./dist/ajv.d.ts", + "module": "./src/ajv.ts", + "default": "./dist/ajv.js" + } + }, "directories": { "lib": "dist" }, @@ -94,4 +106,4 @@ "mkdirp": "^3.0.1", "yargs": "^17.7.2" } -} +} \ No newline at end of file