UNPKG

credit-card-type

Version:

A library for determining credit card type

67 lines (66 loc) 1.68 kB
{ "name": "credit-card-type", "version": "10.3.0", "description": "A library for determining credit card type", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "lint": "eslint --ext js,ts .", "posttest": "npm run lint", "test": "jest", "prepublishOnly": "npm run build", "prebuild": "prettier --write .", "build": "tsc --declaration", "prepare": "husky", "commit": "cz" }, "repository": { "type": "git", "url": "git@github.com:braintree/credit-card-type" }, "homepage": "https://github.com/braintree/credit-card-type", "author": "", "license": "MIT", "devDependencies": { "@commitlint/cli": "^20.5.0", "@commitlint/config-conventional": "^20.5.0", "@types/jest": "^30.0.0", "@types/node": "^24.0.0", "@typescript-eslint/eslint-plugin": "^5.54.1", "commitizen": "^4.3.1", "cz-customizable": "^7.5.4", "eslint": "^8.57.1", "eslint-config-braintree": "^6.0.0-typescript-prep-rc.2", "eslint-plugin-prettier": "^5.5.4", "husky": "^9.1.7", "jest": "^30.2.0", "prettier": "^3.7.4", "ts-jest": "^29.4.6", "typescript": "^5.9.3" }, "jest": { "preset": "ts-jest", "testEnvironment": "node", "testPathIgnorePatterns": [ "<rootDir>/src/__tests__/helper.ts" ], "collectCoverage": true, "collectCoverageFrom": [ "src/**/*.ts", "!src/__tests__/**" ], "coverageThreshold": { "global": { "lines": 80, "statements": 80, "branches": 80, "functions": 80 } } }, "config": { "commitizen": { "path": "./node_modules/cz-customizable" } } }