Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 1 | { |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 2 | "name": "dox-ui", |
| 3 | "version": "1.0.0", |
| 4 | "description": "", |
| 5 | "author": "ONAP", |
Michael Lando | a8443ee | 2018-09-23 15:07:50 +0300 | [diff] [blame] | 6 | "license": "Apache-2.0", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 7 | "scripts": { |
Einav Weiss Keidar | f2c4723 | 2018-05-30 18:12:02 +0300 | [diff] [blame] | 8 | "build": "webpack --mode=production", |
| 9 | "build-dev": "webpack --mode=development", |
| 10 | "start": "webpack-dev-server --progress --mode=development", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 11 | "test": "jest", |
svishnev | 7c727c1 | 2018-05-24 13:20:51 +0300 | [diff] [blame] | 12 | "test-failedTestReport": "jest --json | node test-utils/failedTestReport.js", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 13 | "test-dev": "jest --watch", |
svishnev | 7c727c1 | 2018-05-24 13:20:51 +0300 | [diff] [blame] | 14 | "test-coverage": "jest --coverage && start ./coverage/lcov-report/index.html", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 15 | "test-build": "jest --coverage", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 16 | "storyshots": "jest storyshots.test.js", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 17 | "lint-fix": "eslint --fix --ext .js --ext .jsx src" |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 18 | }, |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 19 | "dependencies": { |
| 20 | "attr-accept": "^1.1.0", |
| 21 | "axios": "^0.16.2", |
| 22 | "classnames": "^2.2.5", |
| 23 | "core-js": "^2.4.0", |
| 24 | "d3": "^4.10.0", |
| 25 | "dox-sequence-diagram-ui": "file:../dox-sequence-diagram-ui", |
| 26 | "intl": "^1.0.1", |
| 27 | "intl-format-cache": "^2.0.5", |
| 28 | "intl-messageformat": "^1.2.0", |
| 29 | "intl-relativeformat": "^1.2.0", |
| 30 | "lodash": "^4.13.1", |
| 31 | "md5": "^2.1.0", |
Arielk | a51eac0 | 2019-07-07 12:56:11 +0300 | [diff] [blame^] | 32 | "onap-ui-react": "^1.0.0", |
| 33 | "onap-ui-common": "^1.0.101", |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame] | 34 | "prop-types": "^15.6.2", |
| 35 | "react": "^16.4.2", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 36 | "react-bootstrap": "^0.32.1", |
Arielk | a51eac0 | 2019-07-07 12:56:11 +0300 | [diff] [blame^] | 37 | "react-checkbox-tree": "1.4.1", |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame] | 38 | "react-click-outside": "^3.0.1", |
| 39 | "react-datepicker": "^0.61.0", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 40 | "react-dnd": "^2.5.4", |
| 41 | "react-dnd-html5-backend": "^2.5.4", |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame] | 42 | "react-dom": "^16.4.2", |
| 43 | "react-dropzone": "4.3.0", |
| 44 | "react-input-autosize": "^2.2.1", |
| 45 | "react-redux": "^5.0.7", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 46 | "react-select": "1.2.1", |
Einav Weiss Keidar | f2c4723 | 2018-05-30 18:12:02 +0300 | [diff] [blame] | 47 | "react-show-more-text": "^1.0.3", |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame] | 48 | "react-sortable": "^1.2.1", |
| 49 | "react-transition-group": "^2.4.0", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 50 | "redux": "^3.7.2", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 51 | "uuid-js": "^0.7.5", |
Arielk | a51eac0 | 2019-07-07 12:56:11 +0300 | [diff] [blame^] | 52 | "validator": "^4.3.0" |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 53 | }, |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 54 | "devDependencies": { |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 55 | "babel-core": "^6.24.0", |
| 56 | "babel-eslint": "^8.2.1", |
| 57 | "babel-jest": "^22.1.0", |
Einav Weiss Keidar | f2c4723 | 2018-05-30 18:12:02 +0300 | [diff] [blame] | 58 | "babel-loader": "7.1.4", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 59 | "babel-plugin-transform-class-properties": "^6.10.2", |
| 60 | "babel-plugin-transform-decorators-legacy": "^1.3.4", |
| 61 | "babel-plugin-transform-object-rest-spread": "^6.8.0", |
| 62 | "babel-plugin-transform-runtime": "^6.22.0", |
| 63 | "babel-preset-env": "^1.6.1", |
| 64 | "babel-preset-react": "^6.23.0", |
Einav Weiss Keidar | f2c4723 | 2018-05-30 18:12:02 +0300 | [diff] [blame] | 65 | "clean-webpack-plugin": "^0.1.19", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 66 | "css-loader": "^0.23.1", |
| 67 | "deep-freeze": "0.0.1", |
| 68 | "del": "^3.0.0", |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame] | 69 | "enzyme": "^3.4.0", |
| 70 | "enzyme-adapter-react-16": "^1.2.0", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 71 | "eslint": "^4.18.1", |
| 72 | "eslint-config-prettier": "^2.9.0", |
| 73 | "eslint-loader": "^2.0.0", |
| 74 | "eslint-plugin-import": "^2.9.0", |
| 75 | "eslint-plugin-prettier": "^2.6.0", |
| 76 | "eslint-plugin-react": "^7.7.0", |
| 77 | "express": "^4.13.3", |
| 78 | "file-loader": "^0.8.5", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 79 | "html-loader": "^0.4.3", |
| 80 | "http-proxy-middleware": "^0.17.4", |
| 81 | "ignore-loader": "^0.1.1", |
| 82 | "jasmine-core": "^2.5.2", |
| 83 | "jest": "^21.2.1", |
| 84 | "jshint": "^2.9.4", |
| 85 | "json-loader": "^0.5.4", |
| 86 | "jsx-loader": "^0.13.2", |
| 87 | "mkdirp": "^0.5.1", |
| 88 | "moment": "^2.18.1", |
| 89 | "node-sass": "^4.7.2", |
| 90 | "node-watch": "^0.3.5", |
Einav Weiss Keidar | f2c4723 | 2018-05-30 18:12:02 +0300 | [diff] [blame] | 91 | "prettier": "1.10.2", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 92 | "prompt": "^0.2.14", |
Einav Weiss Keidar | f2c4723 | 2018-05-30 18:12:02 +0300 | [diff] [blame] | 93 | "randomstring": "^1.1.5", |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame] | 94 | "react-hot-loader": "^4.3.4", |
| 95 | "react-test-renderer": "^16.4.2", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 96 | "rosie": "^1.6.0", |
| 97 | "run-sequence": "^2.2.1", |
| 98 | "sass-loader": "^6.0.6", |
| 99 | "source-map-loader": "^0.1.5", |
| 100 | "storyshots": "^3.2.2", |
| 101 | "style-loader": "^0.13.0", |
Einav Weiss Keidar | f2c4723 | 2018-05-30 18:12:02 +0300 | [diff] [blame] | 102 | "svg-sprite-loader": "^3.7.3", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 103 | "url-loader": "^0.5.7", |
Einav Weiss Keidar | f2c4723 | 2018-05-30 18:12:02 +0300 | [diff] [blame] | 104 | "webpack": "^4.5.0", |
| 105 | "webpack-cli": "^2.0.14", |
Malek | e6c3c72 | 2018-10-16 16:44:41 +0300 | [diff] [blame] | 106 | "webpack-dev-server": "^3.1.3", |
| 107 | "worker-loader": "^2.0.0" |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 108 | }, |
| 109 | "engines": { |
| 110 | "node": ">=8.0.0", |
| 111 | "npm": ">=5.0.0", |
Einav Weiss Keidar | f2c4723 | 2018-05-30 18:12:02 +0300 | [diff] [blame] | 112 | "yarn": "^1.7.0" |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 113 | }, |
| 114 | "jest": { |
| 115 | "moduleNameMapper": { |
svishnev | 7c727c1 | 2018-05-24 13:20:51 +0300 | [diff] [blame] | 116 | "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test-utils/fileMock.js", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 117 | "\\.(css|scss)$": "<rootDir>/test-utils/styleMock.js", |
Malek | e6c3c72 | 2018-10-16 16:44:41 +0300 | [diff] [blame] | 118 | "\\.worker\\.js$": "<rootDir>/test-utils/workerMock.js", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 119 | "^nfvo-utils/RestAPIUtil.js$": "<rootDir>/test-utils/MockRest.js", |
Arielk | a51eac0 | 2019-07-07 12:56:11 +0300 | [diff] [blame^] | 120 | "^onap-ui-react/lib/components/SVGIcon.js$": "<rootDir>/test-utils/MockSVGIcon.js", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 121 | "^react-show-more$": "<rootDir>/test-utils/ShowMore.js", |
| 122 | "^nfvo-utils(.*)$": "<rootDir>/src/nfvo-utils$1", |
| 123 | "^nfvo-components(.*)$": "<rootDir>/src/nfvo-components$1", |
| 124 | "^sdc-app(.*)$": "<rootDir>/src/sdc-app$1", |
| 125 | "^test-utils(.*)$": "<rootDir>/test-utils$1", |
| 126 | "^i18nJson$": "<rootDir>/src/nfvo-utils/i18n/en.json", |
| 127 | "^src(.*)$": "<rootDir>/src$1" |
| 128 | }, |
| 129 | "globals": { |
| 130 | "DEBUG": false |
| 131 | }, |
svishnev | 7c727c1 | 2018-05-24 13:20:51 +0300 | [diff] [blame] | 132 | "setupFiles": [ |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame] | 133 | "<rootDir>/test-utils/shim.js", |
svishnev | 7c727c1 | 2018-05-24 13:20:51 +0300 | [diff] [blame] | 134 | "<rootDir>/test-utils/test-env-setup.js" |
| 135 | ], |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 136 | "setupTestFrameworkScriptFile": "<rootDir>/test-utils/test-setup.js", |
| 137 | "testPathIgnorePatterns": [ |
| 138 | "<rootDir>/node_modules/", |
| 139 | "<rootDir>/test/nfvo-components/storyshots.test.js" |
| 140 | ], |
svishnev | 7c727c1 | 2018-05-24 13:20:51 +0300 | [diff] [blame] | 141 | "collectCoverageFrom": [ |
| 142 | "src/**/*.{js,jsx}" |
| 143 | ], |
| 144 | "coveragePathIgnorePatterns": [ |
| 145 | "/node_modules/", |
| 146 | "(.)*.stories.js" |
| 147 | ], |
| 148 | "coverageReporters": [ |
| 149 | "lcov" |
| 150 | ] |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 151 | } |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 152 | } |