|
1 | 1 | { |
2 | 2 | "name": "@testing-library/react-render-stream", |
3 | 3 | "version": "0.1.0", |
4 | | - "repository": "https://github.com/phryneas/react-render-stream-testing-library.git", |
| 4 | + "repository": { |
| 5 | + "url": "git+https://github.com/phryneas/react-render-stream-testing-library.git" |
| 6 | + }, |
5 | 7 | "author": { |
6 | 8 | "name": "Lenz Weber-Tronic", |
7 | 9 | "email": "lenz@apollographql.com" |
|
10 | 12 | "license": "MIT", |
11 | 13 | "exports": { |
12 | 14 | ".": { |
| 15 | + "types": { |
| 16 | + "module-sync": "./dist/index.d.ts", |
| 17 | + "module": "./dist/index.d.ts", |
| 18 | + "import": "./dist/index.d.ts", |
| 19 | + "require": "./dist/index.d.cts" |
| 20 | + }, |
13 | 21 | "module-sync": "./dist/index.js", |
14 | 22 | "module": "./dist/index.js", |
15 | 23 | "import": "./dist/index.js", |
16 | 24 | "require": "./dist/index.cjs" |
17 | 25 | }, |
18 | 26 | "./jest": { |
| 27 | + "types": { |
| 28 | + "module-sync": "./dist/jest.d.ts", |
| 29 | + "module": "./dist/jest.d.ts", |
| 30 | + "import": "./dist/jest.d.ts", |
| 31 | + "require": "./dist/jest.d.cts" |
| 32 | + }, |
19 | 33 | "module-sync": "./dist/jest.js", |
20 | 34 | "module": "./dist/jest.js", |
21 | 35 | "import": "./dist/jest.js", |
22 | 36 | "require": "./dist/jest.cjs" |
23 | 37 | } |
24 | 38 | }, |
| 39 | + "types": "./dist/index.d.ts", |
| 40 | + "typesVersions": { |
| 41 | + "*": { |
| 42 | + "jest": [ |
| 43 | + "./dist/jest.d.ts" |
| 44 | + ] |
| 45 | + } |
| 46 | + }, |
25 | 47 | "files": [ |
26 | 48 | "dist" |
27 | 49 | ], |
|
31 | 53 | "rehackt": "^0.1.0" |
32 | 54 | }, |
33 | 55 | "devDependencies": { |
| 56 | + "@arethetypeswrong/cli": "^0.16.4", |
34 | 57 | "@jest/globals": "^29.7.0", |
35 | 58 | "@tsconfig/recommended": "^1.0.7", |
36 | 59 | "@types/jsdom": "^21.1.7", |
|
39 | 62 | "expect": "^29.7.0", |
40 | 63 | "pkg-pr-new": "^0.0.29", |
41 | 64 | "prettier": "^3.3.3", |
| 65 | + "publint": "^0.2.11", |
42 | 66 | "react": "^18.3.1", |
43 | 67 | "react-dom": "^18.3.1", |
44 | 68 | "tsup": "^8.3.0", |
|
52 | 76 | }, |
53 | 77 | "scripts": { |
54 | 78 | "build": "tsup", |
55 | | - "pkg-pr-new-publish": "yarn build && pkg-pr-new publish --no-template" |
| 79 | + "pkg-pr-new-publish": "yarn build && pkg-pr-new publish --no-template", |
| 80 | + "prepack": "yarn build", |
| 81 | + "verify": "attw --pack . && publint" |
56 | 82 | }, |
57 | 83 | "packageManager": "yarn@4.5.0" |
58 | 84 | } |
0 commit comments