|
13 | 13 | "module": "./dist/component/react.js",
|
14 | 14 | "exports": {
|
15 | 15 | ".": {
|
16 |
| - "types": "./dist/component/main.d.ts", |
17 |
| - "import": "./dist/component/react.js", |
18 |
| - "require": "./dist/component/react.umd.cjs" |
| 16 | + "import": { |
| 17 | + "types": "./dist/component/main.d.ts", |
| 18 | + "default": "./dist/component/react.js" |
| 19 | + }, |
| 20 | + "require": { |
| 21 | + "types": "./dist/component/main.d.ts", |
| 22 | + "default": "./dist/component/react.umd.cjs" |
| 23 | + } |
19 | 24 | }
|
20 | 25 | },
|
21 | 26 | "scripts": {
|
|
83 | 88 | "react-dom": ">= 18.2.0"
|
84 | 89 | },
|
85 | 90 | "devDependencies": {
|
86 |
| - "@testing-library/jest-dom": "^6.1.2", |
87 |
| - "@testing-library/react": "^14.0.0", |
88 |
| - "@trivago/prettier-plugin-sort-imports": "^4.2.0", |
89 |
| - "@types/node": "^20.5.7", |
90 |
| - "@types/p5": "^1.7.0", |
91 |
| - "@types/react": "^18.2.21", |
92 |
| - "@types/react-dom": "^18.2.7", |
93 |
| - "@typescript-eslint/eslint-plugin": "^6.5.0", |
94 |
| - "@vitejs/plugin-react": "^4.0.4", |
95 |
| - "@vitest/coverage-v8": "^0.34.3", |
| 91 | + "@testing-library/jest-dom": "^6.1.4", |
| 92 | + "@testing-library/react": "^14.1.2", |
| 93 | + "@trivago/prettier-plugin-sort-imports": "^4.3.0", |
| 94 | + "@types/node": "^20.9.4", |
| 95 | + "@types/p5": "^1.7.4", |
| 96 | + "@types/react": "^18.2.38", |
| 97 | + "@types/react-dom": "^18.2.17", |
| 98 | + "@typescript-eslint/eslint-plugin": "^6.12.0", |
| 99 | + "@vitejs/plugin-react": "^4.2.0", |
| 100 | + "@vitest/coverage-v8": "^0.34.6", |
96 | 101 | "canvas": "^2.11.2",
|
97 |
| - "eslint": "^8.48.0", |
| 102 | + "eslint": "^8.54.0", |
98 | 103 | "eslint-plugin-react": "^7.33.2",
|
99 | 104 | "eslint-plugin-react-hooks": "^4.6.0",
|
100 |
| - "gh-pages": "^6.0.0", |
| 105 | + "gh-pages": "^6.1.0", |
101 | 106 | "jsdom": "^22.1.0",
|
102 |
| - "prettier": "^3.0.2", |
103 |
| - "rimraf": "^5.0.1", |
104 |
| - "typescript": "^5.2.2", |
105 |
| - "vite": "^5.0.0", |
106 |
| - "vitest": "^0.34.3" |
| 107 | + "prettier": "^3.1.0", |
| 108 | + "rimraf": "^5.0.5", |
| 109 | + "typescript": "^5.3.2", |
| 110 | + "vite": "^4.5.0", |
| 111 | + "vitest": "^0.34.6" |
107 | 112 | },
|
108 | 113 | "dependencies": {
|
109 | 114 | "microdiff": "^1.3.2",
|
110 |
| - "p5": "^1.7.0" |
| 115 | + "p5": "^1.8.0" |
111 | 116 | }
|
112 | 117 | }
|
0 commit comments