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:
@@ -1,6 +1,6 @@
|
||||
before:
|
||||
hooks:
|
||||
- rm -rf static
|
||||
- npm run clean
|
||||
- npm run build
|
||||
- packr
|
||||
builds:
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user