UNPKG

card-validator

Version:

A library for validating credit card fields

48 lines (47 loc) 1.3 kB
{ "name": "card-validator", "version": "10.0.2", "description": "A library for validating credit card fields", "main": "dist/index.js", "types": "dist/index.d.ts", "repository": { "type": "git", "url": "git@github.com:braintree/card-validator" }, "homepage": "https://github.com/braintree/card-validator", "scripts": { "prepublishOnly": "npm run build", "prebuild": "prettier --write .", "build": "tsc --declaration", "lint": "eslint --ext js,ts .", "posttest": "npm run lint", "test": "jest" }, "author": "Braintree <code@getbraintree.com> (https://www.braintreepayments.com/)", "license": "MIT", "devDependencies": { "@types/jest": "^29.5.3", "@types/node": "^20.5.2", "@typescript-eslint/eslint-plugin": "^5.54.1", "eslint": "^8.47.0", "eslint-config-braintree": "^6.0.0-typescript-prep-rc.2", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.6.3", "jest-environment-jsdom": "^29.6.3", "prettier": "^3.0.2", "ts-jest": "^29.1.1", "typescript": "^5.1.6" }, "dependencies": { "credit-card-type": "^10.0.2" }, "jest": { "testEnvironment": "jsdom", "preset": "ts-jest", "globals": { "ts-jest": { "tsconfig": "src/__tests__/tsconfig.json" } } } }