Skip to content

Commit 06f68ce

Browse files
Clement HoangBrian Vaughn
Clement Hoang
authored and
Brian Vaughn
committed
Add yarn script to download/symlink translations
1 parent fc1d65c commit 06f68ce

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,11 @@
8080
"ci-check": "yarn prettier:diff && yarn lint && yarn flow",
8181
"dev": "gatsby develop -H 0.0.0.0",
8282
"lint": "eslint .",
83-
"netlify": "yarn install && yarn build",
83+
"netlify": "yarn install && yarn translations && yarn build",
8484
"prettier": "prettier --config .prettierrc --write \"{gatsby-*.js,{flow-typed,plugins,src}/**/*.js}\"",
8585
"prettier:diff": "prettier --config .prettierrc --list-different \"{gatsby-*.js,{flow-typed,plugins,src}/**/*.js}\"",
86-
"reset": "rimraf ./.cache && rimraf ./crowdin/__translations && find crowdin/translations -type l -not -name '*en-US' -delete"
86+
"reset": "rimraf ./.cache && rimraf ./crowdin/__translations && find crowdin/translations -type l -not -name '*en-US' -delete",
87+
"translations": "node ./crowdin/download"
8788
},
8889
"devDependencies": {
8990
"eslint-config-prettier": "^2.6.0",

0 commit comments

Comments
 (0)