83 lines
2.5 KiB
JSON
83 lines
2.5 KiB
JSON
{
|
|
"name": "fetch-nodeshim",
|
|
"version": "0.4.8",
|
|
"description": "A Node.js fetch shim using built-in Request, Response, and Headers (but without native fetch)",
|
|
"author": "Phil Pluckthun <phil@kitten.sh>",
|
|
"source": "./src/index.ts",
|
|
"main": "./dist/minifetch",
|
|
"module": "./dist/minifetch.mjs",
|
|
"types": "./dist/minifetch.d.ts",
|
|
"files": [
|
|
"LICENSE.md",
|
|
"README.md",
|
|
"CHANGELOG.md",
|
|
"dist/"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/minifetch.d.ts",
|
|
"import": "./dist/minifetch.mjs",
|
|
"require": "./dist/minifetch.js",
|
|
"source": "./src/index.ts"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"prettier": {
|
|
"singleQuote": true,
|
|
"arrowParens": "avoid",
|
|
"trailingComma": "es5"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,json,md}": "prettier --write"
|
|
},
|
|
"keywords": [],
|
|
"license": "MIT",
|
|
"repository": "https://github.com/kitten/fetch-nodeshim",
|
|
"bugs": {
|
|
"url": "https://github.com/kitten/fetch-nodeshim/issues"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/plugin-transform-block-scoping": "^7.25.9",
|
|
"@babel/plugin-transform-typescript": "^7.26.7",
|
|
"@changesets/cli": "^2.29.6",
|
|
"@changesets/get-github-info": "^0.6.0",
|
|
"@rollup/plugin-babel": "^6.0.4",
|
|
"@rollup/plugin-commonjs": "^28.0.2",
|
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
"@rollup/plugin-terser": "^0.4.4",
|
|
"@types-internal/node-18": "npm:@types/node@^18.19.0",
|
|
"@types-internal/node-20": "npm:@types/node@^20.17.0",
|
|
"@types/node": "^22.12.0",
|
|
"busboy": "^0.3.1",
|
|
"dotenv": "^16.4.7",
|
|
"form-data": "^4.0.1",
|
|
"lint-staged": "^15.4.3",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^3.4.2",
|
|
"proxy-chain": "^2.7.1",
|
|
"rimraf": "^6.0.1",
|
|
"rollup": "^4.32.1",
|
|
"rollup-plugin-cjs-check": "^1.0.3",
|
|
"rollup-plugin-dts": "^6.1.1",
|
|
"typescript": "^5.7.3",
|
|
"undici-types": "^6.20.0",
|
|
"vitest": "^3.0.4"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"provenance": true
|
|
},
|
|
"scripts": {
|
|
"test": "vitest test",
|
|
"test:run": "vitest test --run",
|
|
"build": "rollup -c ./scripts/rollup.config.mjs",
|
|
"postbuild": "tsc --noEmit ./dist/minifetch.d.ts",
|
|
"check": "tsc --noEmit",
|
|
"check:node18": "tsc --noEmit -p ./tsconfig-node18.json",
|
|
"check:node20": "tsc --noEmit -p ./tsconfig-node20.json",
|
|
"check:all": "run-s check check:node18 check:node20",
|
|
"clean": "rimraf dist node_modules/.cache",
|
|
"changeset:version": "changeset version && pnpm install --lockfile-only",
|
|
"changeset:publish": "changeset publish"
|
|
}
|
|
} |