-
Notifications
You must be signed in to change notification settings - Fork 112
/
package.json
47 lines (47 loc) · 1.27 KB
/
package.json
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
{
"name": "card-validator",
"version": "10.0.0",
"description": "A library for validating credit card fields",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "[email protected]: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 <[email protected]> (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.1"
},
"jest": {
"testEnvironment": "jsdom",
"preset": "ts-jest",
"globals": {
"ts-jest": {
"tsconfig": "src/__tests__/tsconfig.json"
}
}
}
}