2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-08 17:22:34 +03:00

Added support for Axios to be loaded with require('axios').default; (#5225)

Added module import tests;

Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
Dmitriy Mozgovoy
2022-11-07 20:32:24 +02:00
committed by GitHub
parent 9452f06aa9
commit c0a723ab6c
10 changed files with 376 additions and 2 deletions
@@ -0,0 +1,20 @@
{
"name": "ts-entrypoint-test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "npm i --no-save --no-package-lock && npm run build && node index.js",
"build": "tsc"
},
"keywords": [],
"author": "",
"license": "MIT",
"dependencies": {
"@types/node": "^18.11.3",
"axios": "file:../../.."
},
"devDependencies": {
"typescript": "^4.8.4"
}
}