Code Review
/
aai
/
sparky-fe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Added front-end tests
[aai/sparky-fe.git]
/
package.json
diff --git
a/package.json
b/package.json
index
4daf2df
..
8038797
100644
(file)
--- a/
package.json
+++ b/
package.json
@@
-5,47
+5,55
@@
"main": "bundle.js",
"scripts": {
"start": "gulp",
"main": "bundle.js",
"scripts": {
"start": "gulp",
- "build": "gulp build",
+ "build": "gulp build
--max-old-space-size=8192
",
"test": "jest",
"testReport": "jest --coverage"
},
"author": "",
"license": "Apache-2.0",
"dependencies": {
"test": "jest",
"testReport": "jest --coverage"
},
"author": "",
"license": "Apache-2.0",
"dependencies": {
- "collapsible-sliding-panel": "1.0.0",
+ "axios": "^0.18.0",
+ "collapsible-sliding-panel": "1.0.2",
"core-js": "^2.4.0",
"crypto-js": "^3.1.9-1",
"d3": "^4.12.0",
"es6-promise": "^3.2.1",
"core-js": "^2.4.0",
"crypto-js": "^3.1.9-1",
"d3": "^4.12.0",
"es6-promise": "^3.2.1",
- "filter-bar-utils": "1.0.0",
+ "filter-bar-utils": "1.0.3",
+ "gulp-sass": "^4.1.0",
"jquery": "^2.2.2",
"jquery": "^2.2.2",
+ "loadable-components": "^2.2.2",
"lodash": "^4.17.4",
"lodash.debounce": "^4.0.8",
"md5": "^2.1.0",
"moment": "^2.13.0",
"moment-timezone": "^0.5.5",
"node-fetch": "^1.5.3",
"lodash": "^4.17.4",
"lodash.debounce": "^4.0.8",
"md5": "^2.1.0",
"moment": "^2.13.0",
"moment-timezone": "^0.5.5",
"node-fetch": "^1.5.3",
- "react": "^15.6.1",
- "react-autosuggest": "^6.0.4",
+ "prop-types": "^15.6.2",
+ "react": "^16.4.1",
+ "react-autosuggest": "^9.3.4",
+ "react-autowhatever": "^10.1.2",
"react-bootstrap": "^0.31.2",
"react-bootstrap": "^0.31.2",
- "react-datepicker": "^
0.55
.0",
- "react-dom": "^1
5.6.1
",
- "react-fontawesome": "^
0.3.3
",
+ "react-datepicker": "^
1.7
.0",
+ "react-dom": "^1
6.4.2
",
+ "react-fontawesome": "^
1.6.1
",
"react-grid-layout": "^0.14.4",
"react-grid-layout": "^0.14.4",
- "react-highlight-words": "^0.
4.1
",
+ "react-highlight-words": "^0.
11.0
",
"react-redux": "^4.4.1",
"react-router-dom": "^4.1.1",
"react-select": "^1.2.1",
"react-spinners": "^0.2.5",
"react-split-pane": "^0.1.51",
"react-redux": "^4.4.1",
"react-router-dom": "^4.1.1",
"react-select": "^1.2.1",
"react-spinners": "^0.2.5",
"react-split-pane": "^0.1.51",
- "recharts": "^0.20.5",
+ "react-test-renderer": "^16.4.1",
+ "recharts": "^1.1.0",
"redux": "^3.3.1",
"redux-form": "^6.2.1",
"redux-thunk": "^2.1.0",
"redux": "^3.3.1",
"redux-form": "^6.2.1",
"redux-thunk": "^2.1.0",
+ "sinon": "^7.3.1",
"topojson": "^2.2.0",
"uuid-js": "^0.7.5",
"validator": "^4.3.0",
"topojson": "^2.2.0",
"uuid-js": "^0.7.5",
"validator": "^4.3.0",
- "vertical-filter-bar": "1.0.4"
+ "velocity-react": "^1.4.1",
+ "vertical-filter-bar": "1.0.12"
},
"devDependencies": {
"babel-core": "^6.25.0",
},
"devDependencies": {
"babel-core": "^6.25.0",
@@
-59,7
+67,8
@@
"crypto-js": "^3.1.9-1",
"css-loader": "^0.23.1",
"enzyme": "^3.3.0",
"crypto-js": "^3.1.9-1",
"css-loader": "^0.23.1",
"enzyme": "^3.3.0",
- "enzyme-adapter-react-15": "^1.0.5",
+ "enzyme-adapter-react-16": "^1.1.1",
+ "enzyme-react-16-adapter-setup": "^0.1.0",
"eslint": "^3.1.1",
"eslint-loader": "^1.3.0",
"eslint-plugin-import": "^0.8.1",
"eslint": "^3.1.1",
"eslint-loader": "^1.3.0",
"eslint-plugin-import": "^0.8.1",
@@
-71,7
+80,7
@@
"gulp": "^3.9.1",
"gulp-clean": "^0.3.1",
"gulp-css-usage": "^2.0.0",
"gulp": "^3.9.1",
"gulp-clean": "^0.3.1",
"gulp-css-usage": "^2.0.0",
- "gulp-helpers": "^5.
0
.0",
+ "gulp-helpers": "^5.
1
.0",
"gulp-jsx-coverage": "^0.3.8",
"gulp-rename": "^1.2.2",
"gulp-replace": "^0.5.4",
"gulp-jsx-coverage": "^0.3.8",
"gulp-rename": "^1.2.2",
"gulp-replace": "^0.5.4",
@@
-80,33
+89,35
@@
"isparta-loader": "^2.0.0",
"istanbul": "^1.0.0-alpha.2",
"istanbul-instrumenter-loader": "^0.2.0",
"isparta-loader": "^2.0.0",
"istanbul": "^1.0.0-alpha.2",
"istanbul-instrumenter-loader": "^0.2.0",
- "jest": "^2
2.4.3
",
+ "jest": "^2
3.0.1
",
"jest-enzyme": "^6.0.0",
"jest-fetch-mock": "^1.5.0",
"json-loader": "^0.5.4",
"jsx-loader": "^0.13.2",
"nock": "^8.0.0",
"jest-enzyme": "^6.0.0",
"jest-fetch-mock": "^1.5.0",
"json-loader": "^0.5.4",
"jsx-loader": "^0.13.2",
"nock": "^8.0.0",
- "node-sass": "^
3.8.0
",
+ "node-sass": "^
4.14.1
",
"node-watch": "^0.3.5",
"prompt": "^0.2.14",
"node-watch": "^0.3.5",
"prompt": "^0.2.14",
+ "randomstring": "^1.1.5",
"react-addons-test-utils": "^15.1.0",
"react-hot-loader": "^3.0.0-beta.6",
"react-addons-test-utils": "^15.1.0",
"react-hot-loader": "^3.0.0-beta.6",
- "react-test-renderer": "^15.6.1",
- "redux-mock-store": "^1.4.0",
+ "redux-mock-store": "^1.5.3",
"sass-loader": "^3.1.2",
"source-map-loader": "^0.1.5",
"style-loader": "^0.13.1",
"url-loader": "^0.5.7",
"webpack": "^1.13.1",
"sass-loader": "^3.1.2",
"source-map-loader": "^0.1.5",
"style-loader": "^0.13.1",
"url-loader": "^0.5.7",
"webpack": "^1.13.1",
+ "webpack-bundle-analyzer": "^3.0.3",
"webpack-dev-server": "^1.14.1"
},
"jest": {
"verbose": true,
"webpack-dev-server": "^1.14.1"
},
"jest": {
"verbose": true,
- "setupTestFrameworkScriptFile": "./
scripts/
test/setupTests.js",
+ "setupTestFrameworkScriptFile": "./test/setupTests.js",
"automock": false,
"moduleNameMapper": {
"automock": false,
"moduleNameMapper": {
- "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/scripts/test/fileMock.js",
- "\\.(css|scss)$": "<rootDir>/scripts/test/styleMock.js"
+ "\\.(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",
+ "resources/(.*)": "<rootDir>/resources/$1"
},
"testURL": "http://localhost",
"moduleFileExtensions": [
},
"testURL": "http://localhost",
"moduleFileExtensions": [
@@
-126,7
+137,15
@@
"!**/resources/**",
"!**/dist/**",
"!**/scripts/**",
"!**/resources/**",
"!**/dist/**",
"!**/scripts/**",
- "!**/tools/**"
+ "!**/gulpfile.js",
+ "!**/karma.conf.js",
+ "!**/webpack.config.js",
+ "!**/webpack.devConfig.js",
+ "!**/coverage/**",
+ "!**/tools/**",
+ "!src/app/main.app.jsx",
+ "!src/app/configurableViews/index.js",
+ "!src/app/extensibility/index.js"
]
},
"engines": {
]
},
"engines": {