Israel Lavi | 1994c98 | 2018-05-21 17:42:00 +0300 | [diff] [blame^] | 1 | { |
| 2 | "name": "sdc-ui", |
| 3 | "version": "1.6.42", |
| 4 | "description": "This project aims to create a unified UI styled components for multiple development teams who work on the same web-based applications.", |
| 5 | "scripts": { |
| 6 | "test": "jest && npm run karma-travis", |
| 7 | "test-dev": "jest --watch", |
| 8 | "test-coverage": "jest --coverage && start coverage/lcov-report/index.html", |
| 9 | "karma-travis": "karma start --single-run --browsers PhantomJS", |
| 10 | "karma-dev": "karma start", |
| 11 | "tslint": "tslint -c tslint.json 'src/**/*.ts'", |
| 12 | "prebuild-clean": "rimraf lib", |
| 13 | "build-demo": "node utils/build-demo.js", |
| 14 | "build-icons": "node utils/create-icon-map.js", |
| 15 | "build-themes": "node-sass --include-path src/style/scss/themes src/style/scss/themes/1802/style.scss css/theme_1802.css", |
| 16 | "build-svg-icons": "node utils/create-svg-icons-map.js", |
| 17 | "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", |
| 18 | "build-react": "babel src/react -d lib/react", |
| 19 | "compile-angular": "ngc -p tsconfig.angular.build-es5.json", |
| 20 | "rollup-angular:module": "rollup -c rollup.angular.module.config.js", |
| 21 | "rollup-angular:umd": "rollup -c rollup.angular.umd.config.js", |
| 22 | "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", |
| 23 | "build-angular": "npm run compile-angular && npm run rollup-angular:module && npm run rollup-angular:umd && npm run rollup-angular:metadata", |
| 24 | "build-style": "npm run build-style-scss && npm run build-style-less", |
| 25 | "build-style-scss": "cp -rf src/style lib/", |
| 26 | "build-style-less": "sass2less --cwd lib/style/scss **/*.scss ../less/{dir}/{name}.less", |
| 27 | "build-pack": "cp -r css lib/ && cp -r assets lib/", |
| 28 | "postbuild-clean": "rimraf build", |
| 29 | "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", |
| 30 | "storybook": "npm run build-common && start-storybook -p 6006", |
| 31 | "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", |
| 32 | "lab": "npm run build-common && ng2-component-lab --config .ng2-component-lab/ng2-component-lab.config.js -- feature", |
| 33 | "build-lab": "set NODE_ENV=build&& ng2-component-lab --config .ng2-component-lab/ng2-component-lab.config.js --build -- feature", |
| 34 | "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" |
| 35 | }, |
| 36 | "repository": { |
| 37 | "type": "git", |
| 38 | "url": "git+https://github.com/onap-sdc/sdc-ui.git" |
| 39 | }, |
| 40 | "author": "", |
| 41 | "bugs": { |
| 42 | "url": "https://github.com/onap-sdc/sdc-ui/issues" |
| 43 | }, |
| 44 | "files": [ |
| 45 | "lib", |
| 46 | "css", |
| 47 | "assets", |
| 48 | "README.md" |
| 49 | ], |
| 50 | "homepage": "https://github.com/onap-sdc/sdc-ui#readme", |
| 51 | "peerDependencies": { |
| 52 | "@angular/core": "^2.4.8" |
| 53 | }, |
| 54 | "devDependencies": { |
| 55 | "@angular/compiler": "~2.4.8", |
| 56 | "@angular/compiler-cli": "~2.4.8", |
| 57 | "@islavi/ng2-component-lab": "^1.0.28", |
| 58 | "@types/jasmine": "2.5.47", |
| 59 | "@types/node": "^7.0.27", |
| 60 | "angular2-router-loader": "^0.3.4", |
| 61 | "angular2-template-loader": "^0.6.2", |
| 62 | "awesome-typescript-loader": "^3.1.3", |
| 63 | "babel-cli": "^6.24.1", |
| 64 | "babel-eslint": "^7.2.3", |
| 65 | "babel-plugin-transform-object-rest-spread": "^6.23.0", |
| 66 | "babel-preset-env": "^1.4.0", |
| 67 | "babel-preset-react": "^6.24.1", |
| 68 | "babel-runtime": "^6.23.0", |
| 69 | "chalk": "1.1.3", |
| 70 | "codelyzer": "3.1.1", |
| 71 | "css-loader": "^0.28.0", |
| 72 | "enzyme": "^2.8.2", |
| 73 | "eslint": "^3.19.0", |
| 74 | "eslint-plugin-import": "^2.2.0", |
| 75 | "eslint-plugin-react": "^7.0.1", |
| 76 | "html-loader": "^0.4.5", |
| 77 | "html-replace-webpack-plugin": "^2.2.6", |
| 78 | "jasmine-core": "~2.5.2", |
| 79 | "jasmine-spec-reporter": "^4.1.1", |
| 80 | "jest": "^20.0.0", |
| 81 | "karma": "~1.5.0", |
| 82 | "karma-chrome-launcher": "^2.2.0", |
| 83 | "karma-coverage": "~1.1.1", |
| 84 | "karma-firefox-launcher": "^1.0.1", |
| 85 | "karma-htmlfile-reporter": "^0.3.5", |
| 86 | "karma-jasmine": "~1.1.0", |
| 87 | "karma-jasmine-html-reporter": "^0.2.2", |
| 88 | "karma-junit-reporter": "^1.2.0", |
| 89 | "karma-phantomjs-launcher": "~1.0.4", |
| 90 | "karma-remap-coverage": "0.1.4", |
| 91 | "karma-sourcemap-loader": "^0.3.7", |
| 92 | "karma-spec-reporter": "0.0.30", |
| 93 | "karma-typescript": "^3.0.8", |
| 94 | "karma-webpack": "2.0.3", |
| 95 | "less-plugin-sass2less": "^1.2.0", |
| 96 | "lite-server": "^2.3.0", |
| 97 | "ncp": "^2.0.0", |
| 98 | "node-sass": "^4.5.3", |
| 99 | "prismjs": "^1.6.0", |
| 100 | "protractor": "5.1.1", |
| 101 | "react-test-renderer": "^15.5.4", |
| 102 | "rimraf": "^2.6.2", |
| 103 | "rollup": "^0.51.8", |
| 104 | "sass-loader": "^6.0.3", |
| 105 | "sorcery": "0.10.0", |
| 106 | "source-map-loader": "0.2.1", |
| 107 | "style-loader": "^0.16.1", |
| 108 | "tslint": "5.9.1", |
| 109 | "tslint-angular": "^1.1.1", |
| 110 | "typescript": "^2.6.1", |
| 111 | "uglify-js": "2.8.29", |
| 112 | "url-parse": "^1.1.9" |
| 113 | }, |
| 114 | "dependencies": { |
| 115 | "@angular/common": "~2.4.8", |
| 116 | "@angular/core": "~2.4.8", |
| 117 | "@angular/forms": "~2.4.8", |
| 118 | "@angular/http": "^2.4.8", |
| 119 | "@angular/platform-browser": "~2.4.8", |
| 120 | "@angular/platform-browser-dynamic": "~2.4.8", |
| 121 | "@angular/router": "~3.2.1", |
| 122 | "@angular/upgrade": "^2.4.8", |
| 123 | "@storybook/react": "^3.1.5", |
| 124 | "http-loader": "0.0.1", |
| 125 | "prop-types": "^15.6.0", |
| 126 | "react": "15.6.2", |
| 127 | "react-dom": "15.6.2", |
| 128 | "reflect-metadata": "^0.1.3", |
| 129 | "rxjs": "5.4.2", |
| 130 | "svg-react-loader": "^0.4.4", |
| 131 | "zone.js": "^0.8.18" |
| 132 | } |
| 133 | } |