|
1 | 1 | { |
2 | 2 | "name": "react-navigation-hooks", |
3 | | - "version": "1.0.1", |
| 3 | + "version": "1.0.2-alpha.0", |
4 | 4 | "description": "React hooks for convenient react-navigation use", |
5 | | - "main": "dist/Hooks.js", |
6 | | - "types": "dist/Hooks.d.ts", |
| 5 | + "main": "dist/commonjs/Hooks.js", |
| 6 | + "module": "dist/module/Hooks.js", |
| 7 | + "react-native": "dist/module/Hooks.js", |
| 8 | + "types": "dist/typescript/Hooks.d.ts", |
7 | 9 | "files": [ |
8 | 10 | "dist/", |
9 | 11 | "src/", |
|
13 | 15 | "scripts": { |
14 | 16 | "test": "jest", |
15 | 17 | "lint": "tslint --project tsconfig.json", |
16 | | - "build": "tsc --project tsconfig-build.json", |
| 18 | + "build": "bob build", |
17 | 19 | "prepare": "yarn build", |
18 | 20 | "release": "release-it", |
19 | 21 | "precommit": "lint-staged" |
|
31 | 33 | "url": "https://github.com/react-navigation/react-navigation-hooks/issues" |
32 | 34 | }, |
33 | 35 | "homepage": "https://github.com/react-navigation/react-navigation-hooks#readme", |
| 36 | + "@react-native-community/bob": { |
| 37 | + "source": "src", |
| 38 | + "output": "dist", |
| 39 | + "targets": [ |
| 40 | + "commonjs", |
| 41 | + "module", |
| 42 | + "typescript" |
| 43 | + ] |
| 44 | + }, |
34 | 45 | "devDependencies": { |
| 46 | + "@react-native-community/bob": "^0.6.1", |
35 | 47 | "@react-navigation/core": "^3.0.0", |
36 | 48 | "@react-navigation/native": "^3.0.2", |
37 | 49 | "@types/jest": "^23.3.9", |
38 | 50 | "@types/react": "^16.7.7", |
39 | 51 | "@types/react-native": "^0.57.14", |
40 | 52 | "@types/react-test-renderer": "^16.0.3", |
| 53 | + "babel-jest": "^24.7.1", |
41 | 54 | "conventional-changelog-cli": "^2.0.5", |
42 | 55 | "husky": "^0.14.3", |
43 | | - "jest": "^23.6.0", |
| 56 | + "jest": "^24.7.1", |
44 | 57 | "lint-staged": "^8.1.0", |
45 | 58 | "prettier": "^1.8.2", |
46 | 59 | "pretty-quick": "^1.8.0", |
47 | | - "react": "^16.7.0-alpha.2", |
| 60 | + "react": "^16.8.0", |
48 | 61 | "react-native": "^0.57.7", |
49 | | - "react-navigation-types-only": "bySabi/react-navigation#patch-1", |
50 | | - "react-test-renderer": "^16.7.0-alpha.2", |
| 62 | + "react-navigation": "^3.11.1", |
| 63 | + "react-test-renderer": "^16.8.0", |
51 | 64 | "release-it": "^7.6.1", |
52 | | - "ts-jest": "^23.10.5", |
53 | 65 | "tslint": "^5.11.0", |
54 | 66 | "tslint-config-airbnb": "^5.11.1", |
55 | 67 | "tslint-config-prettier": "^1.16.0", |
56 | 68 | "tslint-react": "^3.6.0", |
57 | | - "typescript": "^3.1.6" |
| 69 | + "typescript": "^3.5.3" |
58 | 70 | }, |
59 | 71 | "peerDependencies": { |
60 | 72 | "@react-navigation/core": "^3.0.0", |
61 | | - "react": "^16.7.0-alpha.2", |
| 73 | + "react": "^16.8.0", |
62 | 74 | "react-native": "*" |
63 | 75 | }, |
64 | 76 | "lint-staged": { |
|
0 commit comments