Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 2.79 KB
/
Copy pathpackage.json
File metadata and controls
100 lines (100 loc) · 2.79 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "creditcard.js",
"version": "3.0.68",
"description": "A simple library for credit-card validation in JavaScript",
"main": "dist/creditcard.js",
"files": [
"dist"
],
"scripts": {
"prepublishOnly": "ca-pinst --disable",
"postpublish": "ca-pinst --enable",
"preinstall": "yarn dlx only-allow yarn",
"postinstall": " yarn simple-git-hooks",
"build": "yarn build:production",
"build:watch": "rollup -c -w",
"build:production": "rollup -c",
"format": "prettier --write './src/**/*.js'",
"lint": "eslint src",
"lint:fix": "yarn lint --fix",
"test": "jest",
"test:watch": "yarn test -- --watch",
"cov": "jest --coverage",
"cov:serve": "yarn cov && yarn dlx serve .coverage -l 3000",
"release": "release-it --config release-it.config.js",
"release:preview": "yarn release --ci --dry-run"
},
"simple-git-hooks": {
"commit-msg": "yarn commitlint --edit $1",
"pre-commit": "yarn lint-staged"
},
"lint-staged": {
"*.js": [
"yarn lint:fix"
],
"*.{json,md,yml}": [
"prettier --write"
]
},
"keywords": [
"credit",
"card",
"money",
"validator"
],
"devDependencies": {
"@babel/core": "^7.29.13",
"@babel/preset-env": "^7.29.14",
"@commitlint/cli": "^21.2.4",
"@commitlint/config-conventional": "^21.2.4",
"@commitlint/format": "^21.2.3",
"@release-it/conventional-changelog": "^12.0.2",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-terser": "^1.0.2",
"babel-jest": "^29.7.0",
"contaazul-pinst": "^1.1.10",
"conventional-changelog": "^8.1.3",
"conventional-changelog-conventionalcommits": "^10.4.1",
"eslint": "^8.57.1",
"eslint-config-prettier": "^8.6.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-standard": "^5.0.0",
"jest": "^29.7.0",
"lint-staged": "^17.6.1",
"prettier": "^2.8.4",
"release-it": "^21.1.2",
"rollup": "^3.30.0",
"simple-git-hooks": "^2.13.1"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"packageManager": "yarn@4.12.0",
"selfEngines": {
"node": ">=24.x",
"yarn": ">=4.x"
},
"homepage": "https://github.com/ContaAzul/creditcard.js",
"author": {
"name": "ContaAzul",
"email": "domphysis@contaazul.com",
"url": "https://github.com/ContaAzul/creditcard.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ContaAzul/creditcard.js.git"
},
"bugs": {
"url": "https://github.com/ContaAzul/creditcard.js/issues"
},
"license": "MIT",
"resolutions": {
"serialize-javascript": "^7.1.4",
"get-uri": "^8.0.2"
}
}