You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 lines
355 B

  1. build-all:
  2. spago build && npm install
  3. build:
  4. spago build
  5. bundle:
  6. spago bundle-app --main Main --to dist/app.js && ./node_modules/.bin/parcel build assets/index.html
  7. bundle-watch:
  8. spago bundle-app --main Main --to dist/app.js --watch
  9. clean:
  10. rm -rf .cache .spago node_modules .psci_modules output dist
  11. start:
  12. ./node_modules/.bin/http-server dist