chore: prevent deleting .gitignore from dist folder

This commit is contained in:
Oleg Lobanov 2021-03-14 19:59:55 +01:00
parent 6d5ceae8b4
commit 9c79105c02
No known key found for this signature in database
GPG Key ID: 7CC64E41212621B0
1 changed files with 2 additions and 2 deletions

View File

@ -4,8 +4,8 @@
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"watch": "vue-cli-service build --watch",
"build": "find ./dist -maxdepth 1 -mindepth 1 ! -name '.gitignore' -exec rm -r {} + && vue-cli-service build --no-clean",
"watch": "find ./dist -maxdepth 1 -mindepth 1 ! -name '.gitignore' -exec rm -r {} + && vue-cli-service build --watch --no-clean",
"lint": "vue-cli-service lint --fix"
},
"dependencies": {