Skip to content

Instantly share code, notes, and snippets.

@kim366
Created February 27, 2021 19:24
Show Gist options
  • Save kim366/3131ab2a23f44da4f205da7dbb3d9ebb to your computer and use it in GitHub Desktop.
Save kim366/3131ab2a23f44da4f205da7dbb3d9ebb to your computer and use it in GitHub Desktop.
"scripts": {
"build": "spago build --purs-args \"--censor-codes=UserDefinedWarning\"",
"dev": "concurrently -rki \"pscid --censor-codes UserDefinedWarning\" \"parcel assets/index.html\"",
"test": "spago test --purs-args \"--censor-codes=UserDefinedWarning\"",
"serve": "http-server dist",
"bundle:build": "NODE_ENV=production spago build --purs-args '--codegen corefn'",
"bundle:dce": "NODE_ENV=production zephyr Main.main",
"bundle:parcel": "NODE_ENV=production parcel build assets/index.html --no-source-maps --log-level 4",
"bundle:prerender": "bash scripts/prerender.sh",
"bundle": "npm run bundle:build && npm run bundle:dce && npm run bundle:parcel && npm run bundle:prerender",
"clean": "rimraf output dce-output dist .cache",
"bundle:clean": "npm run clean && npm run bundle"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment