build glob parity with watch

It seems like I only cared about the watch command and missed updating
`build` in the past. This makes the CI build broken packages.
This commit is contained in:
Kevin Raoofi 2021-01-21 17:00:09 -05:00
parent 1aab3f67e1
commit a0963db2b4

View file

@ -3,9 +3,9 @@
"version": "1.5.4", "version": "1.5.4",
"license": "GPL-3.0", "license": "GPL-3.0",
"scripts": { "scripts": {
"build:assets": "cpx \"src/**/*.{json,png}\" dist/", "build:assets": "cpx \"src/**/*.{json,png,svg}\" dist/",
"watch:assets": "cpx --watch -v \"src/**/*.{json,png,svg}\" dist/", "watch:assets": "cpx --watch -v \"src/**/*.{json,png,svg}\" dist/",
"build:parcel": "cross-env NODE_ENV=production parcel build --no-source-maps --no-minify \"src/scripts/*.{js,ts}\" \"src/**/*.html\"", "build:parcel": "cross-env NODE_ENV=production parcel build --no-source-maps --no-minify \"src/scripts/*.{js,jsx,ts,tsx}\" \"src/**/*.html\"",
"watch:parcel": "parcel watch --no-hmr --no-source-maps \"src/scripts/*.{js,jsx,ts,tsx}\" \"src/**/*.html\"", "watch:parcel": "parcel watch --no-hmr --no-source-maps \"src/scripts/*.{js,jsx,ts,tsx}\" \"src/**/*.html\"",
"build:webext": "web-ext build --source-dir ./dist --overwrite-dest", "build:webext": "web-ext build --source-dir ./dist --overwrite-dest",
"build": "npm-run-all -l -p build:parcel build:assets", "build": "npm-run-all -l -p build:parcel build:assets",