mixpanel-react-native 2.4.0 → 2.4.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/package.json CHANGED
@@ -1,60 +1,60 @@
1
1
  {
2
- "name": "mixpanel-react-native",
3
- "version": "2.4.0",
4
- "description": "Official React Native Tracking Library for Mixpanel Analytics",
5
- "main": "index.js",
6
- "scripts": {
7
- "test": "jest"
8
- },
9
- "author": "Mixpanel",
10
- "license": "Apache-2.0",
11
- "repository": {
12
- "type": "git",
13
- "url": "git+https://github.com/mixpanel/mixpanel-react-native.git"
14
- },
15
- "keywords": [
16
- "mixpanel",
17
- "react",
18
- "native",
19
- "ios",
20
- "android",
21
- "analytics",
22
- "tracking",
23
- "sdk"
2
+ "name": "mixpanel-react-native",
3
+ "version": "2.4.1",
4
+ "description": "Official React Native Tracking Library for Mixpanel Analytics",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "jest"
8
+ },
9
+ "author": "Mixpanel",
10
+ "license": "Apache-2.0",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://github.com/mixpanel/mixpanel-react-native.git"
14
+ },
15
+ "keywords": [
16
+ "mixpanel",
17
+ "react",
18
+ "native",
19
+ "ios",
20
+ "android",
21
+ "analytics",
22
+ "tracking",
23
+ "sdk"
24
+ ],
25
+ "bugs": {
26
+ "url": "https://github.com/mixpanel/mixpanel-react-native/issues"
27
+ },
28
+ "TODO": "Change the git URL before publishing on npm",
29
+ "homepage": "https://github.com/mixpanel/mixpanel-react-native#readme",
30
+ "metadata": {
31
+ "mp_lib": "react-native"
32
+ },
33
+ "devDependencies": {
34
+ "@babel/core": "^7.12.3",
35
+ "@babel/runtime": "^7.12.1",
36
+ "@react-native-community/eslint-config": "^2.0.0",
37
+ "babel-jest": "^26.6.0",
38
+ "eslint": "^7.11.0",
39
+ "jest": "^26.6.0",
40
+ "metro-react-native-babel-preset": "^0.63.0",
41
+ "react-test-renderer": "16.13.1",
42
+ "react-native": "^0.63.3"
43
+ },
44
+ "jest": {
45
+ "modulePathIgnorePatterns": [
46
+ "<rootDir>/MixpanelDemo/"
24
47
  ],
25
- "bugs": {
26
- "url": "https://github.com/mixpanel/mixpanel-react-native/issues"
27
- },
28
- "TODO": "Change the git URL before publishing on npm",
29
- "homepage": "https://github.com/mixpanel/mixpanel-react-native#readme",
30
- "metadata": {
31
- "mp_lib": "react-native"
32
- },
33
- "devDependencies": {
34
- "@babel/core": "^7.12.3",
35
- "@babel/runtime": "^7.12.1",
36
- "@react-native-community/eslint-config": "^2.0.0",
37
- "babel-jest": "^26.6.0",
38
- "eslint": "^7.11.0",
39
- "jest": "^26.6.0",
40
- "metro-react-native-babel-preset": "^0.63.0",
41
- "react-test-renderer": "16.13.1",
42
- "react-native": "^0.63.3"
43
- },
44
- "jest": {
45
- "modulePathIgnorePatterns": [
46
- "<rootDir>/MixpanelDemo/"
47
- ],
48
- "testMatch": [
49
- "<rootDir>/__tests__/index.test.js"
50
- ],
51
- "setupFiles": [
52
- "<rootDir>/__tests__/jest_setup.js"
53
- ],
54
- "verbose": true,
55
- "preset": "react-native",
56
- "transform": {
57
- "^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
58
- }
48
+ "testMatch": [
49
+ "<rootDir>/__tests__/index.test.js"
50
+ ],
51
+ "setupFiles": [
52
+ "<rootDir>/__tests__/jest_setup.js"
53
+ ],
54
+ "verbose": true,
55
+ "preset": "react-native",
56
+ "transform": {
57
+ "^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
59
58
  }
59
+ }
60
60
  }
package/release.py CHANGED
@@ -11,9 +11,9 @@ args = parser.parse_args()
11
11
  def bump_version():
12
12
  replace_version('package.json', "\"version\": \"" + args.old + "\"", "\"version\": \"" + args.new + "\"")
13
13
  replace_version('__tests__/index.test.js', "\"$lib_version\": \"" + args.old + "\"", "\"$lib_version\": \"" + args.new + "\"")
14
- subprocess.call('cd Samples/MixpanelDemo;rm -fr node_modules;rm -fr android/app/build;rm -fr ios/Pods', shell=True)
15
- subprocess.call('cd Samples/SimpleMixpanel;rm -fr node_modules;rm -fr android/app/build;rm -fr ios/Pods', shell=True)
16
- subprocess.call('cd Samples/ContextAPIMixpanel;rm -fr node_modules;rm -fr android/app/build;rm -fr ios/Pods', shell=True)
14
+ subprocess.call('cd Samples/MixpanelDemo;rm -fr node_modules;rm -fr android/app/build', shell=True)
15
+ subprocess.call('cd Samples/SimpleMixpanel;rm -fr node_modules;rm -fr android/app/build', shell=True)
16
+ subprocess.call('cd Samples/ContextAPIMixpanel;rm -fr node_modules;rm -fr android/app/build', shell=True)
17
17
  subprocess.call('git add package.json', shell=True)
18
18
  subprocess.call('git add __tests__/index.test.js', shell=True)
19
19