my-axios:用typescript编写一个简单的axios库

时间:2021-04-09 16:28:28
【文件属性】:
文件名称:my-axios:用typescript编写一个简单的axios库
文件大小:363KB
文件格式:ZIP
更新时间:2021-04-09 16:28:28
TypeScript 我的轴 用typescript编写的一个简易的仿axios库 NPM脚本 npm t :运行测试套件 npm start :以监视模式运行npm run build npm run test:watch :以运行测试套件 npm run test:prod :运行linting并生成覆盖率 npm run build :生成包和类型,创建文档 npm run lint :Lints代码 npm run commit :使用传统的提交样式提交(如果没有,会告诉您使用它 :winking_face: )
【文件预览】:
my-axios-master
----.travis.yml(563B)
----.eslintrc(924B)
----package.json(4KB)
----tslint.json(81B)
----tools()
--------gh-pages-publish.ts(906B)
--------semantic-release-prepare.ts(1KB)
----test()
--------requests.spec.ts(7KB)
--------helper.ts(202B)
--------boot.ts(148B)
--------cancel()
--------defaults.spec.ts(4KB)
--------progress.spec.ts(895B)
--------transform.spec.ts(2KB)
--------headers.spec.ts(2KB)
--------interceptor.spec.ts(6KB)
--------static.spec.ts(797B)
--------auth.spec.ts(1KB)
--------instance.spec.ts(3KB)
--------cancel.spec.ts(2KB)
--------xsrf.spec.ts(1KB)
--------mergeConfig.spec.ts(3KB)
--------helpers()
----.prettierrc(141B)
----code-of-conduct.md(3KB)
----LICENSE(1KB)
----package-lock.json(1.43MB)
----CONTRIBUTING.md(936B)
----src()
--------defaults.ts(1KB)
--------core()
--------cancel()
--------my-axios.ts(1002B)
--------types()
--------index.ts(81B)
--------helpers()
----tsconfig.json(483B)
----.gitignore(112B)
----README.md(574B)
----.editorconfig(211B)
----rollup.config.ts(1KB)

网友评论