Add production build
Showing
Dockerfile.dev
0 → 100644
docker-compose.yml
0 → 100644
index.html
0 → 100644
... | @@ -4,17 +4,22 @@ | ... | @@ -4,17 +4,22 @@ |
"scripts": { | "scripts": { | ||
"rebase-set": "spago package-set-upgrade && spago psc-package-insdhall", | "rebase-set": "spago package-set-upgrade && spago psc-package-insdhall", | ||
"rebuild-set": "spago psc-package-insdhall", | "rebuild-set": "spago psc-package-insdhall", | ||
"install-ps": "psc-package install", | "install-ps": "psc-package.exe install", | ||
"compile": "pulp --psc-package build", | "compile": "pulp build", | ||
"build": "pulp --psc-package browserify --no-check-main -t dist/bundle.js", | "build": "pulp browserify -t dist/bundle.js", | ||
"sass": "sass dist/styles/", | "sass": "sass dist/styles/", | ||
"docs": "pulp docs -- --format html", | "docs": "pulp docs -- --format html", | ||
"repl": "pulp --psc-package repl", | "repl": "pulp repl", | ||
"clean": "rm -Rf output node_modules", | "clean": "rm -Rf output node_modules", | ||
"clean-js": "rm -Rf node_modules", | "clean-js": "rm -Rf node_modules", | ||
"clean-ps": "rm -Rf output", | "clean-ps": "rm -Rf output", | ||
"test": "pulp test --no-check-main", | "test": "pulp test", | ||
"server": "serve dist" | "server": "serve dist", | ||
"prod": "yarn prod:compile && yarn prod:dce && yarn prod:bundle && yarn prod:pack", | |||
"prod:compile": "pulp build -- -g corefn", | |||
"prod:dce": "zephyr -f Main.main", | |||
"prod:bundle": "pulp browserify --skip-compile -o dce-output -t app.js", | |||
"prod:pack": "parcel build index.html -d prod --public-url . --no-source-maps" | |||
}, | }, | ||
"dependencies": { | "dependencies": { | ||
"aes-js": "^3.1.1", | "aes-js": "^3.1.1", | ||
... | @@ -32,8 +37,11 @@ | ... | @@ -32,8 +37,11 @@ |
"sigma": "git://github.com/poorscript/sigma.js#garg" | "sigma": "git://github.com/poorscript/sigma.js#garg" | ||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"@babel/core": "^7.12.9", | |||
"@babel/preset-react": "^7.12.7", | |||
"parcel": "^1.12.4", | |||
"psc-package": "^4.0.1", | "psc-package": "^4.0.1", | ||
"pulp": "^14.0.0", | "pulp": "^15.0.0", | ||
"purescript": "^0.13.8", | "purescript": "^0.13.8", | ||
"purescript-language-server": "^0.12.9", | "purescript-language-server": "^0.12.9", | ||
"react-testing-library": "^6.1.2", | "react-testing-library": "^6.1.2", | ||
... | ... |
This source diff could not be displayed because it is too large. You can view the blob instead.
Please register or sign in to comment