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