aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorIsrael Lavi <il0695@att.com>2018-08-07 10:54:17 +0300
committerIsrael Lavi <il0695@att.com>2018-08-07 11:06:44 +0300
commitb2a3acea0d0f66028c9ce5fad02d4ecc64abf70c (patch)
tree8d70110f34cb845965c42a5915e950bca967d2c3 /package.json
parent05b37297177e8a342668c15e5d6f738b51f7aedd (diff)
Initial commit.
Adding files needed for Linux Foundation. Change-Id: I9f2b4851a5ae01f83800c7f8bab8608a2221c730 Issue-ID: SDC-1608 Signed-off-by: Israel Lavi <il0695@att.com>
Diffstat (limited to 'package.json')
-rw-r--r--package.json201
1 files changed, 77 insertions, 124 deletions
diff --git a/package.json b/package.json
index 8495da4..dea420e 100644
--- a/package.json
+++ b/package.json
@@ -1,133 +1,86 @@
{
- "name": "sdc-ui",
- "version": "1.6.42",
- "description": "This project aims to create a unified UI styled components for multiple development teams who work on the same web-based applications.",
+ "name": "onap-ui-angular",
+ "version": "5.1.17",
+ "author": "d2",
+ "private": false,
+ "main": "dist/index.umd.js",
+ "license": "MIT",
"scripts": {
- "test": "jest && npm run karma-travis",
- "test-dev": "jest --watch",
- "test-coverage": "jest --coverage && start coverage/lcov-report/index.html",
- "karma-travis": "karma start --single-run --browsers PhantomJS",
- "karma-dev": "karma start",
- "tslint": "tslint -c tslint.json 'src/**/*.ts'",
- "prebuild-clean": "rimraf lib",
- "build-demo": "node utils/build-demo.js",
- "build-icons": "node utils/create-icon-map.js",
- "build-themes": "node-sass --include-path src/style/scss/themes src/style/scss/themes/1802/style.scss css/theme_1802.css",
- "build-svg-icons": "node utils/create-svg-icons-map.js",
- "build-common": "npm run build-icons && npm run build-svg-icons && node-sass --include-path src/style/scss src/style/scss/style.scss css/style.css && npm run build-themes",
- "build-react": "babel src/react -d lib/react",
- "compile-angular": "ngc -p tsconfig.angular.build-es5.json",
- "rollup-angular:module": "rollup -c rollup.angular.module.config.js",
- "rollup-angular:umd": "rollup -c rollup.angular.umd.config.js",
- "rollup-angular:metadata": "find build/* -type f -not -name '*.js' -not -name '*.js.*' -exec cp --parents {} lib \\; && cp -rf lib/build/* lib/ && rm -r lib/build",
- "build-angular": "npm run compile-angular && npm run rollup-angular:module && npm run rollup-angular:umd && npm run rollup-angular:metadata",
- "build-style": "npm run build-style-scss && npm run build-style-less",
- "build-style-scss": "cp -rf src/style lib/",
- "build-style-less": "sass2less --cwd lib/style/scss **/*.scss ../less/{dir}/{name}.less",
- "build-pack": "cp -r css lib/ && cp -r assets lib/",
- "postbuild-clean": "rimraf build",
- "build": "npm run prebuild-clean && npm run build-common && npm run build-react && npm run build-angular && npm run build-pack && npm run build-style && npm run postbuild-clean",
- "storybook": "npm run build-common && start-storybook -p 6006",
- "build-storybook": "npm run build-common && build-storybook -c .storybook -o .out/react && ncp utils/index-for-gh-pages.html .out/index.html && ncp utils/main-page.html .out/main-page.html && ncp assets .out/assets",
- "lab": "npm run build-common && ng2-component-lab --config .ng2-component-lab/ng2-component-lab.config.js -- feature",
- "build-lab": "set NODE_ENV=build&& ng2-component-lab --config .ng2-component-lab/ng2-component-lab.config.js --build -- feature",
- "build-gh-pages": "npm run build-storybook && npm run build-lab && ncp utils/index-for-gh-pages.html .out/index.html && ncp utils/main-page.html .out/main-page.html && ncp assets .out/assets"
+ "e2e": "ng e2e --no-webdriver-update",
+ "ng": "ng",
+ "start": "ng serve",
+ "build": "npm run build:pre && npm run build:ngc && npm run build:umd",
+ "build:pre": "rimraf dist",
+ "build:ngc": "node_modules/.bin/ngc -p tsconfig-aot.json",
+ "build:umd": "webpack --config webpack-umd.config.ts --mode production",
+ "build:umd-dev": "webpack --config webpack-umd.config.ts --mode development",
+ "build:scss": "node-sass src/assets/styles/style.scss -o dist",
+ "storybook": "start-storybook -p 6007",
+ "storybook:prebuild": "npm run test:generate-output",
+ "storybook:build": "build-storybook -c .storybook -o .storybook-out ",
+ "lint:src": "npm run tslint 'src/angular/**/*.ts'",
+ "lint:stories": "npm run tslint 'stories/**/*.ts'"
},
- "repository": {
- "type": "git",
- "url": "git+https://github.com/onap-sdc/sdc-ui.git"
- },
- "author": "",
- "bugs": {
- "url": "https://github.com/onap-sdc/sdc-ui/issues"
- },
- "files": [
- "lib",
- "css",
- "assets",
- "README.md"
- ],
- "homepage": "https://github.com/onap-sdc/sdc-ui#readme",
- "peerDependencies": {
- "@angular/core": "^2.4.8"
+ "dependencies": {
+ "@angular/animations": "^6.0.3",
+ "@angular/common": "^6.0.3",
+ "@angular/compiler": "^6.0.3",
+ "@angular/core": "^6.0.3",
+ "@angular/forms": "^6.0.3",
+ "@angular/platform-browser": "^6.0.3",
+ "@angular/platform-browser-dynamic": "^6.0.3",
+ "@angular/upgrade": "^6.0.3",
+ "@ngrx/store": "^6.0.1",
+ "angular-base64-upload": "^0.1.23",
+ "core-js": "^2.5.7",
+ "rxjs": "^6.2.0",
+ "rxjs-compat": "^6.2.0",
+ "zone.js": "^0.8.26"
},
"devDependencies": {
- "@angular/compiler": "~2.4.8",
- "@angular/compiler-cli": "~2.4.8",
- "@islavi/ng2-component-lab": "^1.0.28",
- "@types/jasmine": "2.5.47",
- "@types/node": "^7.0.27",
- "angular2-router-loader": "^0.3.4",
- "angular2-template-loader": "^0.6.2",
+ "@angular-devkit/build-angular": "^0.6.0",
+ "@angular/cli": "^6.0.7",
+ "@angular/compiler-cli": "^6.0.3",
+ "@storybook/addon-actions": "4.0.0-alpha.9",
+ "@storybook/addon-backgrounds": "4.0.0-alpha.9",
+ "@storybook/addon-centered": "4.0.0-alpha.9",
+ "@storybook/addon-jest": "4.0.0-alpha.9",
+ "@storybook/addon-knobs": "4.0.0-alpha.9",
+ "@storybook/addon-links": "4.0.0-alpha.9",
+ "@storybook/addon-notes": "4.0.0-alpha.9",
+ "@storybook/addon-options": "4.0.0-alpha.9",
+ "@storybook/addon-storyshots": "4.0.0-alpha.9",
+ "@storybook/addon-storysource": "4.0.0-alpha.9",
+ "@storybook/addons": "4.0.0-alpha.9",
+ "@storybook/angular": "4.0.0-alpha.9",
+ "@types/jest": "^22.2.3",
+ "@types/node": "~9.6.20",
"awesome-typescript-loader": "^3.1.3",
- "babel-cli": "^6.24.1",
- "babel-eslint": "^7.2.3",
- "babel-plugin-transform-object-rest-spread": "^6.23.0",
- "babel-preset-env": "^1.4.0",
- "babel-preset-react": "^6.24.1",
- "babel-runtime": "^6.23.0",
- "chalk": "1.1.3",
- "codelyzer": "3.1.1",
- "css-loader": "^0.28.0",
- "enzyme": "^2.8.2",
- "eslint": "^3.19.0",
- "eslint-plugin-import": "^2.2.0",
- "eslint-plugin-react": "^7.0.1",
- "html-loader": "^0.4.5",
- "html-replace-webpack-plugin": "^2.2.6",
- "jasmine-core": "~2.5.2",
- "jasmine-spec-reporter": "^4.1.1",
- "jest": "^20.0.0",
- "karma": "~1.5.0",
- "karma-chrome-launcher": "^2.2.0",
- "karma-coverage": "~1.1.1",
- "karma-firefox-launcher": "^1.0.1",
- "karma-htmlfile-reporter": "^0.3.5",
- "karma-jasmine": "~1.1.0",
- "karma-jasmine-html-reporter": "^0.2.2",
- "karma-junit-reporter": "^1.2.0",
- "karma-phantomjs-launcher": "~1.0.4",
- "karma-remap-coverage": "0.1.4",
- "karma-sourcemap-loader": "^0.3.7",
- "karma-spec-reporter": "0.0.30",
- "karma-typescript": "^3.0.8",
- "karma-webpack": "2.0.3",
- "less-plugin-sass2less": "^1.2.0",
- "lite-server": "^2.3.0",
- "ncp": "^2.0.0",
- "node-sass": "^4.5.3",
- "prismjs": "^1.6.0",
- "protractor": "5.1.1",
- "react-test-renderer": "^15.5.4",
+ "babel-core": "^6.26.3",
+ "css-loader": "^0.28.11",
+ "delete": "^1.1.0",
+ "global": "^4.3.2",
+ "node-sass": "^4.9.2",
+ "onap-ui-common": "^1.0.57",
"rimraf": "^2.6.2",
- "rollup": "^0.51.8",
- "sass-loader": "^6.0.3",
- "sorcery": "0.10.0",
- "source-map-loader": "0.2.1",
- "style-loader": "^0.16.1",
- "tslint": "5.9.1",
- "tslint-angular": "^1.1.1",
- "typescript": "^2.6.1",
- "uglify-js": "2.8.29",
- "url-parse": "^1.1.9"
+ "sass-loader": "^7.0.3",
+ "style-loader": "^0.21.0",
+ "ts-loader": "^4.4.2",
+ "ts-node": "7.0.0",
+ "tslint": "^5.2.0",
+ "typescript": "2.7.2",
+ "webpack": "4.12.0",
+ "webpack-angular-externals": "^1.0.2",
+ "webpack-cli": "^3.0.8",
+ "webpack-rxjs-externals": "^1.0.0"
},
- "dependencies": {
- "@angular/common": "~2.4.8",
- "@angular/core": "~2.4.8",
- "@angular/forms": "~2.4.8",
- "@angular/http": "^2.4.8",
- "@angular/platform-browser": "~2.4.8",
- "@angular/platform-browser-dynamic": "~2.4.8",
- "@angular/router": "~3.2.1",
- "@angular/upgrade": "^2.4.8",
- "@storybook/react": "^3.1.5",
- "http-loader": "0.0.1",
- "prop-types": "^15.6.0",
- "react": "15.6.2",
- "react-dom": "15.6.2",
- "reflect-metadata": "^0.1.3",
- "rxjs": "5.4.2",
- "svg-react-loader": "^0.4.4",
- "zone.js": "^0.8.18"
- }
+ "peerDependencies": {
+ "@angular/common": "^6.0.3",
+ "@angular/core": "^6.0.3"
+ },
+ "files": [
+ "dist",
+ "README.md"
+ ],
+ "types": "dist/components/index.d.ts"
}