aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/package.json')
-rw-r--r--catalog-ui/package.json231
1 files changed, 136 insertions, 95 deletions
diff --git a/catalog-ui/package.json b/catalog-ui/package.json
index e64165ddf2..1625802dce 100644
--- a/catalog-ui/package.json
+++ b/catalog-ui/package.json
@@ -10,118 +10,159 @@
},
"scripts": {
"designer": "npm start -- --env.role designer",
- "tester": "npm start -- --env.role tester",
- "ops": "npm start -- --env.role ops",
- "governor": "npm start -- --env.role governor",
"admin": "npm start -- --env.role admin",
"start": "webpack-dev-server",
- "build": "webpack --config webpack.config.js",
- "build:prod": "webpack --config webpack.production.js",
+ "build": "npm run test && webpack --config webpack.config.js",
+ "build:prod": "npm run test && webpack --config webpack.production.js",
"lint": "ng lint",
- "pree2e": "webdriver-manager update --standalone false --gecko false --quiet"
+ "pree2e": "webdriver-manager update --standalone false --gecko false --quiet",
+ "test": "jest",
+ "test:watch": "jest --watch",
+ "cypress": "cypress run",
+ "cypress-headless": "start-server-and-test start http-get://localhost:9000 cypress"
+ },
+ "jest": {
+ "preset": "jest-preset-angular",
+ "collectCoverageFrom": [
+ "src/app/ng2/pages/composition/**/*.ts"
+ ],
+ "setupTestFrameworkScriptFile": "<rootDir>/src/jest/setup-jest.ts",
+ "transformIgnorePatterns": [
+ "node_modules/(?!onap-ui-angular)"
+ ],
+ "verbose": true,
+ "roots": [
+ "<rootDir>/src/app/"
+ ],
+ "testEnvironment": "jsdom",
+ "testURL": "http://localhost/",
+ "transform": {
+ "^.+\\.(ts|html)$": "<rootDir>/node_modules/jest-preset-angular/preprocessor.js",
+ "^.+\\.js$": "babel-jest"
+ }
},
"devDependencies": {
- "@angular/compiler": "2.4.10",
- "@angular/compiler-cli": "2.4.10",
- "apache-server-configs": "2.7.1",
- "autoprefixer": "6.5.3",
- "copy-webpack-plugin": "4.0.1",
+ "@types/jest": "^21.1.2",
+ "apache-server-configs": "^2.7.1",
+ "autoprefixer": "^6.5.3",
+ "copy-webpack-plugin": "^4.0.1",
"cors": "2.7.1",
- "css-loader": "0.26.1",
- "exports-loader": "0.6.3",
- "express": "4.14.0",
- "extract-text-webpack-plugin": "2.1.0",
- "file-loader": "0.10.0",
- "html-loader": "0.4.5",
- "html-webpack-plugin": "2.28.0",
- "http-proxy-middleware": "0.14.0",
+ "css-loader": "^0.26.1",
+ "cypress": "^3.8.0",
+ "exports-loader": "^0.6.3",
+ "express": "^4.14.0",
+ "extract-text-webpack-plugin": "^2.1.0",
+ "file-loader": "^0.10.0",
+ "html-loader": "^0.4.5",
+ "html-webpack-plugin": "^2.28.0",
+ "http-proxy-middleware": "^0.14.0",
+ "jest": "^23.1.0",
+ "jest-dom": "^1.3.1",
+ "jest-preset-angular": "^5.2.2",
"jshint-stylish": "2.2.1",
- "json-loader": "0.5.4",
- "less": "3.0.1",
- "less-loader": "4.1.0",
+ "json-loader": "^0.5.4",
"load-grunt-tasks": "3.5.2",
- "postcss-loader": "0.13.0",
- "postcss-url": "5.1.2",
- "raw-loader": "0.5.1",
- "sass-loader": "4.1.1",
- "script-loader": "0.7.0",
- "sdc-ui": "1.6.42",
- "source-map-loader": "0.1.5",
- "style-loader": "0.13.1",
- "url-loader": "0.5.7",
- "webpack-dev-middleware": "1.10.1",
- "webpack-dev-server": "~2.3.0"
- },
- "engines": {
- "node": ">=6.9.4"
+ "onap-ui-common": "1.0.101",
+ "postcss-loader": "^0.13.0",
+ "postcss-url": "^5.1.2",
+ "raw-loader": "^0.5.1",
+ "sass-loader": "^4.1.1",
+ "script-loader": "^0.7.0",
+ "source-map-loader": "^0.1.5",
+ "start-server-and-test": "^1.9.1",
+ "style-loader": "^0.13.1",
+ "uglifyjs-webpack-plugin": "^1.3.0",
+ "url-loader": "^0.5.7",
+ "webpack-dev-middleware": "^1.10.1"
},
+ "engines": {},
"dependencies": {
- "@angular/cli": "1.7.3",
- "@angular/common": "2.4.10",
- "@angular/core": "2.4.10",
- "@angular/forms": "2.4.10",
- "@angular/http": "2.4.10",
- "@angular/platform-browser": "2.4.10",
- "@angular/platform-browser-dynamic": "2.4.10",
- "@angular/router": "3.4.8",
- "@angular/upgrade": "2.4.10",
- "@bardit/cytoscape-expand-collapse": "2.0.3",
- "@bardit/cytoscape-qtip": "2.5.1",
- "@swimlane/ngx-datatable": "^6.3.0",
- "@types/core-js": "0.9.46",
- "@types/js-md5": "0.4.2",
+ "@angular/animations": "^5.0.0",
+ "@angular/cli": "^1.0.0",
+ "@angular/common": "^5.0.0",
+ "@angular/compiler": "^5.0.0",
+ "@angular/compiler-cli": "^5.0.0",
+ "@angular/core": "^5.0.0",
+ "@angular/forms": "^5.0.0",
+ "@angular/http": "^5.0.0",
+ "@angular/platform-browser": "^5.0.0",
+ "@angular/platform-browser-dynamic": "^5.0.0",
+ "@angular/platform-server": "^5.0.0",
+ "@angular/router": "^5.0.0",
+ "@angular/upgrade": "^5.0.0",
+ "@bardit/cytoscape-expand-collapse": "^2.0.3",
+ "@bardit/cytoscape-qtip": "^2.5.1",
+ "@ngrx/core": "^1.2.0",
+ "@ngrx/effects": "^5.2.0",
+ "@ngrx/store": "^5.0.0",
+ "@ngxs/devtools-plugin": "3.3.4",
+ "@ngxs/logger-plugin": "3.3.4",
+ "@ngxs/store": "^2.1.0-dev.d538580",
+ "@swimlane/ngx-datatable": "^14.0.0",
+ "@types/core-js": "^0.9.35",
+ "@types/es6-promise": "^3.3.0",
+ "@types/jquery": "^2.0.52",
+ "@types/js-md5": "^0.4.0",
"@types/lodash": "4.14.85",
- "@types/node": "7.0.55",
+ "@types/node": "^7.0.5",
"@types/q": "0.0.32",
- "angular": "1.6.10",
- "angular-base64": "2.0.5",
- "angular-base64-upload": "0.1.23",
- "angular-clipboard": "1.6.2",
- "angular-filter": "0.5.17",
- "angular-resizable": "1.2.0",
+ "angular": "^1.6.2",
+ "angular-base64": "^2.0.5",
+ "angular-base64-upload": "^0.1.19",
+ "angular-clipboard": "^1.5.0",
+ "angular-filter": "^0.5.15",
+ "angular-resizable": "^1.2.0",
"angular-resource": "1.5.11",
- "angular-sanitize": "1.6.9",
+ "angular-sanitize": "^1.4.4",
"angular-tooltips": "0.1.23",
- "angular-translate": "2.17.0",
- "angular-translate-loader-static-files": "2.15.1",
+ "angular-translate": "^2.15.1",
+ "angular-translate-loader-static-files": "^2.15.1",
"angular-ui-bootstrap": "1.3.3",
- "angular-ui-notification": "0.3.6",
- "angular-ui-router": "0.4.3",
- "angular-uuid4": "0.3.1",
+ "angular-ui-notification": "^0.3.6",
+ "angular-ui-router": "^0.4.2",
+ "angular-uuid4": "^0.3.1",
"angular2-draggable": "1.1.0",
- "angular2-uuid": "1.1.1",
- "animate.css": "3.6.1",
- "awesome-typescript-loader": "3.0.8",
- "babel-core": "6.26.0",
- "babel-loader": "6.4.1",
- "bootstrap": "3.3.7",
- "checklist-model": "0.11.0",
- "class-transformer": "0.1.6",
- "clean-webpack-plugin": "0.1.16",
+ "angular2-uuid": "^1.1.1",
+ "animate.css": "^3.5.2",
+ "awesome-typescript-loader": "^3.0.8",
+ "babel-core": "^6.23.1",
+ "babel-loader": "^6.3.2",
+ "babel-preset-env": "^1.7.0",
+ "bootstrap": "^3.3.7",
+ "checklist-model": "^0.11.0",
+ "class-transformer": "^0.1.6",
+ "clean-webpack-plugin": "^0.1.16",
"compression": "1.7.1",
- "compression-webpack-plugin": "0.4.0",
- "core-js": "2.4.1",
- "cytoscape": "2.7.15",
- "cytoscape.js-undo-redo": "1.0.1",
- "jquery": "2.2.4",
- "jqueryui": "1.11.1",
- "js-md5": "0.4.2",
- "lodash": "4.17.2",
- "ng-infinite-scroll": "1.3.0",
- "perfect-scrollbar": "0.6.16",
- "qtip2": "3.0.3",
- "reflect-metadata": "0.1.10",
- "restangular": "1.6.1",
- "rxjs": "5.4.2",
- "sdc-angular-dragdrop": "1.0.14",
- "sdc-pubsub": "1.0.30",
+ "compression-webpack-plugin": "1.0.0",
+ "core-js": "^2.4.1",
+ "cytoscape": "^2.7.15",
+ "cytoscape.js-undo-redo": "^1.0.1",
+ "grunt": "^0.4.0",
+ "jquery": "^2.2.4",
+ "jqueryui": "^1.11.1",
+ "js-md5": "^0.4.2",
+ "less": "~3.9.0",
+ "less-loader": "^4.1.0",
+ "lodash": "^4.17.2",
+ "ng-infinite-scroll": "^1.3.0",
+ "ngx-drag-drop": "v2.0.0-rc.4",
+ "onap-ui-angular": "5.2.5",
+ "perfect-scrollbar": "^0.6.16",
+ "qtip2": "^3.0.3",
+ "reflect-metadata": "^0.1.10",
+ "restangular": "^1.6.1",
+ "rxjs": "6.2.2",
+ "rxjs-compat": "6.2.0",
+ "sdc-angular-dragdrop": "^1.0.14",
+ "sdc-pubsub": "^1.0.30",
+ "ts-mockery": "^1.1.0",
+ "tslint": "^5.12.1",
"typescript": "2.4.2",
- "typings": "2.1.0",
- "underscore": "1.8.3",
- "webpack": "2.2.1",
- "webpack-bundle-analyzer": "2.8.2",
- "webpack-dev-server": "2.4.1",
- "webpack-merge": "4.0.0",
- "zone.js": "0.7.8"
+ "underscore": "^1.8.3",
+ "webpack": "^2.2.1",
+ "webpack-bundle-analyzer": "^2.8.2",
+ "webpack-dev-server": "^2.4.1",
+ "webpack-merge": "^4.0.0",
+ "zone.js": "0.8.5"
}
}