Skip to content

Commit

Permalink
Merge branch '1.0' into 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nivida authored Mar 18, 2019
2 parents cff40bd + 441135e commit d29ab09
Show file tree
Hide file tree
Showing 330 changed files with 17,992 additions and 19,967 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ jest.config.js
jest.preprocessor.js
W3cWebsocket.js
packages/**/rollup.config.js
packages/**/node_modules
angular-patch.js
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ addons:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
env:
matrix:
- CXX=g++-4.8 TEST_SUITE=test
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
Expand Down
2 changes: 1 addition & 1 deletion docs/web3-utils.rst
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ Example
> "0xbc36789e7a1e281436464229828f817d6612f7b477d66591ff96a9e064bcc98a"
web3.utils.sha3(234);
> null // can't calculate the has of a number
> null // can't calculate the hash of a number
web3.utils.sha3(0xea); // same as above, just the HEX representation of the number
> null
Expand Down
12 changes: 10 additions & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
// TODO: Improve tests and add the branch property to the coverageThreshold config.
const config = {
verbose: true,
notifyMode: 'success-change',
collectCoverage: true,
coverageDirectory: './coverage/',
coverageThreshold: {
global: {
functions: 80,
lines: 80,
statements: 80
}
},
notify: true,
clearMocks: true,
resetMocks: true,
Expand All @@ -9,7 +18,6 @@ const config = {
transform: {
'^.+\\.js$': '<rootDir>/../../jest.preprocessor.js'
},
transformIgnorePatterns: ['node_modules/(?!(underscore-es)/)'],
bail: true
};

Expand Down
7 changes: 6 additions & 1 deletion jest.preprocessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ module.exports = require('babel-jest').createTransformer({
plugins: [
'@babel/plugin-proposal-export-default-from',
'@babel/plugin-proposal-export-namespace-from',
'@babel/plugin-transform-runtime'
'@babel/plugin-transform-runtime',
['istanbul', {
'exclude': [
'dist'
]
}]
]
}
}
Expand Down
17 changes: 2 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
{
"name": "web3",
"namespace": "ethereum",
"version": "1.0.0-beta.46",
"version": "1.0.0-beta.48",
"description": "Ethereum JavaScript API wrapper repository",
"license": "LGPL-3.0",
"main": "./packages/web3/src/index.js",
"directories": {
"doc": "./doc",
"test": "./test"
"doc": "./doc"
},
"scripts": {
"clean": "lerna clean",
"link": "lerna link",
"bootstrap": "lerna bootstrap",
"install:all": "lerna add",
"remove:all": "lerna exec npm uninstall",
"install:dev:all": "lerna exec npm install --save-dev",
"publish": "npm run clean && npm run bootstrap && npm run travis && lerna publish",
"build": "lerna run build",
"test": "lerna run test",
"test:coverage": "lerna run test -- -- --coverage && istanbul-combine -d coverage -r lcov -r html ./packages/**/coverage-final.json",
"test:coverage": "lerna run test -- --coverage && npm run istanbulCombine",
"istanbulCombine": "istanbul-combine -d coverage -r lcov -r html ./packages/**/coverage-final.json",
"dtslint": "lerna run dtslint",
"docs": "cd docs; make html;",
"lint": "eslint --cache --fix .",
Expand Down Expand Up @@ -83,7 +84,7 @@
"@types/node": "^10.12.30",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "23.6.0",
"babel-jest": "^23.6.0",
"coveralls": "^3.0.3",
"eslint": "^5.15.1",
"eslint-config-prettier": "^3.6.0",
Expand All @@ -96,9 +97,8 @@
"eslint-plugin-standard": "^4.0.0",
"eslint-plugin-unicorn": "^6.0.1",
"istanbul-combine": "^0.3.0",
"jest": "23.6.0",
"jest": "^23.6.0",
"lerna": "^3.13.1",
"parsimmon": "^1.12.0",
"prettier": "1.14.3",
"regenerator-runtime": "^0.13.1",
"rollup": "^0.67.4",
Expand Down
Loading

0 comments on commit d29ab09

Please sign in to comment.