Skip to content

Commit 7cf7428

Browse files
committed
chore: Add build
1 parent a28cc55 commit 7cf7428

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,3 @@ trans('Welcome!'); // Bem-vindo!
4343
trans('Welcome, :name!', { name: 'Francisco' }) // Bem-vindo Francisco!
4444
trans('Welcome, :NAME!', { name: 'Francisco' }) // Bem-vindo FRANCISCO!
4545
```
46-
47-

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "laravel-vue-i18n",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"author": {
55
"name": "Francisco Madeira",
66
"email": "[email protected]"
@@ -13,7 +13,9 @@
1313
"tsc": "tsc --watch",
1414
"test": "jest",
1515
"coverage": "jest --coverage",
16-
"lint": "prettier -c \"src/**/*.(ts|js|vue)\" --write"
16+
"lint": "prettier -c \"src/**/*.(ts|js|vue)\" --write",
17+
"prepare": "tsc",
18+
"postpublish": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag v$PACKAGE_VERSION && git push --tags"
1719
},
1820
"devDependencies": {
1921
"@babel/preset-env": "^7.16.4",

0 commit comments

Comments
 (0)