diff --git a/bin/build-chrome-dev b/bin/build-chrome-dev index d220d77..b7140d3 100755 --- a/bin/build-chrome-dev +++ b/bin/build-chrome-dev @@ -3,6 +3,6 @@ export NODE_ENV=development # swap manifests cp src/manifest.ch.json src/manifest.json # build -npm run prod +npm run release:ch # swap manifests back cp src/manifest.dev.json src/manifest.json \ No newline at end of file diff --git a/bin/build-chrome-prod b/bin/build-chrome-prod index 4802dbf..a7bba95 100755 --- a/bin/build-chrome-prod +++ b/bin/build-chrome-prod @@ -3,6 +3,6 @@ export NODE_ENV=production # swap manifests cp src/manifest.ch.json src/manifest.json # build -npm run prod +npm run release:ch # swap manifests back cp src/manifest.dev.json src/manifest.json \ No newline at end of file diff --git a/bin/build-chrome-test b/bin/build-chrome-test index 7ff2f4e..dc4b189 100755 --- a/bin/build-chrome-test +++ b/bin/build-chrome-test @@ -3,6 +3,6 @@ export NODE_ENV=production # swap manifests cp src/manifest.ch.test.json src/manifest.json # build -npm run prod +npm run release:test:ch # swap manifests back cp src/manifest.dev.json src/manifest.json \ No newline at end of file diff --git a/bin/build-firefox-prod b/bin/build-firefox-prod index fa27c0f..5e6f9ae 100755 --- a/bin/build-firefox-prod +++ b/bin/build-firefox-prod @@ -3,6 +3,6 @@ export NODE_ENV=production # swap manifests cp src/manifest.ff.json src/manifest.json # build -npm run prod:ff +npm run release:ff # swap manifests back cp src/manifest.dev.json src/manifest.json \ No newline at end of file diff --git a/bin/build-firefox-test b/bin/build-firefox-test index 77d11fb..ef9581c 100755 --- a/bin/build-firefox-test +++ b/bin/build-firefox-test @@ -3,6 +3,6 @@ export NODE_ENV=production # swap manifests cp src/manifest.ff.test.json src/manifest.json # build -npm run prod:ff +npm run release:test:ff # swap manifests back cp src/manifest.dev.json src/manifest.json \ No newline at end of file diff --git a/package.json b/package.json index 7342dbb..1883612 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,10 @@ "scripts": { "dev": "parcel watch src/manifest.json --host localhost --target pinmenote-dev", "dev:ff": "parcel build src/manifest.json --target pinmenote-firefox-dev", - "build": "npm run prod && npm run prod:ff", - "prod": "parcel build src/manifest.json --target pinmenote-prod --log-level verbose --no-cache --reporter @parcel/reporter-bundle-analyzer", - "prod:ff": "parcel build src/manifest.json --target pinmenote-firefox-prod --log-level verbose --no-cache --reporter @parcel/reporter-bundle-analyzer", + "release:ch": "parcel build src/manifest.json --target pinmenote-prod --log-level verbose --no-cache --reporter @parcel/reporter-bundle-analyzer", + "release:test:ch": "parcel build src/manifest.json --target pinmenote-test --log-level verbose --no-cache --reporter @parcel/reporter-bundle-analyzer", + "release:ff": "parcel build src/manifest.json --target pinmenote-firefox-prod --log-level verbose --no-cache --reporter @parcel/reporter-bundle-analyzer", + "release:test:ff": "parcel build src/manifest.json --target pinmenote-firefox-test --log-level verbose --no-cache --reporter @parcel/reporter-bundle-analyzer", "lint": "eslint --ext .ts,.tsx src/", "lint:fix": "eslint --ext .ts,.tsx src/ --fix" }, @@ -21,6 +22,12 @@ "pinmenote-prod": { "sourceMap": false }, + "pinmenote-test": { + "sourceMap": false + }, + "pinmenote-firefox-test": { + "sourceMap": false + }, "pinmenote-firefox-prod": { "sourceMap": false }, diff --git a/src/manifest.json b/src/manifest.json index 3b499ea..77624e1 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -17,7 +17,7 @@ "24": "assets/icon/24.png", "32": "assets/icon/32.png" }, - "default_title": "pinmenote", + "default_title": "pinmenote-dev", "default_popup": "default-popup/default-popup.html" }, "permissions": ["activeTab", "storage", "unlimitedStorage", "scripting", "downloads"],