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.
 
 
 
 
 

61 lines
1.8 KiB

{
"name": "fetch-mock-cache",
"version": "2.1.3",
"description": "Caching mock fetch implementation for all runtimes and frameworks.",
"main": "lib/index.js",
"type": "module",
"types": "lib/index.d.ts",
"scripts": {
"test": "node --experimental-vm-modules --test --import tsx `glob 'src/**/*.spec.ts'`",
"test:all": "npm run test && npm run build && npm run lint",
"lint": "eslint src",
"prettier": "prettier -w src",
"build": "tsc",
"prepublishOnly": "npm run build",
"coverage": "node --experimental-vm-modules --test --import tsx --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info `glob 'src/**/*.spec.ts'`",
"ci": "tsc --noEmit && npm run lint && npm run coverage && cd tests/runtimes && ./test.sh"
},
"repository": {
"type": "git",
"url": "git+https://github.com/gadicc/fetch-mock-cache.git"
},
"keywords": [
"fetch",
"mock",
"fetch-mock",
"node:test",
"vitest",
"jest",
"cache",
"bun",
"deno"
],
"author": "Gadi Cohen <dragon@wastelands.net>",
"license": "MIT",
"bugs": {
"url": "https://github.com/gadicc/fetch-mock-cache/issues"
},
"homepage": "https://github.com/gadicc/fetch-mock-cache#readme",
"devDependencies": {
"@eslint/js": "^9.12.0",
"@sebbo2002/semantic-release-jsr": "^2.0.1",
"@types/debug": "^4.1.8",
"@types/node": "^20.4.2",
"conventional-changelog-conventionalcommits": "^8.0.0",
"eslint": "^9.12.0",
"eslint-config-prettier": "^9.1.0",
"expect": "^29.7.0",
"glob": "^11.0.0",
"globals": "^15.10.0",
"prettier": "^3.0.0",
"semantic-release": "^24.1.2",
"tsx": "^4.19.1",
"typescript": "^5.6.2",
"typescript-eslint": "^8.8.0"
},
"prettier": {},
"dependencies": {
"debug": "^4.3.4",
"filenamify-url": "2.1.2"
}
}