285 lines
8.5 KiB
JSON
285 lines
8.5 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
"axios@1.4.0",
|
|
"/Users/liushiquan/learn_code/android/CatVodOpen/open"
|
|
]
|
|
],
|
|
"_from": "axios@1.4.0",
|
|
"_id": "axios@1.4.0",
|
|
"_inBundle": false,
|
|
"_integrity": "sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==",
|
|
"_location": "/axios",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "version",
|
|
"registry": true,
|
|
"raw": "axios@1.4.0",
|
|
"name": "axios",
|
|
"escapedName": "axios",
|
|
"rawSpec": "1.4.0",
|
|
"saveSpec": null,
|
|
"fetchSpec": "1.4.0"
|
|
},
|
|
"_requiredBy": [
|
|
"/"
|
|
],
|
|
"_resolved": "https://registry.npmmirror.com/axios/-/axios-1.4.0.tgz",
|
|
"_spec": "1.4.0",
|
|
"_where": "/Users/liushiquan/learn_code/android/CatVodOpen/open",
|
|
"author": {
|
|
"name": "Matt Zabriskie"
|
|
},
|
|
"browser": {
|
|
"./lib/adapters/http.js": "./lib/helpers/null.js",
|
|
"./lib/platform/node/index.js": "./lib/platform/browser/index.js",
|
|
"./lib/platform/node/classes/FormData.js": "./lib/helpers/null.js"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/axios/axios/issues"
|
|
},
|
|
"bundlesize": [
|
|
{
|
|
"path": "./dist/axios.min.js",
|
|
"threshold": "5kB"
|
|
}
|
|
],
|
|
"commitlint": {
|
|
"rules": {
|
|
"header-max-length": [
|
|
2,
|
|
"always",
|
|
130
|
|
]
|
|
},
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
]
|
|
},
|
|
"contributors": [
|
|
{
|
|
"name": "Matt Zabriskie",
|
|
"url": "https://github.com/mzabriskie"
|
|
},
|
|
{
|
|
"name": "Nick Uraltsev",
|
|
"url": "https://github.com/nickuraltsev"
|
|
},
|
|
{
|
|
"name": "Jay",
|
|
"url": "https://github.com/jasonsaayman"
|
|
},
|
|
{
|
|
"name": "Dmitriy Mozgovoy",
|
|
"url": "https://github.com/DigitalBrainJS"
|
|
},
|
|
{
|
|
"name": "Emily Morehouse",
|
|
"url": "https://github.com/emilyemorehouse"
|
|
},
|
|
{
|
|
"name": "Rubén Norte",
|
|
"url": "https://github.com/rubennorte"
|
|
},
|
|
{
|
|
"name": "Justin Beckwith",
|
|
"url": "https://github.com/JustinBeckwith"
|
|
},
|
|
{
|
|
"name": "Martti Laine",
|
|
"url": "https://github.com/codeclown"
|
|
},
|
|
{
|
|
"name": "Xianming Zhong",
|
|
"url": "https://github.com/chinesedfan"
|
|
},
|
|
{
|
|
"name": "Rikki Gibson",
|
|
"url": "https://github.com/RikkiGibson"
|
|
},
|
|
{
|
|
"name": "Remco Haszing",
|
|
"url": "https://github.com/remcohaszing"
|
|
},
|
|
{
|
|
"name": "Yasu Flores",
|
|
"url": "https://github.com/yasuf"
|
|
},
|
|
{
|
|
"name": "Ben Carp",
|
|
"url": "https://github.com/carpben"
|
|
}
|
|
],
|
|
"dependencies": {
|
|
"follow-redirects": "^1.15.0",
|
|
"form-data": "^4.0.0",
|
|
"proxy-from-env": "^1.1.0"
|
|
},
|
|
"description": "Promise based HTTP client for the browser and node.js",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.18.2",
|
|
"@babel/preset-env": "^7.18.2",
|
|
"@commitlint/cli": "^17.3.0",
|
|
"@commitlint/config-conventional": "^17.3.0",
|
|
"@release-it/conventional-changelog": "^5.1.1",
|
|
"@rollup/plugin-babel": "^5.3.1",
|
|
"@rollup/plugin-commonjs": "^15.1.0",
|
|
"@rollup/plugin-json": "^4.1.0",
|
|
"@rollup/plugin-multi-entry": "^4.0.0",
|
|
"@rollup/plugin-node-resolve": "^9.0.0",
|
|
"abortcontroller-polyfill": "^1.7.3",
|
|
"auto-changelog": "^2.4.0",
|
|
"body-parser": "^1.20.0",
|
|
"chalk": "^5.2.0",
|
|
"coveralls": "^3.1.1",
|
|
"cross-env": "^7.0.3",
|
|
"dev-null": "^0.1.1",
|
|
"dtslint": "^4.2.1",
|
|
"es6-promise": "^4.2.8",
|
|
"eslint": "^8.17.0",
|
|
"express": "^4.18.1",
|
|
"formdata-node": "^5.0.0",
|
|
"formidable": "^2.0.1",
|
|
"fs-extra": "^10.1.0",
|
|
"get-stream": "^3.0.0",
|
|
"gulp": "^4.0.2",
|
|
"gzip-size": "^7.0.0",
|
|
"handlebars": "^4.7.7",
|
|
"husky": "^8.0.2",
|
|
"istanbul-instrumenter-loader": "^3.0.1",
|
|
"jasmine-core": "^2.4.1",
|
|
"karma": "^6.3.17",
|
|
"karma-chrome-launcher": "^3.1.1",
|
|
"karma-firefox-launcher": "^2.1.2",
|
|
"karma-jasmine": "^1.1.1",
|
|
"karma-jasmine-ajax": "^0.1.13",
|
|
"karma-rollup-preprocessor": "^7.0.8",
|
|
"karma-safari-launcher": "^1.0.0",
|
|
"karma-sauce-launcher": "^4.3.6",
|
|
"karma-sinon": "^1.0.5",
|
|
"karma-sourcemap-loader": "^0.3.8",
|
|
"minimist": "^1.2.7",
|
|
"mocha": "^10.0.0",
|
|
"multer": "^1.4.4",
|
|
"pretty-bytes": "^6.0.0",
|
|
"release-it": "^15.5.1",
|
|
"rollup": "^2.67.0",
|
|
"rollup-plugin-auto-external": "^2.0.0",
|
|
"rollup-plugin-bundle-size": "^1.0.3",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"sinon": "^4.5.0",
|
|
"stream-throttle": "^0.1.3",
|
|
"string-replace-async": "^3.0.2",
|
|
"terser-webpack-plugin": "^4.2.3",
|
|
"typescript": "^4.8.4"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": {
|
|
"require": "./index.d.cts",
|
|
"default": "./index.d.ts"
|
|
},
|
|
"browser": {
|
|
"require": "./dist/browser/axios.cjs",
|
|
"default": "./index.js"
|
|
},
|
|
"default": {
|
|
"require": "./dist/node/axios.cjs",
|
|
"default": "./index.js"
|
|
}
|
|
},
|
|
"./unsafe/*": "./lib/*",
|
|
"./unsafe/core/settle.js": "./lib/core/settle.js",
|
|
"./unsafe/core/buildFullPath.js": "./lib/core/buildFullPath.js",
|
|
"./unsafe/helpers/isAbsoluteURL.js": "./lib/helpers/isAbsoluteURL.js",
|
|
"./unsafe/helpers/buildURL.js": "./lib/helpers/buildURL.js",
|
|
"./unsafe/helpers/combineURLs.js": "./lib/helpers/combineURLs.js",
|
|
"./unsafe/adapters/http.js": "./lib/adapters/http.js",
|
|
"./unsafe/adapters/xhr.js": "./lib/adapters/xhr.js",
|
|
"./unsafe/utils.js": "./lib/utils.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"homepage": "https://axios-http.com",
|
|
"jsdelivr": "dist/axios.min.js",
|
|
"keywords": [
|
|
"xhr",
|
|
"http",
|
|
"ajax",
|
|
"promise",
|
|
"node"
|
|
],
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"name": "axios",
|
|
"release-it": {
|
|
"git": {
|
|
"commitMessage": "chore(release): v${version}",
|
|
"push": true,
|
|
"commit": true,
|
|
"tag": true,
|
|
"requireCommits": false,
|
|
"requireCleanWorkingDir": false
|
|
},
|
|
"github": {
|
|
"release": true,
|
|
"draft": true
|
|
},
|
|
"npm": {
|
|
"publish": false,
|
|
"ignoreVersion": false
|
|
},
|
|
"plugins": {
|
|
"@release-it/conventional-changelog": {
|
|
"preset": "angular",
|
|
"infile": "CHANGELOG.md",
|
|
"header": "# Changelog"
|
|
}
|
|
},
|
|
"hooks": {
|
|
"before:init": "npm test",
|
|
"after:bump": "gulp version --bump ${version} && npm run build && npm run test:build:version && git add ./dist && git add ./package-lock.json",
|
|
"before:release": "npm run release:changelog:fix",
|
|
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/axios/axios.git"
|
|
},
|
|
"scripts": {
|
|
"build": "gulp clear && cross-env NODE_ENV=production rollup -c -m",
|
|
"coveralls": "cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
|
|
"examples": "node ./examples/server.js",
|
|
"fix": "eslint --fix lib/**/*.js",
|
|
"postpublish": "git push && git push --tags",
|
|
"prepare": "husky install && npm run prepare:hooks",
|
|
"prepare:hooks": "npx husky set .husky/commit-msg \"npx commitlint --edit $1\"",
|
|
"prepublishOnly": "npm run test:build:version",
|
|
"preversion": "gulp version",
|
|
"release": "release-it",
|
|
"release:beta": "release-it --preRelease=beta",
|
|
"release:beta:no-npm": "release-it --preRelease=beta --no-npm",
|
|
"release:changelog:fix": "node ./bin/injectContributorsList.js && git add CHANGELOG.md",
|
|
"release:dry": "release-it --dry-run --no-npm",
|
|
"release:info": "release-it --release-version",
|
|
"release:no-npm": "release-it --no-npm",
|
|
"start": "node ./sandbox/server.js",
|
|
"test": "npm run test:eslint && npm run test:mocha && npm run test:karma && npm run test:dtslint && npm run test:exports",
|
|
"test:build:version": "node ./bin/check-build-version.js",
|
|
"test:dtslint": "dtslint --localTs node_modules/typescript/lib",
|
|
"test:eslint": "node bin/ssl_hotfix.js eslint lib/**/*.js",
|
|
"test:exports": "node bin/ssl_hotfix.js mocha test/module/test.js --timeout 30000 --exit",
|
|
"test:karma": "node bin/ssl_hotfix.js cross-env LISTEN_ADDR=:: karma start karma.conf.cjs --single-run",
|
|
"test:karma:firefox": "node bin/ssl_hotfix.js cross-env LISTEN_ADDR=:: Browsers=Firefox karma start karma.conf.cjs --single-run",
|
|
"test:karma:server": "node bin/ssl_hotfix.js cross-env karma start karma.conf.cjs",
|
|
"test:mocha": "node bin/ssl_hotfix.js mocha test/unit/**/*.js --timeout 30000 --exit",
|
|
"version": "npm run build && git add dist && git add package.json"
|
|
},
|
|
"sideEffects": false,
|
|
"type": "module",
|
|
"types": "index.d.ts",
|
|
"typings": "./index.d.ts",
|
|
"unpkg": "dist/axios.min.js",
|
|
"version": "1.4.0"
|
|
}
|