|
2 | 2 | "name": "@docs.plus/extension-hypermultimedia", |
3 | 3 | "version": "1.4.0", |
4 | 4 | "description": "Insert embeded multimedia components for docs.plus", |
5 | | - "main": "dist/index.cjs", |
6 | | - "module": "dist/index.js", |
7 | | - "umd": "dist/index.umd.js", |
8 | | - "types": "dist/index.d.ts", |
| 5 | + "main": "./dist/index.cjs", |
| 6 | + "module": "./dist/index.js", |
| 7 | + "types": "./dist/index.d.ts", |
| 8 | + "exports": { |
| 9 | + ".": { |
| 10 | + "import": { |
| 11 | + "types": "./dist/index.d.ts", |
| 12 | + "default": "./dist/index.js" |
| 13 | + }, |
| 14 | + "require": { |
| 15 | + "types": "./dist/index.d.ts", |
| 16 | + "default": "./dist/index.cjs" |
| 17 | + } |
| 18 | + } |
| 19 | + }, |
9 | 20 | "author": "Hossein Marzban", |
10 | 21 | "license": "MIT", |
11 | 22 | "type": "module", |
|
15 | 26 | "directory": "packages/extension-hypermultimedia" |
16 | 27 | }, |
17 | 28 | "scripts": { |
18 | | - "build": "bunx tsup --dts", |
19 | | - "dev": "bunx tsup --watch --dts", |
20 | | - "watch": "bunx tsup --watch --dts", |
21 | | - "clean": "rm -rf dist", |
| 29 | + "build": "NODE_ENV=production bunx tsup", |
| 30 | + "build:dev": "bunx tsup", |
| 31 | + "dev": "bunx tsup --watch", |
22 | 32 | "lint": "eslint src --ext .ts,.tsx", |
23 | 33 | "lint:fix": "eslint src --ext .ts,.tsx --fix", |
24 | 34 | "update:packages": "bunx npm-check-updates -u" |
25 | 35 | }, |
| 36 | + "files": [ |
| 37 | + "dist" |
| 38 | + ], |
26 | 39 | "keywords": [ |
27 | 40 | "tiptap", |
28 | 41 | "tiptap extension", |
|
44 | 57 | "tippy.js": "^6.3.7" |
45 | 58 | }, |
46 | 59 | "devDependencies": { |
| 60 | + "@tiptap/core": "^3.6.2", |
| 61 | + "@tiptap/pm": "^3.6.2", |
47 | 62 | "@eslint/js": "^9.38.0", |
48 | 63 | "@types/minimatch": "^6.0.0", |
49 | 64 | "@typescript-eslint/eslint-plugin": "^8.46.1", |
|
0 commit comments