diff --git a/lib/guida.sh b/lib/guida.sh index 1443cae3a..f1c2c070d 100755 --- a/lib/guida.sh +++ b/lib/guida.sh @@ -7,7 +7,7 @@ set -e js="bin/guida.js" min="bin/guida.min.js" -elm make --optimize --output=$js $@ +guida make --optimize --output=$js $@ uglifyjs $js --compress "pure_funcs=[F2,F3,F4,F5,F6,F7,F8,F9,A2,A3,A4,A5,A6,A7,A8,A9],pure_getters,keep_fargs=false,unsafe_comps,unsafe" | uglifyjs --mangle --output $min diff --git a/package-lock.json b/package-lock.json index 6befed771..47c239334 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,6 +22,7 @@ "elm-format": "^0.8.7", "elm-review": "^2.12.0", "elm-test": "^0.19.1-revision12", + "guida": "^0.3.0-alpha", "jest": "^29.7.0", "npm-run-all": "^4.1.5", "uglify-js": "^3.19.3" @@ -3424,6 +3425,22 @@ "dev": true, "license": "ISC" }, + "node_modules/guida": { + "version": "0.3.0-alpha", + "resolved": "https://registry.npmjs.org/guida/-/guida-0.3.0-alpha.tgz", + "integrity": "sha512-Cc9yTeCxZcULS+2AdtE+Hb8Mqc50DAFSuJEAZ9AkWRZDXq/nEldNfSjulrpUB29htd+x43FMjCn9Uukr425egg==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "adm-zip": "^0.5.16", + "form-data": "^4.0.1", + "tmp": "^0.2.3", + "which": "^5.0.0" + }, + "bin": { + "guida": "bin/index.js" + } + }, "node_modules/has-bigints": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", diff --git a/package.json b/package.json index 720ed8060..5041a1557 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "elm-format": "^0.8.7", "elm-review": "^2.12.0", "elm-test": "^0.19.1-revision12", + "guida": "^0.3.0-alpha", "jest": "^29.7.0", "npm-run-all": "^4.1.5", "uglify-js": "^3.19.3"