@react-native-ohos/react-native-background-timer 2.4.2-rc.1 → 2.4.2-rc.2

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.
@@ -1,11 +1,11 @@
1
- {
2
- "name": "@react-native-ohos/react-native-background-timer",
3
- "version": "2.4.2-rc.1",
4
- "description": "Please describe the basic information.",
5
- "main": "Index.ets",
6
- "author": "",
7
- "license": "MIT",
8
- "dependencies": {
9
- "@rnoh/react-native-openharmony": '^0.72.38'
10
- }
11
- }
1
+ {
2
+ name: '@react-native-ohos/react-native-background-timer',
3
+ version: '2.4.2-rc.2',
4
+ description: 'Please describe the basic information.',
5
+ main: 'Index.ets',
6
+ author: '',
7
+ license: 'MIT',
8
+ dependencies: {
9
+ '@rnoh/react-native-openharmony': '^0.72.38',
10
+ },
11
+ }
Binary file
package/package.json CHANGED
@@ -1,65 +1,63 @@
1
- {
2
- "name": "@react-native-ohos/react-native-background-timer",
3
- "version": "2.4.2-rc.1",
4
- "description": "Emit event periodically (even when app is in the background)",
5
- "keywords": [
6
- "react-native",
7
- "background",
8
- "timer",
9
- "android",
10
- "ios"
11
- ],
12
- "main": "index.js",
13
- "scripts": {
14
- "eslint": "eslint *.js",
15
- "eslint:fix": "yarn eslint --fix",
16
- "test": "echo \"Error: no test specified\" && exit 1",
17
- "codegen-lib": "react-native codegen-lib-harmony --no-safety-check --npm-package-name react-native-background-timer --cpp-output-path ./harmony/background_timer/src/main/cpp/generated --ets-output-path ./harmony/background_timer/src/main/ets/generated --turbo-modules-spec-paths ./src/RNBackgroundTimerSpec.ts"
18
- },
19
- "repository": {
20
- "type": "git",
21
- "url": "https://gitee.com/openharmony-sig/rntpc_react-native-background-timer.git"
22
- },
23
- "author": "David Ocetnik",
24
- "license": "MIT",
25
- "peerDependencies": {
26
- "react-native": ">=0.47.0"
27
- },
28
- "devDependencies": {
29
- "@babel/core": "^7.11.6",
30
- "eslint": "^7.10.0",
31
- "eslint-config-airbnb": "^18.2.0",
32
- "eslint-config-prettier": "^6.12.0",
33
- "eslint-plugin-import": "^2.22.1",
34
- "eslint-plugin-jsx-a11y": "^6.3.1",
35
- "eslint-plugin-prettier": "^3.1.4",
36
- "eslint-plugin-react": "^7.21.2",
37
- "eslint-plugin-react-hooks": "^4.1.2",
38
- "husky": "^4.3.0",
39
- "lint-staged": "^10.4.0",
40
- "prettier": "^2.1.2",
41
- "react": "16.13.1",
42
- "react-native": "^0.63.3",
43
- "react-native-harmony": "npm:@react-native-oh/react-native-harmony@^0.72.38",
44
- "react-native-harmony-cli": "npm:@react-native-oh/react-native-harmony-cli@^0.0.27"
45
- },
46
- "husky": {
47
- "hooks": {
48
- "pre-commit": "lint-staged"
49
- }
50
- },
51
- "lint-staged": {
52
- "*.js": [
53
- "eslint --fix",
54
- "git add"
55
- ]
56
- },
57
- "harmony": {
58
- "alias": "react-native-background-timer"
59
- },
60
- "publishConfig": {
61
- "registry": "https://registry.npmjs.com/",
62
- "access": "public"
63
- }
64
-
65
- }
1
+ {
2
+ "name": "@react-native-ohos/react-native-background-timer",
3
+ "version": "2.4.2-rc.2",
4
+ "description": "Emit event periodically (even when app is in the background)",
5
+ "keywords": [
6
+ "react-native",
7
+ "background",
8
+ "timer",
9
+ "android",
10
+ "ios"
11
+ ],
12
+ "main": "index.js",
13
+ "scripts": {
14
+ "eslint": "eslint *.js",
15
+ "eslint:fix": "yarn eslint --fix",
16
+ "test": "echo \"Error: no test specified\" && exit 1",
17
+ "codegen-lib": "react-native codegen-lib-harmony --no-safety-check --npm-package-name react-native-background-timer --cpp-output-path ./harmony/background_timer/src/main/cpp/generated --ets-output-path ./harmony/background_timer/src/main/ets/generated --turbo-modules-spec-paths ./src/RNBackgroundTimerSpec.ts"
18
+ },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "https://gitee.com/openharmony-sig/rntpc_react-native-background-timer.git"
22
+ },
23
+ "author": "David Ocetnik",
24
+ "license": "MIT",
25
+ "peerDependencies": {
26
+ "react-native": ">=0.47.0"
27
+ },
28
+ "devDependencies": {
29
+ "@babel/core": "^7.11.6",
30
+ "eslint": "^7.10.0",
31
+ "eslint-config-airbnb": "^18.2.0",
32
+ "eslint-config-prettier": "^6.12.0",
33
+ "eslint-plugin-import": "^2.22.1",
34
+ "eslint-plugin-jsx-a11y": "^6.3.1",
35
+ "eslint-plugin-prettier": "^3.1.4",
36
+ "eslint-plugin-react": "^7.21.2",
37
+ "eslint-plugin-react-hooks": "^4.1.2",
38
+ "husky": "^4.3.0",
39
+ "lint-staged": "^10.4.0",
40
+ "prettier": "^2.1.2",
41
+ "react": "16.13.1",
42
+ "react-native": "^0.63.3",
43
+ "react-native-harmony": "npm:@react-native-oh/react-native-harmony@^0.72.38",
44
+ "react-native-harmony-cli": "npm:@react-native-oh/react-native-harmony-cli@^0.0.27"
45
+ },
46
+ "husky": {
47
+ "hooks": {
48
+ "pre-commit": "lint-staged"
49
+ }
50
+ },
51
+ "lint-staged": {
52
+ "*.js": [
53
+ "eslint --fix",
54
+ "git add"
55
+ ]
56
+ },
57
+ "harmony": {
58
+ "alias": "react-native-background-timer"
59
+ },
60
+ "publishConfig": {
61
+ "access": "public"
62
+ }
63
+ }
@@ -1,24 +0,0 @@
1
- require 'json'
2
-
3
- package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4
-
5
- Pod::Spec.new do |s|
6
-
7
- s.name = package['name']
8
- s.version = package['version']
9
- s.summary = package['description']
10
- s.homepage = package['repository']['url']
11
- s.license = package['license']
12
- s.author = package['author']
13
- s.source = { :git => s.homepage, :tag => 'v#{s.version}' }
14
-
15
- s.requires_arc = true
16
- s.ios.deployment_target = '8.0'
17
- s.tvos.deployment_target = '9.0'
18
-
19
- s.preserve_paths = 'README.md', 'package.json', 'index.js'
20
- s.source_files = 'ios/*.{h,m}'
21
-
22
- s.dependency 'React-Core'
23
-
24
- end