mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-11 20:02:09 +00:00
Update dependencies for JavaScript
Update to Babel 7 to avoid stern warnings during `npm install` Update Mocha to version 8, also to avoid warnings and be compatible with Babel 7
This commit is contained in:
parent
bee064f7c6
commit
765ff04d62
@ -21,16 +21,19 @@
|
||||
},
|
||||
"homepage": "https://github.com/emilybache/GildedRose-Refactoring-Kata",
|
||||
"devDependencies": {
|
||||
"babel-core": "^6.26.0",
|
||||
"babel-preset-env": "1.7.0",
|
||||
"babel-register": "^6.26.0",
|
||||
"jasmine": "^3.2.0"
|
||||
"@babel/core": "^7.14.0",
|
||||
"@babel/preset-env": "7.14.0",
|
||||
"@babel/register": "^7.13.0",
|
||||
"jasmine": "^3.7.0"
|
||||
},
|
||||
"babel": {
|
||||
"presets": [
|
||||
[
|
||||
"env", {
|
||||
"targets": { "node": "current" }
|
||||
"env",
|
||||
{
|
||||
"targets": {
|
||||
"node": "current"
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
"version": "1.0.0",
|
||||
"description": "Gilded Rose kata in Javascript with Mocha",
|
||||
"scripts": {
|
||||
"test": "mocha --compilers js:babel/register"
|
||||
"test": "mocha --require @babel/register"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -21,8 +21,10 @@
|
||||
},
|
||||
"homepage": "https://github.com/emilybache/GildedRose-Refactoring-Kata",
|
||||
"devDependencies": {
|
||||
"babel": "^5.8.23",
|
||||
"@babel/core": "^7.14.0",
|
||||
"@babel/preset-env": "^7.14.0",
|
||||
"@babel/register": "^7.13.0",
|
||||
"chai": "^4.2.0",
|
||||
"mocha": "^5.2.0"
|
||||
"mocha": "^8.4.0"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user