Browse Source

change deployment from github pages to cloudflare

main
familyfriendlymikey 2 years ago
parent
commit
8ead5c04a2
  1. 7
      package.json

7
package.json

@ -3,13 +3,12 @@
"version": "0.0.28", "version": "0.0.28",
"scripts": { "scripts": {
"start": "imba run -SMH --baseurl . -w server.imba", "start": "imba run -SMH --baseurl . -w server.imba",
"build-app": "imba build -SMH --baseurl . server.imba", "build-app": "rm -rf dist && imba build -SMH --baseurl . server.imba",
"build-sw": "imbac sw.imba -o dist/public", "build-sw": "imbac sw.imba -o dist/public",
"build": "npm run build-app && npm run build-sw", "build": "npm run build-app && npm run build-sw",
"nojekyll": "npx touch dist/public/.nojekyll", "pages": "npx gh-pages --no-history --dotfiles --dist dist/public --branch deploy",
"pages": "npx gh-pages --no-history --dotfiles --dist dist/public",
"static": "cd dist/public && echo http://localhost:8000 && python3 -m http.server &>/dev/null", "static": "cd dist/public && echo http://localhost:8000 && python3 -m http.server &>/dev/null",
"deploy": "npm run build && npm run nojekyll && npm run pages" "deploy": "npm run build && npm run pages"
}, },
"dependencies": { "dependencies": {
"express": "^4.17.1", "express": "^4.17.1",

Loading…
Cancel
Save