Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bjarkevad/c13640cb6dfcace9cda607aec1771b73 to your computer and use it in GitHub Desktop.
Save bjarkevad/c13640cb6dfcace9cda607aec1771b73 to your computer and use it in GitHub Desktop.
From 6ee21081ad9431761934ce005139a2abd76f0377 Mon Sep 17 00:00:00 2001
From: Bjarke Vad Andersen <[email protected]>
Date: Fri, 23 Mar 2018 17:41:03 +0100
Subject: [PATCH] Port to psc-package and parcel
---
bower.json | 15 ---------------
package.json | 11 ++++++-----
psc-package.json | 12 ++++++++++++
3 files changed, 18 insertions(+), 20 deletions(-)
delete mode 100644 bower.json
create mode 100644 psc-package.json
diff --git a/bower.json b/bower.json
deleted file mode 100644
index 71bc501..0000000
--- a/bower.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "private": true,
- "name": "purescript-halogen-template",
- "ignore": [
- "**/.*",
- "node_modules",
- "bower_components",
- "output",
- "dist"
- ],
- "dependencies": {
- "purescript-console": "^3.0.0",
- "purescript-halogen": "^2.0.0"
- }
-}
diff --git a/package.json b/package.json
index c97846a..1a62098 100644
--- a/package.json
+++ b/package.json
@@ -3,12 +3,13 @@
"scripts": {
"build": "pulp build --to dist/app.js",
"watch": "pulp -w build --to dist/app.js",
- "watch-fast": "webpack --entry ./entry.js --output-filename dist/app.js --progress --watch"
+ "watch-fast": "parcel watch entry.js -o app.js --no-hmr --no-source-maps"
},
"devDependencies": {
"pulp": "^12.0.1",
- "purescript": "^0.11.6",
- "purescript-psa": "^0.5.1",
- "webpack": "^3.6.0"
- }
+ "purescript": "^0.11.7",
+ "purescript-psa": "^0.6.0",
+ "parcel-bundler": "^1.6.2"
+ },
+ "dependencies": {}
}
diff --git a/psc-package.json b/psc-package.json
new file mode 100644
index 0000000..9d6e54a
--- /dev/null
+++ b/psc-package.json
@@ -0,0 +1,12 @@
+{
+ "name": "purescript-halogen-template",
+ "set": "psc-0.11.7",
+ "source": "https://github.com/purescript/package-sets.git",
+ "depends": [
+ "halogen",
+ "psci-support",
+ "console",
+ "eff",
+ "prelude"
+ ]
+}
--
2.14.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment