summaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorSteve Thomas <steventh@amdocs.com>2018-03-29 14:41:43 -0400
committerSteven Thomas <steve.thomas@amdocs.com>2018-03-29 14:57:35 -0400
commit0b2b11bad1457e7f388ab2a99af6ebf231e862e3 (patch)
tree8ef541c5b172893ca9b952cf251a7a78668ab6f1 /package.json
parent47b85e9b95e0a0a3570f0cea4d3ee4645c911a8b (diff)
increasing test coverage to 10%
Issue-ID: AAI-980 Change-Id: Idb816df11fa14b5668349f24bac1aafd7235e00a Signed-off-by: Steven Thomas <steve.thomas@amdocs.com>
Diffstat (limited to 'package.json')
-rw-r--r--package.json83
1 files changed, 47 insertions, 36 deletions
diff --git a/package.json b/package.json
index ddbc889..55e7652 100644
--- a/package.json
+++ b/package.json
@@ -3,16 +3,14 @@
"version": "1.0.0",
"description": "",
"main": "bundle.js",
- "directories": {
- "test": "test"
- },
"publishConfig": {
"registry": "http://10.247.57.144:8081/repository/npm-aee/"
},
"scripts": {
"start": "gulp",
"build": "gulp build",
- "test": "karma start"
+ "test": "jest",
+ "testReport": "jest --coverage"
},
"author": "",
"license": "SEE LICENSE IN LICENSE",
@@ -30,19 +28,20 @@
"moment": "^2.13.0",
"moment-timezone": "^0.5.5",
"node-fetch": "^1.5.3",
- "react": "^15.4.0",
+ "react": "^15.6.1",
"react-autosuggest": "^6.0.4",
- "react-bootstrap": "^0.30.0-rc.1",
- "react-datepicker": "^0.53.0",
- "react-dom": "^15.1.0",
+ "react-bootstrap": "^0.31.2",
+ "react-datepicker": "^0.55.0",
+ "react-dom": "^15.6.1",
"react-fontawesome": "^0.3.3",
"react-grid-layout": "^0.14.4",
"react-highlight-words": "^0.4.1",
"react-redux": "^4.4.1",
"react-router-dom": "^4.1.1",
- "react-select": "^1.0.0-beta13",
+ "react-select": "^1.2.1",
"react-spinners": "^0.2.5",
"react-split-pane": "^0.1.51",
+ "recharts": "^0.20.5",
"redux": "^3.3.1",
"redux-form": "^6.2.1",
"redux-thunk": "^2.1.0",
@@ -52,23 +51,25 @@
"vertical-filter-bar": "1.0.4"
},
"devDependencies": {
- "babel-core": "^6.9.1",
- "babel-eslint": "^6.0.2",
+ "babel-core": "^6.25.0",
+ "babel-eslint": "^6.0.4",
+ "babel-jest": "^22.4.1",
"babel-loader": "^6.2.4",
"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-0": "^6.5.0",
- "chai": "^3.5.0",
"copy-webpack-plugin": "^4.0.1",
"crypto-js": "^3.1.9-1",
"css-loader": "^0.23.1",
- "enzyme": "^2.5.1",
+ "enzyme": "^3.3.0",
+ "enzyme-adapter-react-15": "^1.0.5",
"eslint": "^3.1.1",
"eslint-loader": "^1.3.0",
"eslint-plugin-import": "^0.8.1",
"eslint-plugin-react": "^3.14.0",
"expect": "^1.20.1",
"express": "^4.13.3",
+ "fetch-mock": "^5.13.1",
"file-loader": "^0.8.5",
"gulp": "^3.9.1",
"gulp-clean": "^0.3.1",
@@ -82,44 +83,54 @@
"isparta-loader": "^2.0.0",
"istanbul": "^1.0.0-alpha.2",
"istanbul-instrumenter-loader": "^0.2.0",
- "jasmine-core": "^2.8.0",
+ "jest": "^22.4.3",
+ "jest-enzyme": "^6.0.0",
+ "jest-fetch-mock": "^1.5.0",
"json-loader": "^0.5.4",
"jsx-loader": "^0.13.2",
- "karma": "^0.13.22",
- "karma-babel-preprocessor": "^6.0.1",
- "karma-chai": "^0.1.0",
- "karma-chrome-launcher": "^1.0.1",
- "karma-cli": "^1.0.0",
- "karma-coverage": "^1.0.0",
- "karma-firefox-launcher": "^1.0.0",
- "karma-jasmine": "^1.1.0",
- "karma-jasmine-html-reporter": "^0.2.2",
- "karma-mocha": "^1.0.1",
- "karma-sinon-chai": "^1.2.3",
- "karma-sourcemap-loader": "^0.3.7",
- "karma-verbose-reporter": "0.0.5",
- "karma-webpack": "^1.7.0",
- "mocha": "^2.4.5",
- "mock-require": "^1.2.1",
"nock": "^8.0.0",
"node-sass": "^3.8.0",
"node-watch": "^0.3.5",
"prompt": "^0.2.14",
"react-addons-test-utils": "^15.1.0",
- "react-bootstrap": "^0.30.0-rc.1",
"react-hot-loader": "^3.0.0-beta.6",
- "react-split-pane": "^0.1.51",
- "recharts": "^0.20.5",
- "redux-mock-store": "^1.1.2",
+ "react-test-renderer": "^15.6.1",
+ "redux-mock-store": "^1.4.0",
"sass-loader": "^3.1.2",
- "sinon": "^2.0.0-pre",
- "sinon-chai": "^2.14.0",
"source-map-loader": "^0.1.5",
"style-loader": "^0.13.1",
"url-loader": "^0.5.7",
"webpack": "^1.13.1",
"webpack-dev-server": "^1.14.1"
},
+ "jest": {
+ "verbose": true,
+ "setupTestFrameworkScriptFile": "./test/setupTests.js",
+ "automock": false,
+ "moduleNameMapper": {
+ "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test/fileMock.js",
+ "\\.(css|scss)$": "<rootDir>/test/styleMock.js"
+ },
+ "moduleFileExtensions": [
+ "js",
+ "jsx"
+ ],
+ "moduleDirectories": [
+ "node_modules",
+ "src",
+ "utils"
+ ],
+ "collectCoverage": true,
+ "collectCoverageFrom": [
+ "**/*.{js,jsx}",
+ "!**/node_modules/**",
+ "!**/test/**",
+ "!**/resources/**",
+ "!**/dist/**",
+ "!**/scripts/**",
+ "!**/tools/**"
+ ]
+ },
"engines": {
"node": ">=5.1",
"npm": ">=3.3"