Skip to content

Commit

Permalink
Fixed github publication
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardcarbo committed Oct 14, 2022
1 parent b3e57fb commit e007c33
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/virtual-repeat-angular-lib-app",
"baseHref": "/virtual-repeat-angular/",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
Expand Down Expand Up @@ -91,6 +92,9 @@
"src/assets"
]
}
},
"deploy": {
"builder": "angular-cli-ghpages:deploy"
}
}
},
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@
"npm_pack": "cp README.md dist/virtual-repeat-angular-lib && cd dist/virtual-repeat-angular-lib && npm pack && cp *.tgz ../releases/",
"npm_build_and_package": "npm run build_lib && npm run npm_pack",
"npm_publish": "npm publish dist/virtual-repeat-angular-lib/virtual-repeat-angular-0.4.15.tgz",
"ngh_publish": "ng build --configuration production --base-href https://gerardcarbo.github.io/virtual-repeat-angular/ && ngh --dir dist/virtual-repeat-angular-lib-app",
"github_publish": "ng deploy virtual-repeat-angular-lib-app",
"git_push": "git push origin master",
"git_push_force": "git push -f origin master",
"git_ammend": "git commit --amend --all --no-edit",
"git_pull": "git pull --rebase origin",
"install_ngh": "npm install -g angular-cli-ghpages",
"install_http-server": "npm install -g http-server",
"install_ngh": "ng add angular-cli-ghpages --project virtual-repeat-angular-lib-app",
"test": "ng test"
},
"private": true,
Expand All @@ -44,7 +43,9 @@
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.8",
"@types/node": "^13.7.0",
"angular-cli-ghpages": "^1.0.3",
"codelyzer": "^6.0.0",
"http-server": "^14.1.1",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~6.4.1",
Expand All @@ -56,7 +57,6 @@
"protractor": "~7.0.0",
"ts-node": "~8.6.2",
"tslint": "~6.1.0",
"typescript": "^4.0.8",
"http-server": "^14.1.1"
"typescript": "^4.0.8"
}
}

0 comments on commit e007c33

Please sign in to comment.