diff --git a/package.json b/package.json index be15618..cbe1f6c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "private": true, "devDependencies": { + "concurrently": "^6.0.2", "parcel": "1.12.3", "purescript": "^0.14.0", "spago": "^0.19.1" @@ -9,6 +10,8 @@ "build": "spago build", "test": "spago test", "serve": "parcel dev/index.html --open", + "start": "concurrently \"npm run serve\" \"npm run watch-build\"", + "watch-build": "spago build --watch", "build-prod": "mkdir -p prod && cp dev/index.html prod/ && rm -rf dist && spago bundle-app --to prod/index.js && parcel build prod/index.html" } } diff --git a/spago.dhall b/spago.dhall index b007060..36514cc 100644 --- a/spago.dhall +++ b/spago.dhall @@ -1,5 +1,5 @@ { name = "halogen-project" -, dependencies = [ "console", "effect", "halogen", "psci-support" ] +, dependencies = [ "console", "effect", "halogen", "prelude", "psci-support" ] , packages = ./packages.dhall , sources = [ "src/**/*.purs", "test/**/*.purs" ] }