Skip to content

Commit

Permalink
fix pwa
Browse files Browse the repository at this point in the history
  • Loading branch information
abadi199 committed Feb 2, 2020
1 parent 1110bba commit 42639e0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"start": "parcel index.html",
"build": "parcel build index.html --public-url .",
"pwa": "rm -rf dist/phonics && npm run build && mkdir dist/phonics && mv dist/*.* dist/phonics && cd dist && python3 -m http.server",
"pwa": "rm -rf dist/phonics && npm run build && mkdir dist/phonics && mv dist/*.* dist/phonics && python3 -m http.server -d dist",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
Expand All @@ -21,5 +21,11 @@
"reason-react": "^0.7.0",
"sass": "^1.25.0"
},
"cache": {}
"cache": {
"templatedURLs": {
"/phonics/": [
"index.html"
]
}
}
}

0 comments on commit 42639e0

Please sign in to comment.