File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
packages/react-native-tailwind.macro Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-tailwind.macro" ,
3- "version" : " 0.1 .0" ,
3+ "version" : " 1.0 .0" ,
44 "description" : " Babel macro for writing Tailwind styles in React Native (+ Web)" ,
55 "main" : " dist/cjs" ,
66 "module" : " dist" ,
1717 "test" : " jest" ,
1818 "typescript" : " tsc --noEmit" ,
1919 "lint" : " eslint \" **/*.{js,ts,tsx}\" " ,
20- "release" : " cp ../../README.md ./README.md && release-it" ,
20+ "release" : " release-it" ,
2121 "clean" : " rimraf ./dist" ,
2222 "build" : " yarn build:module && yarn build:commonjs" ,
2323 "build:module" : " tsc -p tsconfig.module.json" ,
9999 "@release-it/conventional-changelog" : {
100100 "preset" : " angular"
101101 }
102+ },
103+ "hooks" : {
104+ "before:init" : [
105+ " yarn lint" ,
106+ " yarn test"
107+ ],
108+ "after:bump" : [
109+ " yarn build" ,
110+ " cp ../../README.md ./README.md"
111+ ]
102112 }
103113 },
104114 "eslintConfig" : {
You can’t perform that action at this time.
0 commit comments