Adjust for available ESM-only dependencies (#1581)

* Adjust for available ESM-only dependencies

* Flags for jest (sadly, still required mid-2022)
This commit is contained in:
Jaco
2022-07-06 12:50:36 +03:00
committed by GitHub
parent 1d71f67e2a
commit 4367bb0f68
9 changed files with 182 additions and 104 deletions
+2 -2
View File
@@ -25,13 +25,13 @@
"lint": "polkadot-dev-run-lint",
"networks:crosscheck": "polkadot-dev-run-test packages/networks/src/crosscheck",
"postinstall": "polkadot-dev-yarn-only",
"test": "polkadot-dev-run-test --coverage --runInBand --testPathIgnorePatterns crosscheck --testPathIgnorePatterns toMiniSecretCmp",
"test": "NODE_OPTIONS=--experimental-vm-modules polkadot-dev-run-test --coverage --runInBand --testPathIgnorePatterns crosscheck --testPathIgnorePatterns toMiniSecretCmp",
"test:mnemonicCmp": "polkadot-dev-run-test packages/util-crypto/src/mnemonic/toMiniSecretCmp.spec.ts",
"test:one": "polkadot-dev-run-test --runInBand"
},
"devDependencies": {
"@babel/core": "^7.18.6",
"@polkadot/dev": "^0.67.53",
"@polkadot/dev": "^0.67.55",
"@types/jest": "^28.1.4"
},
"resolutions": {