Skip to content

Commit

Permalink
chore: upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
yhnavein committed Mar 30, 2024
1 parent d8ed737 commit aae659b
Show file tree
Hide file tree
Showing 5 changed files with 278 additions and 172 deletions.
3 changes: 0 additions & 3 deletions .mocharc.js

This file was deleted.

5 changes: 5 additions & 0 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extension": ["js", "ts"],
"require": ["sucrase/register"],
"spec": ["src/**/*.spec.ts", "test/**/*.spec.ts"]
}
27 changes: 12 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,9 @@
"build": "sucrase ./src -d ./dist --transforms typescript,imports && npm run rm-tests && npm run types",
"rm-tests": "find dist/ -name '*.spec.js' -type f -delete",
"types": "tsc src/types.ts --outDir dist/ --declaration --emitDeclarationOnly && cp test/index.d.ts ./dist/",
"test": "mocha '{src,test}/**/*.spec.ts'"
"test": "mocha"
},
"files": [
"dist",
"templates"
],
"files": ["dist", "templates"],
"keywords": [
"swagger",
"swagger 2.0",
Expand All @@ -52,15 +49,15 @@
"node-fetch": "^2.6.7"
},
"devDependencies": {
"@types/chai": "4.3.9",
"@types/js-yaml": "4.0.8",
"@types/mocha": "10.0.3",
"@types/node-fetch": "2.6.7",
"@types/sinon": "^10.0.20",
"chai": "4.3.10",
"mocha": "10.2.0",
"sinon": "^17.0.1",
"sucrase": "3.34.0",
"typescript": "5.2.2"
"@types/chai": "4.3.14",
"@types/js-yaml": "4.0.9",
"@types/mocha": "10.0.6",
"@types/node-fetch": "2.6.11",
"@types/sinon": "17.0.3",
"chai": "4.4.1",
"mocha": "10.4.0",
"sinon": "17.0.1",
"sucrase": "3.35.0",
"typescript": "5.4.3"
}
}
2 changes: 1 addition & 1 deletion swaggie.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit aae659b

Please sign in to comment.