-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 3.95 KB
/
package.json
File metadata and controls
126 lines (126 loc) · 3.95 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "nigerian-mobile-validator",
"version": "0.1.6",
"description": "The most rigorous, up-to-date library for validating Nigerian mobile numbers. Fully NCC-compliant, and security-focused, with enterprise-grade features to prevent the business risks of validation failures in regulated industries.",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/types/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/types/index.d.ts",
"default": "./dist/cjs/index.js"
}
},
"./package.json": "./package.json"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"sideEffects": false,
"scripts": {
"clean": "rimraf dist",
"build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:types",
"build:esm": "tsc -p tsconfig.esm.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:types": "tsc -p tsconfig.types.json",
"test": "jest --verbose",
"prepublishOnly": "npm run build && npm test",
"lint": "eslint src --ext .ts",
"format": "prettier --write \"src/**/*.ts\"",
"snyk": "snyk test --all-projects",
"snyk:monitor": "snyk monitor --all-projects",
"snyk:wizard": "snyk wizard",
"security": "npm run snyk",
"sonar": "sonar-scanner",
"precommit": "npm run lint && npm test",
"prepush": "npm run lint && npm run security",
"ci": "npm run build && npm test && npm run security && npm run snyk:monitor && npm run sonar",
"prepare": "husky"
},
"repository": {
"type": "git",
"url": "git+https://github.com/timiagama/nigerian-mobile-validator.git"
},
"keywords": [
"nigeria",
"nigerian",
"mobile",
"phone",
"mobile-number",
"mobile-number-validator",
"validation",
"validator",
"ncc",
"ncc-compliant",
"numbering-plan",
"mobile-phone",
"phone-number",
"nigerian-phone-number",
"phone-number-validation",
"compliance",
"data-quality",
"data-validation",
"input-validation",
"validation-library",
"enterprise-grade",
"regulatory-compliance",
"typescript-library",
"typescript",
"phone-validation",
"telco",
"telecom",
"identity-verification",
"regtech"
],
"author": "Timi Agama",
"license": "MIT",
"bugs": {
"url": "https://github.com/timiagama/nigerian-mobile-validator/issues"
},
"homepage": "https://github.com/timiagama/nigerian-mobile-validator#readme",
"dependencies": {
"csv-writer": "^1.6.0",
"events": "^3.3.0"
},
"devDependencies": {
"@types/chance": "^1.1.6",
"@types/jest": "^29.5.14",
"@types/node": "^20.17.19",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"chance": "^1.1.12",
"eslint": "^8.57.1",
"eslint-plugin-no-unsanitized": "^4.1.2",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-security-node": "^1.1.4",
"eslint-plugin-sonarjs": "^3.0.2",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^15.5.0",
"prettier": "^3.5.2",
"rimraf": "^5.0.10",
"snyk": "^1.1296.2",
"sonar-scanner": "^3.1.0",
"ts-jest": "^29.2.6",
"ts-node": "^10.9.2",
"tsx": "^4.19.3",
"typescript": "5.3.x"
},
"engines": {
"node": ">=14.0.0"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
]
}
}