Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 1 | { |
| 2 | "name": "dox-ui", |
| 3 | "version": "1.0.0", |
| 4 | "description": "", |
avigaffa | 00e935f | 2017-09-10 08:58:51 +0300 | [diff] [blame] | 5 | "author": "ECOMP", |
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 | }, |
az2497 | 644017c | 2017-08-10 17:49:40 +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", |
avigaffa | 00e935f | 2017-09-10 08:58:51 +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", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 30 | "lodash": "^4.13.1", |
| 31 | "md5": "^2.1.0", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 32 | "randomstring": "^1.1.5", |
| 33 | "react": "~15.3.2", |
| 34 | "react-bootstrap": "^0.30.1", |
| 35 | "react-dom": "~15.3.2", |
| 36 | "react-dropzone": "3.7.3", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 37 | "react-redux": "^4.4.1", |
avigaffa | a0858ef | 2017-09-12 11:46:01 +0300 | [diff] [blame] | 38 | "react-select": "1.0.0-rc.5", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 39 | "react-sortable": "^1.2.0", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 40 | "redux": "^3.3.1", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 41 | "restful-js": "^0.7.0", |
SVISHNEV | 3779f90 | 2017-08-30 16:09:04 +0300 | [diff] [blame] | 42 | "sdc-ui": "1.6.8", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 43 | "uuid-js": "^0.7.5", |
| 44 | "validator": "^4.3.0" |
| 45 | }, |
| 46 | "devDependencies": { |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 47 | "@kadira/storybook": "^2.35.3", |
| 48 | "@kadira/storybook-addon-knobs": "^1.7.1", |
| 49 | "@kadira/storybook-addon-options": "^1.0.2", |
| 50 | "babel-core": "^6.24.0", |
| 51 | "babel-eslint": "^7.2.1", |
| 52 | "babel-jest": "^19.0.0", |
| 53 | "babel-loader": "^7.0.0-beta.1", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 54 | "babel-plugin-transform-class-properties": "^6.10.2", |
| 55 | "babel-plugin-transform-es2015-destructuring": "^6.9.0", |
| 56 | "babel-plugin-transform-es2015-modules-commonjs": "^6.10.3", |
| 57 | "babel-plugin-transform-es2015-spread": "^6.8.0", |
| 58 | "babel-plugin-transform-object-rest-spread": "^6.8.0", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 59 | "babel-plugin-transform-runtime": "^6.22.0", |
| 60 | "babel-preset-es2015": "^6.24.0", |
| 61 | "babel-preset-react": "^6.23.0", |
| 62 | "babel-preset-stage-0": "^6.22.0", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 63 | "css-loader": "^0.23.1", |
| 64 | "deep-freeze": "0.0.1", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 65 | "enzyme": "^2.7.1", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 66 | "eslint-loader": "^1.3.0", |
| 67 | "eslint-plugin-import": "^0.8.1", |
| 68 | "eslint-plugin-react": "^3.14.0", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 69 | "express": "^4.13.3", |
| 70 | "file-loader": "^0.8.5", |
| 71 | "gulp": "^3.9.1", |
| 72 | "gulp-clean": "^0.3.1", |
| 73 | "gulp-css-usage": "^2.0.0", |
| 74 | "gulp-helpers": "^5.0.0", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 75 | "gulp-rename": "^1.2.2", |
| 76 | "gulp-replace": "^0.5.4", |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 77 | "gulp-tap": "^1.0.1", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 78 | "html-loader": "^0.4.3", |
| 79 | "http-proxy-middleware": "^0.8.2", |
| 80 | "ignore-loader": "^0.1.1", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 81 | "jasmine-core": "^2.5.2", |
| 82 | "jest": "^19.0.2", |
| 83 | "jshint": "^2.9.4", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 84 | "json-loader": "^0.5.4", |
| 85 | "jsx-loader": "^0.13.2", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 86 | "mkdirp": "^0.5.1", |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 87 | "moment": "^2.18.1", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 88 | "node-watch": "^0.3.5", |
| 89 | "prompt": "^0.2.14", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 90 | "react-addons-test-utils": "~15.3.2", |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 91 | "react-datepicker": "^0.48.0", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 92 | "react-hot-loader": "^1.3.1", |
| 93 | "rosie": "^1.6.0", |
| 94 | "sass-loader": "^3.2.3", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 95 | "source-map-loader": "^0.1.5", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 96 | "storyshots": "^3.2.2", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 97 | "style-loader": "^0.13.0", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 98 | "svg-sprite-loader": "^0.1.1", |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 99 | "url-loader": "^0.5.7", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 100 | "webpack": "^2.2.1", |
| 101 | "webpack-dev-server": "^2.4.2" |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 102 | }, |
| 103 | "engines": { |
| 104 | "node": ">=5.1", |
| 105 | "npm": ">=3.3" |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 106 | }, |
| 107 | "jest": { |
| 108 | "moduleNameMapper": { |
| 109 | "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test-utils/fileMock.js", |
| 110 | "\\.(css|scss)$": "<rootDir>/test-utils/styleMock.js", |
| 111 | "^nfvo-utils/RestAPIUtil.js$": "<rootDir>/test-utils/MockRest.js", |
az2497 | 644017c | 2017-08-10 17:49:40 +0300 | [diff] [blame] | 112 | "^sdc-ui/lib/react/SVGIcon.js$": "<rootDir>/test-utils/MockSVGIcon.js", |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 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 | } |