update related package.json files

This commit is contained in:
Steven Zou 2017-06-19 12:35:56 +08:00
parent 44e208f027
commit ef4581449f
3 changed files with 166 additions and 165 deletions

View File

@ -1,74 +1,74 @@
{ {
"name": "harbor-ui", "name": "harbor-ui",
"version": "0.1.0", "version": "0.1.0",
"description": "Harbor shared UI components based on Clarity and Angular4", "description": "Harbor shared UI components based on Clarity and Angular4",
"scripts": { "scripts": {
"start": "ng serve --host 0.0.0.0 --port 4500 --proxy-config proxy.config.json", "start": "ng serve --host 0.0.0.0 --port 4500 --proxy-config proxy.config.json",
"lint": "tslint \"src/**/*.ts\"", "lint": "tslint \"src/**/*.ts\"",
"test": "ng test --single-run", "test": "ng test --single-run",
"test:once": "karma start karma.conf.js --single-run", "test:once": "karma start karma.conf.js --single-run",
"pree2e": "webdriver-manager update", "pree2e": "webdriver-manager update",
"e2e": "protractor", "e2e": "protractor",
"cleanup": "rimraf dist", "cleanup": "rimraf dist",
"copy": "copyfiles -f README.md LICENSE AUTHORS pkg/package.json dist", "copy": "copyfiles -f README.md LICENSE AUTHORS pkg/package.json dist",
"transpile": "ngc -p tsconfig.json", "transpile": "ngc -p tsconfig.json",
"package": "rollup -c", "package": "rollup -c",
"minify": "uglifyjs dist/bundles/harborui.umd.js --screw-ie8 --compress --mangle --comments --output dist/bundles/harborui.umd.min.js", "minify": "uglifyjs dist/bundles/harborui.umd.js --screw-ie8 --compress --mangle --comments --output dist/bundles/harborui.umd.min.js",
"build": "npm run cleanup && npm run transpile && npm run package && npm run minify && npm run copy" "build": "npm run cleanup && npm run transpile && npm run package && npm run minify && npm run copy"
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^4.1.0", "@angular/animations": "^4.1.3",
"@angular/common": "^4.1.0", "@angular/common": "^4.1.3",
"@angular/compiler": "^4.1.0", "@angular/compiler": "^4.1.3",
"@angular/core": "^4.1.0", "@angular/core": "^4.1.3",
"@angular/forms": "^4.1.0", "@angular/forms": "^4.1.3",
"@angular/http": "^4.1.0", "@angular/http": "^4.1.3",
"@angular/platform-browser": "^4.1.0", "@angular/platform-browser": "^4.1.3",
"@angular/platform-browser-dynamic": "^4.1.0", "@angular/platform-browser-dynamic": "^4.1.3",
"@angular/router": "^4.1.0", "@angular/router": "^4.1.3",
"@ngx-translate/core": "^6.0.0", "@ngx-translate/core": "^6.0.0",
"@ngx-translate/http-loader": "0.0.3", "@ngx-translate/http-loader": "0.0.3",
"@webcomponents/custom-elements": "1.0.0-alpha.3", "@webcomponents/custom-elements": "1.0.0-alpha.3",
"clarity-angular": "^0.9.7", "clarity-angular": "^0.9.7",
"clarity-icons": "^0.9.7", "clarity-icons": "^0.9.7",
"clarity-ui": "^0.9.7", "clarity-ui": "^0.9.7",
"core-js": "^2.4.1", "core-js": "^2.4.1",
"intl": "^1.2.5", "intl": "^1.2.5",
"mutationobserver-shim": "^0.3.2", "mutationobserver-shim": "^0.3.2",
"ngx-clipboard": "^8.0.2", "ngx-clipboard": "^8.0.2",
"ngx-cookie": "^1.0.0", "ngx-cookie": "^1.0.0",
"rxjs": "^5.0.1", "rxjs": "^5.0.1",
"ts-helpers": "^1.1.1", "ts-helpers": "^1.1.1",
"web-animations-js": "^2.2.1", "web-animations-js": "^2.2.1",
"zone.js": "^0.8.4" "zone.js": "^0.8.4"
}, },
"devDependencies": { "devDependencies": {
"@angular/cli": "^1.0.0", "@angular/cli": "^1.0.0",
"@angular/compiler-cli": "^4.0.1", "@angular/compiler-cli": "^4.0.1",
"@types/core-js": "^0.9.41", "@types/core-js": "^0.9.41",
"@types/jasmine": "~2.2.30", "@types/jasmine": "~2.2.30",
"@types/node": "^6.0.42", "@types/node": "^6.0.42",
"bootstrap": "4.0.0-alpha.5", "bootstrap": "4.0.0-alpha.5",
"codelyzer": "~2.0.0-beta.4", "codelyzer": "~2.0.0-beta.4",
"enhanced-resolve": "^3.0.0", "enhanced-resolve": "^3.0.0",
"jasmine-core": "2.4.1", "jasmine-core": "2.4.1",
"jasmine-spec-reporter": "2.5.0", "jasmine-spec-reporter": "2.5.0",
"karma": "1.2.0", "karma": "1.2.0",
"karma-cli": "^1.0.1", "karma-cli": "^1.0.1",
"karma-jasmine": "^1.0.2", "karma-jasmine": "^1.0.2",
"karma-mocha-reporter": "^2.2.1", "karma-mocha-reporter": "^2.2.1",
"karma-phantomjs-launcher": "^1.0.0", "karma-phantomjs-launcher": "^1.0.0",
"karma-remap-istanbul": "^0.2.1", "karma-remap-istanbul": "^0.2.1",
"protractor": "^4.0.9", "protractor": "^4.0.9",
"rollup": "^0.41.6", "rollup": "^0.41.6",
"ts-node": "1.2.1", "ts-node": "1.2.1",
"tslint": "^4.1.1", "tslint": "^4.1.1",
"typescript": "~2.2.0", "typescript": "~2.2.0",
"typings": "^1.4.0", "typings": "^1.4.0",
"uglify-js": "^2.8.22", "uglify-js": "^2.8.22",
"webdriver-manager": "10.2.5", "webdriver-manager": "10.2.5",
"rimraf": "^2.6.1", "rimraf": "^2.6.1",
"copyfiles": "^1.2.0" "copyfiles": "^1.2.0"
} }
} }

