mailery 0.0.0 → 0.1.0

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,6 +1,6 @@
1
1
  {
2
2
  "name": "mailery",
3
- "version": "0.0.0",
3
+ "version": "0.1.0",
4
4
  "description": "Embedded, MongoDB-backed email automation for Node.js. Triggered flows, broadcasts, tracking, suppression, and an admin UI you mount inside your Express app.",
5
5
  "license": "MIT",
6
6
  "author": "Jeff Jassky <jeff@jeffjassky.com>",
@@ -49,26 +49,59 @@
49
49
  "node": ">=20"
50
50
  },
51
51
  "scripts": {
52
- "build": "tsup && yarn build:assets",
53
- "build:assets": "mkdir -p dist/admin && cp -R src/admin/views dist/admin/views && cp -R src/admin/static dist/admin/static",
54
- "dev": "tsup --watch",
52
+ "build": "yarn build:server && yarn build:client",
53
+ "build:server": "tsup",
54
+ "build:client": "vite build --config src/client/vite.config.ts",
55
+ "dev:server": "tsup --watch",
56
+ "dev:client": "vite --config src/client/vite.config.ts",
55
57
  "test": "vitest run",
56
58
  "test:watch": "vitest",
57
- "typecheck": "tsc --noEmit",
59
+ "typecheck": "tsc --noEmit && tsc -p src/client/tsconfig.json",
58
60
  "clean": "rm -rf dist coverage",
59
61
  "prepublishOnly": "yarn clean && yarn typecheck && yarn test && yarn build",
60
62
  "docs:dev": "vitepress dev docs",
61
63
  "docs:build": "vitepress build docs",
62
64
  "docs:preview": "vitepress preview docs"
63
65
  },
66
+ "peerDependencies": {
67
+ "express": "^4.18.0 || ^5.0.0"
68
+ },
64
69
  "devDependencies": {
70
+ "@types/express": "^5.0.6",
71
+ "@types/html-to-text": "^9.0.4",
72
+ "@types/ioredis-mock": "^8.2.7",
73
+ "@types/mjml": "^5.0.0",
74
+ "@types/mongodb": "^4.0.7",
65
75
  "@types/node": "^22.7.0",
76
+ "@types/react": "^18.3.0",
77
+ "@types/react-dom": "^18.3.0",
78
+ "@vitejs/plugin-react": "^4.3.0",
79
+ "express": "^5.2.1",
80
+ "ioredis-mock": "^8.13.1",
81
+ "mongodb-memory-server": "^11.1.0",
82
+ "react": "^18.3.0",
83
+ "react-dom": "^18.3.0",
66
84
  "tsup": "^8.3.0",
67
85
  "typescript": "^5.6.0",
86
+ "vite": "^5.4.0",
68
87
  "vitepress": "^1.4.0",
69
88
  "vitest": "^2.1.0"
70
89
  },
71
90
  "publishConfig": {
72
91
  "access": "public"
92
+ },
93
+ "dependencies": {
94
+ "@maily-to/core": "^0.3.7",
95
+ "@maily-to/render": "^0.2.3",
96
+ "@sendgrid/mail": "^8.1.6",
97
+ "bullmq": "^5.76.7",
98
+ "handlebars": "^4.7.9",
99
+ "html-to-text": "^10.0.0",
100
+ "ioredis": "^5.10.1",
101
+ "mjml": "^5.2.0",
102
+ "mongodb": "^7.2.0",
103
+ "y-protocols": "^1.0.7",
104
+ "yjs": "^13.6.30",
105
+ "zod": "^4.4.3"
73
106
  }
74
107
  }
File without changes
File without changes