-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathpackage.json
56 lines (54 loc) · 1.61 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
{
"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 's/.js/.cjs/g' {} \\;",
"pre-commit": "npm run prettier && npm run build && npm run change-file-imports && git add dist/",
"change-file-imports": "find ./dist -type f -exec sed -i '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"
},
"homepage": "https://github.com/paymentsds/mpesa-js-sdk#readme",
"dependencies": {
"axios": "^1.6.0"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.10.5",
"@babel/preset-env": "^7.10.4",
"chai": "^4.2.0",
"dotenv": "^16.3.1",
"eslint": "^8.53.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.21.2",
"eslint-plugin-react-hooks": "^4.0.0",
"husky": "^8.0.3",
"mocha": "^10.0.0",
"prettier": "^3.0.3",
"sinon": "^17.0.1"
}
}