Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
fix(package): Add copy index.html to 404.html for "gh:deploy" script
Browse files Browse the repository at this point in the history
  • Loading branch information
EndyKaufman committed Jan 25, 2018
1 parent e18241a commit d41a782
Show file tree
Hide file tree
Showing 2 changed files with 153 additions and 2 deletions.
150 changes: 150 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"start": "npm-run-all ssr:start",
"gh:build-mockapi": "node ./node_modules/@angular/cli/bin/ng build --app=demo --preserve-symlinks --base-href https://rucken.github.io/core/ --prod --env=mockapi --build-optimizer --no-sourcemap",
"gh:build": "npm-run-all clear prepare format libs:build libs:link gh:build-mockapi",
"gh:deploy": "gh-pages -d apps/demo/dist",
"gh:deploy": "cp-cli ./apps/demo/dist/browser/index.html ./apps/demo/dist/browser/404.html",
"ssr:build-server-mockapi": "node ./node_modules/@angular/cli/bin/ng build --app=demo-server --preserve-symlinks --prod --env=mockapi --output-hashing=false",
"ssr:build-mockapi": "npm run ssr:client-and-server-bundles-mockapi && npm run ssr:webpack-server",
"ssr:client-and-server-bundles-mockapi": "npm run app:build-mono_mockapi && npm run ssr:build-server-mockapi",
Expand Down Expand Up @@ -122,6 +122,7 @@
"conventional-changelog-cli": "^1.3.5",
"conventional-commits-detector": "^0.1.1",
"conventional-recommended-bump": "^1.1.0",
"cp-cli": "^1.1.0",
"es6-promise-loader": "^1.0.2",
"gh-pages": "^1.1.0",
"html-loader": "0.5.5",
Expand All @@ -146,4 +147,4 @@
"typescript-formatter": "^7.0.1",
"typings": "^2.1.1"
}
}
}

0 comments on commit d41a782

Please # to comment.