Add production build
Showing
Dockerfile.dev
0 → 100644
docker-compose.yml
0 → 100644
index.html
0 → 100644
... | ... | @@ -4,17 +4,22 @@ |
"scripts": { | ||
"rebase-set": "spago package-set-upgrade && spago psc-package-insdhall", | ||
"rebuild-set": "spago psc-package-insdhall", | ||
"install-ps": "psc-package install", | ||
"compile": "pulp --psc-package build", | ||
"build": "pulp --psc-package browserify --no-check-main -t dist/bundle.js", | ||
"install-ps": "psc-package.exe install", | ||
"compile": "pulp build", | ||
"build": "pulp browserify -t dist/bundle.js", | ||
"sass": "sass dist/styles/", | ||
"docs": "pulp docs -- --format html", | ||
"repl": "pulp --psc-package repl", | ||
"repl": "pulp repl", | ||
"clean": "rm -Rf output node_modules", | ||
"clean-js": "rm -Rf node_modules", | ||
"clean-ps": "rm -Rf output", | ||
"test": "pulp test --no-check-main", | ||
"server": "serve dist" | ||
"test": "pulp test", | ||
"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": { | ||
"aes-js": "^3.1.1", | ||
... | ... | @@ -32,8 +37,11 @@ |
"sigma": "git://github.com/poorscript/sigma.js#garg" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.12.9", | ||
"@babel/preset-react": "^7.12.7", | ||
"parcel": "^1.12.4", | ||
"psc-package": "^4.0.1", | ||
"pulp": "^14.0.0", | ||
"pulp": "^15.0.0", | ||
"purescript": "^0.13.8", | ||
"purescript-language-server": "^0.12.9", | ||
"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