Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 1 | { |
| 2 | "name": "dox-ui", |
| 3 | "version": "1.0.0", |
| 4 | "description": "", |
Michael Lando | 5fbddfd | 2017-12-25 21:12:47 +0200 | [diff] [blame] | 5 | "author": "ONAP", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 6 | "license": "SEE LICENSE IN LICENSE", |
| 7 | "scripts": { |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 8 | "start": "gulp dev && webpack-dev-server --progress", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 9 | "build": "gulp build", |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 10 | "css-usage": "gulp css-usage", |
Avi Ziv | 61070c9 | 2017-07-26 17:37:57 +0300 | [diff] [blame] | 11 | "static-keys-bundle": "gulp static-keys-bundle", |
| 12 | "check-keys-against-bundles": "gulp static-keys-bundle-with-report", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 13 | "test": "jest", |
| 14 | "test-failedTestReport": "jest --json | node test-utils/failedTestReport.js", |
| 15 | "test-dev": "jest --watch", |
| 16 | "test-coverage": "jest --coverage && start ./coverage/lcov-report/index.html", |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 17 | "test-build": "jest --coverage", |
| 18 | "storybook": "start-storybook -p 9090 -c .storybook -s .storybook/fonts", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 19 | "storyshots": "jest storyshots.test.js", |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 20 | "build-storybook": "build-storybook -c .storybook -o .storybook-dist && gulp copy-storybook-fonts" |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 21 | }, |
az2497 | 644017c | 2017-08-10 17:49:40 +0300 | [diff] [blame] | 22 | "dependencies": { |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 23 | "attr-accept": "^1.1.0", |
svishnev | 1eb66b7 | 2018-01-11 14:39:45 +0200 | [diff] [blame] | 24 | "axios": "^0.16.2", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 25 | "classnames": "^2.2.5", |
| 26 | "core-js": "^2.4.0", |
Einav Weiss Keidar | d2f5794 | 2018-02-14 14:00:07 +0200 | [diff] [blame^] | 27 | "d3": "^4.10.0", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 28 | "dox-sequence-diagram-ui": "file:../dox-sequence-diagram-ui", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 29 | "intl": "^1.0.1", |
| 30 | "intl-format-cache": "^2.0.5", |
| 31 | "intl-messageformat": "^1.2.0", |
| 32 | "intl-relativeformat": "^1.2.0", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 33 | "lodash": "^4.13.1", |
| 34 | "md5": "^2.1.0", |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 35 | "prop-types": "^15.6.0", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 36 | "randomstring": "^1.1.5", |
Einav Weiss Keidar | d2f5794 | 2018-02-14 14:00:07 +0200 | [diff] [blame^] | 37 | "react": "^15.6.2", |
svishnev | 1eb66b7 | 2018-01-11 14:39:45 +0200 | [diff] [blame] | 38 | "react-dnd": "^2.5.4", |
| 39 | "react-dnd-html5-backend": "^2.5.4", |
Einav Weiss Keidar | d2f5794 | 2018-02-14 14:00:07 +0200 | [diff] [blame^] | 40 | "react-dom": "^15.6.2", |
| 41 | "react-redux": "^5.0.6", |
| 42 | "react-select": "1.2.1", |
| 43 | "redux": "^3.7.2", |
| 44 | "react-bootstrap": "^0.32.1", |
| 45 | "react-click-outside": "^2.3.1", |
| 46 | "react-datepicker": "^0.48.0", |
| 47 | "react-dropzone": "4.2.3", |
svishnev | 1eb66b7 | 2018-01-11 14:39:45 +0200 | [diff] [blame] | 48 | "react-input-autosize": "^2.2.0", |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 49 | "react-show-more": "^1.1.1", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 50 | "react-sortable": "^1.2.0", |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 51 | "sdc-ui": "1.6.9", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 52 | "uuid-js": "^0.7.5", |
| 53 | "validator": "^4.3.0" |
| 54 | }, |
| 55 | "devDependencies": { |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 56 | "@kadira/storybook": "^2.35.3", |
| 57 | "@kadira/storybook-addon-knobs": "^1.7.1", |
| 58 | "@kadira/storybook-addon-options": "^1.0.2", |
| 59 | "babel-core": "^6.24.0", |
| 60 | "babel-eslint": "^7.2.1", |
svishnev | d487b13 | 2018-02-01 13:08:27 +0200 | [diff] [blame] | 61 | "babel-jest": "^22.1.0", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 62 | "babel-loader": "^7.0.0-beta.1", |
svishnev | 1eb66b7 | 2018-01-11 14:39:45 +0200 | [diff] [blame] | 63 | "babel-plugin-transform-class-properties": "^6.10.2", |
svishnev | d487b13 | 2018-02-01 13:08:27 +0200 | [diff] [blame] | 64 | "babel-plugin-transform-decorators-legacy": "^1.3.4", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 65 | "babel-plugin-transform-object-rest-spread": "^6.8.0", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 66 | "babel-plugin-transform-runtime": "^6.22.0", |
svishnev | 9f25b3b | 2018-01-24 12:14:59 +0200 | [diff] [blame] | 67 | "babel-preset-env": "^1.6.1", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 68 | "babel-preset-react": "^6.23.0", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 69 | "css-loader": "^0.23.1", |
| 70 | "deep-freeze": "0.0.1", |
svishnev | d9a5fea | 2018-01-23 16:55:40 +0200 | [diff] [blame] | 71 | "del": "^3.0.0", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 72 | "enzyme": "^2.7.1", |
svishnev | d9a5fea | 2018-01-23 16:55:40 +0200 | [diff] [blame] | 73 | "eslint": "^2.13.1", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 74 | "eslint-loader": "^1.3.0", |
| 75 | "eslint-plugin-import": "^0.8.1", |
| 76 | "eslint-plugin-react": "^3.14.0", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 77 | "express": "^4.13.3", |
| 78 | "file-loader": "^0.8.5", |
| 79 | "gulp": "^3.9.1", |
| 80 | "gulp-clean": "^0.3.1", |
| 81 | "gulp-css-usage": "^2.0.0", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 82 | "gulp-rename": "^1.2.2", |
| 83 | "gulp-replace": "^0.5.4", |
svishnev | d9a5fea | 2018-01-23 16:55:40 +0200 | [diff] [blame] | 84 | "gulp-sass": "^3.1.0", |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 85 | "gulp-tap": "^1.0.1", |
svishnev | d9a5fea | 2018-01-23 16:55:40 +0200 | [diff] [blame] | 86 | "gulp-zip": "^4.1.0", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 87 | "html-loader": "^0.4.3", |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 88 | "http-proxy-middleware": "^0.17.4", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 89 | "ignore-loader": "^0.1.1", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 90 | "jasmine-core": "^2.5.2", |
Einav Weiss Keidar | d2f5794 | 2018-02-14 14:00:07 +0200 | [diff] [blame^] | 91 | "jest": "^21.2.1", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 92 | "jshint": "^2.9.4", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 93 | "json-loader": "^0.5.4", |
| 94 | "jsx-loader": "^0.13.2", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 95 | "mkdirp": "^0.5.1", |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 96 | "moment": "^2.18.1", |
svishnev | 9f25b3b | 2018-01-24 12:14:59 +0200 | [diff] [blame] | 97 | "node-sass": "^4.7.2", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 98 | "node-watch": "^0.3.5", |
| 99 | "prompt": "^0.2.14", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 100 | "react-addons-test-utils": "~15.3.2", |
svishnev | 1eb66b7 | 2018-01-11 14:39:45 +0200 | [diff] [blame] | 101 | "react-hot-loader": "^3.1.3", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 102 | "rosie": "^1.6.0", |
svishnev | d9a5fea | 2018-01-23 16:55:40 +0200 | [diff] [blame] | 103 | "run-sequence": "^2.2.1", |
svishnev | 9f25b3b | 2018-01-24 12:14:59 +0200 | [diff] [blame] | 104 | "sass-loader": "^6.0.6", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 105 | "source-map-loader": "^0.1.5", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 106 | "storyshots": "^3.2.2", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 107 | "style-loader": "^0.13.0", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 108 | "svg-sprite-loader": "^0.1.1", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 109 | "url-loader": "^0.5.7", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 110 | "webpack": "^2.2.1", |
| 111 | "webpack-dev-server": "^2.4.2" |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 112 | }, |
| 113 | "engines": { |
Einav Weiss Keidar | d2f5794 | 2018-02-14 14:00:07 +0200 | [diff] [blame^] | 114 | "node": ">=8.0.0", |
| 115 | "npm": ">=5.0.0", |
| 116 | "yarn": "^1.3.2" |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 117 | }, |
| 118 | "jest": { |
| 119 | "moduleNameMapper": { |
| 120 | "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test-utils/fileMock.js", |
| 121 | "\\.(css|scss)$": "<rootDir>/test-utils/styleMock.js", |
| 122 | "^nfvo-utils/RestAPIUtil.js$": "<rootDir>/test-utils/MockRest.js", |
az2497 | 644017c | 2017-08-10 17:49:40 +0300 | [diff] [blame] | 123 | "^sdc-ui/lib/react/SVGIcon.js$": "<rootDir>/test-utils/MockSVGIcon.js", |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 124 | "^react-show-more$": "<rootDir>/test-utils/ShowMore.js", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 125 | "^nfvo-utils(.*)$": "<rootDir>/src/nfvo-utils$1", |
| 126 | "^nfvo-components(.*)$": "<rootDir>/src/nfvo-components$1", |
| 127 | "^sdc-app(.*)$": "<rootDir>/src/sdc-app$1", |
| 128 | "^test-utils(.*)$": "<rootDir>/test-utils$1", |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 129 | "^i18nJson$": "<rootDir>/src/nfvo-utils/i18n/en.json", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 130 | "^src(.*)$": "<rootDir>/src$1" |
| 131 | }, |
| 132 | "globals": { |
| 133 | "DEBUG": false |
| 134 | }, |
| 135 | "setupFiles": [ |
| 136 | "<rootDir>/test-utils/test-env-setup.js" |
| 137 | ], |
| 138 | "setupTestFrameworkScriptFile": "<rootDir>/test-utils/test-setup.js", |
| 139 | "testPathIgnorePatterns": [ |
| 140 | "<rootDir>/node_modules/", |
| 141 | "<rootDir>/test/nfvo-components/storyshots.test.js" |
| 142 | ], |
| 143 | "collectCoverageFrom": [ |
| 144 | "src/**/*.{js,jsx}" |
| 145 | ], |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 146 | "coveragePathIgnorePatterns": [ |
| 147 | "/node_modules/", |
| 148 | "(.)*.stories.js" |
| 149 | ], |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 150 | "coverageReporters": [ |
| 151 | "lcov" |
| 152 | ] |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 153 | } |
| 154 | } |