forked from RevenueCat/react-native-purchases
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
99 lines (99 loc) · 2.54 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
{
"name": "react-native-purchases",
"title": "React Native Purchases",
"version": "4.3.1",
"description": "React Native in-app purchases and subscriptions made easy. Supports iOS and Android. ",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"source": "src/index",
"files": [
"scripts/build.js",
"dist",
"android",
"!android/gradlew*",
"!android/.gradle",
"!android/gradle",
"!android/build",
"!android/local.properties",
"ios",
"!ios/build",
"!ios/RNPurchases.xcodeproj/project.xcworkspace",
"!ios/RNPurchases.xcodeproj/xcuserdata",
"RNPurchases.podspec",
"scripts",
"!**/__tests__",
"!**/.idea",
"!**/*.iml",
"!**/.DS_Store",
"!**/.gitignore"
],
"scripts": {
"build": "tsc",
"build-watch": "tsc --watch",
"preinstall": "node scripts/build.js",
"test": "jest",
"tslint": "tslint -c tslint.json 'src/*.ts'",
"prepublish": "tsc",
"example": "yarn --cwd examples/purchaseTester",
"pods": "cd examples/purchaseTester && pod-install --quiet",
"bootstrap": "yarn example && yarn && yarn pods"
},
"repository": {
"type": "git",
"url": "git+https://github.com/revenuecat/react-native-purchases.git",
"baseUrl": "https://github.com/revenuecat/react-native-purchases"
},
"keywords": [
"react-native",
"in-app purchase",
"subscriptions",
"iap",
"iOS",
"Apple",
"Android"
],
"author": "RevenueCat, Inc.",
"license": "MIT",
"readmeFilename": "README.md",
"peerDependencies": {
"react": ">= 16.6.3",
"react-native": ">= 0.58.2"
},
"devDependencies": {
"@types/jest": "^26.0.0",
"@types/react": "^16.9.19",
"@types/react-native": "0.62.13",
"jest": "^26.0.1",
"jest-react-native": "^18.0.0",
"pod-install": "^0.1.0",
"prettier": "^2.0.5",
"react": "16.11.0",
"react-native": "^0.64.0",
"ts-jest": "^24.1.0",
"tslint": "^5.20.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.8.3"
},
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/examples/purchaseTester/node_modules",
"<rootDir>/lib/"
],
"moduleFileExtensions": [
"js"
],
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.js$",
"testPathIgnorePatterns": [
"\\.snap$",
"<rootDir>/node_modules/"
],
"cacheDirectory": ".jest/cache",
"setupFiles": [
"./scripts/setupJest.js"
]
}
}