|
9 | 9 | "files": [ |
10 | 10 | "src", |
11 | 11 | "dist", |
12 | | - "android", |
13 | | - "ios", |
14 | | - "cpp", |
15 | | - "react-native-tailwind-macro.podspec", |
16 | | - "!android/build", |
17 | | - "!ios/build", |
18 | 12 | "!**/__tests__", |
19 | 13 | "!**/__fixtures__", |
20 | 14 | "!**/__mocks__" |
|
23 | 17 | "test": "jest", |
24 | 18 | "typescript": "tsc --noEmit", |
25 | 19 | "lint": "eslint \"**/*.{js,ts,tsx}\"", |
26 | | - "release": "release-it", |
| 20 | + "release": "cp ../../README.md ./README.md && release-it", |
27 | 21 | "clean": "rimraf ./dist", |
28 | 22 | "build": "yarn build:module && yarn build:commonjs", |
29 | 23 | "build:module": "tsc -p tsconfig.module.json", |
|
52 | 46 | "twrnc": "2.1.0-beta.5" |
53 | 47 | }, |
54 | 48 | "devDependencies": { |
55 | | - "@commitlint/config-conventional": "^11.0.0", |
56 | 49 | "@react-native-community/eslint-config": "^2.0.0", |
57 | 50 | "@release-it/conventional-changelog": "^2.0.0", |
58 | 51 | "@types/babel-plugin-macros": "^2.8.5", |
|
62 | 55 | "@types/tailwindcss": "^2.2.4", |
63 | 56 | "babel-plugin-module-resolver": "^4.1.0", |
64 | 57 | "babel-plugin-tester": "^10.1.0", |
65 | | - "commitlint": "^11.0.0", |
66 | | - "cz-conventional-changelog": "3.3.0", |
67 | 58 | "eslint": "^7.2.0", |
68 | 59 | "eslint-config-prettier": "^7.0.0", |
69 | 60 | "eslint-plugin-prettier": "^3.1.3", |
70 | 61 | "glob-all": "^3.2.1", |
71 | | - "husky": "^4.2.5", |
72 | 62 | "jest": "^26.0.1", |
73 | 63 | "jest-react-native": "^18.0.0", |
74 | 64 | "pod-install": "^0.1.0", |
|
94 | 84 | ], |
95 | 85 | "resolver": "./jest-twrnc-resolver.js" |
96 | 86 | }, |
97 | | - "husky": { |
98 | | - "hooks": { |
99 | | - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", |
100 | | - "pre-commit": "yarn lint && yarn typescript" |
101 | | - } |
102 | | - }, |
103 | | - "commitlint": { |
104 | | - "extends": [ |
105 | | - "@commitlint/config-conventional" |
106 | | - ] |
107 | | - }, |
108 | 87 | "release-it": { |
109 | 88 | "git": { |
110 | 89 | "commitMessage": "chore: release ${version}", |
|
145 | 124 | }, |
146 | 125 | "eslintIgnore": [ |
147 | 126 | "node_modules/", |
148 | | - "lib/", |
| 127 | + "dist/", |
149 | 128 | "src/__tests__/__fixtures__" |
150 | 129 | ], |
151 | 130 | "prettier": { |
|
155 | 134 | "trailingComma": "es5", |
156 | 135 | "useTabs": false, |
157 | 136 | "semi": false |
158 | | - }, |
159 | | - "config": { |
160 | | - "commitizen": { |
161 | | - "path": "./node_modules/cz-conventional-changelog" |
162 | | - } |
163 | 137 | } |
164 | 138 | } |
0 commit comments