Skip to content

Commit

Permalink
update deps / change config to support Node 12+
Browse files Browse the repository at this point in the history
  • Loading branch information
v1rtl committed Apr 1, 2021
1 parent af77922 commit f24928d
Show file tree
Hide file tree
Showing 3 changed files with 133 additions and 252 deletions.
69 changes: 35 additions & 34 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,53 +44,54 @@
},
"dependencies": {
"@react-three/drei": "^4.0.1",
"postprocessing": "^6.20.3",
"postprocessing": "^6.21.2",
"react-merge-refs": "^1.1.0",
"three": "^0.126.1"
"three": "^0.127.0"
},
"devDependencies": {
"@babel/core": "^7.13.1",
"@babel/plugin-transform-modules-commonjs": "7.10.4",
"@babel/plugin-transform-parameters": "7.10.5",
"@babel/plugin-transform-runtime": "7.11.5",
"@babel/plugin-transform-template-literals": "7.10.5",
"@babel/preset-env": "^7.13.5",
"@babel/preset-react": "7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@babel/core": "^7.13.14",
"@babel/plugin-transform-modules-commonjs": "7.13.8",
"@babel/plugin-transform-parameters": "7.13.0",
"@babel/plugin-transform-runtime": "7.13.10",
"@babel/plugin-transform-template-literals": "7.13.0",
"@babel/preset-env": "^7.13.12",
"@babel/preset-react": "7.13.13",
"@babel/preset-typescript": "^7.13.0",
"@react-three/fiber": "^6.0.1",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.0.4",
"@testing-library/user-event": "^12.1.6",
"@types/jest": "^26.0.14",
"@types/react": "^16.9.49",
"@types/react-dom": "^16.9.8",
"@types/react-test-renderer": "^16.9.3",
"@typescript-eslint/eslint-plugin": "^4.2.0",
"@typescript-eslint/parser": "^4.2.0",
"eslint": "^7.9.0",
"eslint-config-prettier": "^6.11.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@testing-library/jest-dom": "^5.11.10",
"@testing-library/react": "^11.2.6",
"@testing-library/user-event": "^13.1.1",
"@types/jest": "^26.0.22",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
"@types/react-test-renderer": "^17.0.1",
"@types/three": "^0.126.2",
"@typescript-eslint/eslint-plugin": "^4.20.0",
"@typescript-eslint/parser": "^4.20.0",
"eslint": "^7.23.0",
"eslint-config-prettier": "^8.1.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^24.0.2",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.3.2",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.23.1",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^4.3.0",
"husky": "^6.0.0",
"jest": "^26.6.3",
"lint-staged": "^10.4.0",
"prettier": "^2.1.2",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rimraf": "^3.0.2",
"rollup": "^2.40.0",
"rollup-plugin-filesize": "^9.1.0",
"rollup": "^2.44.0",
"rollup-plugin-filesize": "^9.1.1",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^26.5.2",
"typescript": "^4.0.3"
"ts-jest": "^26.5.4",
"typescript": "^4.2.3"
},
"peerDependencies": {
"@react-three/fiber": ">=6.0",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default [
external,
plugins: [
json(),
babel(getBabelOptions({ useESModules: true }, '>1%, not dead, not ie 11, not op_mini all')),
babel(getBabelOptions({ useESModules: true }, '>5%, not dead, not ie 11, not op_mini all, node >=12')),
filesize(),
resolve({ extensions }),
terser(),
Expand Down
Loading

0 comments on commit f24928d

Please sign in to comment.