pretenderjs/pretender

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "pretender",
  "version": "3.4.7",
  "main": "./dist/pretender.js",
  "module": "./dist/pretender.es.js",
  "types": "index.d.ts",
  "description": "Pretender is a mock server library for XMLHttpRequest and Fetch, that comes with an express/sinatra style syntax for defining routes and their handlers.",
  "license": "MIT",
  "scripts": {
    "release": "release-it",
    "prepublishOnly": "npm run build && npm run tests-only",
    "build": "rollup --config",
    "test": "npm run build && npm run eslint && npm run tests-only",
    "test-ci": "npm run build && npm run eslint && npm run tests-only-ci",
    "tests-only": "karma start --single-run",
    "tests-only-ci": "karma start --single-run --browsers ChromeHeadlessNoSandbox",
    "eslint": "eslint src/**/*.ts test",
    "test:server": "karma start --no-single-run"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/pretenderjs/pretender.git"
  },
  "publishConfig": {
    "registry": "https://registry.npmjs.org/"
  },
  "devDependencies": {
    "@rollup/plugin-commonjs": "^11.1.0",
    "@rollup/plugin-node-resolve": "^7.1.3",
    "abortcontroller-polyfill": "^1.1.9",
    "coveralls": "^3.1.0",
    "es6-promise": "^4.0.5",
    "eslint": "^5.12.0",
    "karma": "^5.0.6",
    "karma-chrome-launcher": "^3.1.0",
    "karma-coverage": "^2.0.2",
    "karma-jquery": "^0.2.4",
    "karma-qunit": "^4.1.1",
    "karma-sinon": "^1.0.5",
    "qunit": "^2.10.0",
    "release-it": "^13.6.0",
    "release-it-lerna-changelog": "^2.3.0",
    "rollup": "^2.10.2",
    "rollup-plugin-typescript": "^1.0.0",
    "sinon": "^9.0.2",
    "tslib": "^1.9.3",
    "typescript": "~3.1.1",
    "typescript-eslint-parser": "^21.0.2",
    "url-parse": "^1.5.3",
    "whatwg-fetch": "^3.6.2"
  },
  "dependencies": {
    "fake-xml-http-request": "^2.1.2",
    "route-recognizer": "^0.3.3"
  },
  "files": [
    "dist",
    "index.d.ts"
  ],
  "jspm": {
    "shim": {
      "pretender": {
        "deps": [
          "route-recognizer",
          "fake-xml-http-request"
        ],
        "exports": "Pretender"
      }
    }
  },
  "volta": {
    "node": "16.5.0",
    "yarn": "1.22.4"
  }
}