-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
118 lines (118 loc) · 3.33 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "redsys-easy",
"description": "Node JS interface for Redsys payment gateway",
"version": "5.2.8",
"author": "Javier Garcia <javiertury@gmail.com>",
"license": "MIT",
"keywords": [
"redsys",
"payment",
"gateway",
"interface",
"tpv",
"pos",
"sabadell",
"caixabank",
"credit",
"card",
"webservice"
],
"repository": {
"type": "git",
"url": "https://github.com/javiertury/redsys-easy.git"
},
"main": "lib/index.js",
"module": "lib/index.esm.js",
"types": "lib/index.d.ts",
"scripts": {
"prepare": "simple-git-hooks",
"lint": "eslint .",
"build:clean": "rimraf lib",
"build:code": "rollup -c rollup.config.mjs",
"build:api": "api-extractor run --local",
"build": "pnpm run build:clean && pnpm run lint && pnpm run build:code && pnpm run build:api",
"prepublishOnly": "pnpm run build",
"test:unit": "jest ./src/*.test.ts ./src/**/*.test.ts",
"test:integration": "jest ./test/integration/**/*.test.ts",
"test:code": "jest",
"test:readme": "tsc -p ./tsconfig.readme.json",
"test": "pnpm run test:code && pnpm run test:readme",
"docs:api": "api-documenter markdown --input-folder ./api/temp --output-folder ./docs",
"docs:readme": "md-magic --path ./README.md",
"docs": "pnpm run docs:api && pnpm run docs:readme",
"release": "pnpm run test && commit-and-tag-version --dry-run && pnpm run docs && git add docs CHANGELOG.md && commit-and-tag-version --commit-all"
},
"files": [
"lib"
],
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{js,ts}": "eslint"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged",
"commit-msg": "pnpm exec commitlint -e"
},
"dependencies": {
"base64url": "^3.0.1",
"dayjs": "^1.11.9",
"decimal.js": "^10.4.3",
"fast-xml-parser": "^4.2.7",
"tslib": "^2.6.1",
"undici": "^7.0.0"
},
"devDependencies": {
"@commitlint/cli": "^17.6.7",
"@commitlint/config-conventional": "^17.6.7",
"@koa/router": "^12.0.0",
"@microsoft/api-documenter": "^7.22.32",
"@microsoft/api-extractor": "^7.36.3",
"@rollup/plugin-node-resolve": "^15.1.0",
"@types/cheerio": "^0.22.31",
"@types/jest": "^29.5.3",
"@types/koa": "^2.13.8",
"@types/koa-bodyparser": "^4.3.10",
"@types/koa__router": "^12.0.0",
"cheerio": "1.0.0-rc.12",
"commit-and-tag-version": "^12.5.0",
"eslint": "^9.17.0",
"eslint-config-love": "^114.0.0",
"eslint-plugin-jest": "^28.10.0",
"jest": "^29.6.2",
"koa": "^2.14.2",
"koa-bodyparser": "^4.4.1",
"lint-staged": "^15.3.0",
"markdown-magic": "^2.6.1",
"rimraf": "^5.0.1",
"rollup": "^3.29.5",
"rollup-plugin-typescript2": "^0.35.0",
"simple-git-hooks": "^2.9.0",
"ts-expect": "^1.3.0",
"ts-jest": "^29.1.1",
"typescript": "^5.1.6"
},
"jest": {
"preset": "ts-jest/presets/js-with-ts",
"testEnvironment": "node",
"testMatch": [
"<rootDir>/test/unit/**/*.test.ts",
"<rootDir>/test/integration/**/*.test.ts",
"<rootDir>/src/**/*.test.ts"
],
"setupFilesAfterEnv": [
"./test/jest.setup.ts"
],
"globals": {
"ts-jest": {
"tsconfig": "./tsconfig.test.json"
}
},
"moduleNameMapper": {
"redsys-easy": "<rootDir>/src"
}
}
}