Skip to content

Commit

Permalink
OCLOMRS-294: Clean up application dependencies (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
abulojoshua1 authored and dkayiwa committed Nov 7, 2018
1 parent b53d4c0 commit c50952e
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 27 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"jsx-a11y/label-has-associated-control": 0,
"jsx-a11y/no-static-element-interactions": 0,
"compilerOptions": { "target": "ES6", "module": "commonjs" },
"max-len": ["error", { "code": 100, "ignoreStrings": true, "ignoreTemplateLiterals": true }]
"max-len": ["error", { "code": 100, "ignoreStrings": true, "ignoreTemplateLiterals": true }],
"import/no-extraneous-dependencies": ["error", {"devDependencies": true}]
},
"parser": "babel-eslint"
}
36 changes: 13 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,13 @@
"private": true,
"dependencies": {
"axios": "^0.18.0",
"babel-eslint": "^8.2.3",
"bootstrap": "^4.1.3",
"coveralls": "^3.0.1",
"deep-freeze": "0.0.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-to-json": "^3.3.3",
"expect": "^23.2.0",
"jest-localstorage-mock": "^2.2.0",
"lodash": "^4.17.10",
"moment": "^2.22.1",
"moxios": "^0.4.0",
"prop-types": "^15.6.1",
"qs": "^6.5.2",
"react": "^16.3.2",
"react-addons-shallow-compare": "^15.6.2",
"react-autobind": "^1.0.6",
"react-avatar": "^2.5.1",
"react-dom": "^16.3.2",
"react-helmet": "^5.2.0",
"react-infinite-scroll-component": "^4.1.0",
"react-mock-router": "^1.0.15",
"react-notify-toast": "^0.4.0",
"react-redux": "^5.0.7",
"react-router-dom": "^4.2.2",
Expand All @@ -35,12 +20,7 @@
"reactjs-popup": "^1.1.1",
"reactstrap": "^6.5.0",
"redux": "^4.0.0",
"redux-devtools-extension": "^2.13.5",
"redux-logger": "^3.0.6",
"redux-mock-store": "^1.5.3",
"redux-test-utils": "^0.2.2",
"redux-thunk": "^2.2.0",
"sinon": "^6.3.5",
"uuid": "^3.3.2"
},
"scripts": {
Expand All @@ -55,15 +35,25 @@
"watch:css": "node-sass-chokidar ./src/styles/all.scss ./src/styles/all.css --include-path ./node_modules src/styles -o src/styles --watch --recursive"
},
"devDependencies": {
"babel-eslint": "^10.0.1",
"coveralls": "^3.0.2",
"deep-freeze": "0.0.1",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
"enzyme-to-json": "^3.3.4",
"eslint": "^5.8.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-json": "^1.2.1",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-react": "^7.11.1",
"jest-junit": "^4.0.0",
"moxios": "^0.4.0",
"node-sass-chokidar": "^1.3.3",
"react-addons-test-utils": "^15.6.2"
"react-mock-router": "^1.0.15",
"redux-devtools-extension": "^2.13.5",
"redux-logger": "^3.0.6",
"redux-mock-store": "^1.5.3",
"redux-test-utils": "^0.3.0",
"sinon": "^7.1.1"
},
"jest": {
"collectCoverageFrom": [
Expand Down
1 change: 0 additions & 1 deletion src/tests/bulkConcepts/components/PreviewCard.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react';
import { mount } from 'enzyme';
import expect from 'expect';
import Router from 'react-mock-router';

import PreviewCard from '../../../components/bulkConcepts/component/PreviewCard';
Expand Down
1 change: 0 additions & 1 deletion src/tests/bulkConcepts/containers/BulkConceptsPage.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react';

import { mount } from 'enzyme';
import expect from 'expect';
import Router from 'react-mock-router';
import {
BulkConceptsPage,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React from 'react';
import { mount, shallow } from 'enzyme';
import { createMockStore } from 'redux-test-utils';
import { Provider } from 'react-redux';
import expect from 'expect';
import Router from 'react-mock-router';

import {
Expand Down

0 comments on commit c50952e

Please sign in to comment.