summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/package.json
diff options
context:
space:
mode:
authorAviZi <avi.ziv@amdocs.com>2017-06-09 02:39:56 +0300
committerAviZi <avi.ziv@amdocs.com>2017-06-09 02:39:56 +0300
commit280f8015d06af1f41a3ef12e8300801c7a5e0d54 (patch)
tree9c1d3978c04cd28068f02073038c936bb49ca9e0 /openecomp-ui/package.json
parentfd3821dad11780d33c5373d74c957c442489945e (diff)
[SDC-29] Amdocs OnBoard 1707 initial commit.
Change-Id: Ie4d12a3f574008b792899b368a0902a8b46b5370 Signed-off-by: AviZi <avi.ziv@amdocs.com>
Diffstat (limited to 'openecomp-ui/package.json')
-rw-r--r--openecomp-ui/package.json113
1 files changed, 71 insertions, 42 deletions
diff --git a/openecomp-ui/package.json b/openecomp-ui/package.json
index 1d9a479e43..8157be8141 100644
--- a/openecomp-ui/package.json
+++ b/openecomp-ui/package.json
@@ -2,101 +2,130 @@
"name": "dox-ui",
"version": "1.0.0",
"description": "",
- "author": "ECOMP",
+ "author": "OPENECOMP",
"license": "SEE LICENSE IN LICENSE",
"scripts": {
- "start": "gulp dev",
+ "start": "gulp dev && webpack-dev-server --progress",
"build": "gulp build",
- "test": "karma start",
- "test-dev": "karma start --auto-watch --no-single-run"
+ "test": "jest",
+ "test-failedTestReport": "jest --json | node test-utils/failedTestReport.js",
+ "test-dev": "jest --watch",
+ "test-coverage": "jest --coverage && start ./coverage/lcov-report/index.html",
+ "storybook": "gulp copy-storybook-resources && start-storybook -p 9090 -c .storybook -s .storybook/resources,.storybook/fonts",
+ "storyshots": "jest storyshots.test.js",
+ "build-storybook": "build-storybook -c .storybook -o .storybook-dist && gulp copy-storybook-fonts && gulp copy-storybook-resources-prod"
},
"dependencies": {
"classnames": "^2.2.5",
"core-js": "^2.4.0",
"dox-sequence-diagram-ui": "file:../dox-sequence-diagram-ui",
- "history": "^1.13.1",
- "immutable": "^3.7.5",
"intl": "^1.0.1",
"intl-format-cache": "^2.0.5",
"intl-messageformat": "^1.2.0",
"intl-relativeformat": "^1.2.0",
- "jquery": "^2.2.2",
+ "jquery": "^2.1.4",
"lodash": "^4.13.1",
"md5": "^2.1.0",
- "react": "~15.3.0",
- "react-bootstrap": "^0.28.1",
- "react-dom": "~15.3.0",
- "react-dropzone": "3.4.0",
- "react-fontawesome": "^0.3.3",
+ "randomstring": "^1.1.5",
+ "react": "~15.3.2",
+ "react-bootstrap": "^0.30.1",
+ "react-dom": "~15.3.2",
+ "react-dropzone": "3.7.3",
"react-redux": "^4.4.1",
"react-select": "^1.0.0-beta13",
+ "react-sortable": "^1.2.0",
"redux": "^3.3.1",
+ "restful-js": "^0.7.0",
"uuid-js": "^0.7.5",
"validator": "^4.3.0"
},
"devDependencies": {
- "babel-core": "^6.9.1",
- "babel-eslint": "^6.0.2",
- "babel-loader": "^6.2.4",
+ "@kadira/storybook": "^2.35.3",
+ "@kadira/storybook-addon-knobs": "^1.7.1",
+ "@kadira/storybook-addon-options": "^1.0.2",
+ "babel-core": "^6.24.0",
+ "babel-eslint": "^7.2.1",
+ "babel-jest": "^19.0.0",
+ "babel-loader": "^7.0.0-beta.1",
"babel-plugin-transform-class-properties": "^6.10.2",
"babel-plugin-transform-es2015-destructuring": "^6.9.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.10.3",
"babel-plugin-transform-es2015-spread": "^6.8.0",
"babel-plugin-transform-object-rest-spread": "^6.8.0",
- "babel-preset-es2015": "^6.9.0",
- "babel-preset-react": "^6.5.0",
- "babel-preset-stage-0": "^6.5.0",
- "chai": "^3.5.0",
+ "babel-plugin-transform-runtime": "^6.22.0",
+ "babel-preset-es2015": "^6.24.0",
+ "babel-preset-react": "^6.23.0",
+ "babel-preset-stage-0": "^6.22.0",
"css-loader": "^0.23.1",
"deep-freeze": "0.0.1",
+ "enzyme": "^2.7.1",
"eslint-loader": "^1.3.0",
"eslint-plugin-import": "^0.8.1",
"eslint-plugin-react": "^3.14.0",
- "expect": "^1.20.1",
"express": "^4.13.3",
"file-loader": "^0.8.5",
"gulp": "^3.9.1",
"gulp-clean": "^0.3.1",
"gulp-css-usage": "^2.0.0",
"gulp-helpers": "^5.0.0",
- "gulp-jsx-coverage": "^0.3.8",
"gulp-rename": "^1.2.2",
"gulp-replace": "^0.5.4",
+ "gulp-util": "^3.0.8",
"html-loader": "^0.4.3",
"http-proxy-middleware": "^0.8.2",
"ignore-loader": "^0.1.1",
- "isparta": "^4.0.0",
- "isparta-loader": "^2.0.0",
- "istanbul": "^1.0.0-alpha.2",
- "istanbul-instrumenter-loader": "^0.2.0",
- "jsdom": "^8.3.0",
+ "jasmine-core": "^2.5.2",
+ "jest": "^19.0.2",
+ "jshint": "^2.9.4",
"json-loader": "^0.5.4",
"jsx-loader": "^0.13.2",
- "karma": "^0.13.22",
- "karma-chai": "^0.1.0",
- "karma-chrome-launcher": "^1.0.1",
- "karma-cli": "^1.0.0",
- "karma-coverage": "^1.0.0",
- "karma-firefox-launcher": "^1.0.0",
- "karma-mocha": "^1.0.1",
- "karma-sourcemap-loader": "^0.3.7",
- "karma-webpack": "^1.7.0",
"mkdirp": "^0.5.1",
- "mocha": "^2.4.5",
"node-watch": "^0.3.5",
"prompt": "^0.2.14",
- "react-addons-test-utils": "~15.3.0",
- "react-hot-loader": "^1.3.0",
- "sass-loader": "^3.1.2",
- "sinon": "^1.17.3",
+ "react-addons-test-utils": "~15.3.2",
+ "react-hot-loader": "^1.3.1",
+ "rosie": "^1.6.0",
+ "sass-loader": "^3.2.3",
"source-map-loader": "^0.1.5",
+ "storyshots": "^3.2.2",
"style-loader": "^0.13.0",
+ "svg-sprite-loader": "^0.1.1",
"url-loader": "^0.5.7",
- "webpack": "^1.13.1",
- "webpack-dev-server": "^1.14.1"
+ "webpack": "^2.2.1",
+ "webpack-dev-server": "^2.4.2"
},
"engines": {
"node": ">=5.1",
"npm": ">=3.3"
+ },
+ "jest": {
+ "moduleNameMapper": {
+ "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test-utils/fileMock.js",
+ "\\.(css|scss)$": "<rootDir>/test-utils/styleMock.js",
+ "^nfvo-utils/RestAPIUtil.js$": "<rootDir>/test-utils/MockRest.js",
+ "^nfvo-utils(.*)$": "<rootDir>/src/nfvo-utils$1",
+ "^nfvo-components(.*)$": "<rootDir>/src/nfvo-components$1",
+ "^sdc-app(.*)$": "<rootDir>/src/sdc-app$1",
+ "^test-utils(.*)$": "<rootDir>/test-utils$1",
+ "^i18nJson$": "<rootDir>/src/nfvo-utils/i18n/locale.json",
+ "^src(.*)$": "<rootDir>/src$1"
+ },
+ "globals": {
+ "DEBUG": false
+ },
+ "setupFiles": [
+ "<rootDir>/test-utils/test-env-setup.js"
+ ],
+ "setupTestFrameworkScriptFile": "<rootDir>/test-utils/test-setup.js",
+ "testPathIgnorePatterns": [
+ "<rootDir>/node_modules/",
+ "<rootDir>/test/nfvo-components/storyshots.test.js"
+ ],
+ "collectCoverageFrom": [
+ "src/**/*.{js,jsx}"
+ ],
+ "coverageReporters": [
+ "lcov"
+ ]
}
}