Commit 0d593c99 authored by Alexandre Delanoë's avatar Alexandre Delanoë

Merge branch '330-dev-minify' of...

Merge branch '330-dev-minify' of ssh://gitlab.iscpif.fr:20022/gargantext/purescript-gargantext into dev-merge
parents 8b41760a c079335d
Pipeline #1819 canceled with stage
...@@ -49,9 +49,10 @@ ...@@ -49,9 +49,10 @@
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.15.0", "@babel/core": "^7.15.0",
"@babel/preset-env": "^7.15.6",
"@babel/preset-react": "^7.12.7", "@babel/preset-react": "^7.12.7",
"@getgauge/cli": "^1.4.0", "@getgauge/cli": "^1.4.0",
"parcel": "^2.0.0-beta.2", "parcel": "^2.0.0-rc.0",
"react-testing-library": "^8.0.1", "react-testing-library": "^8.0.1",
"sass": "^1.35.2", "sass": "^1.35.2",
"serve": "^12.0.0", "serve": "^12.0.0",
......
...@@ -35,8 +35,6 @@ let ...@@ -35,8 +35,6 @@ let
''; '';
build-watch = pkgs.writeShellScriptBin "build-watch" '' build-watch = pkgs.writeShellScriptBin "build-watch" ''
#!/usr/bin/env bash #!/usr/bin/env bash
set -e set -e
...@@ -45,6 +43,15 @@ let ...@@ -45,6 +43,15 @@ let
spago build -w --then browserify spago build -w --then browserify
''; '';
build-zephyr = pkgs.writeShellScriptBin "build-zephyr" ''
#!/usr/bin/env bash
set -e
spago build --purs-args '--codegen corefn,js'
zephyr -f Main.main
yarn parcel build dist/index.html --public-url '.' --no-source-maps
'';
browserify = pkgs.writeShellScriptBin "browserify" '' browserify = pkgs.writeShellScriptBin "browserify" ''
#!/usr/bin/env bash #!/usr/bin/env bash
set -e set -e
...@@ -82,10 +89,12 @@ pkgs.mkShell { ...@@ -82,10 +89,12 @@ pkgs.mkShell {
easy-ps.purs-0_14_4 easy-ps.purs-0_14_4
easy-ps.psc-package easy-ps.psc-package
easy-ps.dhall-json-simple easy-ps.dhall-json-simple
easy-ps.zephyr
browserify browserify
build-css build-css
build-purs build-purs
build-watch build-watch
build-zephyr
build build
minify-bundle minify-bundle
pkgs.minify pkgs.minify
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment