Adding option for configurable header
[aai/sparky-fe.git] / package.json
index 1c6925c..ebcb73e 100644 (file)
@@ -3,64 +3,78 @@
   "version": "1.0.0",
   "description": "",
   "main": "bundle.js",
-  "directories": {
-    "test": "test"
-  },
   "scripts": {
     "start": "gulp",
-    "build": "gulp build",
-    "attBuild": "gulp attBuild",
-    "test": "karma start"
+    "build": "gulp build --max-old-space-size=8192",
+    "test": "jest",
+    "testReport": "jest --coverage"
   },
   "author": "",
-  "license": "SEE LICENSE IN LICENSE",
+  "license": "Apache-2.0",
   "dependencies": {
+    "axios": "^0.18.0",
+    "collapsible-sliding-panel": "1.0.2",
     "core-js": "^2.4.0",
-    "d3": "^4.9.1",
+    "crypto-js": "^3.1.9-1",
+    "d3": "^4.12.0",
     "es6-promise": "^3.2.1",
+    "filter-bar-utils": "1.0.1",
+    "gulp-sass": "^3.0.0",
     "jquery": "^2.2.2",
-    "lodash": "^4.13.1",
+    "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",
-    "react": "^15.4.0",
-    "react-autosuggest": "^6.0.4",
-    "react-bootstrap": "^0.30.0-rc.1",
-    "react-datepicker": "^0.27.0",
-    "react-dom": "^15.1.0",
-    "react-fontawesome": "^0.3.3",
+    "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-datepicker": "^1.7.0",
+    "react-dom": "^16.4.2",
+    "react-fontawesome": "^1.6.1",
     "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.0.0-beta13",
+    "react-select": "^1.2.1",
+    "react-spinners": "^0.2.5",
     "react-split-pane": "^0.1.51",
+    "react-test-renderer": "^16.4.1",
+    "recharts": "^1.1.0",
     "redux": "^3.3.1",
     "redux-form": "^6.2.1",
     "redux-thunk": "^2.1.0",
     "topojson": "^2.2.0",
     "uuid-js": "^0.7.5",
-    "validator": "^4.3.0"
+    "validator": "^4.3.0",
+    "velocity-react": "^1.4.1",
+    "vertical-filter-bar": "1.0.10"
   },
   "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-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-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",
     "isparta-loader": "^2.0.0",
     "istanbul": "^1.0.0-alpha.2",
     "istanbul-instrumenter-loader": "^0.2.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-sass": "^4.8.3",
     "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",
+    "redux-mock-store": "^1.4.0",
     "sass-loader": "^3.1.2",
-    "sinon": "^2.0.0-pre",
     "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"
+    },
+    "testURL": "http://localhost",
+    "moduleFileExtensions": [
+      "js",
+      "jsx"
+    ],
+    "moduleDirectories": [
+      "node_modules",
+      "src",
+      "utils"
+    ],
+    "collectCoverage": true,
+    "collectCoverageFrom": [
+      "**/*.{js,jsx}",
+      "!**/node_modules/**",
+      "!**/test/**",
+      "!**/resources/**",
+      "!**/dist/**",
+      "!**/scripts/**",
+      "!**/gulpfile.js",
+      "!**/karma.conf.js",
+      "!**/webpack.config.js",
+      "!**/webpack.devConfig.js",
+      "!**/coverage/**",
+      "!**/tools/**"
+    ]
+  },
   "engines": {
     "node": ">=5.1",
     "npm": ">=3.3"

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use