-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c51fde6
commit e2fa308
Showing
10 changed files
with
3,631 additions
and
12,532 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,29 +2,6 @@ | |
"name": "popsicle", | ||
"version": "12.1.0", | ||
"description": "Advanced HTTP requests in node.js and browsers", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
"dist/", | ||
"logo.svg" | ||
], | ||
"browser": { | ||
"./dist/node.js": "./dist/browser.js" | ||
}, | ||
"scripts": { | ||
"prettier": "prettier --write", | ||
"lint": "tslint \"{.,src/**}/*.{js,jsx,ts,tsx}\" --project tsconfig.json", | ||
"format": "npm run prettier -- \"{.,src/**}/*.{js,jsx,ts,tsx,md,yml,yaml}\"", | ||
"build": "rimraf dist && tsc", | ||
"specs": "jest --coverage", | ||
"test": "npm run -s lint && npm run -s build && npm run -s specs && npm run -s size", | ||
"prepare": "npm run build", | ||
"size": "size-limit" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/serviejs/popsicle.git" | ||
}, | ||
"keywords": [ | ||
"request", | ||
"http", | ||
|
@@ -34,74 +11,67 @@ | |
"browser", | ||
"promise" | ||
], | ||
"homepage": "https://github.com/serviejs/popsicle", | ||
"bugs": { | ||
"url": "https://github.com/serviejs/popsicle/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/serviejs/popsicle.git" | ||
}, | ||
"license": "MIT", | ||
"author": { | ||
"name": "Blake Embrey", | ||
"email": "[email protected]", | ||
"url": "http://blakeembrey.me" | ||
}, | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/serviejs/popsicle/issues" | ||
}, | ||
"homepage": "https://github.com/serviejs/popsicle", | ||
"jest": { | ||
"roots": [ | ||
"<rootDir>/src/" | ||
], | ||
"transform": { | ||
"\\.tsx?$": "ts-jest" | ||
}, | ||
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$", | ||
"moduleFileExtensions": [ | ||
"ts", | ||
"tsx", | ||
"js", | ||
"jsx", | ||
"json", | ||
"node" | ||
] | ||
"main": "dist/index.js", | ||
"browser": { | ||
"./dist/node.js": "./dist/browser.js" | ||
}, | ||
"size-limit": [ | ||
{ | ||
"path": "./dist/index.js", | ||
"limit": "3.1 kB" | ||
} | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
"dist/", | ||
"logo.svg" | ||
], | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.{js,jsx,ts,tsx,json,css,md,yml,yaml}": "npm run prettier" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"devDependencies": { | ||
"@size-limit/preset-small-lib": "^4.6.0", | ||
"@types/jest": "^26.0.14", | ||
"@types/node": "^14.11.5", | ||
"husky": "^4.3.0", | ||
"jest": "^26.5.2", | ||
"lint-staged": "^10.4.0", | ||
"prettier": "^2.1.2", | ||
"rimraf": "^3.0.0", | ||
"size-limit": "^4.6.0", | ||
"ts-jest": "^26.4.1", | ||
"tslint": "^6.1.3", | ||
"tslint-config-prettier": "^1.18.0", | ||
"tslint-config-standard": "^9.0.0", | ||
"typescript": "^4.0.3" | ||
"scripts": { | ||
"build": "ts-scripts build", | ||
"format": "ts-scripts format", | ||
"prepare": "ts-scripts install", | ||
"prepublishOnly": "npm run build", | ||
"size": "size-limit", | ||
"specs": "ts-scripts specs", | ||
"test": "ts-scripts test && npm run size" | ||
}, | ||
"dependencies": { | ||
"popsicle-content-encoding": "^1.0.0", | ||
"popsicle-cookie-jar": "^1.0.0", | ||
"popsicle-redirects": "^1.1.0", | ||
"popsicle-transport-http": "^1.1.0", | ||
"popsicle-transport-xhr": "^2.0.0", | ||
"popsicle-user-agent": "^1.0.0", | ||
"servie": "^4.3.3", | ||
"throwback": "^4.1.0" | ||
} | ||
} | ||
}, | ||
"devDependencies": { | ||
"@borderless/ts-scripts": "^0.15.0", | ||
"@size-limit/preset-small-lib": "^11.0.0", | ||
"@types/node": "^20.9.3", | ||
"@vitest/coverage-v8": "^0.34.6", | ||
"popsicle-cookie-jar": "^1.0.1", | ||
"size-limit": "^11.0.0", | ||
"typescript": "^5.3.2", | ||
"vitest": "^0.34.6" | ||
}, | ||
"engines": { | ||
"node": ">=8" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"size-limit": [ | ||
{ | ||
"path": "./dist/index.js", | ||
"limit": "3.3 kB" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
{ | ||
"extends": "@borderless/ts-scripts/configs/tsconfig.json", | ||
"compilerOptions": { | ||
"target": "es2015", | ||
"lib": ["es2015", "dom"], | ||
"rootDir": "src", | ||
"outDir": "dist", | ||
"module": "commonjs", | ||
"moduleResolution": "node", | ||
"strict": true, | ||
"declaration": true, | ||
"sourceMap": true, | ||
"inlineSources": true | ||
"moduleResolution": "node" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.