-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.19 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 2.19 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
73
74
75
76
77
{
"name": "@perryts/storekit",
"version": "0.1.2",
"description": "StoreKit 2 in-app purchase bindings (iOS / macOS) for the Perry TypeScript-to-native compiler. For Android, see @perryts/play-billing.",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/PerryTS/storekit.git"
},
"homepage": "https://github.com/PerryTS/storekit#readme",
"bugs": {
"url": "https://github.com/PerryTS/perry/issues"
},
"keywords": [
"perry",
"perryts",
"storekit",
"in-app-purchase",
"iap",
"ios",
"macos",
"subscriptions"
],
"main": "src/index.ts",
"types": "src/index.d.ts",
"files": [
"src/",
"crate-ios/Cargo.toml",
"crate-ios/build.rs",
"crate-ios/src/",
"crate-ios/swift/",
"crate-stub/Cargo.toml",
"crate-stub/src/",
"README.md",
"LICENSE"
],
"publishConfig": {
"access": "public"
},
"perry": {
"nativeLibrary": {
"abiVersion": "0.5",
"functions": [
{ "name": "js_storekit_load_products", "params": ["string"], "returns": "promise" },
{ "name": "js_storekit_purchase", "params": ["string"], "returns": "promise" },
{ "name": "js_storekit_restore", "params": [], "returns": "promise" },
{ "name": "js_storekit_has_subscription", "params": [], "returns": "promise" },
{ "name": "js_storekit_get_jws", "params": [], "returns": "promise" },
{ "name": "js_storekit_start_listener", "params": [], "returns": "void" }
],
"targets": {
"ios": {
"crate": "crate-ios",
"lib": "libperry_storekit.a",
"frameworks": ["StoreKit", "Foundation"]
},
"macos": {
"crate": "crate-ios",
"lib": "libperry_storekit.a",
"frameworks": ["StoreKit", "Foundation"]
},
"android": {
"crate": "crate-stub",
"lib": "libperry_storekit.a"
},
"linux": {
"crate": "crate-stub",
"lib": "libperry_storekit.a"
},
"windows": {
"crate": "crate-stub",
"lib": "libperry_storekit.a"
}
}
}
}
}