|
1 | 1 | { |
2 | 2 | "name": "@guidepup/jest", |
3 | | - "version": "0.5.0", |
| 3 | + "version": "0.5.1", |
4 | 4 | "description": "Virtual Screen Reader Jest Matchers", |
5 | 5 | "author": "Craig Morten <craig.morten@hotmail.co.uk>", |
6 | 6 | "license": "MIT", |
|
18 | 18 | "a11y", |
19 | 19 | "jest" |
20 | 20 | ], |
21 | | - "main": "./lib/cjs/index.cjs", |
| 21 | + "main": "./lib/cjs/index.js", |
22 | 22 | "types": "./lib/cjs/index.d.ts", |
23 | 23 | "module": "./lib/esm/index.legacy-esm.js", |
24 | 24 | "exports": { |
25 | 25 | "./package.json": "./package.json", |
26 | 26 | ".": { |
27 | | - "types": "./lib/esm/index.d.mts", |
28 | | - "import": "./lib/esm/index.mjs", |
29 | | - "require": "./lib/cjs/index.cjs", |
30 | | - "default": "./lib/cjs/index.cjs" |
| 27 | + "import": { |
| 28 | + "types": "./lib/esm/index.d.mts", |
| 29 | + "default": "./lib/esm/index.mjs" |
| 30 | + }, |
| 31 | + "require": { |
| 32 | + "types": "./lib/cjs/index.d.ts", |
| 33 | + "default": "./lib/cjs/index.cjs" |
| 34 | + }, |
| 35 | + "default": { |
| 36 | + "types": "./lib/cjs/index.d.ts", |
| 37 | + "default": "./lib/cjs/index.cjs" |
| 38 | + } |
31 | 39 | } |
32 | 40 | }, |
33 | 41 | "sideEffects": true, |
34 | 42 | "scripts": { |
35 | 43 | "build": "yarn clean && yarn compile", |
36 | | - "ci": "yarn clean && yarn lint && yarn test:coverage && yarn build", |
| 44 | + "ci": "yarn clean && yarn lint && yarn test:coverage && yarn build && yarn types:test", |
37 | 45 | "clean": "rimraf lib", |
38 | 46 | "compile": "tsup", |
39 | 47 | "lint": "eslint . --ext .ts --cache", |
40 | 48 | "lint:fix": "yarn lint --fix", |
| 49 | + "prepublish": "yarn build", |
41 | 50 | "test": "jest", |
42 | 51 | "test:coverage": "yarn test --coverage", |
43 | | - "prepublish": "yarn build" |
| 52 | + "types:test": "attw --pack" |
44 | 53 | }, |
45 | 54 | "dependencies": { |
46 | 55 | "jest-snapshot": "^29.7.0" |
|
50 | 59 | "jest": ">=29" |
51 | 60 | }, |
52 | 61 | "devDependencies": { |
| 62 | + "@arethetypeswrong/cli": "^0.15.3", |
53 | 63 | "@guidepup/virtual-screen-reader": "^0.26.0", |
54 | 64 | "@types/jest": "^29.5.12", |
55 | 65 | "@types/node": "^20.14.8", |
|
0 commit comments