Skip to content

Commit

Permalink
chore: update dependencies, use jest, drop node 4 and 6
Browse files Browse the repository at this point in the history
  • Loading branch information
snyamathi committed Apr 25, 2020
1 parent d53c643 commit 80e399b
Show file tree
Hide file tree
Showing 6 changed files with 97 additions and 93 deletions.
19 changes: 11 additions & 8 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"presets": [
["env", {
"targets": {
"node": "4"
}
}]
]
}
"presets": [
[
"@babel/env",
{
"targets": {
"node": "4"
}
}
]
]
}
5 changes: 5 additions & 0 deletions .ncurc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"reject": [
"semver"
]
}
2 changes: 0 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
.eslintignore
.eslintrc.yml
.npmignore
.nyc_output
.travis.yml
artifacts
src
tests
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: node_js
node_js:
- 4
- 6
- 8
- 9
- 10
- 12
- 14
39 changes: 19 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,34 @@
{
"author": "Suneil Nyamathi <snyamathi@gmail.com>",
"bugs": "https://github.com/snyamathi/semver-intersect/issues",
"contributors": [],
"dependencies": {
"semver": "^5.0.0"
},
"name": "semver-intersect",
"version": "1.4.0",
"description": "Get the intersection of multiple semver ranges",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-register": "^6.26.0",
"chai": "^4.0.0",
"eslint": "^5.0.0",
"jenkins-mocha": "^6.0.0"
},
"keywords": [
"semver"
],
"license": "MIT",
"main": "semver-intersect.js",
"name": "semver-intersect",
"bugs": "https://github.com/snyamathi/semver-intersect/issues",
"repository": {
"type": "git",
"url": "git@github.com:snyamathi/semver-intersect.git"
},
"license": "MIT",
"author": "Suneil Nyamathi <snyamathi@gmail.com>",
"contributors": [],
"main": "semver-intersect.js",
"scripts": {
"build": "babel src -d .",
"lint": "eslint .",
"prepublish": "npm run build",
"pretest": "npm run build",
"test": "jenkins-mocha tests/unit --recursive --compilers js:babel-register"
"test": "jest"
},
"dependencies": {
"semver": "^6.3.0"
},
"version": "1.4.0"
}
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.5",
"eslint": "^6.8.0",
"jest": "^25.4.0"
}
}
Loading

0 comments on commit 80e399b

Please sign in to comment.