1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-28 07:56:37 +01:00

Adds clean and release in npm

This commit is contained in:
Amir Raminfar
2018-11-19 07:52:34 -08:00
parent efc725dadc
commit 52a95757ce
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
before:
hooks:
- rm -rf static
- npm run clean
- npm run build
- packr
builds:

View File

@@ -7,7 +7,8 @@
"start": "concurrently 'go run main.go' 'npm run watch-assets'",
"watch-assets": "parcel watch assets/index.html -d static",
"build": "parcel build assets/index.html -d static",
"clean": "rm -rf static"
"clean": "rm -rf static",
"release": "goreleaser --rm-dist"
},
"repository": {
"type": "git",