diff options
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 133 |
1 files changed, 133 insertions, 0 deletions
diff --git a/package.json b/package.json new file mode 100644 index 0000000..8495da4 --- /dev/null +++ b/package.json @@ -0,0 +1,133 @@ +{ + "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.", + "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" + }, + "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" + }, + "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", + "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", + "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" + }, + "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" + } +} |