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", |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 27 | "d3": "^4.9.1", |
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", |
svishnev | 1eb66b7 | 2018-01-11 14:39:45 +0200 | [diff] [blame] | 37 | "react": "^15.6.2", |
| 38 | "react-bootstrap": "^0.31.5", |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 39 | "react-click-outside": "^2.3.1", |
svishnev | 1eb66b7 | 2018-01-11 14:39:45 +0200 | [diff] [blame] | 40 | "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", |
avigaffa | a0858ef | 2017-09-12 11:46:01 +0300 | [diff] [blame] | 47 | "react-select": "1.0.0-rc.5", |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 48 | "react-show-more": "^1.1.1", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 49 | "react-sortable": "^1.2.0", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 50 | "redux": "^3.3.1", |
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", |
| 61 | "babel-jest": "^19.0.0", |
| 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 | d3886bb | 2018-01-08 15:21:46 +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-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", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 69 | "babel-plugin-transform-runtime": "^6.22.0", |
svishnev | 1eb66b7 | 2018-01-11 14:39:45 +0200 | [diff] [blame] | 70 | "babel-preset-env": "^1.6.1", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 71 | "babel-preset-react": "^6.23.0", |
| 72 | "babel-preset-stage-0": "^6.22.0", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 73 | "css-loader": "^0.23.1", |
| 74 | "deep-freeze": "0.0.1", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 75 | "enzyme": "^2.7.1", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 76 | "eslint-loader": "^1.3.0", |
| 77 | "eslint-plugin-import": "^0.8.1", |
| 78 | "eslint-plugin-react": "^3.14.0", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 79 | "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 Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 85 | "gulp-rename": "^1.2.2", |
| 86 | "gulp-replace": "^0.5.4", |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 87 | "gulp-tap": "^1.0.1", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 88 | "html-loader": "^0.4.3", |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 89 | "http-proxy-middleware": "^0.17.4", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 90 | "ignore-loader": "^0.1.1", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 91 | "jasmine-core": "^2.5.2", |
svishnev | 1eb66b7 | 2018-01-11 14:39:45 +0200 | [diff] [blame] | 92 | "jest": "^21.2.1", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 93 | "jshint": "^2.9.4", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 94 | "json-loader": "^0.5.4", |
| 95 | "jsx-loader": "^0.13.2", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 96 | "mkdirp": "^0.5.1", |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 97 | "moment": "^2.18.1", |
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-datepicker": "^0.61.0", |
| 102 | "react-hot-loader": "^3.1.3", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 103 | "rosie": "^1.6.0", |
svishnev | 1eb66b7 | 2018-01-11 14:39:45 +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": { |
| 114 | "node": ">=5.1", |
| 115 | "npm": ">=3.3" |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 116 | }, |
| 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", |
az2497 | 644017c | 2017-08-10 17:49:40 +0300 | [diff] [blame] | 122 | "^sdc-ui/lib/react/SVGIcon.js$": "<rootDir>/test-utils/MockSVGIcon.js", |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 123 | "^react-show-more$": "<rootDir>/test-utils/ShowMore.js", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 124 | "^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 Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 128 | "^i18nJson$": "<rootDir>/src/nfvo-utils/i18n/en.json", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 129 | "^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 | ], |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 145 | "coveragePathIgnorePatterns": [ |
| 146 | "/node_modules/", |
| 147 | "(.)*.stories.js" |
| 148 | ], |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 149 | "coverageReporters": [ |
| 150 | "lcov" |
| 151 | ] |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 152 | } |
| 153 | } |