@brightsole/new
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -11,5 +11,5 @@ { | ||
"prebuild": "yarn clean", | ||
"build": "parcel build index.html", | ||
"build": "parcel build index.html --public-url https://one19.github.io/worth-the-time/", | ||
"prod": "(cd docs && python -m SimpleHTTPServer 8000)", | ||
"postbuild": "mkdir docs || true && cp dist/*.js docs/ && cp dist/*.html docs/", | ||
"postbuild": "mkdir docs || true && cp dist/* docs/ && rm -rf docs/*.map", | ||
"test": "ava", | ||
@@ -16,0 +16,0 @@ "lint": "eslint . --fix", |
@@ -1,2 +0,2 @@ | ||
# @BRIGHTSOLE/NEW-FRONT | ||
# @BRIGHTSOLE/new-front | ||
@@ -31,3 +31,13 @@ ### What is it? | ||
You might want to change the favicon, it's easy to do. I used [faviconit](http://faviconit.com/en). It's a pretty no-frills quick solution. | ||
Also, in the build step, the url of the repo is used to make GH-Pages work properly. The following line is where the magic happens: | ||
```json | ||
parcel build index.html --public-url https://one19.github.io/new-front/ | ||
``` | ||
If you're using a custom domain, this is overkill. You could simply do `parcel build index.html` and that should work just fine! | ||
#### Some of the scripts, and what they do | ||
@@ -34,0 +44,0 @@ |
{ | ||
"name": "@brightsole/new", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "new project generator", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
69173
64