-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
121 lines (121 loc) · 3.33 KB
/
package.json
File metadata and controls
121 lines (121 loc) · 3.33 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
{
"name": "tripay-node",
"version": "1.0.0",
"description": "NodeJS/Typescript/Javascript Unofficial Tripay API SDK",
"exports": {
".": {
"import": "./dist/esm/index.mjs",
"require": "./dist/index.js",
"types": "./dist/types/src/index.d.ts"
},
"./open-transaction": {
"import": "./dist/esm/transaction/open-transaction/index.mjs",
"require": "./dist/transaction/open-transaction/index.js",
"types": "./dist/types/src/transaction/open-transaction/index.d.ts"
},
"./closed-transaction": {
"import": "./dist/esm/transaction/closed-transaction/index.mjs",
"require": "./dist/transaction/closed-transaction/index.js",
"types": "./dist/types/src/transaction/closed-transaction/index.d.ts"
},
"./payment": {
"import": "./dist/esm/payment/index.mjs",
"require": "./dist/payment/index.js",
"types": "./dist/types/src/payment/index.d.ts"
},
"./merchant": {
"import": "./dist/esm/merchant/index.mjs",
"require": "./dist/merchant/index.js",
"types": "./dist/types/src/merchant/index.d.ts"
},
"./package.json": "./package.json"
},
"types": "./dist/types/index.d.ts",
"main": "./dist/index.js",
"module": "./dist/esm/index.mjs",
"scripts": {
"prepare": "husky install",
"format": " prettier --ignore-path .gitignore \"**/*.{ts,js,json,mjs,tsx}\" -w",
"lint": "eslint --ignore-path .gitignore \"**/*.{ts,js,json,mjs,tsx}\" --fix",
"build": "tsx scripts/build.ts",
"test": "npm run type-check && ava",
"test:coverage": "npm run type-check && c8 ava",
"test:watch": "ava --watch",
"type-check": "tsc --noEmit",
"prepublishOnly": "npm run test && npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vermaysha/tripay-node.git"
},
"keywords": [
"tripay",
"payment-gateway",
"tripay.co.id",
"tripay-wrapper",
"tripay-api"
],
"author": {
"name": "Ashary Vermaysha",
"email": "vermaysha@gmail.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/vermaysha/tripay-node/issues"
},
"homepage": "https://github.com/vermaysha/tripay-node#readme",
"lint-staged": {
"*.{ts,tsx,js,json}": [
"prettier --write --ignore-unknown"
],
"*.{ts,tsx}": "eslint --fix"
},
"files": [
"dist/**/*"
],
"engines": {
"node": ">=8.17"
},
"ava": {
"files": [
"tests/**/*.test.ts"
],
"timeout": "5m",
"extensions": {
"ts": "module"
},
"require": [
"dotenv/config"
],
"nodeArguments": [
"--no-warnings",
"--loader=tsx"
]
},
"packageManager": "^npm@9.0.0",
"devDependencies": {
"@commitlint/cli": "^17.6.7",
"@commitlint/config-conventional": "^17.6.7",
"@types/eslint": "latest",
"@types/node": "^20.4.2",
"@types/node-fetch": "^2.6.4",
"@types/prettier": "latest",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"ava": "^5.2.0",
"c8": "^8.0.0",
"dotenv": "^16.3.1",
"esbuild": "^0.18.16",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.8.0",
"fast-glob": "^3.3.1",
"husky": "^8.0.3",
"lint-staged": "13.2.3",
"prettier": "^3.0.0",
"tsx": "^3.12.6",
"typescript": "^5.1.6"
},
"dependencies": {
"node-fetch": "^2.6.12"
}
}