mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-15 16:24:40 +00:00
7e550f0e6f
Refactor typings as necessary. In order for `bignumber.js` in the root `node_modules` to not conflict with `@types/bignumber.js`, specify `"bignumber.js": "5.0.0"` in `devDependencies` and `"embark-ui/bignumber.js"` in `nohoist` of the root `package.json`. In `packages/plugins/rpc-manager` switch from callback to promise usage with respect to `web3.eth.accounts.signTransaction` because of a [bug][bug] discovered in web3 v1.2.4. In `packages/plugins/solidity-tests` specialize the tsc compiler options with `"skipLibCheck": true` because of a problematic web3-related typing in the `.d.ts` files of the remix-tests package. Bump ganache-cli from 6.4.3 to 6.7.0 (latest) because 6.4.3 doesn't support `eth_chainId` but web3 1.2.4 makes use of the `eth_chainId` RPC method (EIP 695). BREAKING CHANGE: bump embark's minimum supported version of parity from `>=2.0.0` to `>=2.2.1`. This is necessary since web3 1.2.4 makes use of the `eth_chainId` RPC method (EIP 695) and that parity version is the earliest one to implement it. [bug]: https://github.com/ethereum/web3.js/issues/3283
77 lines
2.0 KiB
JSON
77 lines
2.0 KiB
JSON
{
|
|
"name": "embark-solidity-tests",
|
|
"version": "5.0.0-alpha.8",
|
|
"description": "Plugin to run Embark solidity tests",
|
|
"homepage": "https://github.com/embark-framework/embark/tree/master/packages/plugins/solidity-tests#readme",
|
|
"repository": {
|
|
"directory": "packages/plugins/solidity-tests",
|
|
"type": "git",
|
|
"url": "https://github.com/embark-framework/embark/"
|
|
},
|
|
"author": "Iuri Matias <iuri.matias@gmail.com>",
|
|
"license": "MIT",
|
|
"bugs": "https://github.com/embark-framework/embark/issues",
|
|
"keywords": [
|
|
"blockchain",
|
|
"dapps",
|
|
"ethereum",
|
|
"ipfs",
|
|
"serverless",
|
|
"solc",
|
|
"solidity"
|
|
],
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"main": "./dist/lib/index.js",
|
|
"types": "./dist/lib/index.d.ts",
|
|
"embark-collective": {
|
|
"build:node": true,
|
|
"typecheck": {
|
|
"compilerOptions": {
|
|
"skipLibCheck": true
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"_build": "npm run solo -- build",
|
|
"_typecheck": "npm run solo -- typecheck",
|
|
"ci": "npm run qa",
|
|
"clean": "npm run reset",
|
|
"lint": "eslint src/",
|
|
"qa": "npm-run-all lint _typecheck _build test",
|
|
"reset": "npx rimraf .nyc_output dist embark-*.tgz package",
|
|
"solo": "embark-solo",
|
|
"test": "nyc --reporter=html --reporter=json mocha \"dist/test/**/*.js\" --exit --no-timeouts --require source-map-support/register"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "../../../.eslintrc.json"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime-corejs3": "7.7.4",
|
|
"@types/async": "3.0.3",
|
|
"async": "3.1.0",
|
|
"core-js": "3.4.3",
|
|
"embark-utils": "^5.0.0-alpha.8",
|
|
"remix-tests": "0.1.20",
|
|
"web3": "1.2.4",
|
|
"yo-yoify": "4.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"embark-solo": "^5.0.0-alpha.5",
|
|
"embark-utils": "^5.0.0-alpha.4",
|
|
"eslint": "5.7.0",
|
|
"mocha": "6.2.2",
|
|
"npm-run-all": "4.1.5",
|
|
"nyc": "13.1.0",
|
|
"rimraf": "3.0.0",
|
|
"sinon": "7.4.2",
|
|
"source-map-support": "0.5.13"
|
|
},
|
|
"engines": {
|
|
"node": ">=10.17.0 <12.0.0",
|
|
"npm": ">=6.11.3",
|
|
"yarn": ">=1.19.1"
|
|
}
|
|
}
|