customerio-expo-plugin 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/index.js +11 -0
- package/package.json +36 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const withCIOAndroid_1 = require("./android/withCIOAndroid");
|
|
4
|
+
const withCIOIos_1 = require("./ios/withCIOIos");
|
|
5
|
+
// Entry point for config plugin
|
|
6
|
+
function withCustomerIOPlugin(config, props) {
|
|
7
|
+
config = (0, withCIOIos_1.withCIOIos)(config, props);
|
|
8
|
+
config = (0, withCIOAndroid_1.withCIOAndroid)(config, props);
|
|
9
|
+
return config;
|
|
10
|
+
}
|
|
11
|
+
exports.default = withCustomerIOPlugin;
|
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "customerio-expo-plugin",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Expo config plugin for the Customer IO React Native SDK",
|
|
5
|
+
"main": "build/src/index.js",
|
|
6
|
+
"types": "build/index.d.ts",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist/**/*"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"copy-native-files": "cp -r src/helpers/native-files build/helpers/",
|
|
13
|
+
"build": "rm -rf build && tsc && npm run copy-native-files",
|
|
14
|
+
"build:watch": "npm run build && tsc --watch",
|
|
15
|
+
"clean": "rm -rf build",
|
|
16
|
+
"expo-module": "expo-module",
|
|
17
|
+
"lint": "eslint .",
|
|
18
|
+
"tc": "tsc --noEmit",
|
|
19
|
+
"prepare": "npm run clean && npm run build",
|
|
20
|
+
"prepublishOnly": "npm run tc && npm run lint"
|
|
21
|
+
},
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"@expo/config-plugins": "^4.1.4",
|
|
24
|
+
"@expo/config-types": "^44.0.0",
|
|
25
|
+
"@typescript-eslint/eslint-plugin": "^5.21.0",
|
|
26
|
+
"@typescript-eslint/parser": "^5.21.0",
|
|
27
|
+
"eslint": "^8.14.0",
|
|
28
|
+
"eslint-config-prettier": "^8.5.0",
|
|
29
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
30
|
+
"expo-module-scripts": "^2.0.0",
|
|
31
|
+
"expo-build-properties": "^0.2.0",
|
|
32
|
+
"prettier": "^2.6.2",
|
|
33
|
+
"typescript": "^4.6.4",
|
|
34
|
+
"xcode": "^3.0.1"
|
|
35
|
+
}
|
|
36
|
+
}
|