summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json43
1 files changed, 43 insertions, 0 deletions
diff --git a/composer.json b/composer.json
new file mode 100644
index 0000000..27eccef
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,43 @@
+{
+ "name": "phel-lang/web-skeleton",
+ "description": "A minimalistic skeleton to build your web-app using Phel Lang.",
+ "keywords": [
+ "phel",
+ "lisp",
+ "functional",
+ "language"
+ ],
+ "homepage": "https://phel-lang.org/",
+ "license": "MIT",
+ "type": "project",
+ "require": {
+ "php": ">=8.3",
+ "phel-lang/phel-lang": ">=0.24",
+ "phel-lang/router": "^0.8"
+ },
+ "require-dev": {
+ "symfony/var-dumper": "^6.4"
+ },
+ "autoload": {
+ "psr-4": {
+ "PhelGenerated\\": "src/PhelGenerated"
+ }
+ },
+ "scripts": {
+ "run:dev": [
+ "Composer\\Config::disableProcessTimeout",
+ "rm -rf out && php -S localhost:8080 -t public"
+ ],
+ "run:prod": [
+ "Composer\\Config::disableProcessTimeout",
+ "composer build && php -S localhost:8080 -t public"
+ ],
+ "build": "vendor/bin/phel build --no-cache",
+ "format": "vendor/bin/phel format",
+ "test": "vendor/bin/phel test",
+ "repl": [
+ "Composer\\Config::disableProcessTimeout",
+ "vendor/bin/phel repl"
+ ]
+ }
+}