mirror of
https://github.com/jimeh/node-base58.git
synced 2026-02-19 07:36:40 +00:00
Update the dependencies versions
- Require node 6 at a minimum to support the newer ES features. Node version functionality determined via https://node.green. - Update dev dependencies to their latest versions. Mocha 3.4 relied on a version of growl with a known vulnerability. - Fix the keywords section, this field is actually an array. - Update eslint syntax to ES6.
This commit is contained in:
@@ -7,5 +7,8 @@ module.exports = {
|
|||||||
plugins: ["prettier"],
|
plugins: ["prettier"],
|
||||||
rules: {
|
rules: {
|
||||||
"prettier/prettier": "error"
|
"prettier/prettier": "error"
|
||||||
|
},
|
||||||
|
parserOptions: {
|
||||||
|
"ecmaVersion": 6
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
16
package.json
16
package.json
@@ -1,7 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name": "base58",
|
"name": "base58",
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
"keywords": "base58, flickr",
|
"keywords": [
|
||||||
|
"base58, flickr"
|
||||||
|
],
|
||||||
"description": "Flickr Flavored Base58 Encoding and Decoding",
|
"description": "Flickr Flavored Base58 Encoding and Decoding",
|
||||||
"licenses": [
|
"licenses": [
|
||||||
{
|
{
|
||||||
@@ -22,14 +24,14 @@
|
|||||||
},
|
},
|
||||||
"main": "./src/base58",
|
"main": "./src/base58",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 4"
|
"node": ">= 6"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^4.1.1",
|
"eslint": "^5.6.0",
|
||||||
"eslint-config-prettier": "^2.3.0",
|
"eslint-config-prettier": "^3.0.0",
|
||||||
"eslint-plugin-prettier": "^2.2.0",
|
"eslint-plugin-prettier": "^2.7.0",
|
||||||
"mocha": "^3.4.2",
|
"mocha": "^5.2.0",
|
||||||
"prettier": "^1.5.3"
|
"prettier": "^1.14.3"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint . --fix",
|
"lint": "eslint . --fix",
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
env: {
|
env: {
|
||||||
mocha: true
|
mocha: true
|
||||||
|
},
|
||||||
|
parserOptions: {
|
||||||
|
"ecmaVersion": 6
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user