数通智联化工云平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

62 lines
1.6 KiB

{
"name": "node-fetch-native",
"version": "1.1.1",
"description": "A better redistribution of `node-fetch`",
"repository": "unjs/node-fetch-native",
"license": "MIT",
"type": "module",
"exports": {
".": {
"node": {
"require": "./lib/index.cjs",
"import": "./dist/index.mjs",
"types": "./lib/index.d.ts"
},
"import": "./dist/native.mjs",
"types": "./lib/index.d.ts"
},
"./polyfill": {
"node": {
"require": "./dist/polyfill.cjs",
"import": "./dist/polyfill.mjs"
},
"import": "./lib/empty.mjs"
},
"./node": {
"require": "./dist/node.cjs",
"import": "./dist/node.mjs"
},
"./src/index.js": {
"import": "./dist/index.mjs",
"types": "./lib/index.d.ts"
}
},
"main": "./lib/index.cjs",
"module": "./dist/index.mjs",
"types": "./lib/index.d.ts",
"files": [
"dist",
"lib"
],
"scripts": {
"build": "unbuild",
"lint": "eslint --ext .ts,.js,.mjs,.cjs . && prettier -c src test lib",
"lint:fix": "eslint --fix --ext .ts,.js,.mjs,.cjs . && prettier -w src test lib",
"prepack": "unbuild",
"release": "pnpm test && changelogen --release && npm publish && git push --follow-tags",
"test": "pnpm lint && pnpm build && vitest run --coverage"
},
"devDependencies": {
"@vitest/coverage-c8": "^0.31.0",
"abort-controller": "^3.0.0",
"changelogen": "^0.5.3",
"eslint": "^8.40.0",
"eslint-config-unjs": "^0.1.0",
"node-fetch": "^3.3.1",
"prettier": "^2.8.8",
"typescript": "^5.0.4",
"unbuild": "^1.2.1",
"vitest": "^0.31.0"
},
"packageManager": "pnpm@8.4.0"
}