Add openZeppelin dependencies
Migrating from truffle testing environment to openzeppelin.
Update scripts to run mocha tests
"scripts": {
"clean": "rm -rf build/",
"compile": "truffle compile",
- "test": "NODE_ENV=test truffle test",
+ "test": "npx mocha --exit --recursive test",
+ "refresh": "truffle compile && npm run test",
"test:debug": "NODE_ENV=test node --inspect node_modules/.bin/truffle test",
"js:lint": "eslint ${npm_package_config_eslintPaths}",
"js:lint:fix": "eslint --fix ${npm_package_config_eslintPaths}",
"license": "UNLICENSED",
"dependencies": {
"@keep-network/keep-ecdsa": "^0.7.7",
+ "@openzeppelin/test-helpers": "^0.5.4",
"@summa-tx/bitcoin-spv-sol": "^2.2.0",
"@summa-tx/relay-sol": "^1.1.0",
"@truffle/hdwallet-provider": "^1.0.26",
"bn-chai": "^1.0.1",
"bn.js": "^4.11.8",
- "chai": "^4.2.0",
"create-hash": "^1.2.0",
"openzeppelin-solidity": "2.3.0",
"solc": "^0.5.10"
},
"devDependencies": {
+ "@openzeppelin/test-environment": "^0.1.2",
"babel-polyfill": "^6.26.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-stage-2": "^6.18.0",
"babel-preset-stage-3": "^6.17.0",
"babel-register": "^6.26.0",
+ "chai": "^4.2.0",
"eslint": "^5.16.0",
"eslint-config-keep": "git+https://github.com/keep-network/eslint-config-keep.git#0.2.0",
"eth-gas-reporter": "^0.1.12",
"ethlint": "^1.2.4",
"ganache-cli": "^6.4.3",
+ "mocha": "^7.0.1",
"solium-config-keep": "git+https://github.com/keep-network/solium-config-keep.git#0.1.1",
"truffle": "^5.1.0"
}
