Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 1 | { |
| 2 | "name": "dox-ui", |
| 3 | "version": "1.0.0", |
| 4 | "description": "", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 5 | "author": "OPENECOMP", |
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", |
| 17 | "storybook": "gulp copy-storybook-resources && start-storybook -p 9090 -c .storybook -s .storybook/resources,.storybook/fonts", |
| 18 | "storyshots": "jest storyshots.test.js", |
| 19 | "build-storybook": "build-storybook -c .storybook -o .storybook-dist && gulp copy-storybook-fonts && gulp copy-storybook-resources-prod" |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 20 | }, |
Avi Ziv | 61070c9 | 2017-07-26 17:37:57 +0300 | [diff] [blame] | 21 | "dependencies": { |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 22 | "classnames": "^2.2.5", |
| 23 | "core-js": "^2.4.0", |
Avi Ziv | 61070c9 | 2017-07-26 17:37:57 +0300 | [diff] [blame] | 24 | "d3": "^3.5.16", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 25 | "dox-sequence-diagram-ui": "file:../dox-sequence-diagram-ui", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 26 | "intl": "^1.0.1", |
| 27 | "intl-format-cache": "^2.0.5", |
| 28 | "intl-messageformat": "^1.2.0", |
| 29 | "intl-relativeformat": "^1.2.0", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 30 | "jquery": "^2.1.4", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 31 | "lodash": "^4.13.1", |
| 32 | "md5": "^2.1.0", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 33 | "randomstring": "^1.1.5", |
| 34 | "react": "~15.3.2", |
| 35 | "react-bootstrap": "^0.30.1", |
| 36 | "react-dom": "~15.3.2", |
| 37 | "react-dropzone": "3.7.3", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 38 | "react-redux": "^4.4.1", |
| 39 | "react-select": "^1.0.0-beta13", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 40 | "react-sortable": "^1.2.0", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 41 | "redux": "^3.3.1", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 42 | "restful-js": "^0.7.0", |
Avi Ziv | 61070c9 | 2017-07-26 17:37:57 +0300 | [diff] [blame] | 43 | "sdc-ui": "1.6.0", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 44 | "uuid-js": "^0.7.5", |
| 45 | "validator": "^4.3.0" |
| 46 | }, |
| 47 | "devDependencies": { |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 48 | "@kadira/storybook": "^2.35.3", |
| 49 | "@kadira/storybook-addon-knobs": "^1.7.1", |
| 50 | "@kadira/storybook-addon-options": "^1.0.2", |
| 51 | "babel-core": "^6.24.0", |
| 52 | "babel-eslint": "^7.2.1", |
| 53 | "babel-jest": "^19.0.0", |
| 54 | "babel-loader": "^7.0.0-beta.1", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 55 | "babel-plugin-transform-class-properties": "^6.10.2", |
| 56 | "babel-plugin-transform-es2015-destructuring": "^6.9.0", |
| 57 | "babel-plugin-transform-es2015-modules-commonjs": "^6.10.3", |
| 58 | "babel-plugin-transform-es2015-spread": "^6.8.0", |
| 59 | "babel-plugin-transform-object-rest-spread": "^6.8.0", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 60 | "babel-plugin-transform-runtime": "^6.22.0", |
| 61 | "babel-preset-es2015": "^6.24.0", |
| 62 | "babel-preset-react": "^6.23.0", |
| 63 | "babel-preset-stage-0": "^6.22.0", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 64 | "css-loader": "^0.23.1", |
| 65 | "deep-freeze": "0.0.1", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 66 | "enzyme": "^2.7.1", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 67 | "eslint-loader": "^1.3.0", |
| 68 | "eslint-plugin-import": "^0.8.1", |
| 69 | "eslint-plugin-react": "^3.14.0", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 70 | "express": "^4.13.3", |
| 71 | "file-loader": "^0.8.5", |
| 72 | "gulp": "^3.9.1", |
| 73 | "gulp-clean": "^0.3.1", |
| 74 | "gulp-css-usage": "^2.0.0", |
| 75 | "gulp-helpers": "^5.0.0", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 76 | "gulp-rename": "^1.2.2", |
| 77 | "gulp-replace": "^0.5.4", |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 78 | "gulp-tap": "^1.0.1", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 79 | "html-loader": "^0.4.3", |
| 80 | "http-proxy-middleware": "^0.8.2", |
| 81 | "ignore-loader": "^0.1.1", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 82 | "jasmine-core": "^2.5.2", |
| 83 | "jest": "^19.0.2", |
| 84 | "jshint": "^2.9.4", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 85 | "json-loader": "^0.5.4", |
| 86 | "jsx-loader": "^0.13.2", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 87 | "mkdirp": "^0.5.1", |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 88 | "moment": "^2.18.1", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 89 | "node-watch": "^0.3.5", |
| 90 | "prompt": "^0.2.14", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 91 | "react-addons-test-utils": "~15.3.2", |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 92 | "react-datepicker": "^0.48.0", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 93 | "react-hot-loader": "^1.3.1", |
| 94 | "rosie": "^1.6.0", |
| 95 | "sass-loader": "^3.2.3", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 96 | "source-map-loader": "^0.1.5", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 97 | "storyshots": "^3.2.2", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 98 | "style-loader": "^0.13.0", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 99 | "svg-sprite-loader": "^0.1.1", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 100 | "url-loader": "^0.5.7", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 101 | "webpack": "^2.2.1", |
| 102 | "webpack-dev-server": "^2.4.2" |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 103 | }, |
| 104 | "engines": { |
| 105 | "node": ">=5.1", |
| 106 | "npm": ">=3.3" |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 107 | }, |
| 108 | "jest": { |
| 109 | "moduleNameMapper": { |
| 110 | "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test-utils/fileMock.js", |
| 111 | "\\.(css|scss)$": "<rootDir>/test-utils/styleMock.js", |
| 112 | "^nfvo-utils/RestAPIUtil.js$": "<rootDir>/test-utils/MockRest.js", |
| 113 | "^nfvo-utils(.*)$": "<rootDir>/src/nfvo-utils$1", |
| 114 | "^nfvo-components(.*)$": "<rootDir>/src/nfvo-components$1", |
| 115 | "^sdc-app(.*)$": "<rootDir>/src/sdc-app$1", |
| 116 | "^test-utils(.*)$": "<rootDir>/test-utils$1", |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 117 | "^i18nJson$": "<rootDir>/src/nfvo-utils/i18n/en.json", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 118 | "^src(.*)$": "<rootDir>/src$1" |
| 119 | }, |
| 120 | "globals": { |
| 121 | "DEBUG": false |
| 122 | }, |
| 123 | "setupFiles": [ |
| 124 | "<rootDir>/test-utils/test-env-setup.js" |
| 125 | ], |
| 126 | "setupTestFrameworkScriptFile": "<rootDir>/test-utils/test-setup.js", |
| 127 | "testPathIgnorePatterns": [ |
| 128 | "<rootDir>/node_modules/", |
| 129 | "<rootDir>/test/nfvo-components/storyshots.test.js" |
| 130 | ], |
| 131 | "collectCoverageFrom": [ |
| 132 | "src/**/*.{js,jsx}" |
| 133 | ], |
| 134 | "coverageReporters": [ |
| 135 | "lcov" |
| 136 | ] |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 137 | } |
| 138 | } |