add nojekyll + clear tutorial on rebuild
This commit is contained in:
parent
df99669340
commit
5481919f5c
2 changed files with 2 additions and 2 deletions
0
.nojekyll
Normal file
0
.nojekyll
Normal file
|
|
@ -19,11 +19,11 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "react-scripts start",
|
"start": "react-scripts start",
|
||||||
"build": "BUILD_PATH='../docs' react-scripts build && npm run build-tutorial",
|
"build": "BUILD_PATH='../docs' react-scripts build && npm run build-tutorial && cp ../.nojekyll ../docs",
|
||||||
"test": "react-scripts test",
|
"test": "react-scripts test",
|
||||||
"eject": "react-scripts eject",
|
"eject": "react-scripts eject",
|
||||||
"tutorial": "parcel src/tutorial/index.html --no-cache",
|
"tutorial": "parcel src/tutorial/index.html --no-cache",
|
||||||
"build-tutorial": "parcel build src/tutorial/index.html --dist-dir ../docs/tutorial --public-url /tutorial --no-optimize --no-scope-hoist --no-cache",
|
"build-tutorial": "rm -rf ../docs/tutorial && parcel build src/tutorial/index.html --dist-dir ../docs/tutorial --public-url /tutorial --no-scope-hoist --no-cache",
|
||||||
"predeploy": "npm run build",
|
"predeploy": "npm run build",
|
||||||
"deploy": "gh-pages -d ../docs",
|
"deploy": "gh-pages -d ../docs",
|
||||||
"static": "npx serve ../docs"
|
"static": "npx serve ../docs"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue