forked from paymentsds/mpesa-js-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.52 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
{
"name": "@paymentsds/mpesa",
"type": "module",
"version": "0.1.0-alpha-9",
"description": "MPesa Javascript API Client",
"main": "./dist/index.cjs",
"exports": {
"import": "./src/index.js",
"require": "./dist/index.cjs"
},
"scripts": {
"test": "mocha",
"lint": "eslint --fix src/*.js",
"prettier": "prettier -w src/*",
"build": "rm dist/* && babel src -d dist --out-file-extension .cjs && find ./dist -type f -exec sed -i -e 's/\\.js/\\.cjs/g' {} \\;"
},
"repository": {
"type": "git",
"url": "git+https://github.com/paymentsds/mpesa-js-sdk.git"
},
"keywords": [
"mpesa"
],
"author": "Edson Michaque",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/paymentsds/mpesa-js-sdk/issues"
},
"husky": {
"hooks": {
"pre-commit": "npm run-script prettier && npm run-script build && git add dist/"
}
},
"homepage": "https://github.com/paymentsds/mpesa-js-sdk#readme",
"dependencies": {
"axios": "^0.21.1"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.10.5",
"@babel/preset-env": "^7.10.4",
"chai": "^4.2.0",
"dotenv": "^8.2.0",
"eslint": "^7.2.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.2",
"eslint-plugin-react-hooks": "^4.0.0",
"husky": "^4.2.5",
"prettier": "^2.1.2",
"sinon": "^9.0.2"
}
}