UNPKG

1.29 kBJSONView Raw
1{
2 "name": "card-validator",
3 "version": "9.1.0",
4 "description": "A library for validating credit card fields",
5 "main": "dist/index.js",
6 "types": "dist/index.d.ts",
7 "repository": {
8 "type": "git",
9 "url": "git@github.com:braintree/card-validator"
10 },
11 "homepage": "https://github.com/braintree/card-validator",
12 "scripts": {
13 "prepublishOnly": "npm run build",
14 "prebuild": "prettier --write .",
15 "build": "tsc --declaration",
16 "lint": "eslint --ext js,ts .",
17 "posttest": "npm run lint",
18 "test": "jest"
19 },
20 "author": "Braintree <code@getbraintree.com> (https://www.braintreepayments.com/)",
21 "license": "MIT",
22 "devDependencies": {
23 "@types/jest": "^29.5.3",
24 "@types/node": "^20.5.2",
25 "@typescript-eslint/eslint-plugin": "^5.54.1",
26 "eslint": "^8.47.0",
27 "eslint-config-braintree": "^6.0.0-typescript-prep-rc.2",
28 "eslint-plugin-prettier": "^5.0.0",
29 "jest": "^29.6.3",
30 "jest-environment-jsdom": "^29.6.3",
31 "prettier": "^3.0.2",
32 "ts-jest": "^29.1.1",
33 "typescript": "^5.1.6"
34 },
35 "dependencies": {
36 "credit-card-type": "^9.1.0"
37 },
38 "jest": {
39 "testEnvironment": "jsdom",
40 "preset": "ts-jest",
41 "globals": {
42 "ts-jest": {
43 "tsconfig": "src/__tests__/tsconfig.json"
44 }
45 }
46 }
47}