-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 2.16 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
{
"name": "@monei-js/node-sdk",
"description": "Node.js SDK for MONEI Digital Payment Gateway",
"version": "1.4.8",
"homepage": "https://monei.com",
"author": "MONEI <[email protected]> (https://monei.com)",
"license": "MIT",
"contributors": [
"Dmitriy Nevzorov <[email protected]>"
],
"repository": {
"type": "git",
"url": "https://github.com/MONEI/monei-node-sdk"
},
"keywords": [
"monei",
"payment gateway",
"payment processing",
"credit cards",
"api"
],
"source": "./monei.ts",
"main": "dist/monei.js",
"module": "dist/monei.module.js",
"types": "dist/monei.d.ts",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"generate": "openapi-generator generate -i https://js.monei.com/api/v1/openapi.json -g typescript-axios --remove-operation-id-prefix -c ./config.json -o ./src",
"generate:local": "openapi-generator generate -i ./openapi.json -g typescript-axios --remove-operation-id-prefix -c ./config.json -o ./src",
"compile": "microbundle -f es,cjs --target node --strict",
"dev": "microbundle watch -f es,cjs --target node --strict",
"build": "yarn generate && yarn replace && yarn compile",
"replace": "node replace.js",
"release": "release-it",
"prepare": "yarn run build",
"test": "jest"
},
"devDependencies": {
"@openapitools/openapi-generator-cli": "^1.0.18-4.3.1",
"@types/node": "^14.11.2",
"dotenv": "^8.2.0",
"jest": "^26.5.3",
"microbundle": "^0.12.3",
"prettier": "^2.1.2",
"release-it": "^17.2.1",
"replace-in-file": "^7.1.0",
"ts-jest": "^26.4.1"
},
"dependencies": {
"axios": "^0.21.1"
},
"jest": {
"moduleFileExtensions": [
"ts",
"js"
],
"transform": {
"\\.ts$": "ts-jest"
},
"testMatch": [
"**/*.test.ts"
]
},
"release-it": {
"git": {
"tagName": "v${version}",
"commitMessage": "chore: release v${version}"
},
"github": {
"release": true
},
"npm": {
"publish": true
},
"hooks": {
"before:init": [
"yarn test"
]
}
},
"packageManager": "[email protected]"
}