mirror of
https://github.com/axios/axios.git
synced 2026-04-11 14:21:59 +08:00
chore: remove un-needed packages (#7501)
* chore: remove un-needed packages * chore: add back husky * Update .husky/commit-msg Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> --------- Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
parent
e943f6c545
commit
45fcf1297a
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,7 +9,6 @@ test/typescript/axios.js*
|
||||
sauce_connect.log
|
||||
test/module/**/package-lock.json
|
||||
backup/
|
||||
/.husky/
|
||||
.npmrc
|
||||
.env
|
||||
dist/
|
||||
|
||||
4
.husky/commit-msg
Executable file
4
.husky/commit-msg
Executable file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
npx commitlint --edit "$1"
|
||||
6484
package-lock.json
generated
6484
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
41
package.json
41
package.json
@ -91,19 +91,15 @@
|
||||
"@rollup/plugin-babel": "^7.0.0",
|
||||
"@rollup/plugin-commonjs": "^15.1.0",
|
||||
"@rollup/plugin-json": "^4.1.0",
|
||||
"@rollup/plugin-multi-entry": "^4.1.0",
|
||||
"@rollup/plugin-node-resolve": "^9.0.0",
|
||||
"@vitest/browser": "^4.0.18",
|
||||
"@vitest/browser-playwright": "^4.0.18",
|
||||
"abortcontroller-polyfill": "^1.7.8",
|
||||
"auto-changelog": "^2.5.0",
|
||||
"body-parser": "^1.20.4",
|
||||
"c8": "^10.1.3",
|
||||
"chalk": "^5.6.2",
|
||||
"coveralls": "^3.1.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"dev-null": "^0.1.1",
|
||||
"es6-promise": "^4.2.8",
|
||||
"eslint": "^8.57.1",
|
||||
"express": "^4.22.1",
|
||||
"formdata-node": "^5.0.1",
|
||||
@ -113,32 +109,18 @@
|
||||
"gulp": "^4.0.2",
|
||||
"handlebars": "^4.7.8",
|
||||
"husky": "^8.0.3",
|
||||
"jasmine-core": "^2.99.1",
|
||||
"karma": "^6.4.4",
|
||||
"karma-chrome-launcher": "^3.2.0",
|
||||
"karma-firefox-launcher": "^2.1.3",
|
||||
"karma-jasmine": "^1.1.2",
|
||||
"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.4.0",
|
||||
"lint-staged": "^15.2.10",
|
||||
"memoizee": "^0.4.17",
|
||||
"minimist": "^1.2.8",
|
||||
"mocha": "^10.8.2",
|
||||
"multer": "^1.4.4",
|
||||
"pacote": "^20.0.0",
|
||||
"playwright": "^1.58.2",
|
||||
"prettier": "^3.8.1",
|
||||
"pretty-bytes": "^6.1.1",
|
||||
"rollup": "^2.79.2",
|
||||
"rollup-plugin-auto-external": "^2.0.0",
|
||||
"rollup-plugin-bundle-size": "^1.0.3",
|
||||
"rollup-plugin-terser": "^7.0.2",
|
||||
"selfsigned": "^3.0.1",
|
||||
"sinon": "^4.5.0",
|
||||
"stream-throttle": "^0.1.3",
|
||||
"string-replace-async": "^3.0.2",
|
||||
"tar-stream": "^3.1.7",
|
||||
@ -165,12 +147,6 @@
|
||||
"form-data": "^4.0.5",
|
||||
"proxy-from-env": "^2.0.0"
|
||||
},
|
||||
"bundlesize": [
|
||||
{
|
||||
"path": "./dist/axios.min.js",
|
||||
"threshold": "5kB"
|
||||
}
|
||||
],
|
||||
"contributors": [
|
||||
"Matt Zabriskie (https://github.com/mzabriskie)",
|
||||
"Dmitriy Mozgovoy (https://github.com/DigitalBrainJS)",
|
||||
@ -201,22 +177,5 @@
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{js,cjs,mjs,ts,json,md,yml,yaml}": "prettier --write"
|
||||
},
|
||||
"c8": {
|
||||
"all": true,
|
||||
"include": [
|
||||
"lib/**/*.js",
|
||||
"lib/**/*.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"test",
|
||||
"sandbox"
|
||||
],
|
||||
"reporter": [
|
||||
"text",
|
||||
"lcov",
|
||||
"html"
|
||||
],
|
||||
"report-dir": "./coverage"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user