diff --git a/.eslintrc.js b/.eslintrc.js index 6da9fb3f3..ae7b08dab 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -5,7 +5,7 @@ module.exports = { rules: { 'class-methods-use-this': 0, // fixme 'flowtype/no-types-missing-file-annotation': 'off', // Allows types in TS files - 'import/no-extraneous-dependencies': ['error', { devDependencies: ['scripts/**/*.js', '**/*-test.[j|t]s*'] }], + 'import/no-extraneous-dependencies': 'off', // All dependencies are included in dist bundle 'import/no-unresolved': 'off', // Allows JS files to import TS files 'import/prefer-default-export': 'off', 'prefer-destructuring': ['error', { object: true, array: false }], diff --git a/package.json b/package.json index 4e4e62c0a..49613f2f2 100644 --- a/package.json +++ b/package.json @@ -15,27 +15,6 @@ "node": ">=10.x", "yarn": ">=1.10.x" }, - "dependencies": { - "@formatjs/intl-pluralrules": "^1.5.5", - "@formatjs/intl-relativetimeformat": "^4.5.12", - "@popperjs/core": "^2.4.0", - "@reduxjs/toolkit": "^1.3.5", - "axios": "^0.19.2", - "box-ui-elements": "^12.1.0-beta.42", - "classnames": "^2.2.5", - "draft-js": "0.10.5", - "formik": "^2.1.4", - "lodash": "^4.17.15", - "react": "^17.0.1", - "react-dom": "^17.0.1", - "react-intl": "^3.12.0", - "react-redux": "^7.2.2", - "react-tether": "1.0.5", - "react-textarea-autosize": "^7.1.2", - "redux": "^4.0.5", - "scroll-into-view-if-needed": "^2.2.24", - "uuid": "^8.3.1" - }, "devDependencies": { "@babel/cli": "^7.8.4", "@babel/core": "^7.9.0", @@ -51,6 +30,10 @@ "@box/languages": "^1.1.0", "@commitlint/cli": "^8.3.5", "@commitlint/config-conventional": "^8.2.0", + "@formatjs/intl-pluralrules": "^1.5.5", + "@formatjs/intl-relativetimeformat": "^4.5.12", + "@popperjs/core": "^2.4.0", + "@reduxjs/toolkit": "^1.3.5", "@types/classnames": "^2.2.10", "@types/draft-js": "^0.10.40", "@types/enzyme": "^3.10.5", @@ -64,6 +47,7 @@ "@typescript-eslint/parser": "^2.29.0", "@wojtekmaj/enzyme-adapter-react-17": "^0.4.1", "autoprefixer": "^9.7.6", + "axios": "^0.19.2", "babel-eslint": "^10.1.0", "babel-jest": "^24.9.0", "babel-loader": "^8.1.0", @@ -71,11 +55,14 @@ "babel-plugin-react-intl": "^7.5.1", "babel-plugin-transform-require-ignore": "^0.1.1", "box-node-sdk": "^1.33.0", + "box-ui-elements": "^12.1.0-beta.42", "circular-dependency-plugin": "^5.2.0", + "classnames": "^2.2.5", "conventional-github-releaser": "^3.1.3", "core-js": "^3.6.5", "css-loader": "^3.5.2", "cypress": "^4.4.1", + "draft-js": "0.10.5", "enzyme": "^3.11.0", "enzyme-to-json": "^3.4.4", "eslint": "^6.7.2", @@ -92,11 +79,13 @@ "eslint-plugin-prettier": "^3.1.3", "eslint-plugin-react": "^7.19.0", "eslint-plugin-react-hooks": "^1.7.0", + "formik": "^2.1.4", "husky": "^3.1.0", "jest": "^24.9.0", "jest-canvas-mock": "^2.2.0", "jest-environment-jsdom-sixteen": "^1.0.3", "lint-staged": "^9.5.0", + "lodash": "^4.17.15", "mini-css-extract-plugin": "^0.9.0", "node-sass": "^4.13.1", "npm-run-all": "^4.1.5", @@ -104,7 +93,15 @@ "postcss-loader": "^3.0.0", "prettier": "^1.19.1", "raw-loader": "^4.0.1", + "react": "^17.0.1", + "react-dom": "^17.0.1", + "react-intl": "^3.12.0", + "react-redux": "^7.2.2", + "react-tether": "1.0.5", + "react-textarea-autosize": "^7.1.2", + "redux": "^4.0.5", "sass-loader": "^8.0.2", + "scroll-into-view-if-needed": "^2.2.24", "style-loader": "^1.1.4", "stylelint": "^12.0.0", "stylelint-config-rational-order": "^0.1.2", @@ -112,6 +109,7 @@ "stylelint-order": "^3.1.1", "typescript": "^3.8.3", "uglifyjs-webpack-plugin": "^2.2.0", + "uuid": "^8.3.1", "wait-on": "^4.0.2", "webpack": "^4.43.0", "webpack-cli": "^3.3.11",