Skip to content

Commit

Permalink
Replace cross-env with newer package
Browse files Browse the repository at this point in the history
  • Loading branch information
jdgarcia committed Sep 30, 2024
1 parent ac571ee commit ca0831d
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 951 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@
"clean": "npx rimraf dist && yarn run clean:package",
"clean:chromium": "npx rimraf dist && yarn run clean:package:chromium",
"clean:firefox": "npx rimraf dist && yarn run clean:package:firefox",
"clean:package": "cross-var rimraf \"%npm_package_name%*.zip\"",
"clean:package:chromium": "cross-var rimraf \"%npm_package_name%*-chromium.zip\"",
"clean:package:firefox": "cross-var rimraf \"%npm_package_name%*-firefox.zip\"",
"clean:package": "x-var rimraf \"%npm_package_name%*.zip\"",
"clean:package:chromium": "x-var rimraf \"%npm_package_name%*-chromium.zip\"",
"clean:package:firefox": "x-var rimraf \"%npm_package_name%*-firefox.zip\"",
"lint": "eslint \"src/**/*.ts?(x)\" --fix",
"ensure-manifest": "node -e \"require('./scripts/makeManifest').ensureManifest()\"",
"set-manifest:firefox": "node -e \"require('./scripts/makeManifest').makeFirefoxManifest()\"",
"set-manifest:firefox:force": "node -e \"require('./scripts/makeManifest').makeFirefoxManifest(true)\"",
"set-manifest:chromium": "node -e \"require('./scripts/makeManifest').makeChromiumManifest()\"",
"set-manifest:chromium:force": "node -e \"require('./scripts/makeManifest').makeChromiumManifest(true)\"",
"sign:firefox": "cross-var node ./scripts/signFireFoxAddon.mjs \"%npm_package_name%-%npm_package_version%-firefox.zip\" \"%npm_package_version%\"",
"sign:firefox": "x-var node ./scripts/signFireFoxAddon.mjs \"%npm_package_name%-%npm_package_version%-firefox.zip\" \"%npm_package_version%\"",
"test": "yarn playwright test",
"package": "yarn run package:chromium && yarn run package:firefox",
"package:chromium": "yarn run bundle:chromium && cross-var npx bestzip \"%npm_package_name%-%npm_package_version%-chromium.zip\" dist static icons manifest.json LICENSE",
"package:firefox": "yarn run bundle:firefox && cross-var npx bestzip \"%npm_package_name%-%npm_package_version%-firefox.zip\" dist static icons manifest.json LICENSE && yarn run sign:firefox",
"package:firefox-no-sign": "yarn run bundle:firefox && cross-var npx bestzip \"%npm_package_name%-%npm_package_version%-firefox.zip\" dist static icons manifest.json LICENSE",
"package:chromium": "yarn run bundle:chromium && x-var npx bestzip \"%npm_package_name%-%npm_package_version%-chromium.zip\" dist static icons manifest.json LICENSE",
"package:firefox": "yarn run bundle:firefox && x-var npx bestzip \"%npm_package_name%-%npm_package_version%-firefox.zip\" dist static icons manifest.json LICENSE && yarn run sign:firefox",
"package:firefox-no-sign": "yarn run bundle:firefox && x-var npx bestzip \"%npm_package_name%-%npm_package_version%-firefox.zip\" dist static icons manifest.json LICENSE",
"package-pre": "yarn run patch-pre && yarn run package",
"patch-pre": "node ./scripts/applyPreReleasePatch.js",
"pretty": "prettier --config .prettierrc --loglevel warn --write .",
Expand All @@ -65,7 +65,6 @@
"@typescript-eslint/eslint-plugin": "6.0.0",
"@typescript-eslint/parser": "6.0.0",
"clean-webpack-plugin": "4.0.0",
"cross-var": "1.1.0",
"esbuild": "0.18.13",
"esbuild-loader": "3.0.1",
"eslint": "8.45.0",
Expand All @@ -80,6 +79,7 @@
"terser-webpack-plugin": "5.3.9",
"typescript": "5.1.6",
"webpack": "5.88.1",
"webpack-cli": "5.1.4"
"webpack-cli": "5.1.4",
"x-var": "2.0.1"
}
}
Loading

0 comments on commit ca0831d

Please sign in to comment.