-
Notifications
You must be signed in to change notification settings - Fork 25
/
package.json
110 lines (110 loc) · 3.74 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "react-native-klarna-inapp-sdk",
"title": "Klarna Mobile SDK React Native",
"version": "2.3.9",
"description": "This library wraps Klarna Mobile SDK and exposes its functionality as React Native components.",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"files": [
"src",
"lib",
"android",
"ios",
"cpp",
"*.podspec",
"!ios/build",
"!ios/Podfile",
"!ios/Pods",
"!ios/RNKlarnaMobileSDK.xcworkspace",
"!android/build",
"!android/gradle",
"!android/gradlew",
"!android/gradlew.bat",
"!android/local.properties",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!**/.*"
],
"scripts": {
"prepack": "bob build",
"test": "jest",
"typecheck": "tsc --noEmit",
"lint": "eslint \"src/**/*.{js,ts,tsx}\"",
"lint:fix": "eslint \"src/**/*.{js,ts,tsx}\" --fix",
"prettier": "prettier --check \"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}\"",
"prettier:fix": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}\"",
"clean": "del-cli android/build ios/build TestApp/android/build TestApp/android/app/build TestApp/ios/build",
"pods": "pod-install --quiet",
"test:android": "cd TestApp/android && ./gradlew :react-native-klarna-inapp-sdk:testDebugUnitTest && cd ../..",
"test:ios": "cd ios && xcodebuild test -workspace RNKlarnaMobileSDK.xcworkspace -scheme RNKlarnaMobileSDK -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 15'",
"build:android": "cd TestApp/android && ./gradlew assembleDebug --no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a",
"build:ios": "cd TestApp/ios && xcodebuild -workspace TestApp.xcworkspace -scheme TestApp -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO",
"TestApp": "yarn --cwd TestApp"
},
"keywords": [
"react-native",
"klarna",
"sdk"
],
"repository": "https://github.com/klarna/react-native-klarna-inapp-sdk",
"author": "Mobile SDK <[email protected]>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/klarna/react-native-klarna-inapp-sdk/issues"
},
"homepage": "https://github.com/klarna/react-native-klarna-inapp-sdk#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"licenseFilename": "LICENSE",
"readmeFilename": "README.md",
"peerDependencies": {
"react": ">=16.5.0",
"react-native": ">=0.57.0 <1.0.x"
},
"devDependencies": {
"@react-native/eslint-config": "^0.72.2",
"@types/jest": "^29.5.4",
"@types/react": "^18.0.24",
"@types/react-native": "^0.72.2",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.2.1",
"metro-react-native-babel-preset": "0.76.8",
"pod-install": "^0.1.0",
"prettier": "^3.0.3",
"react": "18.2.0",
"react-native": "0.72.4",
"react-native-builder-bob": "^0.20.0",
"typescript": "^5.0.2"
},
"engines": {
"node": ">=16"
},
"packageManager": "[email protected]",
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
"typescript"
]
},
"codegenConfig": {
"name": "RNKlarnaMobileSDK",
"type": "all",
"jsSrcsDir": "src/specs",
"android": {
"javaPackageName": "com.klarna.mobile.sdk.reactnative"
}
}
}