-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
89 lines (89 loc) · 2.27 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
{
"name": "midtrans-node-client",
"version": "0.0.7",
"description": "Unoffficial Midtrans Payment API Client for Node JS | Alternative for Midtrans Official Module",
"main": "./dist/index.js",
"module": "./esm/index.js",
"files": [
"/dist/**",
"/esm/**"
],
"scripts": {
"clean:esm": "rimraf esm",
"clean:cjs": "rimraf dist",
"compiler:esm": "npm run clean:esm && tsc --outDir esm --module es6 --pretty",
"compiler:cjs": "npm run clean:cjs && tsc --pretty",
"build": "npm run compiler:cjs && npm run compiler:esm",
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watchAll",
"test:coveralls": "jest --coverage && coveralls < coverage/lcov.info",
"lint": "eslint src/**/*.{ts,spec.ts,test.ts} --fix",
"format": "prettier src/**/*.{ts,spec.ts,test.ts} --write",
"lint:fix": "npm run format && npm run lint"
},
"author": {
"name": "Restu Wahyu Saputra",
"email": "[email protected]"
},
"repository": {
"url": "https://github.com/restuwahyu13/midtrans-node"
},
"homepage": "https://github.com/restuwahyu13/midtrans-node#readme",
"bugs": {
"url": "https://github.com/restuwahyu13/midtrans-node/issues"
},
"license": "MIT",
"engines": {
"node": ">=12",
"npm": ">=6"
},
"keywords": [
"midtrans-node-client",
"payment",
"payment gateway",
"midtrans",
"midtrans-client",
"es6",
"commonjs",
"node",
"nodejs",
"node_modules",
"javascript",
"typescript"
],
"dependencies": {
"axios": "^0.25.0",
"is-any-type": "0.0.3",
"lodash": "^4.17.21"
},
"devDependencies": {
"@types/axios": "^0.14.0",
"@types/jest": "^26.0.20",
"@types/lodash": "^4.14.168",
"@types/node": "^16.0.0",
"@typescript-eslint/eslint-plugin": "^4.12.0",
"@typescript-eslint/parser": "^4.12.0",
"coveralls": "^3.1.0",
"eslint": "^7.17.0",
"eslint-config-prettier": "^8.0.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-promise": "^5.1.0",
"husky": "^7.0.0",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"ts-jest": "^26.4.4",
"ts-node": "^10.0.0",
"typescript": "^4.1.3"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint:fix"
}
}
}