Compare commits

..

No commits in common. "ec0d716bdebdb26ed6af9b47629e96ce205f4f2b" and "6b180dbaeb76a88a81a4d04e2ccec7dd3bba0470" have entirely different histories.

2 changed files with 9 additions and 11 deletions

View File

@ -5,7 +5,11 @@ yarn install
yarn run build yarn run build
while true; do while true; do
read -p "Do you want to copy dist to ../../public/static? (type n for no): " answer read -p "Do you want to copy dist to ../../public/static/dist? (Y/n): " yn
if [ $answer = 'n' ] || [ $answer = 'N' ]; then exit 0; fi case $yn in
cp dist ../../public/static [Yy]* cp dist ../../public/static/dist; break;;
[Nn]* break;;
[]* ) cp dist ../../public/static/dist; break;;
* ) echo "(Y/n)";;
esac
done done

View File

@ -1,7 +1,7 @@
{ {
"name": "resume", "name": "resume",
"version": "1.0.0", "version": "1.0.0",
"source": "src/resume.js", "source": "src/resume.html",
"author": "blek", "author": "blek",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
@ -32,13 +32,7 @@
"xterm-js-shell": "^1.1.3" "xterm-js-shell": "^1.1.3"
}, },
"scripts": { "scripts": {
"prestart": "rm -f parcelrc",
"start": "parcel", "start": "parcel",
"build": "parcel build --no-source-maps"
"prebuild": "cp .build.config .parcelrc > /dev/null 2>&1",
"build": "parcel build --no-source-maps",
"postbuild": "rm -f .parcelrc"
} }
} }