~thewhodidthis/dirtfoulandbooty

326d64af24e7cbe30e690129629453f5b41a4e25 — Sotiri Bakagiannis 1 year, 8 months ago d565a8c
package: prebuild not prestart for copying over static assets
1 files changed, 1 insertions(+), 1 deletions(-)

M package.json
M package.json => package.json +1 -1
@@ 22,6 22,7 @@
    "index.js"
  ],
  "scripts": {
    "prebuild": "mkdir -p public; rsync -r static/ public --delete --exclude=.git*",
    "build": "npm run build:js && npm run build:css && npm run build:html",
    "postbuild": "terser -cmo public/service-worker.js service-worker.js",
    "build:css": "postcss -o public/index.css index.css",


@@ 31,7 32,6 @@
    "lint": "npm run lint:js && npm run lint:css",
    "lint:css": "stylelint *.css",
    "lint:js": "eslint *.js",
    "prestart": "mkdir -p public; rsync -r static/ public --delete --exclude=.git*",
    "start": "npm run build",
    "test": "npm run lint",
    "watch": "rollup -w -c node:x -f iife index.js -o public/index.js"