1 | {
|
2 | "name": "react-navigation",
|
3 | "version": "4.0.0",
|
4 | "description": "Routing and navigation for your React Native apps",
|
5 | "main": "src/react-navigation.js",
|
6 | "types": "typescript/react-navigation.d.ts",
|
7 | "repository": {
|
8 | "url": "git@github.com:react-navigation/react-navigation.git",
|
9 | "type": "git"
|
10 | },
|
11 | "author": "Adam Miskiewicz <adam@sk3vy.com>, Eric Vicenti <ericvicenti@gmail.com>, Brent Vatne <brent@expo.io>, Satyajit Sahoo <satyajit.happy@gmail.com>",
|
12 | "license": "MIT",
|
13 | "scripts": {
|
14 | "bootstrap": "yarn example && yarn",
|
15 | "example": "yarn --cwd example",
|
16 | "test": "jest",
|
17 | "lint": "eslint . --ext '.js,.ts,.tsx'",
|
18 | "typescript": "tsc --noEmit",
|
19 | "release": "release-it"
|
20 | },
|
21 | "publishConfig": {
|
22 | "registry": "https://registry.npmjs.org/"
|
23 | },
|
24 | "files": [
|
25 | "src",
|
26 | "NavigationTestUtils.js",
|
27 | "typescript"
|
28 | ],
|
29 | "peerDependencies": {
|
30 | "react": "*",
|
31 | "react-native": "*"
|
32 | },
|
33 | "dependencies": {
|
34 | "@react-navigation/core": "^3.5.0",
|
35 | "@react-navigation/native": "^3.6.2"
|
36 | },
|
37 | "devDependencies": {
|
38 | "@commitlint/config-conventional": "^8.0.0",
|
39 | "@release-it/conventional-changelog": "^1.1.0",
|
40 | "@types/jest": "^24.0.18",
|
41 | "@types/react": "^16.9.2",
|
42 | "@types/react-native": "^0.60.9",
|
43 | "codecov": "^3.5.0",
|
44 | "commitlint": "^8.0.0",
|
45 | "eslint": "^5.16.0",
|
46 | "eslint-config-satya164": "^2.4.1",
|
47 | "eslint-plugin-react-native-globals": "^0.1.0",
|
48 | "husky": "^3.0.0",
|
49 | "jest": "^24.9.0",
|
50 | "prettier": "^1.18.2",
|
51 | "react": "16.8.3",
|
52 | "react-native": "~0.59.8",
|
53 | "react-test-renderer": "16.8.3",
|
54 | "release-it": "^12.3.6",
|
55 | "typescript": "^3.6.2"
|
56 | },
|
57 | "jest": {
|
58 | "notify": true,
|
59 | "preset": "react-native",
|
60 | "testRegex": "/__tests__/[^/]+-test\\.js$",
|
61 | "setupFiles": [
|
62 | "<rootDir>/jest-setup.js"
|
63 | ],
|
64 | "coverageDirectory": "./coverage/",
|
65 | "collectCoverage": true,
|
66 | "coverageReporters": [
|
67 | "lcov"
|
68 | ],
|
69 | "collectCoverageFrom": [
|
70 | "src/**/*.js"
|
71 | ],
|
72 | "coveragePathIgnorePatterns": [
|
73 | "jest-setup.js"
|
74 | ],
|
75 | "moduleNameMapper": {
|
76 | "\\.png$": "<rootDir>/assetsTransformer.js"
|
77 | },
|
78 | "modulePathIgnorePatterns": [
|
79 | "<rootDir>/example/"
|
80 | ],
|
81 | "transformIgnorePatterns": [
|
82 | "node_modules/(?!(jest-)?react-native|react-clone-referenced-element|react-navigation-stack|@react-navigation/core|@react-navigation/native)"
|
83 | ]
|
84 | },
|
85 | "prettier": {
|
86 | "trailingComma": "es5",
|
87 | "singleQuote": true
|
88 | },
|
89 | "husky": {
|
90 | "hooks": {
|
91 | "pre-commit": "yarn typescript && yarn lint && yarn test",
|
92 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
93 | }
|
94 | }
|
95 | }
|