UNPKG

stripe-stateful-mock

Version:
66 lines (65 loc) 2 kB
{ "name": "stripe-stateful-mock", "version": "0.0.16", "description": "A half-baked, stateful Stripe mock server", "main": "dist/index.js", "scripts": { "build": "tsc", "clean": "rimraf ./dist", "lint": "eslint . --ext .ts,.tsx", "prepublishOnly": "npm run clean && npm run build && npm run lint && npm run test", "run": "LOG_LEVEL=${LOG_LEVEL:=info} node dist/index.js", "run:debug": "LOG_LEVEL=debug npm run run", "test": "LOG_LEVEL=${LOG_LEVEL:=silent} mocha --recursive --timeout 5000 --require ts-node/register --require ./test/requireDotEnv.ts --exit \"test/**/*.ts\"", "test:debug": "LOG_LEVEL=trace npm run test" }, "bin": "./dist/cli.js", "repository": { "type": "git", "url": "git+https://github.com/pushplay/stripe-stateful-mock.git" }, "keywords": [ "mock", "mock-server", "stripe", "test", "unittest" ], "contributors": [ "Jeffery Grajkowski <pushplay@gmail.com> (https://github.com/pushplay)" ], "license": "MIT", "bugs": { "url": "https://github.com/pushplay/stripe-stateful-mock/issues" }, "homepage": "https://github.com/pushplay/stripe-stateful-mock#readme", "dependencies": { "basic-auth": "^2.0.1", "body-parser": "^1.19.0", "deep-equal": "^2.0.4", "express": "^4.17.1", "loglevel": "^1.7.0" }, "devDependencies": { "@types/basic-auth": "^1.1.3", "@types/body-parser": "^1.19.0", "@types/chai": "^4.2.14", "@types/chai-as-promised": "^7.1.3", "@types/deep-equal": "^1.0.1", "@types/dotenv-safe": "^8.1.1", "@types/express": "^4.17.9", "@types/loglevel": "^1.6.3", "@types/mocha": "^8.0.4", "@typescript-eslint/eslint-plugin": "^4.8.1", "@typescript-eslint/parser": "^4.8.1", "chai": "^4.2.0", "chai-exclude": "^2.0.2", "dotenv-safe": "^8.2.0", "eslint": "^7.13.0", "mocha": "^8.2.1", "rimraf": "^3.0.2", "stripe": "^8.125.0", "ts-node": "^9.0.0", "typescript": "^4.1.2" } }