-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 2.33 KB
/
package.json
File metadata and controls
72 lines (72 loc) · 2.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
{
"name": "@mxenabled/react-native-widget-sdk",
"description": "MX React Native Widget SDK",
"version": "3.0.0",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"source": "src/index.ts",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/mxenabled/react-native-widget-sdk.git"
},
"files": [
"dist"
],
"scripts": {
"build": "npm run clean && npm run compile && npm run documentation",
"clean": "[ -d dist ] && rm -r dist || true",
"compile": "vite build --config vite.config.build.ts",
"dev": "cd example && npm start",
"dev:dependencies": "concurrently \"npm:dev:sdk\" \"npm:dev:exampleServer\"",
"dev:sdk": "nodemon --watch package.json --exec 'npm run compile -- --watch'",
"dev:exampleServer": "mx-sso-proxy run",
"documentation": "cp node_modules/@mxenabled/widget-post-message-definitions/docs/react-native-sdk-generated.md docs/widget_callback_props.md",
"format": "npm run prettier -- -w",
"lint": "eslint src test",
"prepack": "npm run build",
"prettier": "prettier src test",
"test": "jest --coverage",
"test:watch": "jest --watch"
},
"dependencies": {
"@mxenabled/widget-post-message-definitions": "^1.4.0",
"react-native-base64": "^0.2.1",
"url": "^0.11.0"
},
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native-webview": ">=13.0.0"
},
"devDependencies": {
"@mxenabled/sso-api-proxy": "^1.3.4",
"@react-native/babel-preset": "^0.83.0",
"@testing-library/react-native": "^13.3.3",
"@types/jest": "^29.5.0",
"@types/node-fetch": "^2.5.12",
"@types/react": "^19.1.0",
"@types/react-native-base64": "^0.2.0",
"@types/react-test-renderer": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^5.11.0",
"@typescript-eslint/parser": "^5.11.0",
"concurrently": "^9.2.1",
"eslint": "^8.19.0",
"eslint-plugin-react-hooks": "^4.3.0",
"jest": "^29.5.0",
"msw": "^2.12.4",
"node-fetch": "^2.6.7",
"nodemon": "^3.1.11",
"prettier": "^2.8.8",
"react": "^19.1.0",
"react-native": "^0.81.5",
"react-native-base64": "^0.2.1",
"react-test-renderer": "^19.0.0",
"ts-jest": "^29.1.0",
"ts-node": "^10.4.0",
"typescript": "^4.5.5",
"vite": "^7.2.7",
"vite-plugin-dts": "^4.5.4"
}
}