|
12 | 12 | ], |
13 | 13 | "license": "MIT", |
14 | 14 | "type": "module", |
15 | | - "main": "dist/index.cjs", |
16 | | - "module": "dist/index.js", |
17 | | - "types": "dist/index.d.ts", |
| 15 | + "main": "./dist/index.cjs", |
| 16 | + "module": "./dist/index.js", |
| 17 | + "exports": { |
| 18 | + "types": "./dist/index.d.ts", |
| 19 | + "require": "./dist/index.cjs", |
| 20 | + "import": "./dist/index.js" |
| 21 | + }, |
| 22 | + "types": "./dist/index.d.ts", |
18 | 23 | "sideEffects": false, |
19 | 24 | "files": [ |
20 | 25 | "dist" |
|
39 | 44 | "typegen": "tsc --emitDeclarationOnly || true" |
40 | 45 | }, |
41 | 46 | "dependencies": { |
42 | | - "postprocessing": "^6.30.1", |
43 | | - "react-merge-refs": "^1.1.0", |
| 47 | + "postprocessing": "^6.30.2", |
44 | 48 | "screen-space-reflections": "2.5.0", |
45 | | - "three-stdlib": "^2.8.11" |
| 49 | + "three-stdlib": "^2.21.10" |
46 | 50 | }, |
47 | 51 | "devDependencies": { |
48 | | - "@babel/core": "^7.17.8", |
49 | | - "@babel/plugin-transform-modules-commonjs": "7.17.7", |
50 | | - "@babel/plugin-transform-parameters": "7.16.7", |
51 | | - "@babel/plugin-transform-runtime": "7.17.0", |
52 | | - "@babel/plugin-transform-template-literals": "7.16.7", |
53 | | - "@babel/preset-env": "^7.16.11", |
54 | | - "@babel/preset-react": "7.16.7", |
55 | | - "@babel/preset-typescript": "^7.16.7", |
56 | | - "@react-three/fiber": "^7.0.26", |
57 | | - "@rollup/plugin-babel": "^5.3.1", |
58 | | - "@rollup/plugin-commonjs": "^21.0.3", |
59 | | - "@rollup/plugin-json": "^4.1.0", |
60 | | - "@rollup/plugin-node-resolve": "^13.1.3", |
61 | | - "@types/react": "^17.0.43", |
62 | | - "@types/react-dom": "^17.0.14", |
63 | | - "@types/react-test-renderer": "^17.0.1", |
64 | | - "@types/three": "^0.139.0", |
65 | | - "@typescript-eslint/eslint-plugin": "^5.17.0", |
66 | | - "@typescript-eslint/parser": "^5.17.0", |
67 | | - "eslint": "^8.12.0", |
68 | | - "eslint-config-prettier": "^8.5.0", |
| 52 | + "@babel/core": "^7.21.4", |
| 53 | + "@babel/plugin-transform-runtime": "7.21.4", |
| 54 | + "@babel/preset-env": "^7.21.4", |
| 55 | + "@babel/preset-react": "7.18.6", |
| 56 | + "@babel/preset-typescript": "^7.21.4", |
| 57 | + "@react-three/fiber": "^8.13.0", |
| 58 | + "@rollup/plugin-babel": "^6.0.3", |
| 59 | + "@rollup/plugin-commonjs": "^24.1.0", |
| 60 | + "@rollup/plugin-node-resolve": "^15.0.2", |
| 61 | + "@types/react": "^18.2.0", |
| 62 | + "@types/react-dom": "^18.2.1", |
| 63 | + "@types/three": "^0.150.2", |
| 64 | + "@typescript-eslint/eslint-plugin": "^5.59.1", |
| 65 | + "@typescript-eslint/parser": "^5.59.1", |
| 66 | + "eslint": "^8.39.0", |
| 67 | + "eslint-config-prettier": "^8.8.0", |
69 | 68 | "eslint-import-resolver-alias": "^1.1.2", |
70 | | - "eslint-plugin-import": "^2.25.4", |
71 | | - "eslint-plugin-prettier": "^4.0.0", |
72 | | - "eslint-plugin-react": "^7.29.4", |
73 | | - "eslint-plugin-react-hooks": "^4.3.0", |
74 | | - "husky": "^7.0.4", |
75 | | - "husky-run": "^0.0.0", |
76 | | - "lint-staged": "^12.3.7", |
77 | | - "prettier": "^2.6.1", |
78 | | - "react": "^17.0.2", |
79 | | - "react-dom": "^17.0.2", |
80 | | - "rimraf": "^3.0.2", |
81 | | - "rollup": "^2.70.1", |
82 | | - "rollup-plugin-filesize": "^9.1.2", |
83 | | - "rollup-plugin-terser": "^7.0.2", |
84 | | - "typescript": "^4.6.3" |
| 69 | + "eslint-plugin-import": "^2.27.5", |
| 70 | + "eslint-plugin-prettier": "^4.2.1", |
| 71 | + "eslint-plugin-react": "^7.32.2", |
| 72 | + "eslint-plugin-react-hooks": "^4.6.0", |
| 73 | + "husky": "^8.0.3", |
| 74 | + "lint-staged": "^13.2.2", |
| 75 | + "prettier": "^2.8.8", |
| 76 | + "react": "^18.2.0", |
| 77 | + "react-dom": "^18.2.0", |
| 78 | + "rimraf": "^5.0.0", |
| 79 | + "rollup": "^3.21.0", |
| 80 | + "rollup-plugin-filesize": "^10.0.0", |
| 81 | + "three": "^0.151.3", |
| 82 | + "typescript": "^5.0.4" |
85 | 83 | }, |
86 | 84 | "peerDependencies": { |
87 | | - "@react-three/fiber": ">=7.0", |
88 | | - "react": ">=17.0", |
89 | | - "three": ">=0.136.0" |
| 85 | + "@react-three/fiber": ">=8.0", |
| 86 | + "react": ">=18.0", |
| 87 | + "three": ">= 0.138.0 < 0.152.0" |
90 | 88 | } |
91 | 89 | } |
0 commit comments