-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 2.36 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 2.36 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
{
"name": "react-native-dual-screen",
"version": "0.0.4",
"description": "Unofficial React Native package for dual screen devices support (Surface Duo, Neo)",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"keywords": [
"react-native"
],
"author": "Evgenii Utkin",
"license": "MIT",
"scripts": {
"init:package": "cd examples && npm i && npm run install:pods",
"build": "rm -rf dist && tsc -p ./src",
"watch": "npm run build -- -w",
"lint": "npm run lint:ts && npm run lint:kotlin && npm run lint:swift",
"lint:ts": "tslint --fix -p ./src && tslint --fix -p ./examples/src",
"lint:kotlin": "cd examples/android && ./gradlew ktlintMainSourceSetFormat",
"lint:swift": "cd ios && ../examples/ios/Pods/SwiftLint/swiftlint autocorrect && ../examples/ios/Pods/SwiftLint/swiftlint",
"ci:build": "cd examples && npm i",
"ci:lint": "npm run ci:lint:ts && npm run ci:lint:kotlin && npm run ci:lint:swift",
"ci:lint:ts": "tslint -p ./src && tslint -p ./examples/src",
"ci:lint:kotlin": "cd examples/android && ./gradlew ktlintMainSourceSetCheck",
"ci:lint:swift": "cd ios && ../examples/ios/Pods/SwiftLint/swiftlint",
"ci:compile:android": "cd examples/android && ./gradlew compileDebugSources",
"ci:compile:ios": "cd examples/ios && export RCT_NO_LAUNCH_PACKAGER=\"true\" && export RCT_NO_BUNDLE=\"true\" && xcodebuild CODE_SIGN_IDENTITY=\"\" CODE_SIGNING_REQUIRED=\"NO\" CODE_SIGN_ENTITLEMENTS=\"\" CODE_SIGNING_ALLOWED=\"NO\" -workspace ReactNativeDualScreenexamples.xcworkspace -configuration Debug -scheme ReactNativeDualScreenexamples test",
"preversion": "npm run lint && npm run build",
"postversion": "git push && git push --tags"
},
"bugs": {
"url": "https://github.com/thewulf7/react-native-dual-screen/issues"
},
"homepage": "https://github.com/thewulf7/react-native-dual-screen#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/thewulf7/react-native-dual-screen.git"
},
"peerDependencies": {
"@babel/runtime": "*",
"react": "*",
"react-native": "*"
},
"devDependencies": {
"@types/react-native": "0.60.8",
"tslint": "5.19.0",
"tslint-config-standard": "8.0.1",
"tslint-react": "4.0.0",
"typescript": "3.5.3"
},
"files": [
"android",
"ios",
"src",
"dist",
"tslint.json",
"*.md",
"*.podspec",
"LICENSE"
]
}