package.json
{
"name": "snapsnap",
"version": "0.2.1",
"description": "Tools for snapshotting, replaying, and mocking HTTP queries with Jest",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/**/*",
"jest-env.js"
],
"keywords": [
"jest",
"http",
"api",
"snapshot",
"mock",
"integration",
"test",
"assertion",
"expect",
"request",
"nock"
],
"scripts": {
"build": "rm -rf && tsc",
"test": "jest",
"prepublishOnly": "npm test && npm run lint && rm -rf ./dist && npm run build",
"coverage": "jest --coverage",
"coveralls": "jest --coverage && cat coverage/lcov.info | coveralls",
"docs": "typedoc --out ./docs --mode modules ./src",
"lint:md": "remark .",
"lint:eslint": "eslint 'src/**/*.ts' '__tests__/**/*.ts'",
"lint": "npm run lint:eslint && npm run lint:md"
},
"repository": {
"type": "git",
"url": "git+https://github.com/salieri/snapsnap.git"
},
"author": {
"name": "Aleksi Asikainen",
"email": "aleksi.asikainen@gmail.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/salieri/snapsnap/issues"
},
"homepage": "https://github.com/salieri/snapsnap#readme",
"engines": {
"node": ">= 8.0.0"
},
"dependencies": {
"async-lock": "^1.3.1",
"lodash": "^4.17.21"
},
"peerDependencies": {
"jest": "^28.1.0",
"nock": "^13.2.6",
"jest-environment-node": "^28.1.0",
"@jest/environment": "^28.1.0",
"@jest/types": "^28.1.0"
},
"devDependencies": {
"@types/async-lock": "^1.1.5",
"@types/jest": "^28.1.1",
"@types/lodash": "^4.14.182",
"@types/node": "^17.0.40",
"@types/node-fetch": "^2.6.1",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
"core-js": "^3.22.8",
"eslint": "^8.17.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^28.1.0",
"nock": "^13.2.6",
"node-fetch": "^2.6.7",
"prettier": "^2.6.2",
"remark-cli": "^10.0.1",
"remark-preset-lint-recommended": "^6.1.2",
"regenerator-runtime": "^0.13.9",
"source-map-support": "^0.5.21",
"ts-jest": "^28.0.4",
"ts-node": "^10.8.1",
"typedoc": "^0.22.17",
"typescript": "^4.7.3"
}
}