From 3f9bac5ac83694b6c9336e6a4d069fe990baff5c Mon Sep 17 00:00:00 2001 From: Lennu Vuolanne Date: Fri, 13 Aug 2021 22:46:12 +0300 Subject: [PATCH] simplified scripts --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b6d3888..850a4a4 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,9 @@ "description": "A text sharing website that includes all its data in the URL.", "main": "index.js", "scripts": { + "postinstall": "npx spago install", "dev": "DEV=true node esbuild.js & npx spago build --watch", - "bundle": "node esbuild.js", + "build": "npx spago build && node esbuild.js", "test": "npx spago test" }, "repository": {