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", |
| 6 | "license": "SEE LICENSE IN LICENSE", |
| 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", |
| 32 | "prop-types": "^15.6.0", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 33 | "react": "^15.6.2", |
| 34 | "react-bootstrap": "^0.32.1", |
| 35 | "react-click-outside": "^2.3.1", |
| 36 | "react-datepicker": "^0.48.0", |
| 37 | "react-dnd": "^2.5.4", |
| 38 | "react-dnd-html5-backend": "^2.5.4", |
| 39 | "react-dom": "^15.6.2", |
| 40 | "react-dropzone": "4.2.3", |
| 41 | "react-input-autosize": "^2.2.0", |
| 42 | "react-redux": "^5.0.6", |
| 43 | "react-select": "1.2.1", |
Einav Weiss Keidar | f2c4723 | 2018-05-30 18:12:02 +0300 | [diff] [blame] | 44 | "react-show-more-text": "^1.0.3", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 45 | "react-sortable": "^1.2.0", |
svishnev | 7c727c1 | 2018-05-24 13:20:51 +0300 | [diff] [blame] | 46 | "react-transition-group": "^2.3.1", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 47 | "redux": "^3.7.2", |
svishnev | 9cf203c | 2018-08-12 14:38:40 +0300 | [diff] [blame] | 48 | "sdc-ui": "1.6.57", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 49 | "uuid-js": "^0.7.5", |
| 50 | "validator": "^4.3.0" |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 51 | }, |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 52 | "devDependencies": { |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 53 | "babel-core": "^6.24.0", |
| 54 | "babel-eslint": "^8.2.1", |
| 55 | "babel-jest": "^22.1.0", |
Einav Weiss Keidar | f2c4723 | 2018-05-30 18:12:02 +0300 | [diff] [blame] | 56 | "babel-loader": "7.1.4", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 57 | "babel-plugin-transform-class-properties": "^6.10.2", |
| 58 | "babel-plugin-transform-decorators-legacy": "^1.3.4", |
| 59 | "babel-plugin-transform-object-rest-spread": "^6.8.0", |
| 60 | "babel-plugin-transform-runtime": "^6.22.0", |
| 61 | "babel-preset-env": "^1.6.1", |
| 62 | "babel-preset-react": "^6.23.0", |
Einav Weiss Keidar | f2c4723 | 2018-05-30 18:12:02 +0300 | [diff] [blame] | 63 | "clean-webpack-plugin": "^0.1.19", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 64 | "css-loader": "^0.23.1", |
| 65 | "deep-freeze": "0.0.1", |
| 66 | "del": "^3.0.0", |
| 67 | "enzyme": "^2.7.1", |
| 68 | "eslint": "^4.18.1", |
| 69 | "eslint-config-prettier": "^2.9.0", |
| 70 | "eslint-loader": "^2.0.0", |
| 71 | "eslint-plugin-import": "^2.9.0", |
| 72 | "eslint-plugin-prettier": "^2.6.0", |
| 73 | "eslint-plugin-react": "^7.7.0", |
| 74 | "express": "^4.13.3", |
| 75 | "file-loader": "^0.8.5", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 76 | "html-loader": "^0.4.3", |
| 77 | "http-proxy-middleware": "^0.17.4", |
| 78 | "ignore-loader": "^0.1.1", |
| 79 | "jasmine-core": "^2.5.2", |
| 80 | "jest": "^21.2.1", |
| 81 | "jshint": "^2.9.4", |
| 82 | "json-loader": "^0.5.4", |
| 83 | "jsx-loader": "^0.13.2", |
| 84 | "mkdirp": "^0.5.1", |
| 85 | "moment": "^2.18.1", |
| 86 | "node-sass": "^4.7.2", |
| 87 | "node-watch": "^0.3.5", |
Einav Weiss Keidar | f2c4723 | 2018-05-30 18:12:02 +0300 | [diff] [blame] | 88 | "prettier": "1.10.2", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 89 | "prompt": "^0.2.14", |
Einav Weiss Keidar | f2c4723 | 2018-05-30 18:12:02 +0300 | [diff] [blame] | 90 | "randomstring": "^1.1.5", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 91 | "react-addons-test-utils": "~15.3.2", |
| 92 | "react-hot-loader": "^3.1.3", |
| 93 | "rosie": "^1.6.0", |
| 94 | "run-sequence": "^2.2.1", |
| 95 | "sass-loader": "^6.0.6", |
| 96 | "source-map-loader": "^0.1.5", |
| 97 | "storyshots": "^3.2.2", |
| 98 | "style-loader": "^0.13.0", |
Einav Weiss Keidar | f2c4723 | 2018-05-30 18:12:02 +0300 | [diff] [blame] | 99 | "svg-sprite-loader": "^3.7.3", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 100 | "url-loader": "^0.5.7", |
Einav Weiss Keidar | f2c4723 | 2018-05-30 18:12:02 +0300 | [diff] [blame] | 101 | "webpack": "^4.5.0", |
| 102 | "webpack-cli": "^2.0.14", |
| 103 | "webpack-dev-server": "^3.1.3" |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 104 | }, |
| 105 | "engines": { |
| 106 | "node": ">=8.0.0", |
| 107 | "npm": ">=5.0.0", |
Einav Weiss Keidar | f2c4723 | 2018-05-30 18:12:02 +0300 | [diff] [blame] | 108 | "yarn": "^1.7.0" |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 109 | }, |
| 110 | "jest": { |
| 111 | "moduleNameMapper": { |
svishnev | 7c727c1 | 2018-05-24 13:20:51 +0300 | [diff] [blame] | 112 | "\\.(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] | 113 | "\\.(css|scss)$": "<rootDir>/test-utils/styleMock.js", |
| 114 | "^nfvo-utils/RestAPIUtil.js$": "<rootDir>/test-utils/MockRest.js", |
svishnev | 7c727c1 | 2018-05-24 13:20:51 +0300 | [diff] [blame] | 115 | "^sdc-ui/lib/react/SVGIcon.js$": "<rootDir>/test-utils/MockSVGIcon.js", |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 116 | "^react-show-more$": "<rootDir>/test-utils/ShowMore.js", |
| 117 | "^nfvo-utils(.*)$": "<rootDir>/src/nfvo-utils$1", |
| 118 | "^nfvo-components(.*)$": "<rootDir>/src/nfvo-components$1", |
| 119 | "^sdc-app(.*)$": "<rootDir>/src/sdc-app$1", |
| 120 | "^test-utils(.*)$": "<rootDir>/test-utils$1", |
| 121 | "^i18nJson$": "<rootDir>/src/nfvo-utils/i18n/en.json", |
| 122 | "^src(.*)$": "<rootDir>/src$1" |
| 123 | }, |
| 124 | "globals": { |
| 125 | "DEBUG": false |
| 126 | }, |
svishnev | 7c727c1 | 2018-05-24 13:20:51 +0300 | [diff] [blame] | 127 | "setupFiles": [ |
| 128 | "<rootDir>/test-utils/test-env-setup.js" |
| 129 | ], |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 130 | "setupTestFrameworkScriptFile": "<rootDir>/test-utils/test-setup.js", |
| 131 | "testPathIgnorePatterns": [ |
| 132 | "<rootDir>/node_modules/", |
| 133 | "<rootDir>/test/nfvo-components/storyshots.test.js" |
| 134 | ], |
svishnev | 7c727c1 | 2018-05-24 13:20:51 +0300 | [diff] [blame] | 135 | "collectCoverageFrom": [ |
| 136 | "src/**/*.{js,jsx}" |
| 137 | ], |
| 138 | "coveragePathIgnorePatterns": [ |
| 139 | "/node_modules/", |
| 140 | "(.)*.stories.js" |
| 141 | ], |
| 142 | "coverageReporters": [ |
| 143 | "lcov" |
| 144 | ] |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 145 | } |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 146 | } |