Component&StyleLibraryforAngularbySwimlane.
Installingnpmi@swimlane/ngx-ui--SInstalltheproject'speerdepencencies(moment,codemirror)AddNgxUIModuletoyourapplicationmoduleBuildingngx-uiRunnpmrunbuild:libtobuildngx-ui.Thismustbedonepriortobuildingthedemo.
DevelopmentserverRunnpmrunstarttoservethedemoathttps://localhost:4200/.Theappwillautomaticallyreloadifyouchangeanyofthesourcefiles.
BuildingRunngbuildtobuildtheproject.Thebuildartifactswillbestoredinthedist/directory.
RunningtestsRunnpmruntesttoexecuteunittestsRunngcypresstoexecutetheend-to-endtestsviaCypress.ReleaseCheckoutmaster(gitcheckoutmaster)Pullmaster(gitpull)Refreshnodemodules(npmci)Runtests(npmtest)Examinelogtodeterminenextversion(X.Y.Z)Rungitcheckout-brelease/X.Y.ZUpdateversioninprojects/swimlane/ngx-ui/package.json.Updatechangeloginprojects/swimlane/ngx-ui/CHANGELOG.mdRungitcommit-am"(release):X.Y.Z"RungittagX.Y.ZRungitpushoriginHEAD--tagsRunnpmrunpublish:libSubmitPR
评论