|
10 | 10 | "rescript:clean": "yarn rescript clean", |
11 | 11 | "rescript:build": "yarn rescript build -with-deps", |
12 | 12 | "rescript:dev": "yarn rescript build -with-deps -w", |
| 13 | + "test": "yarn vitest --run --coverage --allow-only", |
| 14 | + "test:dev": "yarn vitest", |
13 | 15 | "yalc:dev": "yarn rescript:dev & yarn nodemon -x \"yalc push\"", |
14 | 16 | "yalc:push": "yarn nodemon -e res -x \"yalc push\"" |
15 | 17 | }, |
|
28 | 30 | "homepage": "https://github.com/greenfinity/rescript-react-email#readme", |
29 | 31 | "files": [ |
30 | 32 | "src", |
31 | | - "lib", |
| 33 | + "lib/bs/**/*", |
| 34 | + "__tests__/.gitkeep", |
32 | 35 | "rescript.json" |
33 | 36 | ], |
34 | 37 | "devDependencies": { |
| 38 | + "@greenfinity/rescript-vitest": "^0.1.0", |
35 | 39 | "@react-email/components": "^0.3.1", |
36 | 40 | "@rescript/react": "^0.14.0-rc.1", |
| 41 | + "@vitest/coverage-v8": "2.1.8", |
37 | 42 | "auto-changelog": "^2.5.0", |
38 | 43 | "nodemon": "^3.1.7", |
39 | 44 | "react": "^19.0.0", |
40 | 45 | "react-dom": "^19.0.0", |
41 | | - "rescript": "^11.1.0" |
| 46 | + "rescript": "^11.1.0", |
| 47 | + "vitest": "^2.1.8" |
42 | 48 | }, |
43 | 49 | "peerDependencies": { |
44 | 50 | "@react-email/components": "^0.3.1", |
45 | 51 | "@rescript/react": "^0.14.0-rc.1", |
46 | 52 | "react": "^19.0.0", |
47 | 53 | "react-dom": "^19.0.0" |
48 | 54 | }, |
| 55 | + "peerDevDependencies": { |
| 56 | + "@greenfinity/rescript-vitest": "^0.1.0", |
| 57 | + "@vitest/coverage-v8": "2.1.8", |
| 58 | + "vitest": "^2.1.8" |
| 59 | + }, |
49 | 60 | "packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610" |
50 | 61 | } |
0 commit comments