@mailpier/inbox 0.0.0-stage → 0.1.1

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,114 @@
1
1
  {
2
2
  "name": "@mailpier/inbox",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.1",
4
+ "description": "MailPier Inbox client for Node.js tests: a fresh email address per test, wait for the mail, read its code and links; wait for webhooks and forward them to localhost. Playwright fixture and Cypress commands included.",
5
+ "license": "MIT",
6
+ "author": "Solutions Group Unlimited",
7
+ "homepage": "https://mailpier.io",
8
+ "keywords": [
9
+ "email",
10
+ "testing",
11
+ "inbox",
12
+ "otp",
13
+ "playwright",
14
+ "cypress",
15
+ "e2e",
16
+ "webhook",
17
+ "mailpier"
18
+ ],
19
+ "type": "module",
20
+ "engines": {
21
+ "node": ">=18"
22
+ },
23
+ "bin": {
24
+ "mailpier": "./dist/cli.js"
25
+ },
26
+ "sideEffects": [
27
+ "./dist/cypress/commands.*",
28
+ "./dist/cli.*"
29
+ ],
30
+ "files": [
31
+ "dist",
32
+ "README.md",
33
+ "LICENSE",
34
+ "CHANGELOG.md"
35
+ ],
36
+ "main": "./dist/index.cjs",
37
+ "module": "./dist/index.js",
38
+ "types": "./dist/index.d.ts",
39
+ "exports": {
40
+ ".": {
41
+ "import": {
42
+ "types": "./dist/index.d.ts",
43
+ "default": "./dist/index.js"
44
+ },
45
+ "require": {
46
+ "types": "./dist/index.d.cts",
47
+ "default": "./dist/index.cjs"
48
+ }
49
+ },
50
+ "./testing": {
51
+ "import": {
52
+ "types": "./dist/testing/index.d.ts",
53
+ "default": "./dist/testing/index.js"
54
+ },
55
+ "require": {
56
+ "types": "./dist/testing/index.d.cts",
57
+ "default": "./dist/testing/index.cjs"
58
+ }
59
+ },
60
+ "./playwright": {
61
+ "import": {
62
+ "types": "./dist/playwright.d.ts",
63
+ "default": "./dist/playwright.js"
64
+ },
65
+ "require": {
66
+ "types": "./dist/playwright.d.cts",
67
+ "default": "./dist/playwright.cjs"
68
+ }
69
+ },
70
+ "./cypress": {
71
+ "import": {
72
+ "types": "./dist/cypress/index.d.ts",
73
+ "default": "./dist/cypress/index.js"
74
+ },
75
+ "require": {
76
+ "types": "./dist/cypress/index.d.cts",
77
+ "default": "./dist/cypress/index.cjs"
78
+ }
79
+ },
80
+ "./cypress/commands": {
81
+ "import": {
82
+ "types": "./dist/cypress/commands.d.ts",
83
+ "default": "./dist/cypress/commands.js"
84
+ },
85
+ "require": {
86
+ "types": "./dist/cypress/commands.d.cts",
87
+ "default": "./dist/cypress/commands.cjs"
88
+ }
89
+ },
90
+ "./package.json": "./package.json"
91
+ },
92
+ "scripts": {
93
+ "build": "tsup",
94
+ "typecheck": "tsc --noEmit",
95
+ "test": "vitest run",
96
+ "test:e2e": "playwright test --config playwright/playwright.config.ts",
97
+ "example": "node examples/quickstart.mjs"
98
+ },
99
+ "peerDependencies": {
100
+ "@playwright/test": ">=1.40"
101
+ },
102
+ "peerDependenciesMeta": {
103
+ "@playwright/test": {
104
+ "optional": true
105
+ }
106
+ },
107
+ "devDependencies": {
108
+ "@playwright/test": "^1.65.0",
109
+ "@types/node": "^26.6.6",
110
+ "tsup": "^9.0.0",
111
+ "typescript": "~5.9.3",
112
+ "vitest": "^5.1.0"
113
+ }
114
+ }