@react-three/postprocessing 2.8.3 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-three/postprocessing",
3
- "version": "2.8.3",
3
+ "version": "2.9.0",
4
4
  "description": "postprocessing wrapper for React and @react-three/fiber",
5
5
  "keywords": [
6
6
  "postprocessing",
@@ -12,9 +12,14 @@
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"
@@ -28,64 +33,56 @@
28
33
  "eslint --fix"
29
34
  ]
30
35
  },
36
+ "dependencies": {
37
+ "postprocessing": "^6.30.2",
38
+ "screen-space-reflections": "2.5.0",
39
+ "three-stdlib": "^2.21.10"
40
+ },
41
+ "devDependencies": {
42
+ "@babel/core": "^7.21.4",
43
+ "@babel/plugin-transform-runtime": "7.21.4",
44
+ "@babel/preset-env": "^7.21.4",
45
+ "@babel/preset-react": "7.18.6",
46
+ "@babel/preset-typescript": "^7.21.4",
47
+ "@react-three/fiber": "^8.13.0",
48
+ "@rollup/plugin-babel": "^6.0.3",
49
+ "@rollup/plugin-commonjs": "^24.1.0",
50
+ "@rollup/plugin-node-resolve": "^15.0.2",
51
+ "@types/react": "^18.2.0",
52
+ "@types/react-dom": "^18.2.1",
53
+ "@types/three": "^0.150.2",
54
+ "@typescript-eslint/eslint-plugin": "^5.59.1",
55
+ "@typescript-eslint/parser": "^5.59.1",
56
+ "eslint": "^8.39.0",
57
+ "eslint-config-prettier": "^8.8.0",
58
+ "eslint-import-resolver-alias": "^1.1.2",
59
+ "eslint-plugin-import": "^2.27.5",
60
+ "eslint-plugin-prettier": "^4.2.1",
61
+ "eslint-plugin-react": "^7.32.2",
62
+ "eslint-plugin-react-hooks": "^4.6.0",
63
+ "husky": "^8.0.3",
64
+ "lint-staged": "^13.2.2",
65
+ "prettier": "^2.8.8",
66
+ "react": "^18.2.0",
67
+ "react-dom": "^18.2.0",
68
+ "rimraf": "^5.0.0",
69
+ "rollup": "^3.21.0",
70
+ "rollup-plugin-filesize": "^10.0.0",
71
+ "three": "^0.151.3",
72
+ "typescript": "^5.0.4"
73
+ },
74
+ "peerDependencies": {
75
+ "@react-three/fiber": ">=8.0",
76
+ "react": ">=18.0",
77
+ "three": ">= 0.138.0 < 0.152.0"
78
+ },
31
79
  "scripts": {
32
80
  "prebuild": "rimraf dist && yarn typegen",
33
81
  "build": "rollup -c",
34
- "prepare": "yarn build",
35
82
  "eslint": "eslint . --fix --ext=js,ts,jsx,tsx",
36
83
  "eslint:ci": "eslint . --ext=js,ts,jsx,tsx",
37
84
  "test": "echo no tests yet",
38
85
  "typecheck": "tsc --noEmit --emitDeclarationOnly false --strict --jsx react",
39
86
  "typegen": "tsc --emitDeclarationOnly || true"
40
- },
41
- "dependencies": {
42
- "postprocessing": "^6.30.1",
43
- "react-merge-refs": "^1.1.0",
44
- "screen-space-reflections": "2.5.0",
45
- "three-stdlib": "^2.8.11"
46
- },
47
- "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",
69
- "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"
85
- },
86
- "peerDependencies": {
87
- "@react-three/fiber": ">=7.0",
88
- "react": ">=17.0",
89
- "three": ">=0.136.0"
90
87
  }
91
- }
88
+ }