mirror of
https://github.com/pezkuwichain/pezkuwi-extension.git
synced 2026-10-21 11:16:30 +00:00
- @pezkuwi/dev, dev-test, dev-ts ^0.86.3 in the root and in every workspace package (they still asked for 0.84.3) - tsconfig.base target ES2022, the @pezkuwi/dev default; it carries the ErrorOptions type for `cause` - rethrown errors carry the original as `cause`; rejections are normalised to Error - page/messaging: the typed subscriber is called directly, not as `Function` - chrome mock: constant results through Promise.resolve - useLedger: drop a construction every branch below repeated - InputWithLabel: onKeyDown instead of the deprecated onKeyPress - Account: toggleActions + 1 instead of a pre-increment of a parameter - optional chains where a guard tested the same value - specs: mount<React.Component> so the wrappers are not `any`-typed - AccountsStore.set keeps its async override of KeyringStore.set: BaseStore.set handles its own failure, so it never rejects - extension-chains keeps its ChainProperties assertion: the package's own build does not load the type augmentation - the existing React Compiler findings (37, react-hooks rules only) are recorded in eslint-suppressions.json; a new one fails lint
66 lines
3.8 KiB
JSON
66 lines
3.8 KiB
JSON
{
|
|
"author": "Kurdistan Tech Institute <dev@pezkuwichain.io> & PezkuwiChain Team <team@pezkuwichain.io>",
|
|
"bugs": "https://github.com/pezkuwichain/pezkuwi-extension/issues",
|
|
"engines": {
|
|
"node": ">=18.14"
|
|
},
|
|
"homepage": "https://github.com/pezkuwichain/pezkuwi-extension#readme",
|
|
"license": "Apache-2.0",
|
|
"packageManager": "yarn@4.12.0",
|
|
"private": true,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/pezkuwichain/pezkuwi-extension.git"
|
|
},
|
|
"sideEffects": false,
|
|
"type": "module",
|
|
"version": "0.62.27",
|
|
"versions": {
|
|
"git": "0.62.6",
|
|
"npm": "0.62.6"
|
|
},
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"build": "yarn build:chrome && yarn build:ff",
|
|
"build:before": "yarn build:i18n",
|
|
"build:chrome": "cp ./packages/extension/manifest_chrome.json ./packages/extension/manifest.json && pezkuwi-dev-build-ts && node scripts/postbuild-cleanup.cjs && yarn build:zip:chrome && yarn build:rollup",
|
|
"build:ff": "cp ./packages/extension/manifest_firefox.json ./packages/extension/manifest.json && pezkuwi-dev-build-ts && node scripts/postbuild-cleanup.cjs && yarn build:zip:ff && yarn build:rollup",
|
|
"build:i18n": "i18next-scanner --config i18next-scanner.config.cjs",
|
|
"build:release": "pezkuwi-ci-ghact-build",
|
|
"build:rollup": "pezkuwi-exec-rollup --config",
|
|
"build:zip": "yarn build:zip:chrome && yarn build:zip:ff",
|
|
"build:zip:chrome": "cp ./packages/extension/manifest_chrome.json ./packages/extension/manifest.json && cp ./packages/extension/manifest_chrome.json ./packages/extension/build/manifest.json && yarn build:zip:dst:chrome && yarn build:zip:src:chrome",
|
|
"build:zip:dst:chrome": "rm -rf ./master-chrome-build.zip && cd packages/extension/build && zip -r -FS ../../../master-chrome-build.zip .",
|
|
"build:zip:dst:ff": "rm -rf ./master-ff-build.zip && cd packages/extension/build && zip -r -FS ../../../master-ff-build.zip .",
|
|
"build:zip:ff": "cp ./packages/extension/manifest_firefox.json ./packages/extension/manifest.json && cp ./packages/extension/manifest_firefox.json ./packages/extension/build/manifest.json && yarn build:zip:dst:ff && yarn build:zip:src:ff",
|
|
"build:zip:src:chrome": "rm -rf ./master-chrome-src.zip && zip -r -x '*build/*' -x '*node_modules*' -FS ./master-chrome-src.zip packages .editorconfig eslint.config.js rollup.config.js CHANGELOG.md CONTRIBUTING.md i18next-scanner.config.cjs LICENSE package.json README.md tsconfig.json yarn.lock .yarnrc.yml tsconfig.base.json tsconfig.build.json tsconfig.eslint.json tsconfig.webpack.json .yarn/releases scripts",
|
|
"build:zip:src:ff": "rm -rf ./master-ff-src.zip && zip -r -x '*build/*' -x '*node_modules*' -FS ./master-ff-src.zip packages .editorconfig eslint.config.js rollup.config.js CHANGELOG.md CONTRIBUTING.md i18next-scanner.config.cjs LICENSE package.json README.md tsconfig.json yarn.lock .yarnrc.yml tsconfig.base.json tsconfig.build.json tsconfig.eslint.json tsconfig.webpack.json .yarn/releases scripts",
|
|
"clean": "pezkuwi-dev-clean-build",
|
|
"diff": "rm -rf ff-diff && sh ./scripts/diff.sh",
|
|
"lint": "pezkuwi-dev-run-lint",
|
|
"lint:extension": "npx web-ext lint --source-dir ./packages/extension/build",
|
|
"pezkuwi-exec-webpack": "pezkuwi-exec-webpack",
|
|
"postinstall": "echo ok",
|
|
"test": "EXTENSION_PREFIX='test' pezkuwi-dev-run-test --loader ./packages/extension-mocks/src/loader-empty.js --env browser ^:.spec.tsx",
|
|
"test:one": "EXTENSION_PREFIX='test' pezkuwi-dev-run-test --env browser"
|
|
},
|
|
"devDependencies": {
|
|
"@pezkuwi/dev": "^0.86.3",
|
|
"@types/node": "^20.10.5",
|
|
"eslint-scope": "^5.1.1",
|
|
"i18next-scanner": "^4.4.0",
|
|
"rollup": "^4.55.1",
|
|
"sinon-chrome": "^3.0.1",
|
|
"webpack": "^5.90.0",
|
|
"webpack-cli": "^5.1.4"
|
|
},
|
|
"resolutions": {
|
|
"@types/react": "^18.3.3",
|
|
"@types/react-dom": "^18.3.0",
|
|
"safe-buffer": "^5.2.1",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|