Compare commits
2 Commits
6b180dbaeb
...
ec0d716bde
Author | SHA1 | Date |
---|---|---|
b1ek | ec0d716bde | |
b1ek | 27792add04 |
|
@ -5,11 +5,7 @@ yarn install
|
|||
yarn run build
|
||||
|
||||
while true; do
|
||||
read -p "Do you want to copy dist to ../../public/static/dist? (Y/n): " yn
|
||||
case $yn in
|
||||
[Yy]* cp dist ../../public/static/dist; break;;
|
||||
[Nn]* break;;
|
||||
[]* ) cp dist ../../public/static/dist; break;;
|
||||
* ) echo "(Y/n)";;
|
||||
esac
|
||||
read -p "Do you want to copy dist to ../../public/static? (type n for no): " answer
|
||||
if [ $answer = 'n' ] || [ $answer = 'N' ]; then exit 0; fi
|
||||
cp dist ../../public/static
|
||||
done
|
||||
|
|
10
package.json
10
package.json
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "resume",
|
||||
"version": "1.0.0",
|
||||
"source": "src/resume.html",
|
||||
"source": "src/resume.js",
|
||||
"author": "blek",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
|
@ -32,7 +32,13 @@
|
|||
"xterm-js-shell": "^1.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
"prestart": "rm -f parcelrc",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue