diff --git a/package.json b/package.json index 8451af46..b304d200 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,30 @@ { "name": "@editorjs/nested-list", "version": "1.3.0", + "keywords": [ + "codex editor", + "nested-list", + "editor.js", + "editorjs" + ], "description": "Nested list Tool for EditorJS", - "main": "dist/nested-list.js", "repository": "https://github.com/editor-js/nested-list.git", "author": "CodeX ", "license": "MIT", + "files": [ + "dist" + ], + "main": "./dist/nested-list.umd.js", + "module": "./dist/nested-list.mjs", + "exports": { + ".": { + "import": "./dist/nested-list.mjs", + "require": "./dist/nested-list.umd.js" + } + }, "scripts": { - "build": "webpack --mode production", - "build:dev": "webpack --mode development --watch", + "dev": "vite", + "build": "vite build", "lint": "eslint src/ --quiet", "lint:errors": "eslint src/ --quiet", "lint:fix": "eslint src/ --fix" @@ -22,4 +38,4 @@ "dependencies": { "@codexteam/icons": "^0.0.2" } -} +} \ No newline at end of file