forked from software-mansion/react-native-screens
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
110 lines (110 loc) · 3.11 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
{
"name": "react-native-screens",
"version": "3.0.0",
"description": "Native navigation primitives for your React Native app.",
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "npm run format && npm run lint && npm run test:unit",
"test:unit": "jest",
"format": "prettier --write --list-different './src/**/*.{js,ts,tsx}'",
"lint": "eslint --ext '.js,.ts,.tsx' --fix src",
"precommit": "lint-staged",
"release": "npm login && release-it",
"prepare": "bob build"
},
"main": "lib/commonjs/index",
"module": "lib/module/index",
"react-native": "src/index",
"source": "src/index",
"types": "src/index.d.ts",
"files": [
"src/",
"lib/",
"native-stack/",
"createNativeStackNavigator/",
"android/src/main/AndroidManifest.xml",
"android/src/main/java/",
"android/build.gradle",
"ios/",
"RNScreens.podspec",
"README.md",
"!**/__tests__"
],
"repository": {
"type": "git",
"url": "git+https://github.com/kmagiera/react-native-screens.git"
},
"author": {
"email": "[email protected]",
"name": "Krzysztof Magiera"
},
"license": "MIT",
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/kmagiera/react-native-screens/issues"
},
"homepage": "https://github.com/kmagiera/react-native-screens#readme",
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"devDependencies": {
"@react-native-community/bob": "^0.15.1",
"@react-navigation/native": "^5.8.0",
"@types/react": "^16.9.20",
"@types/react-native": "^0.61.15",
"@typescript-eslint/eslint-plugin": "^2.20.0",
"@typescript-eslint/parser": "^2.20.0",
"babel-eslint": "^8.2.3",
"babel-jest": "23.0.1",
"eslint": "^6.8.0",
"eslint-config-prettier": "^2.9.0",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-flowtype": "^2.50.0",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-jest": "^21.22.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.8.0",
"eslint-plugin-react": "^7.9.1",
"eslint-plugin-react-native": "^3.2.1",
"eslint-plugin-standard": "^3.1.0",
"husky": "^0.14.3",
"jest": "23.1.0",
"jest-react-native": "18.0.0",
"lint-staged": "^7.1.3",
"metro-react-native-babel-preset": "^0.59.0",
"prettier": "^2.0.4",
"react": "^16.0.0-alpha.12",
"react-dom": "^16.0.0-beta.5",
"react-native": "^0.56.0",
"react-test-renderer": "^16.0.0-alpha.12",
"release-it": "^13.5.2",
"typescript": "^3.8.3"
},
"lint-staged": {
"*.{js,ts,tsx}": [
"prettier --write",
"git add"
]
},
"release-it": {
"hooks": {
"before:git:bump": [
"# check if version corresponds to changes in native files \n git diff --name-only ${latestVersion} HEAD -- | egrep \"(^android/.*)|(^ios/.*)\" -q && egrep '\\.0$' -q <<< ${version}"
]
}
},
"@react-native-community/bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
"typescript"
]
},
"eslintIgnore": [
"node_modules/",
"lib/"
]
}