|
2 | 2 | "name": "@testing-library/user-event",
|
3 | 3 | "version": "0.0.0-semantically-released",
|
4 | 4 | "description": "Fire events the same way the user does",
|
5 |
| - "main": "dist/index.js", |
6 | 5 | "keywords": [
|
7 | 6 | "react-testing-library",
|
8 | 7 | "dom-testing-library",
|
|
26 | 25 | "files": [
|
27 | 26 | "dist"
|
28 | 27 | ],
|
| 28 | + "main": "./dist/index.js", |
| 29 | + "exports": "./dist/index.js", |
29 | 30 | "scripts": {
|
30 |
| - "build": "kcd-scripts build --no-ts-defs && tsc -p tsconfig.build.json", |
| 31 | + "build": "node build.js", |
31 | 32 | "lint": "kcd-scripts lint",
|
32 | 33 | "setup": "npm install && npm run validate -s",
|
33 | 34 | "test": "kcd-scripts test",
|
|
46 | 47 | "@types/estree": "0.0.45",
|
47 | 48 | "@types/jest-in-case": "^1.0.3",
|
48 | 49 | "@types/react": "^17.0.3",
|
| 50 | + "esbuild": "^0.14.9", |
49 | 51 | "eslint-import-resolver-typescript": "^2.5.0",
|
50 | 52 | "is-ci": "^2.0.0",
|
51 | 53 | "jest-in-case": "^1.0.2",
|
|
57 | 59 | },
|
58 | 60 | "peerDependencies": {
|
59 | 61 | "@testing-library/dom": ">=7.21.4"
|
60 |
| - }, |
61 |
| - "eslintConfig": { |
62 |
| - "extends": "./node_modules/kcd-scripts/eslint.js", |
63 |
| - "rules": { |
64 |
| - "jsx-a11y/click-events-have-key-events": "off", |
65 |
| - "jsx-a11y/tabindex-no-positive": "off", |
66 |
| - "no-func-assign": "off", |
67 |
| - "no-return-assign": "off", |
68 |
| - "react/prop-types": "off", |
69 |
| - "testing-library/no-dom-import": "off" |
70 |
| - }, |
71 |
| - "overrides": [ |
72 |
| - { |
73 |
| - "files": [ |
74 |
| - "**/__tests__/**" |
75 |
| - ], |
76 |
| - "rules": { |
77 |
| - "no-console": "off" |
78 |
| - } |
79 |
| - } |
80 |
| - ] |
81 |
| - }, |
82 |
| - "eslintIgnore": [ |
83 |
| - "node_modules", |
84 |
| - "coverage", |
85 |
| - "dist" |
86 |
| - ] |
| 62 | + } |
87 | 63 | }
|
0 commit comments