From c85041b78c0ef24e95a97dbe59a2f5d5d5ffd760 Mon Sep 17 00:00:00 2001 From: jhalitaksoy Date: Wed, 30 Jun 2021 22:35:41 +0300 Subject: [PATCH] added npm run build --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 5ad9e78..4f32f88 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,10 @@ "main": "index.js", "scripts": { "dev": "parcel src/index.html", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "build:parcel": "parcel build ./src/index.html --public-url ./ --no-source-maps", + "build": "npm run clean && npm run build:parcel", + "clean": "rm -rf dist/*" }, "keywords": [], "author": "",