|
1 | 1 | { |
2 | 2 | "name": "@circle-fin/w3s-pw-react-native-sdk", |
3 | | - "version": "1.1.7", |
| 3 | + "version": "1.1.2", |
4 | 4 | "description": "React Native SDK for Circle Programmable Wallet", |
| 5 | + "packageManager": "yarn@1.22.22", |
5 | 6 | "main": "lib/commonjs/index", |
6 | 7 | "module": "lib/module/index", |
7 | 8 | "types": "lib/typescript/src/index.d.ts", |
|
32 | 33 | "lint": "eslint \"**/*.{js,ts,tsx}\"", |
33 | 34 | "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", |
34 | 35 | "prepare": "bob build", |
| 36 | + "release": "release-it", |
35 | 37 | "pod-install-new": "RCT_NEW_ARCH_ENABLED=1 bundle exec pod install", |
36 | 38 | "publish:sdk": "npm publish --registry https://registry.npmjs.org/" |
37 | 39 | }, |
|
59 | 61 | "devDependencies": { |
60 | 62 | "@commitlint/config-conventional": "^17.0.2", |
61 | 63 | "@evilmartians/lefthook": "^1.5.0", |
62 | | - "@react-native-community/cli": "^18.0.0", |
63 | | - "@react-native/eslint-config": "0.79.3", |
64 | | - "@types/jest": "^29.5.13", |
65 | | - "@types/react": "^19.0.0", |
66 | | - "@typescript-eslint/eslint-plugin": "^5.30.5", |
67 | | - "@typescript-eslint/parser": "^5.30.5", |
| 64 | + "@react-native/eslint-config": "^0.72.2", |
| 65 | + "@release-it/conventional-changelog": "^8.0.1", |
| 66 | + "@types/jest": "^28.1.2", |
| 67 | + "@types/react": "~17.0.21", |
| 68 | + "@types/react-native": "0.70.0", |
| 69 | + "@typescript-eslint/eslint-plugin": "latest", |
| 70 | + "@typescript-eslint/parser": "latest", |
68 | 71 | "commitlint": "^17.0.2", |
69 | 72 | "del-cli": "^5.0.0", |
70 | | - "eslint": "^8.19.0", |
| 73 | + "eslint": "^8.4.1", |
71 | 74 | "eslint-config-prettier": "^8.5.0", |
72 | 75 | "eslint-plugin-prettier": "^4.0.0", |
73 | | - "eslint-plugin-react": "^7.30.1", |
74 | | - "jest": "^29.6.3", |
| 76 | + "eslint-plugin-react": "latest", |
| 77 | + "jest": "^28.1.1", |
75 | 78 | "pod-install": "^0.1.0", |
76 | | - "prettier": "2.8.8", |
77 | | - "react": "19.0.0", |
78 | | - "react-native": "0.79.3", |
| 79 | + "prettier": "^2.0.5", |
| 80 | + "react": "18.2.0", |
| 81 | + "react-native": "0.72.7", |
79 | 82 | "react-native-builder-bob": "^0.20.0", |
| 83 | + "release-it": "^17.1.1", |
80 | 84 | "turbo": "^1.10.7", |
81 | 85 | "typedoc": "^0.25.4", |
82 | | - "typescript": "^5.0.4" |
| 86 | + "typescript": "^5.0.2" |
83 | 87 | }, |
84 | 88 | "resolutions": { |
85 | | - "@types/react": "^18.2.0" |
| 89 | + "@types/react": "17.0.21" |
86 | 90 | }, |
87 | 91 | "peerDependencies": { |
88 | 92 | "react": "*", |
|
100 | 104 | "@commitlint/config-conventional" |
101 | 105 | ] |
102 | 106 | }, |
| 107 | + "release-it": { |
| 108 | + "git": { |
| 109 | + "commitMessage": "chore: release ${version}", |
| 110 | + "tagName": "v${version}" |
| 111 | + }, |
| 112 | + "npm": { |
| 113 | + "publish": true |
| 114 | + }, |
| 115 | + "github": { |
| 116 | + "release": true |
| 117 | + }, |
| 118 | + "plugins": { |
| 119 | + "@release-it/conventional-changelog": { |
| 120 | + "preset": "angular" |
| 121 | + } |
| 122 | + } |
| 123 | + }, |
103 | 124 | "eslintConfig": { |
104 | 125 | "root": true, |
105 | 126 | "extends": [ |
|
0 commit comments