Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ghpages): add auto-generated ghpages #193

Merged
merged 3 commits into from
Apr 6, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .angular-cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"root": "src",
"outDir": "dist",
"assets": [
"assets",
"assets/favicon",
"assets/icons",
"assets/locale",
"contexts"
],
"index": "index.html",
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"preversion": "npm run tests.all && npm run clean && npm run build.prod",
"version": "npm run changelog && git add -A CHANGELOG.md",
"postversion": "git push && git push --tags && rimraf igo2.zip && cd ./dist/prod/ && zip -r ../igo2.zip ./*"
"postversion": "git push && git push --tags && rimraf igo2.zip && cd ./dist/prod/ && zip -r ../igo2.zip ./* && npm run ghpages",
"preghpages": "npm run build.prod -- --output-path ./dist/ghpages --bh /igo2/ && echo \"include: ['_default.json', '_contexts.json']\" > dist/ghpages/_config.yml",
"ghpages": "VERSION=$(node -p -e \"require('./package.json').version\") && ngh --dir=dist/ghpages --no-silent=false --message=$VERSION",
"postghpages": "rimraf ./dist/ghpages"
},
"private": true,
"dependencies": {
Expand Down Expand Up @@ -82,6 +85,7 @@
"@types/jasmine": "2.5.38",
"@types/node": "^6.0.60",
"@types/openlayers": "^4.0.1",
"angular-cli-ghpages": "^0.5.0",
"codelyzer": "~2.0.0",
"compodoc": "0.0.41",
"conventional-changelog-cli": "^1.3.1",
Expand Down