-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 3.08 KB
/
Copy pathpackage.json
File metadata and controls
125 lines (125 loc) · 3.08 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
{
"name": "satim-node-sdk",
"version": "1.2.0",
"description": "Production-grade Node.js SDK for the SATIM (Algeria) payment gateway",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"files": [
"dist",
"LICENSE",
"README.md",
"CHANGELOG.md"
],
"engines": {
"node": ">=18"
},
"scripts": {
"build": "tsc -p tsconfig.json",
"clean": "rimraf dist coverage",
"typecheck": "tsc -p tsconfig.json --noEmit",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "jest",
"test:unit": "jest --testPathPattern=unit",
"test:integration": "jest --testPathPattern=integration",
"test:coverage": "jest --coverage --coverageReporters=text --coverageReporters=lcov --coverageReporters=json-summary",
"docs": "typedoc",
"sbom": "cyclonedx-npm --output-file sbom.cdx.json",
"prepare": "husky",
"prepublishOnly": "npm run lint && npm run typecheck && npm run test:coverage && npm run build",
"semantic-release": "semantic-release"
},
"keywords": [
"satim",
"payment",
"gateway",
"algeria",
"dzd",
"cib",
"edahabia"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/khalilbnd/satim-node.git"
},
"bugs": {
"url": "https://github.com/khalilbnd/satim-node/issues"
},
"homepage": "https://github.com/khalilbnd/satim-node#readme",
"publishConfig": {
"access": "public"
},
"dependencies": {},
"devDependencies": {
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"@cyclonedx/cyclonedx-npm": "^6.0.0",
"@eslint/js": "^9.17.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^12.0.0",
"@semantic-release/npm": "^13.1.5",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.0",
"eslint": "^9.17.0",
"globals": "^15.14.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^15.2.11",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"semantic-release": "^25.0.8",
"ts-jest": "^29.4.11",
"typedoc": "^0.27.5",
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.0"
},
"overrides": {
"@babel/core": "^7.29.1",
"js-yaml": "^4.1.1",
"tar": "^7.5.16"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"roots": [
"<rootDir>/__tests__"
],
"testMatch": [
"**/__tests__/**/*.test.ts"
],
"collectCoverageFrom": [
"src/**/*.ts",
"!src/index.ts",
"!src/**/index.ts",
"!src/exceptions/**"
],
"coverageThreshold": {
"global": {
"statements": 90,
"branches": 90,
"functions": 90,
"lines": 90
}
},
"clearMocks": true
},
"lint-staged": {
"*.{ts,js}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md,yml,yaml}": [
"prettier --write"
]
}
}