-
Notifications
You must be signed in to change notification settings - Fork 122
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 1.82 KB
/
package.json
File metadata and controls
72 lines (72 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"name": "card-validator",
"version": "10.0.4",
"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",
"prepare": "husky",
"commit": "cz"
},
"author": "Braintree <code@getbraintree.com> (https://www.braintreepayments.com/)",
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^20.5.0",
"@commitlint/config-conventional": "^20.5.0",
"@types/jest": "^30.0.0",
"@types/node": "^25.0.3",
"@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.0.0",
"husky": "^9.1.7",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"prettier": "^3.7.4",
"ts-jest": "^29.4.6",
"typescript": "^5.9.3"
},
"dependencies": {
"credit-card-type": "^10.1.0"
},
"jest": {
"testEnvironment": "jsdom",
"preset": "ts-jest",
"globals": {
"ts-jest": {
"tsconfig": "src/__tests__/tsconfig.json"
}
},
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.ts",
"!src/__tests__/**"
],
"coverageThreshold": {
"global": {
"lines": 80,
"statements": 80,
"branches": 80,
"functions": 80
}
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-customizable"
}
}
}