|
17 | 17 | },
|
18 | 18 | "author": "Kévin Dunglas",
|
19 | 19 | "homepage": "https://github.com/dunglas/react-esi#readme",
|
20 |
| - "exports": { |
21 |
| - ".": { |
22 |
| - "types": "./lib/withESI.d.ts", |
23 |
| - "import": "./lib/withESI.js", |
24 |
| - "require": "./lib/withESI.js" |
25 |
| - }, |
26 |
| - "./lib/*": { |
27 |
| - "types": "./lib/*.d.ts", |
28 |
| - "default": "./lib/*.js" |
29 |
| - }, |
30 |
| - "./*": { |
31 |
| - "types": "./lib/*.d.ts", |
32 |
| - "default": "./lib/*.js" |
33 |
| - } |
34 |
| - }, |
35 | 20 | "main": "lib/withESI.js",
|
36 | 21 | "typings": "lib/withESI.d.ts",
|
37 | 22 | "scripts": {
|
38 |
| - "build": "pnpm clean && pnpm exec tsc -p tsconfig.build.json", |
39 |
| - "clean": "rm -rf ./lib/*", |
40 | 23 | "coveralls": "jest --coverage && cat ./coverage/lcov.info | coveralls",
|
41 | 24 | "cs": "prettier --write '**/*.{js,jsx,ts,tsx,json,css,scss,md}'",
|
42 | 25 | "lint": "eslint --ext js,jsx,ts,tsx",
|
43 |
| - "lint:fix": "eslint --fix --ext js,jsx,ts,tsx src examples", |
| 26 | + "lint:fix": "eslint --fix --ext js,jsx,ts,tsx src", |
44 | 27 | "test": "jest",
|
45 |
| - "watch": "tsc -w -p tsconfig.build.json" |
| 28 | + "clean": "rm -rf ./lib", |
| 29 | + "typecheck": "tsc --noEmit", |
| 30 | + "build": "pnpm clean && tsc -p tsconfig.build.json", |
| 31 | + "build:watch": "tsc -w -p tsconfig.build.json" |
46 | 32 | },
|
47 | 33 | "devDependencies": {
|
48 |
| - "@types/express": "^4.17.20", |
49 |
| - "@types/jest": "^29.5.6", |
50 |
| - "@types/node": "^18.17.4", |
51 |
| - "@types/prop-types": "^15.7.9", |
52 |
| - "@types/react": "^18.2.30", |
53 |
| - "@types/react-dom": "^18.2.14", |
54 |
| - "@types/react-test-renderer": "^18.0.5", |
55 |
| - "@types/supertest": "^2.0.15", |
56 |
| - "@typescript-eslint/eslint-plugin": "^6.8.0", |
57 |
| - "@typescript-eslint/parser": "^6.8.0", |
| 34 | + "@types/express": "^4.17.21", |
| 35 | + "@types/jest": "^29.5.12", |
| 36 | + "@types/node": "^20.11.25", |
| 37 | + "@types/react-test-renderer": "^18.0.7", |
| 38 | + "@types/supertest": "^6.0.2", |
58 | 39 | "coveralls": "^3.1.1",
|
59 |
| - "eslint": "^8.51.0", |
60 |
| - "eslint-config-prettier": "^9.0.0", |
61 |
| - "eslint-plugin-import": "^2.28.1", |
62 |
| - "eslint-plugin-jsx-a11y": "^6.7.1", |
63 |
| - "eslint-plugin-prettier": "^5.0.1", |
64 |
| - "eslint-plugin-react": "^7.33.2", |
65 |
| - "eslint-plugin-react-hooks": "^4.6.0", |
66 |
| - "express": "^4.18.2", |
67 |
| - "jest": "^29.5.6", |
| 40 | + "eslint": "^8.57.0", |
| 41 | + "express": "^4.18.3", |
| 42 | + "jest": "^29.7.0", |
68 | 43 | "jest-environment-jsdom": "^29.7.0",
|
69 |
| - "prettier": "^3.0.3", |
| 44 | + "prettier": "^3.2.5", |
70 | 45 | "react-test-renderer": "^18.2.0",
|
71 |
| - "supertest": "^6.3.3", |
72 |
| - "ts-jest": "^29.1.1", |
73 |
| - "ts-node": "^10.9.1", |
74 |
| - "typescript": "^5.2.2" |
| 46 | + "supertest": "^6.3.4", |
| 47 | + "ts-jest": "^29.1.2", |
| 48 | + "ts-node": "^10.9.2", |
| 49 | + "typescript": "^5.3.3" |
75 | 50 | },
|
76 | 51 | "peerDependencies": {
|
| 52 | + "@types/prop-types": "^15.7.11", |
| 53 | + "@types/react": "^16.7.0 || ^17.0.0 || ^18.0.0", |
| 54 | + "@types/react-dom": "^16.7.0 || ^17.0.0 || ^18.0.0", |
77 | 55 | "prop-types": "^15.8.1",
|
78 | 56 | "react": "^16.7.0 || ^17.0.0 || ^18.0.0",
|
79 | 57 | "react-dom": "^16.7.0 || ^17.0.0 || ^18.0.0"
|
|
0 commit comments