mirror of
https://github.com/tenrok/axios.git
synced 2026-06-23 20:40:40 +03:00
Fixing issues with bundle sizes
This commit is contained in:
Vendored
+1
-2110
File diff suppressed because it is too large
Load Diff
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-11
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Generated
+2035
-2034
File diff suppressed because it is too large
Load Diff
+1
-5
@@ -7,10 +7,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "grunt test && dtslint",
|
"test": "grunt test && dtslint",
|
||||||
"start": "node ./sandbox/server.js",
|
"start": "node ./sandbox/server.js",
|
||||||
"build": "cross-env NODE_ENV=production grunt build",
|
"build": "grunt version && npm test & NODE_ENV=production grunt build",
|
||||||
"preversion": "grunt version && npm test",
|
|
||||||
"version": "npm run build && git add -A dist && git add CHANGELOG.md bower.json package.json",
|
|
||||||
"postversion": "git push && git push --tags",
|
|
||||||
"examples": "node ./examples/server.js",
|
"examples": "node ./examples/server.js",
|
||||||
"coveralls": "cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
|
"coveralls": "cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
|
||||||
"fix": "eslint --fix lib/**/*.js"
|
"fix": "eslint --fix lib/**/*.js"
|
||||||
@@ -35,7 +32,6 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"abortcontroller-polyfill": "^1.7.3",
|
"abortcontroller-polyfill": "^1.7.3",
|
||||||
"coveralls": "^3.1.1",
|
"coveralls": "^3.1.1",
|
||||||
"cross-env": "^7.0.3",
|
|
||||||
"dtslint": "^4.2.1",
|
"dtslint": "^4.2.1",
|
||||||
"es6-promise": "^4.2.8",
|
"es6-promise": "^4.2.8",
|
||||||
"formidable": "^2.0.1",
|
"formidable": "^2.0.1",
|
||||||
|
|||||||
+1
-3
@@ -14,9 +14,7 @@ function generateConfig(name) {
|
|||||||
libraryTarget: 'umd',
|
libraryTarget: 'umd',
|
||||||
globalObject: 'this'
|
globalObject: 'this'
|
||||||
},
|
},
|
||||||
node: {
|
node: false,
|
||||||
process: false
|
|
||||||
},
|
|
||||||
devtool: 'source-map',
|
devtool: 'source-map',
|
||||||
mode: compress ? 'production' : 'development'
|
mode: compress ? 'production' : 'development'
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user