-
Notifications
You must be signed in to change notification settings - Fork 82
/
package.json
99 lines (99 loc) · 2.84 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
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
{
"name": "creditcard.js",
"version": "3.0.33",
"description": "A simple library for credit-card validation in JavaScript",
"main": "dist/creditcard.js",
"files": [
"dist"
],
"scripts": {
"prepack": "ca-pinst --disable",
"postpack": "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 && static-server .coverage/lcov-report --port 3000 --no-nocache",
"cov:publish": "yarn cov && cat ./.coverage/lcov.info | coveralls",
"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.20.12",
"@babel/preset-env": "^7.20.2",
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@commitlint/format": "^17.4.4",
"@release-it/conventional-changelog": "^4.3.0",
"babel-jest": "^29.4.3",
"contaazul-pinst": "^1.0.2",
"conventional-changelog": "^3.1.25",
"conventional-changelog-conventionalcommits": "^4.6.3",
"coveralls": "^3.1.1",
"eslint": "^8.34.0",
"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.4.3",
"lint-staged": "^13.1.2",
"prettier": "^2.8.4",
"release-it": "^14.14.3",
"rollup": "^2.36.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-terser": "^7.0.2",
"simple-git-hooks": "^2.8.1",
"static-server": "^2.2.1"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"packageManager": "[email protected]",
"selfEngines": {
"node": ">=18.x",
"yarn": ">=3.x"
},
"homepage": "https://github.com/ContaAzul/creditcard.js",
"author": {
"name": "ContaAzul",
"email": "[email protected]",
"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"
}