blob: 4b7fa6141c1225ab760cfc91ea0ac27697011c89 [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",
talig8e9c0652017-12-20 14:30:43 +020027 "d3": "^4.9.1",
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",
svishnev1eb66b72018-01-11 14:39:45 +020037 "react": "^15.6.2",
38 "react-bootstrap": "^0.31.5",
talig8e9c0652017-12-20 14:30:43 +020039 "react-click-outside": "^2.3.1",
svishnev1eb66b72018-01-11 14:39:45 +020040 "react-datepicker": "^0.61.0",
41 "react-dnd": "^2.5.4",
42 "react-dnd-html5-backend": "^2.5.4",
43 "react-dom": "^15.6.2",
44 "react-dropzone": "4.2.3",
45 "react-input-autosize": "^2.2.0",
46 "react-redux": "^4.4.5",
avigaffaa0858ef2017-09-12 11:46:01 +030047 "react-select": "1.0.0-rc.5",
talig8e9c0652017-12-20 14:30:43 +020048 "react-show-more": "^1.1.1",
AviZi280f8012017-06-09 02:39:56 +030049 "react-sortable": "^1.2.0",
Michael Landoefa037d2017-02-19 12:57:33 +020050 "redux": "^3.3.1",
talig8e9c0652017-12-20 14:30:43 +020051 "sdc-ui": "1.6.9",
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",
61 "babel-jest": "^19.0.0",
62 "babel-loader": "^7.0.0-beta.1",
svishnev1eb66b72018-01-11 14:39:45 +020063 "babel-plugin-transform-class-properties": "^6.10.2",
svishnevd3886bb2018-01-08 15:21:46 +020064 "babel-plugin-transform-decorators-legacy": "^1.3.4",
Michael Landoefa037d2017-02-19 12:57:33 +020065 "babel-plugin-transform-es2015-destructuring": "^6.9.0",
66 "babel-plugin-transform-es2015-modules-commonjs": "^6.10.3",
67 "babel-plugin-transform-es2015-spread": "^6.8.0",
68 "babel-plugin-transform-object-rest-spread": "^6.8.0",
AviZi280f8012017-06-09 02:39:56 +030069 "babel-plugin-transform-runtime": "^6.22.0",
svishnev1eb66b72018-01-11 14:39:45 +020070 "babel-preset-env": "^1.6.1",
AviZi280f8012017-06-09 02:39:56 +030071 "babel-preset-react": "^6.23.0",
72 "babel-preset-stage-0": "^6.22.0",
Michael Landoefa037d2017-02-19 12:57:33 +020073 "css-loader": "^0.23.1",
74 "deep-freeze": "0.0.1",
AviZi280f8012017-06-09 02:39:56 +030075 "enzyme": "^2.7.1",
Michael Landoefa037d2017-02-19 12:57:33 +020076 "eslint-loader": "^1.3.0",
77 "eslint-plugin-import": "^0.8.1",
78 "eslint-plugin-react": "^3.14.0",
Michael Landoefa037d2017-02-19 12:57:33 +020079 "express": "^4.13.3",
80 "file-loader": "^0.8.5",
81 "gulp": "^3.9.1",
82 "gulp-clean": "^0.3.1",
83 "gulp-css-usage": "^2.0.0",
84 "gulp-helpers": "^5.0.0",
Michael Landoefa037d2017-02-19 12:57:33 +020085 "gulp-rename": "^1.2.2",
86 "gulp-replace": "^0.5.4",
Avi Zivb8e2faf2017-07-18 19:45:38 +030087 "gulp-tap": "^1.0.1",
Michael Landoefa037d2017-02-19 12:57:33 +020088 "html-loader": "^0.4.3",
talig8e9c0652017-12-20 14:30:43 +020089 "http-proxy-middleware": "^0.17.4",
Michael Landoefa037d2017-02-19 12:57:33 +020090 "ignore-loader": "^0.1.1",
AviZi280f8012017-06-09 02:39:56 +030091 "jasmine-core": "^2.5.2",
svishnev1eb66b72018-01-11 14:39:45 +020092 "jest": "^21.2.1",
AviZi280f8012017-06-09 02:39:56 +030093 "jshint": "^2.9.4",
Michael Landoefa037d2017-02-19 12:57:33 +020094 "json-loader": "^0.5.4",
95 "jsx-loader": "^0.13.2",
Michael Landoefa037d2017-02-19 12:57:33 +020096 "mkdirp": "^0.5.1",
Avi Zivb8e2faf2017-07-18 19:45:38 +030097 "moment": "^2.18.1",
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-datepicker": "^0.61.0",
102 "react-hot-loader": "^3.1.3",
AviZi280f8012017-06-09 02:39:56 +0300103 "rosie": "^1.6.0",
svishnev1eb66b72018-01-11 14:39:45 +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": {
114 "node": ">=5.1",
115 "npm": ">=3.3"
AviZi280f8012017-06-09 02:39:56 +0300116 },
117 "jest": {
118 "moduleNameMapper": {
119 "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test-utils/fileMock.js",
120 "\\.(css|scss)$": "<rootDir>/test-utils/styleMock.js",
121 "^nfvo-utils/RestAPIUtil.js$": "<rootDir>/test-utils/MockRest.js",
az2497644017c2017-08-10 17:49:40 +0300122 "^sdc-ui/lib/react/SVGIcon.js$": "<rootDir>/test-utils/MockSVGIcon.js",
talig8e9c0652017-12-20 14:30:43 +0200123 "^react-show-more$": "<rootDir>/test-utils/ShowMore.js",
AviZi280f8012017-06-09 02:39:56 +0300124 "^nfvo-utils(.*)$": "<rootDir>/src/nfvo-utils$1",
125 "^nfvo-components(.*)$": "<rootDir>/src/nfvo-components$1",
126 "^sdc-app(.*)$": "<rootDir>/src/sdc-app$1",
127 "^test-utils(.*)$": "<rootDir>/test-utils$1",
Avi Zivb8e2faf2017-07-18 19:45:38 +0300128 "^i18nJson$": "<rootDir>/src/nfvo-utils/i18n/en.json",
AviZi280f8012017-06-09 02:39:56 +0300129 "^src(.*)$": "<rootDir>/src$1"
130 },
131 "globals": {
132 "DEBUG": false
133 },
134 "setupFiles": [
135 "<rootDir>/test-utils/test-env-setup.js"
136 ],
137 "setupTestFrameworkScriptFile": "<rootDir>/test-utils/test-setup.js",
138 "testPathIgnorePatterns": [
139 "<rootDir>/node_modules/",
140 "<rootDir>/test/nfvo-components/storyshots.test.js"
141 ],
142 "collectCoverageFrom": [
143 "src/**/*.{js,jsx}"
144 ],
talig8e9c0652017-12-20 14:30:43 +0200145 "coveragePathIgnorePatterns": [
146 "/node_modules/",
147 "(.)*.stories.js"
148 ],
AviZi280f8012017-06-09 02:39:56 +0300149 "coverageReporters": [
150 "lcov"
151 ]
Michael Landoefa037d2017-02-19 12:57:33 +0200152 }
153}