mirror of
https://github.com/tenrok/axios.git
synced 2026-05-15 11:59:42 +03:00
Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
"scripts": {
|
||||
"test": "npm run test:node && npm run test:browser && npm run test:package",
|
||||
"test:node": "npm run test:mocha",
|
||||
"test:node:coverage": "c8 npm run test:mocha",
|
||||
"test:browser": "npm run test:karma",
|
||||
"test:package": "npm run test:eslint && npm run test:dtslint && npm run test:exports",
|
||||
"test:eslint": "node bin/ssl_hotfix.js eslint lib/**/*.js",
|
||||
@@ -112,6 +113,7 @@
|
||||
"abortcontroller-polyfill": "^1.7.5",
|
||||
"auto-changelog": "^2.4.0",
|
||||
"body-parser": "^1.20.2",
|
||||
"c8": "^10.1.3",
|
||||
"chalk": "^5.3.0",
|
||||
"coveralls": "^3.1.1",
|
||||
"cross-env": "^7.0.3",
|
||||
@@ -239,5 +241,22 @@
|
||||
"extends": [
|
||||
"@commitlint/config-conventional"
|
||||
]
|
||||
},
|
||||
"c8": {
|
||||
"all": true,
|
||||
"include": [
|
||||
"lib/**/*.js",
|
||||
"lib/**/*.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"test",
|
||||
"sandbox"
|
||||
],
|
||||
"reporter": [
|
||||
"text",
|
||||
"lcov",
|
||||
"html"
|
||||
],
|
||||
"report-dir": "./coverage"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user