-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
117 lines (117 loc) · 3.97 KB
/
package.json
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "react-native-segmented-picker",
"version": "2.0.2",
"description": "Selection picker wheel with multi-column support and optional native dependencies.",
"author": "Adam McArthur",
"license": "MIT",
"private": false,
"main": "dist/bundle.js",
"types": "dist/index.d.ts",
"scripts": {
"lint": "eslint ./ && tsc --project ./tsconfig.json --noEmit --skipLibCheck",
"unit-test": "jest --testPathIgnorePatterns __tests__/",
"test": "yarn lint && yarn unit-test",
"build": "rm -rf dist && rollup --config rollup.config.js",
"e2e-android": "cd examples && yarn install && yarn e2e-android-debug-init && yarn e2e-android-debug --take-screenshots all --record-logs all",
"e2e-ios": "cd examples && yarn install && cd ios && pod install && cd ../ && yarn e2e-ios-debug-init && yarn e2e-ios-debug --take-screenshots all --record-logs all"
},
"repository": {
"type": "git",
"url": "https://github.com/adammcarth/react-native-segmented-picker.git"
},
"homepage": "https://github.com/adammcarth/react-native-segmented-picker#readme",
"bugs": {
"url": "https://github.com/adammcarth/react-native-segmented-picker/issues"
},
"keywords": [
"react-native",
"UIPicker",
"UIPickerView",
"spinner",
"picklist",
"select options",
"dropdown list",
"wheel spinner",
"date spinner",
"date picker",
"wheel picker",
"segmented picker",
"segmented dropdown",
"column picker"
],
"dependencies": {
"prop-types": ">= 15.0.0",
"react-native-animatable": "^1.3.0"
},
"peerDependencies": {
"react": ">= 16.3.0",
"react-native": ">= 0.55.0"
},
"devDependencies": {
"@babel/core": "7.6.2",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-transform-react-jsx": "^7.9.4",
"@rollup/plugin-babel": "^5.0.0",
"@types/jest": "24.0.24",
"@types/react-native": "0.60.25",
"@types/react-test-renderer": "16.9.1",
"@typescript-eslint/eslint-plugin": "2.17.0",
"@typescript-eslint/parser": "2.12.0",
"babel-jest": "24.9.0",
"detox": "^16.5.0",
"detox-getprops": "^0.1.1",
"eslint": "6.8.0",
"eslint-config-airbnb-typescript": "6.3.1",
"eslint-plugin-detox": "^1.0.0",
"eslint-plugin-import": "2.20.0",
"eslint-plugin-jest": "23.8.2",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "7.18.0",
"jest": "25.5.4",
"metro-react-native-babel-preset": "^0.56.0",
"react": "16.9.0",
"react-native": "0.61.5",
"react-test-renderer": "16.9.0",
"rollup": "^2.10.2",
"rollup-plugin-typescript2": "^0.27.1",
"typescript": "3.7.3"
},
"jest": {
"preset": "react-native",
"transform": {
"^.+\\.jsx?$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
},
"transformIgnorePatterns": [
"node_modules/(?!react-native|!react-navigation|!static-container)"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/__test__/"
],
"setupFiles": [
"./__mocks__/init.ts"
]
},
"detox": {
"test-runner": "jest",
"runner-config": "./__tests__/config.json",
"artifacts": {
"rootDir": "./__tests__/.artifacts"
},
"configurations": {
"android.debug": {
"binaryPath": "examples/android/app/build/outputs/apk/debug/app-debug.apk",
"build": "cd examples/android && RN_BUNDLE_TYPE=E2E E2E_MODE=debug ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd ..",
"type": "android.attached"
},
"ios.sim.debug": {
"binaryPath": "examples/ios/build/Build/Products/Debug-iphonesimulator/SegmentedPickerDemo.app",
"build": "cd examples && RN_BUNDLE_TYPE=E2E E2E_MODE=debug xcodebuild -workspace ios/SegmentedPickerDemo.xcworkspace -scheme SegmentedPickerDemo -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"device": {
"type": "iPhone SE (2nd generation)"
}
}
}
}
}