|
14 | 14 | "scripts": { |
15 | 15 | "gif": "node scripts/makegif.js ./scripts/gif-works-directory", |
16 | 16 | "test": "jest run src/**/*", |
17 | | - "test:dev": "jest dev src/**/*", |
| 17 | + "test:dev": "jest dev src/**/* --watch", |
18 | 18 | "typescript": "tsc --noEmit", |
19 | 19 | "lint": "eslint 'src/**/*.{js,ts,tsx}'", |
20 | 20 | "lint:fix": "eslint 'src/**/*.{js,ts,tsx}' --fix", |
21 | 21 | "dev": "watch 'yarn prepare' ./src", |
22 | 22 | "prepare": "bob build", |
23 | | - "release": "yarn prepare && dotenv release-it --no-git.requireUpstream", |
24 | | - "preRelease": "yarn prepare && dotenv release-it --no-git.requireUpstream --preRelease=beta", |
25 | 23 | "ios": "yarn --cwd exampleExpo ios", |
26 | 24 | "ios:pretty": "yarn --cwd exampleExpo ios:pretty", |
27 | 25 | "web": "yarn --cwd exampleExpo web", |
|
50 | 48 | "registry": "https://registry.npmjs.org/" |
51 | 49 | }, |
52 | 50 | "devDependencies": { |
| 51 | + "@babel/plugin-proposal-class-properties": "^7.18.6", |
| 52 | + "@babel/plugin-proposal-private-methods": "^7.18.6", |
53 | 53 | "@babel/plugin-syntax-dynamic-import": "^7.8.3", |
54 | 54 | "@changesets/changelog-github": "^0.5.0", |
55 | 55 | "@changesets/cli": "latest", |
56 | 56 | "@commitlint/config-conventional": "^11.0.0", |
57 | 57 | "@dohooo/eslint-config": "^0.0.7", |
58 | 58 | "@react-native-community/eslint-config": "^2.0.0", |
59 | | - "@release-it/conventional-changelog": "^2.0.0", |
| 59 | + "@testing-library/jest-native": "^4.0.4", |
| 60 | + "@testing-library/react-hooks": "^8.0.0", |
| 61 | + "@testing-library/react-native": "^7.1.0", |
60 | 62 | "@types/jest": "^29.2.5", |
61 | 63 | "@types/react": "^18.2.15", |
62 | 64 | "@types/react-native": "^0.66.16", |
63 | 65 | "@types/react-native-snap-carousel": "^3.8.5", |
64 | | - "babel-plugin-inline-dotenv": "^1.6.0", |
| 66 | + "@types/react-test-renderer": "^18.0.7", |
65 | 67 | "babel-plugin-module-resolver": "^4.1.0", |
66 | 68 | "commitlint": "^11.0.0", |
67 | 69 | "cz-conventional-changelog": "^3.3.0", |
68 | | - "dotenv-cli": "^5.1.0", |
69 | 70 | "eslint": "^8.26.0", |
70 | 71 | "eslint-config-prettier": "^7.0.0", |
71 | 72 | "eslint-plugin-prettier": "^3.1.3", |
|
80 | 81 | "react-native-builder-bob": "^0.18.1", |
81 | 82 | "react-native-gesture-handler": "~2.12.0", |
82 | 83 | "react-native-reanimated": "~3.3.0", |
83 | | - "release-it": "^14.2.2", |
| 84 | + "react-test-renderer": "^18.2.0", |
84 | 85 | "sponsorkit": "^0.1.3", |
85 | 86 | "typescript": "^4.0.8", |
86 | 87 | "watch": "^1.0.2" |
|
101 | 102 | "optional": true |
102 | 103 | } |
103 | 104 | }, |
104 | | - "jest": { |
105 | | - "preset": "react-native", |
106 | | - "modulePathIgnorePatterns": [ |
107 | | - "<rootDir>/exampleExpo/node_modules", |
108 | | - "<rootDir>/exampleBare/node_modules", |
109 | | - "<rootDir>/lib/" |
110 | | - ] |
111 | | - }, |
112 | 105 | "husky": { |
113 | 106 | "hooks": { |
114 | 107 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", |
|
120 | 113 | "@commitlint/config-conventional" |
121 | 114 | ] |
122 | 115 | }, |
123 | | - "release-it": { |
124 | | - "git": { |
125 | | - "commitMessage": "chore: release ${version}", |
126 | | - "tagName": "v${version}" |
127 | | - }, |
128 | | - "npm": { |
129 | | - "publish": true |
130 | | - }, |
131 | | - "github": { |
132 | | - "release": true |
133 | | - }, |
134 | | - "plugins": { |
135 | | - "@release-it/conventional-changelog": { |
136 | | - "preset": { |
137 | | - "name": "angular", |
138 | | - "types": [ |
139 | | - { |
140 | | - "type": "feat", |
141 | | - "section": "Features" |
142 | | - }, |
143 | | - { |
144 | | - "type": "fix", |
145 | | - "section": "Bug Fixes" |
146 | | - }, |
147 | | - {} |
148 | | - ] |
149 | | - }, |
150 | | - "infile": "CHANGELOG.md" |
151 | | - } |
152 | | - } |
153 | | - }, |
154 | 116 | "react-native-builder-bob": { |
155 | 117 | "source": "src", |
156 | 118 | "output": "lib", |
|
0 commit comments