|
2 | 2 | "name": "@testing-library/jest-dom",
|
3 | 3 | "version": "0.0.0-semantically-released",
|
4 | 4 | "description": "Custom jest matchers to test the state of the DOM",
|
5 |
| - "main": "dist/index.js", |
| 5 | + "main": "dist/cjs/index.js", |
| 6 | + "module": "dist/esm/index.js", |
| 7 | + "exports": { |
| 8 | + ".": { |
| 9 | + "require": { |
| 10 | + "types": "./types/index.d.ts", |
| 11 | + "default": "./dist/index.js" |
| 12 | + }, |
| 13 | + "import": { |
| 14 | + "types": "./types/index.d.ts", |
| 15 | + "default": "./dist/index.mjs" |
| 16 | + } |
| 17 | + }, |
| 18 | + "./jest-globals": { |
| 19 | + "require": { |
| 20 | + "types": "./types/jest-globals.d.ts", |
| 21 | + "default": "./dist/jest-globals.js" |
| 22 | + }, |
| 23 | + "import": { |
| 24 | + "types": "./types/jest-globals.d.ts", |
| 25 | + "default": "./dist/jest-globals.mjs" |
| 26 | + } |
| 27 | + }, |
| 28 | + "./matchers": { |
| 29 | + "require": { |
| 30 | + "types": "./types/matchers.d.ts", |
| 31 | + "default": "./dist/matchers.js" |
| 32 | + }, |
| 33 | + "import": { |
| 34 | + "types": "./types/matchers.d.ts", |
| 35 | + "default": "./dist/matchers.mjs" |
| 36 | + } |
| 37 | + }, |
| 38 | + "./vitest": { |
| 39 | + "require": { |
| 40 | + "types": "./types/vitest.d.ts", |
| 41 | + "default": "./dist/vitest.js" |
| 42 | + }, |
| 43 | + "import": { |
| 44 | + "types": "./types/vitest.d.ts", |
| 45 | + "default": "./dist/vitest.mjs" |
| 46 | + } |
| 47 | + }, |
| 48 | + "./package.json": "./package.json" |
| 49 | + }, |
6 | 50 | "types": "types/index.d.ts",
|
7 | 51 | "engines": {
|
8 | 52 | "node": ">=14",
|
9 | 53 | "npm": ">=6",
|
10 | 54 | "yarn": ">=1"
|
11 | 55 | },
|
12 | 56 | "scripts": {
|
13 |
| - "build": "kcd-scripts build", |
| 57 | + "build": "rollup -c", |
14 | 58 | "format": "kcd-scripts format",
|
15 | 59 | "lint": "kcd-scripts lint",
|
16 | 60 | "setup": "npm install && npm run validate -s",
|
|
36 | 80 | "author": "Ernesto Garcia <[email protected]> (http://gnapse.github.io)",
|
37 | 81 | "license": "MIT",
|
38 | 82 | "dependencies": {
|
| 83 | + "@adobe/css-tools": "^4.0.1", |
39 | 84 | "@babel/runtime": "^7.9.2",
|
40 | 85 | "aria-query": "^5.0.0",
|
41 | 86 | "chalk": "^3.0.0",
|
42 |
| - "@adobe/css-tools": "^4.0.1", |
43 | 87 | "css.escape": "^1.5.1",
|
44 | 88 | "dom-accessibility-api": "^0.5.6",
|
45 | 89 | "lodash": "^4.17.15",
|
46 | 90 | "redent": "^3.0.0"
|
47 | 91 | },
|
48 | 92 | "devDependencies": {
|
49 | 93 | "@jest/globals": "^29.6.2",
|
| 94 | + "@rollup/plugin-commonjs": "^25.0.4", |
50 | 95 | "expect": "^29.6.2",
|
51 | 96 | "jest-environment-jsdom-sixteen": "^1.0.3",
|
52 | 97 | "jest-watch-select-projects": "^2.0.0",
|
53 | 98 | "jsdom": "^16.2.1",
|
54 | 99 | "kcd-scripts": "^14.0.0",
|
55 | 100 | "pretty-format": "^25.1.0",
|
56 |
| - "vitest": "^0.34.1", |
57 |
| - "typescript": "^5.1.6" |
| 101 | + "rollup": "^3.28.1", |
| 102 | + "rollup-plugin-delete": "^2.0.0", |
| 103 | + "typescript": "^5.1.6", |
| 104 | + "vitest": "^0.34.1" |
58 | 105 | },
|
59 | 106 | "peerDependencies": {
|
60 | 107 | "@jest/globals": ">= 28",
|
|
0 commit comments