forked from LewinJun/react-native-lewin-screen-capture
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 2.05 KB
/
Copy pathpackage.json
File metadata and controls
63 lines (63 loc) · 2.05 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
{
"name": "@react-native-ohos/react-native-lewin-screen-capture",
"version": "1.1.0",
"description": "获取系统截屏事件与获取当前屏幕截屏",
"main": "./src/index.js",
"module": "./src/index.js",
"react-native": "./src/index.js",
"license": "MIT",
"private": false,
"repository": {
"type": "git",
"url": "git+https://github.com/LewinJun/react-native-lewin-screen-capture.git"
},
"keywords": [
"react-native",
"harmony",
"harmonyos"
],
"homepage": "https://github.com/LewinJun/react-native-lewin-screen-capture#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"files": [
"src/",
"README.md",
"LICENSE",
"harmony/"
],
"scripts": {
"codegen-lib": "react-native codegen-lib-harmony --no-safety-check --npm-package-name lewin_screen_capture --cpp-output-path ./harmony/lewin_screen_capture/src/main/cpp/generated --ets-output-path ./harmony/lewin_screen_capture/src/main/ets/generated --turbo-modules-spec-paths ./src/specs/v1/NativeScreenCapture.ts",
"test": "jest --config jest/jest.config.js --no-coverage",
"test:coverage": "jest --config jest/jest.config.js --coverage"
},
"peerDependencies": {
"react-native": ">=0.72"
},
"devDependencies": {
"react": "18.2.0",
"@types/react": "18.2.79",
"react-native": "0.72.5",
"jest": "^29.6.3",
"babel-jest": "^29.6.3",
"@babel/core": "^7.23.9",
"@babel/preset-env": "^7.23.9",
"@babel/preset-flow": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@babel/plugin-transform-react-jsx": "^7.23.4",
"@react-native-oh/react-native-harmony-cli": "^0.77.50",
"metro": "^0.81.0"
},
"engines": {
"node": ">=18"
},
"harmony": {
"alias": "react-native-lewin-screen-capture",
"autolinking": {
"cmakeLibraryTargetName": "rnoh_lewin_screen_capture",
"ohPackageName": "@react-native-ohos/react-native-lewin-screen-capture",
"etsPackageClassName": "LewinScreenCapturePackage",
"cppPackageClassName": "LewinScreenCapturePackage"
}
}
}