From cb59fc52f3b100e2683856b7ce9cb7be9a5e3de0 Mon Sep 17 00:00:00 2001 From: Kevin Raoofi Date: Tue, 6 Oct 2020 15:25:22 -0400 Subject: [PATCH] Fix run scripts for windows Apparently, windows doesn't like single quotes in some cases. --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 8f57330..604f519 100644 --- a/package.json +++ b/package.json @@ -3,10 +3,10 @@ "version": "1.5.4", "license": "GPL-3.0", "scripts": { - "build:assets": "cpx 'src/**/*.{json,png}' dist/", - "watch:assets": "cpx --watch -v 'src/**/*.{json,png}' dist/", - "build:parcel": "cross-env NODE_ENV=production parcel build --no-source-maps 'src/scripts/*.{js,ts}' 'src/**/*.html'", - "watch:parcel": "parcel watch --no-hmr --no-source-maps 'src/scripts/*.{js,ts}' 'src/**/*.html'", + "build:assets": "cpx \"src/**/*.{json,png}\" dist/", + "watch:assets": "cpx --watch -v \"src/**/*.{json,png}\" dist/", + "build:parcel": "cross-env NODE_ENV=production parcel build --no-source-maps \"src/scripts/*.{js,ts}\" \"src/**/*.html\"", + "watch:parcel": "parcel watch --no-hmr --no-source-maps \"src/scripts/*.{js,ts}\" \"src/**/*.html\"", "build": "npm-run-all -l -p build:parcel build:assets", "watch": "npm-run-all -l -p watch:parcel watch:assets", "start:chrome": "web-ext run -t chromium --source-dir ./dist",