diff --git a/extension/package.json b/extension/package.json index a9fe0e6..cb32869 100644 --- a/extension/package.json +++ b/extension/package.json @@ -12,5 +12,8 @@ "license": "UNLICENSED", "devDependencies": { "parcel": "^1.12.4" + }, + "scripts": { + "build-dist": "parcel build src/background/page.html src/options/options.html src/popup/popup.html" } } diff --git a/justfile b/justfile index ab74192..4e9ed3e 100644 --- a/justfile +++ b/justfile @@ -4,3 +4,8 @@ copy-to-pier: build-javascript: yarn --cwd gall-app run build-development + +build-extension: + yarn --cwd extension run build-dist + cp -r extension/src/icons/ extension/dist/ + cp extension/src/manifest.json extension/dist/