@unmail/react 0.1.1 → 0.1.3

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,11 +1,10 @@
1
1
  {
2
2
  "name": "@unmail/react",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Unstyled components for creating beautiful emails with React",
5
5
  "sideEffects": false,
6
6
  "license": "MIT",
7
- "main": "./dist/index.js",
8
- "module": "./dist/index.mjs",
7
+ "type": "module",
9
8
  "types": "./dist/index.d.ts",
10
9
  "files": [
11
10
  "dist/**"
@@ -13,18 +12,14 @@
13
12
  "exports": {
14
13
  ".": {
15
14
  "import": {
16
- "types": "./dist/index.d.mts",
17
- "default": "./dist/index.mjs"
18
- },
19
- "require": {
20
15
  "types": "./dist/index.d.ts",
21
16
  "default": "./dist/index.js"
22
17
  }
23
18
  }
24
19
  },
25
20
  "scripts": {
26
- "build": "tsdown src/index.ts --format esm,cjs --dts --external react --external react-dom --external prettier --external html-to-text --external tailwindcss --external css-tree --external marked",
27
- "dev": "tsdown src/index.ts --format esm,cjs --dts --watch",
21
+ "build": "tsdown src/index.ts --format esm --dts --external react --external react-dom --external html-to-text --external tailwindcss --external marked --external css-tree",
22
+ "dev": "tsdown src/index.ts --format esm --dts --watch --external react --external react-dom --external html-to-text --external tailwindcss --external marked --external css-tree",
28
23
  "test": "vitest run",
29
24
  "test:watch": "vitest"
30
25
  },
@@ -33,24 +28,22 @@
33
28
  "react-dom": "^18.0.0 || ^19.0.0"
34
29
  },
35
30
  "dependencies": {
36
- "html-to-text": "^9.0.5",
37
- "prettier": "^3.5.3",
38
- "prismjs": "^1.30.0"
31
+ "css-tree": "^3.1.0",
32
+ "html-to-text": "^9.0.5"
39
33
  },
40
34
  "optionalDependencies": {
41
- "css-tree": "^3.1.0",
42
35
  "marked": "^15.0.0",
43
36
  "tailwindcss": "^4.1.18"
44
37
  },
45
38
  "devDependencies": {
46
- "@types/css-tree": "^2.3.10",
47
39
  "@types/html-to-text": "^9.0.4",
48
- "@types/prismjs": "^1.26.6",
49
40
  "@types/react": "^19.0.1",
50
41
  "@types/react-dom": "^19.0.1",
51
42
  "react": "^19.0.0",
52
43
  "react-dom": "^19.0.0",
53
- "tsconfig": "workspace:*"
44
+ "tsconfig": "workspace:*",
45
+ "tsdown": "0.20.3",
46
+ "vite": "7.3.1"
54
47
  },
55
48
  "publishConfig": {
56
49
  "access": "public"
@@ -1,13 +0,0 @@
1
- //#region rolldown:runtime
2
- var __defProp = Object.defineProperty;
3
- var __export = (all) => {
4
- let target = {};
5
- for (var name in all) __defProp(target, name, {
6
- get: all[name],
7
- enumerable: true
8
- });
9
- return target;
10
- };
11
-
12
- //#endregion
13
- export { __export as t };