Skip to content

Commit

Permalink
Remove lock file from repo and update deps (indutny#242)
Browse files Browse the repository at this point in the history
* pkg: update dev dependencies

* pkg: update dev dependencies in benchmarks

* pkg: sort fields in package.json

* pkg: update benchmark pkg for benchmarks
  • Loading branch information
fanatid authored Feb 1, 2020
1 parent aff3260 commit 00d5851
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 2,098 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ node_modules/

npm-debug.log
package-lock.json
yarn.lock
yarn-error.log
2 changes: 1 addition & 1 deletion benchmarks/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function add (op, obj) {
})
.on('complete', function () {
console.log('------------------------');
console.log('Fastest is ' + this.filter('fastest').pluck('name'));
console.log('Fastest is ' + this.filter('fastest')[0].name);
})
.run();

Expand Down
16 changes: 8 additions & 8 deletions benchmarks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@
"name": "bn.js-benchmark",
"version": "0.0.0",
"description": "",
"license": "MIT",
"author": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "MIT",
"dependencies": {
"benchmark": "^1.0.0",
"bigi": "*",
"biginteger": "*",
"eccjs": "^0.3.1",
"benchmark": "^2.1.4",
"bigi": "1.4.2",
"biginteger": "1.0.3",
"eccjs": "0.3.1",
"js-big-integer": "1.0.2",
"xorshift.js": "^1.0.0"
"xorshift.js": "^1.0.3"
},
"optionalDependencies": {
"bignum": "^0.13.1"
"bignum": "0.13.1"
}
}
71 changes: 0 additions & 71 deletions benchmarks/yarn.lock

This file was deleted.

36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,39 @@
"name": "bn.js",
"version": "5.1.1",
"description": "Big number implementation in pure javascript",
"main": "lib/bn.js",
"scripts": {
"lint": "standardx",
"unit": "mocha --reporter=spec test/*-test.js",
"test": "npm run lint && npm run unit"
},
"repository": {
"type": "git",
"url": "[email protected]:indutny/bn.js"
},
"keywords": [
"BN",
"BigNum",
"Big number",
"BigNum",
"Modulo",
"Montgomery"
],
"author": "Fedor Indutny <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/indutny/bn.js",
"bugs": {
"url": "https://github.com/indutny/bn.js/issues"
},
"repository": {
"type": "git",
"url": "[email protected]:indutny/bn.js"
},
"license": "MIT",
"author": "Fedor Indutny <[email protected]>",
"files": [
"lib"
"lib/bn.js"
],
"homepage": "https://github.com/indutny/bn.js",
"main": "lib/bn.js",
"browser": {
"buffer": false
},
"scripts": {
"lint": "standardx",
"test": "npm run lint && npm run unit",
"unit": "mocha --reporter=spec test/*-test.js"
},
"devDependencies": {
"babel-eslint": "^10.0.2",
"mocha": "^6.1.4",
"standardx": "^4.0.0"
"babel-eslint": "^10.0.3",
"mocha": "^7.0.1",
"standardx": "^5.0.0"
},
"standardx": {
"parser": "babel-eslint"
Expand Down
Loading

0 comments on commit 00d5851

Please sign in to comment.