View File

@ -19,27 +19,29 @@
}, },
"homepage": "https://github.com/vmware/harbor#readme", "homepage": "https://github.com/vmware/harbor#readme",
"peerDependencies": { "peerDependencies": {
"@angular/animations": "^4.0.1", "@angular/animations": "^4.1.3",
"@angular/common": "^4.0.1", "@angular/common": "^4.1.3",
"@angular/compiler": "^4.0.1", "@angular/compiler": "^4.1.3",
"@angular/core": "^4.0.1", "@angular/core": "^4.1.3",
"@angular/forms": "^4.0.1", "@angular/forms": "^4.1.3",
"@angular/http": "^4.0.1", "@angular/http": "^4.1.3",
"@angular/platform-browser": "^4.0.1", "@angular/platform-browser": "^4.1.3",
"@angular/platform-browser-dynamic": "^4.0.1", "@angular/platform-browser-dynamic": "^4.1.3",
"@angular/router": "^4.0.1", "@angular/router": "^4.1.3",
"@webcomponents/custom-elements": "1.0.0-alpha.3",
"web-animations-js": "^2.2.1",
"clarity-angular": "^0.9.0",
"clarity-icons": "^0.9.0",
"clarity-ui": "^0.9.0",
"core-js": "^2.4.1",
"rxjs": "^5.0.1",
"ts-helpers": "^1.1.1",
"zone.js": "^0.8.4",
"mutationobserver-shim": "^0.3.2",
"@ngx-translate/core": "^6.0.0", "@ngx-translate/core": "^6.0.0",
"@ngx-translate/http-loader": "0.0.3", "@ngx-translate/http-loader": "0.0.3",
"ngx-cookie": "^1.0.0" "@webcomponents/custom-elements": "1.0.0-alpha.3",
"clarity-angular": "^0.9.7",
"clarity-icons": "^0.9.7",
"clarity-ui": "^0.9.7",
"core-js": "^2.4.1",
"intl": "^1.2.5",
"mutationobserver-shim": "^0.3.2",
"ngx-clipboard": "^8.0.2",
"ngx-cookie": "^1.0.0",
"rxjs": "^5.0.1",
"ts-helpers": "^1.1.1",
"web-animations-js": "^2.2.1",
"zone.js": "^0.8.4"
} }
} }

View File

