blob: ecc28f75523f1a25fa3971ecddd21b57033b4bf9 [file] [log] [blame]
Michael Landoefa037d2017-02-19 12:57:33 +02001{
2 "name": "dox-ui",
3 "version": "1.0.0",
4 "description": "",
Michael Lando5fbddfd2017-12-25 21:12:47 +02005 "author": "ONAP",
Michael Landoefa037d2017-02-19 12:57:33 +02006 "license": "SEE LICENSE IN LICENSE",
7 "scripts": {
AviZi280f8012017-06-09 02:39:56 +03008 "start": "gulp dev && webpack-dev-server --progress",
Michael Landoefa037d2017-02-19 12:57:33 +02009 "build": "gulp build",
Avi Zivb8e2faf2017-07-18 19:45:38 +030010 "css-usage": "gulp css-usage",
Avi Ziv61070c92017-07-26 17:37:57 +030011 "static-keys-bundle": "gulp static-keys-bundle",
12 "check-keys-against-bundles": "gulp static-keys-bundle-with-report",
AviZi280f8012017-06-09 02:39:56 +030013 "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",
talig8e9c0652017-12-20 14:30:43 +020017 "test-build": "jest --coverage",
18 "storybook": "start-storybook -p 9090 -c .storybook -s .storybook/fonts",
AviZi280f8012017-06-09 02:39:56 +030019 "storyshots": "jest storyshots.test.js",
talig8e9c0652017-12-20 14:30:43 +020020 "build-storybook": "build-storybook -c .storybook -o .storybook-dist && gulp copy-storybook-fonts"
Michael Landoefa037d2017-02-19 12:57:33 +020021 },
az2497644017c2017-08-10 17:49:40 +030022 "dependencies": {
talig8e9c0652017-12-20 14:30:43 +020023 "attr-accept": "^1.1.0",
svishnev1eb66b72018-01-11 14:39:45 +020024 "axios": "^0.16.2",
Michael Landoefa037d2017-02-19 12:57:33 +020025 "classnames": "^2.2.5",
26 "core-js": "^2.4.0",
Einav Weiss Keidard2f57942018-02-14 14:00:07 +020027 "d3": "^4.10.0",
Michael Landoefa037d2017-02-19 12:57:33 +020028 "dox-sequence-diagram-ui": "file:../dox-sequence-diagram-ui",
Michael Landoefa037d2017-02-19 12:57:33 +020029 "intl": "^1.0.1",
30 "intl-format-cache": "^2.0.5",
31 "intl-messageformat": "^1.2.0",
32 "intl-relativeformat": "^1.2.0",
Michael Landoefa037d2017-02-19 12:57:33 +020033 "lodash": "^4.13.1",
34 "md5": "^2.1.0",
talig8e9c0652017-12-20 14:30:43 +020035 "prop-types": "^15.6.0",
AviZi280f8012017-06-09 02:39:56 +030036 "randomstring": "^1.1.5",
Einav Weiss Keidard2f57942018-02-14 14:00:07 +020037 "react": "^15.6.2",
svishnev1eb66b72018-01-11 14:39:45 +020038 "react-dnd": "^2.5.4",
39 "react-dnd-html5-backend": "^2.5.4",
Einav Weiss Keidard2f57942018-02-14 14:00:07 +020040 "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",
svishnev1eb66b72018-01-11 14:39:45 +020048 "react-input-autosize": "^2.2.0",
talig8e9c0652017-12-20 14:30:43 +020049 "react-show-more": "^1.1.1",
AviZi280f8012017-06-09 02:39:56 +030050 "react-sortable": "^1.2.0",
svishneva6d22482018-03-11 16:57:16 +020051 "sdc-ui": "1.6.24",
Michael Landoefa037d2017-02-19 12:57:33 +020052 "uuid-js": "^0.7.5",
53 "validator": "^4.3.0"
54 },
55 "devDependencies": {
AviZi280f8012017-06-09 02:39:56 +030056 "@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",
svishnevd487b132018-02-01 13:08:27 +020061 "babel-jest": "^22.1.0",
AviZi280f8012017-06-09 02:39:56 +030062 "babel-loader": "^7.0.0-beta.1",
svishnev1eb66b72018-01-11 14:39:45 +020063 "babel-plugin-transform-class-properties": "^6.10.2",
svishnevd487b132018-02-01 13:08:27 +020064 "babel-plugin-transform-decorators-legacy": "^1.3.4",
Michael Landoefa037d2017-02-19 12:57:33 +020065 "babel-plugin-transform-object-rest-spread": "^6.8.0",
AviZi280f8012017-06-09 02:39:56 +030066 "babel-plugin-transform-runtime": "^6.22.0",
svishnev9f25b3b2018-01-24 12:14:59 +020067 "babel-preset-env": "^1.6.1",
AviZi280f8012017-06-09 02:39:56 +030068 "babel-preset-react": "^6.23.0",
Michael Landoefa037d2017-02-19 12:57:33 +020069 "css-loader": "^0.23.1",
70 "deep-freeze": "0.0.1",
svishnevd9a5fea2018-01-23 16:55:40 +020071 "del": "^3.0.0",
AviZi280f8012017-06-09 02:39:56 +030072 "enzyme": "^2.7.1",
svishnevd9a5fea2018-01-23 16:55:40 +020073 "eslint": "^2.13.1",
Michael Landoefa037d2017-02-19 12:57:33 +020074 "eslint-loader": "^1.3.0",
75 "eslint-plugin-import": "^0.8.1",
76 "eslint-plugin-react": "^3.14.0",
Michael Landoefa037d2017-02-19 12:57:33 +020077 "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 Landoefa037d2017-02-19 12:57:33 +020082 "gulp-rename": "^1.2.2",
83 "gulp-replace": "^0.5.4",
svishnevd9a5fea2018-01-23 16:55:40 +020084 "gulp-sass": "^3.1.0",
Avi Zivb8e2faf2017-07-18 19:45:38 +030085 "gulp-tap": "^1.0.1",
svishnevd9a5fea2018-01-23 16:55:40 +020086 "gulp-zip": "^4.1.0",
Michael Landoefa037d2017-02-19 12:57:33 +020087 "html-loader": "^0.4.3",
talig8e9c0652017-12-20 14:30:43 +020088 "http-proxy-middleware": "^0.17.4",
Michael Landoefa037d2017-02-19 12:57:33 +020089 "ignore-loader": "^0.1.1",
AviZi280f8012017-06-09 02:39:56 +030090 "jasmine-core": "^2.5.2",
Einav Weiss Keidard2f57942018-02-14 14:00:07 +020091 "jest": "^21.2.1",
AviZi280f8012017-06-09 02:39:56 +030092 "jshint": "^2.9.4",
Michael Landoefa037d2017-02-19 12:57:33 +020093 "json-loader": "^0.5.4",
94 "jsx-loader": "^0.13.2",
Michael Landoefa037d2017-02-19 12:57:33 +020095 "mkdirp": "^0.5.1",
Avi Zivb8e2faf2017-07-18 19:45:38 +030096 "moment": "^2.18.1",
svishnev9f25b3b2018-01-24 12:14:59 +020097 "node-sass": "^4.7.2",
Michael Landoefa037d2017-02-19 12:57:33 +020098 "node-watch": "^0.3.5",
99 "prompt": "^0.2.14",
AviZi280f8012017-06-09 02:39:56 +0300100 "react-addons-test-utils": "~15.3.2",
svishnev1eb66b72018-01-11 14:39:45 +0200101 "react-hot-loader": "^3.1.3",
AviZi280f8012017-06-09 02:39:56 +0300102 "rosie": "^1.6.0",
svishnevd9a5fea2018-01-23 16:55:40 +0200103 "run-sequence": "^2.2.1",
svishnev9f25b3b2018-01-24 12:14:59 +0200104 "sass-loader": "^6.0.6",
Michael Landoefa037d2017-02-19 12:57:33 +0200105 "source-map-loader": "^0.1.5",
AviZi280f8012017-06-09 02:39:56 +0300106 "storyshots": "^3.2.2",
Michael Landoefa037d2017-02-19 12:57:33 +0200107 "style-loader": "^0.13.0",
AviZi280f8012017-06-09 02:39:56 +0300108 "svg-sprite-loader": "^0.1.1",
Michael Landoefa037d2017-02-19 12:57:33 +0200109 "url-loader": "^0.5.7",
AviZi280f8012017-06-09 02:39:56 +0300110 "webpack": "^2.2.1",
111 "webpack-dev-server": "^2.4.2"
Michael Landoefa037d2017-02-19 12:57:33 +0200112 },
113 "engines": {
Einav Weiss Keidard2f57942018-02-14 14:00:07 +0200114 "node": ">=8.0.0",
115 "npm": ">=5.0.0",
116 "yarn": "^1.3.2"
AviZi280f8012017-06-09 02:39:56 +0300117 },
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",
az2497644017c2017-08-10 17:49:40 +0300123 "^sdc-ui/lib/react/SVGIcon.js$": "<rootDir>/test-utils/MockSVGIcon.js",
talig8e9c0652017-12-20 14:30:43 +0200124 "^react-show-more$": "<rootDir>/test-utils/ShowMore.js",
AviZi280f8012017-06-09 02:39:56 +0300125 "^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 Zivb8e2faf2017-07-18 19:45:38 +0300129 "^i18nJson$": "<rootDir>/src/nfvo-utils/i18n/en.json",
AviZi280f8012017-06-09 02:39:56 +0300130 "^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 ],
talig8e9c0652017-12-20 14:30:43 +0200146 "coveragePathIgnorePatterns": [
147 "/node_modules/",
148 "(.)*.stories.js"
149 ],
AviZi280f8012017-06-09 02:39:56 +0300150 "coverageReporters": [
151 "lcov"
152 ]
Michael Landoefa037d2017-02-19 12:57:33 +0200153 }
154}