From de6d47c79c0f49c7c1f8e6d45581e88345d635b9 Mon Sep 17 00:00:00 2001 From: Mat Jordan Date: Tue, 9 Apr 2024 09:34:32 -0400 Subject: [PATCH] 0.2.0 --- package-lock.json | 4 ++-- package.json | 14 ++++++++------ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index fa66a40..0bea7c8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@nulib/use-markdown", - "version": "0.1.0", + "version": "0.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@nulib/use-markdown", - "version": "0.1.0", + "version": "0.2.0", "dependencies": { "rehype-raw": "^7.0.0", "rehype-stringify": "^10.0.0", diff --git a/package.json b/package.json index 28fc680..eeae646 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,15 @@ { "name": "@nulib/use-markdown", - "version": "0.1.0", + "version": "0.2.0", "type": "module", - "main": "dist/use-markdown.umd.cjs", - "module": "dist/use-markdown.mjs", - "types": "dist/use-markdown.d.ts", + "files": [ + "dist" + ], + "main": "./dist/use-markdown.js", + "types": "./dist/use-markdown.d.ts", "exports": { ".": { - "import": "./dist/use-markdown.mjs", - "require": "./dist/use-markdown.umd.cjs", + "import": "./dist/use-markdown.js", "types": "./dist/use-markdown.d.ts" } }, @@ -17,6 +18,7 @@ "clean": "rimraf dist", "dev": "vite", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", + "prepublishOnly": "npm run build", "preview": "vite preview", "test": "vitest" },