@ -1,73 +1,72 @@
{ {
"name": "harbor", "name": "harbor",
"version": "1.1.0", "version": "1.1.0",
"description": "Harbor UI with Clarity", "description": "Harbor UI with Clarity",
"angular-cli": {}, "angular-cli": {},
"scripts": { "scripts": {
"start": "ng serve --ssl 1 --ssl-key ssl/server.key --ssl-cert ssl/server.crt --host 0.0.0.0 --proxy-config proxy.config.json", "start": "ng serve --ssl 1 --ssl-key ssl/server.key --ssl-cert ssl/server.crt --host 0.0.0.0 --proxy-config proxy.config.json",
"lint": "tslint \"src/**/*.ts\"", "lint": "tslint \"src/**/*.ts\"",
"test": "ng test --single-run", "test": "ng test --single-run",
"pree2e": "webdriver-manager update", "pree2e": "webdriver-manager update",
"e2e": "protractor", "e2e": "protractor",
"build": "ngc -p tsconfig-aot.json" "build": "ngc -p tsconfig-aot.json"
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^4.0.1", "@angular/animations": "^4.1.3",
"@angular/common": "^4.0.1", "@angular/common": "^4.1.3",
"@angular/compiler": "^4.0.1", "@angular/compiler": "^4.1.3",
"@angular/compiler-cli": "^4.0.2", "@angular/compiler-cli": "^4.0.2",
"@angular/core": "^4.0.1", "@angular/core": "^4.1.3",
"@angular/forms": "^4.0.1", "@angular/forms": "^4.1.3",
"@angular/http": "^4.0.1", "@angular/http": "^4.1.3",
"@angular/platform-browser": "^4.0.1", "@angular/platform-browser": "^4.1.3",
"@angular/platform-browser-dynamic": "^4.0.1", "@angular/platform-browser-dynamic": "^4.1.3",
"@angular/platform-server": "^4.0.2", "@angular/router": "^4.1.3",
"@angular/router": "^4.0.1", "@ngx-translate/core": "^6.0.0",
"@ngx-translate/core": "^6.0.0", "@ngx-translate/http-loader": "0.0.3",
"@ngx-translate/http-loader": "0.0.3", "@types/jquery": "^2.0.41",
"@types/jquery": "^2.0.41", "@webcomponents/custom-elements": "1.0.0-alpha.3",
"@webcomponents/custom-elements": "1.0.0-alpha.3", "clarity-angular": "^0.9.7",
"clarity-angular": "^0.9.0", "clarity-icons": "^0.9.7",
"clarity-icons": "^0.9.0", "clarity-ui": "^0.9.7",
"clarity-ui": "^0.9.0", "core-js": "^2.4.1",
"core-js": "^2.4.1", "harbor-ui": "^0.1.85",
"harbor-ui": "^0.1.85", "intl": "^1.2.5",
"intl": "^1.2.5", "mutationobserver-shim": "^0.3.2",
"mutationobserver-shim": "^0.3.2", "ngx-clipboard": "^8.0.2",
"ngx-clipboard": "^8.0.2", "ngx-cookie": "^1.0.0",
"ngx-cookie": "^1.0.0", "rxjs": "^5.0.1",
"rxjs": "^5.0.1", "ts-helpers": "^1.1.1",
"ts-helpers": "^1.1.1", "web-animations-js": "^2.2.1",
"web-animations-js": "^2.2.1", "zone.js": "^0.8.4"
"zone.js": "^0.8.4" },
}, "devDependencies": {
"devDependencies": { "@angular/cli": "^1.0.0",
"@angular/cli": "^1.0.0", "@angular/compiler-cli": "^4.0.2",
"@angular/compiler-cli": "^4.0.1", "@types/core-js": "^0.9.34",
"@types/core-js": "^0.9.34", "@types/jasmine": "~2.2.30",
"@types/jasmine": "~2.2.30", "@types/node": "^6.0.42",
"@types/node": "^6.0.42", "bootstrap": "4.0.0-alpha.5",
"bootstrap": "4.0.0-alpha.5", "codelyzer": "~2.0.0-beta.4",
"codelyzer": "~2.0.0-beta.4", "enhanced-resolve": "^3.0.0",
"enhanced-resolve": "^3.0.0", "jasmine-core": "2.4.1",
"jasmine-core": "2.4.1", "jasmine-spec-reporter": "2.5.0",
"jasmine-spec-reporter": "2.5.0", "karma": "1.2.0",
"karma": "1.2.0", "karma-cli": "^1.0.1",
"karma-cli": "^1.0.1", "karma-jasmine": "^1.0.2",
"karma-jasmine": "^1.0.2", "karma-mocha-reporter": "^2.2.1",
"karma-mocha-reporter": "^2.2.1", "karma-phantomjs-launcher": "^1.0.0",
"karma-phantomjs-launcher": "^1.0.0", "karma-remap-istanbul": "^0.2.1",
"karma-remap-istanbul": "^0.2.1", "protractor": "4.0.9",
"protractor": "4.0.9", "rollup": "^0.41.6",
"rollup": "^0.41.6", "rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-commonjs": "^8.0.2", "rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-node-resolve": "^3.0.0", "rollup-plugin-uglify": "^1.0.1",
"rollup-plugin-uglify": "^1.0.1", "ts-node": "1.2.1",
"ts-node": "1.2.1", "tslint": "^4.1.1",
"tslint": "^4.1.1", "typescript": "~2.2.0",
"typescript": "~2.2.0", "typings": "^1.4.0",
"typings": "^1.4.0", "webdriver-manager": "10.2.5"
"webdriver-manager": "10.2.5" }
} }
}