diff --git a/package.json b/package.json index 221eb8060d5cf145b92e471e47866b71434ce3d6..2bb4d41254670ea35338758c74fc0bfa2d7cf49f 100644 --- a/package.json +++ b/package.json @@ -21,8 +21,8 @@ "test:watch": "jest --watch" }, "dependencies": { - "@psychobolt/react-paperjs": "^1.0.0", - "@psychobolt/react-paperjs-editor": "^0.0.14", + "@psychobolt/react-paperjs": "< 1.0", + "@psychobolt/react-paperjs-editor": "0.0.11", "draft-js": "^0.11.6", "draft-js-export-html": "^1.4.1", "draft-js-import-html": "^1.4.1", @@ -37,8 +37,8 @@ "lodash": "^4.17.11", "mirador": "^3.0.0-rc.5", "prop-types": "^15.7.2", - "react": "^17.0", - "react-dom": "^17.0", + "react": "^16.8", + "react-dom": "^16.8", "uuid": "^8.0.0" }, "devDependencies": { @@ -48,13 +48,12 @@ "@material-ui/core": "^4.11.0", "@material-ui/icons": "^4.9.1", "@material-ui/lab": "^4.0.0-alpha.56", - "@wojtekmaj/enzyme-adapter-react-17": "^0.6.0", "babel-eslint": "^10.1.0", "canvas": "^2.6.1", "enzyme": "^3.11.0", + "enzyme-adapter-react-16": "^1.15.2", "eslint": "^7.2", "eslint-config-airbnb": "^18.2.0", - "eslint-config-react-app": "^6.0.0", "eslint-plugin-flowtype": "^5.6.0", "eslint-plugin-import": "^2.22.0", "eslint-plugin-jest": "^23.18.0", @@ -66,8 +65,8 @@ "mirador": "^3.0.0-rc.5", "nwb": "^0.24.7", "prop-types": "^15.7.2", - "react": "^17.0", - "react-dom": "^17.0", + "react": "^16.8", + "react-dom": "^16.8", "uuid": "^8.2.0" }, "author": "", diff --git a/setupJest.js b/setupJest.js index 25d5721d83fa403fc0304a6bed6fb88cc5b1cea3..7d1129afe68e71199c666cbfa37874c8e7d81121 100644 --- a/setupJest.js +++ b/setupJest.js @@ -1,4 +1,4 @@ import Enzyme from 'enzyme'; // eslint-disable-line import/no-extraneous-dependencies -import Adapter from '@wojtekmaj/enzyme-adapter-react-17'; // eslint-disable-line import/no-extraneous-dependencies +import Adapter from 'enzyme-adapter-react-16'; // eslint-disable-line import/no-extraneous-dependencies Enzyme.configure({ adapter: new Adapter() });