blob: 4ce2c7758209c530a35157c54ba4526471ead10d [file] [log] [blame]
Michael Landoefa037d2017-02-19 12:57:33 +02001{
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +02002 "name": "dox-ui",
3 "version": "1.0.0",
4 "description": "",
5 "author": "ONAP",
Michael Landoa8443ee2018-09-23 15:07:50 +03006 "license": "Apache-2.0",
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +02007 "scripts": {
Einav Weiss Keidarf2c47232018-05-30 18:12:02 +03008 "build": "webpack --mode=production",
9 "build-dev": "webpack --mode=development",
10 "start": "webpack-dev-server --progress --mode=development",
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020011 "test": "jest",
svishnev7c727c12018-05-24 13:20:51 +030012 "test-failedTestReport": "jest --json | node test-utils/failedTestReport.js",
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020013 "test-dev": "jest --watch",
svishnev7c727c12018-05-24 13:20:51 +030014 "test-coverage": "jest --coverage && start ./coverage/lcov-report/index.html",
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020015 "test-build": "jest --coverage",
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020016 "storyshots": "jest storyshots.test.js",
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020017 "lint-fix": "eslint --fix --ext .js --ext .jsx src"
AviZi280f8012017-06-09 02:39:56 +030018 },
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020019 "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",
Einav Weiss Keidar1801b242018-08-13 16:19:46 +030032 "prop-types": "^15.6.2",
33 "react": "^16.4.2",
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020034 "react-bootstrap": "^0.32.1",
Einav Weiss Keidar1801b242018-08-13 16:19:46 +030035 "react-click-outside": "^3.0.1",
36 "react-datepicker": "^0.61.0",
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020037 "react-dnd": "^2.5.4",
38 "react-dnd-html5-backend": "^2.5.4",
Einav Weiss Keidar1801b242018-08-13 16:19:46 +030039 "react-dom": "^16.4.2",
40 "react-dropzone": "4.3.0",
41 "react-input-autosize": "^2.2.1",
42 "react-redux": "^5.0.7",
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020043 "react-select": "1.2.1",
Einav Weiss Keidarf2c47232018-05-30 18:12:02 +030044 "react-show-more-text": "^1.0.3",
Einav Weiss Keidar1801b242018-08-13 16:19:46 +030045 "react-sortable": "^1.2.1",
46 "react-transition-group": "^2.4.0",
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020047 "redux": "^3.7.2",
Yarin Dekel042f4cd2019-02-11 16:36:19 +020048 "sdc-ui": "1.6.62",
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020049 "uuid-js": "^0.7.5",
Vodafone804ec682019-03-18 15:46:53 +053050 "validator": "^4.3.0",
51 "react-checkbox-tree": "1.4.1"
AviZi280f8012017-06-09 02:39:56 +030052 },
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020053 "devDependencies": {
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020054 "babel-core": "^6.24.0",
55 "babel-eslint": "^8.2.1",
56 "babel-jest": "^22.1.0",
Einav Weiss Keidarf2c47232018-05-30 18:12:02 +030057 "babel-loader": "7.1.4",
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020058 "babel-plugin-transform-class-properties": "^6.10.2",
59 "babel-plugin-transform-decorators-legacy": "^1.3.4",
60 "babel-plugin-transform-object-rest-spread": "^6.8.0",
61 "babel-plugin-transform-runtime": "^6.22.0",
62 "babel-preset-env": "^1.6.1",
63 "babel-preset-react": "^6.23.0",
Einav Weiss Keidarf2c47232018-05-30 18:12:02 +030064 "clean-webpack-plugin": "^0.1.19",
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020065 "css-loader": "^0.23.1",
66 "deep-freeze": "0.0.1",
67 "del": "^3.0.0",
Einav Weiss Keidar1801b242018-08-13 16:19:46 +030068 "enzyme": "^3.4.0",
69 "enzyme-adapter-react-16": "^1.2.0",
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020070 "eslint": "^4.18.1",
71 "eslint-config-prettier": "^2.9.0",
72 "eslint-loader": "^2.0.0",
73 "eslint-plugin-import": "^2.9.0",
74 "eslint-plugin-prettier": "^2.6.0",
75 "eslint-plugin-react": "^7.7.0",
76 "express": "^4.13.3",
77 "file-loader": "^0.8.5",
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020078 "html-loader": "^0.4.3",
79 "http-proxy-middleware": "^0.17.4",
80 "ignore-loader": "^0.1.1",
81 "jasmine-core": "^2.5.2",
82 "jest": "^21.2.1",
83 "jshint": "^2.9.4",
84 "json-loader": "^0.5.4",
85 "jsx-loader": "^0.13.2",
86 "mkdirp": "^0.5.1",
87 "moment": "^2.18.1",
88 "node-sass": "^4.7.2",
89 "node-watch": "^0.3.5",
Einav Weiss Keidarf2c47232018-05-30 18:12:02 +030090 "prettier": "1.10.2",
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020091 "prompt": "^0.2.14",
Einav Weiss Keidarf2c47232018-05-30 18:12:02 +030092 "randomstring": "^1.1.5",
Einav Weiss Keidar1801b242018-08-13 16:19:46 +030093 "react-hot-loader": "^4.3.4",
94 "react-test-renderer": "^16.4.2",
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020095 "rosie": "^1.6.0",
96 "run-sequence": "^2.2.1",
97 "sass-loader": "^6.0.6",
98 "source-map-loader": "^0.1.5",
99 "storyshots": "^3.2.2",
100 "style-loader": "^0.13.0",
Einav Weiss Keidarf2c47232018-05-30 18:12:02 +0300101 "svg-sprite-loader": "^3.7.3",
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +0200102 "url-loader": "^0.5.7",
Einav Weiss Keidarf2c47232018-05-30 18:12:02 +0300103 "webpack": "^4.5.0",
104 "webpack-cli": "^2.0.14",
Maleke6c3c722018-10-16 16:44:41 +0300105 "webpack-dev-server": "^3.1.3",
106 "worker-loader": "^2.0.0"
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +0200107 },
108 "engines": {
109 "node": ">=8.0.0",
110 "npm": ">=5.0.0",
Einav Weiss Keidarf2c47232018-05-30 18:12:02 +0300111 "yarn": "^1.7.0"
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +0200112 },
113 "jest": {
114 "moduleNameMapper": {
svishnev7c727c12018-05-24 13:20:51 +0300115 "\\.(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 Keidar7fdf7332018-03-20 14:45:40 +0200116 "\\.(css|scss)$": "<rootDir>/test-utils/styleMock.js",
Maleke6c3c722018-10-16 16:44:41 +0300117 "\\.worker\\.js$": "<rootDir>/test-utils/workerMock.js",
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +0200118 "^nfvo-utils/RestAPIUtil.js$": "<rootDir>/test-utils/MockRest.js",
svishnev7c727c12018-05-24 13:20:51 +0300119 "^sdc-ui/lib/react/SVGIcon.js$": "<rootDir>/test-utils/MockSVGIcon.js",
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +0200120 "^react-show-more$": "<rootDir>/test-utils/ShowMore.js",
121 "^nfvo-utils(.*)$": "<rootDir>/src/nfvo-utils$1",
122 "^nfvo-components(.*)$": "<rootDir>/src/nfvo-components$1",
123 "^sdc-app(.*)$": "<rootDir>/src/sdc-app$1",
124 "^test-utils(.*)$": "<rootDir>/test-utils$1",
125 "^i18nJson$": "<rootDir>/src/nfvo-utils/i18n/en.json",
126 "^src(.*)$": "<rootDir>/src$1"
127 },
128 "globals": {
129 "DEBUG": false
130 },
svishnev7c727c12018-05-24 13:20:51 +0300131 "setupFiles": [
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300132 "<rootDir>/test-utils/shim.js",
svishnev7c727c12018-05-24 13:20:51 +0300133 "<rootDir>/test-utils/test-env-setup.js"
134 ],
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +0200135 "setupTestFrameworkScriptFile": "<rootDir>/test-utils/test-setup.js",
136 "testPathIgnorePatterns": [
137 "<rootDir>/node_modules/",
138 "<rootDir>/test/nfvo-components/storyshots.test.js"
139 ],
svishnev7c727c12018-05-24 13:20:51 +0300140 "collectCoverageFrom": [
141 "src/**/*.{js,jsx}"
142 ],
143 "coveragePathIgnorePatterns": [
144 "/node_modules/",
145 "(.)*.stories.js"
146 ],
147 "coverageReporters": [
148 "lcov"
149 ]
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +0200150 }
Michael Landoefa037d2017-02-19 12:57:33 +0200151}