-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
29 lines (29 loc) · 1.07 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"name": "gatsby-starter-default",
"description": "Gatsby default starter",
"version": "1.0.0",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
"dependencies": {
"gatsby": "^3.9.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-intl": "^5.20.6"
},
"devDependencies": {
"@formatjs/cli": "^4.2.29"
},
"license": "MIT",
"scripts": {
"build": "gatsby build",
"develop": "gatsby develop -p 3005",
"clean": "gatsby clean",
"extract": "formatjs extract 'src/**/*.{ts,js,tsx,jsx}' --out-file i18n-extracted.json",
"sync": "npm run extract && npm run upload-i18n && npm run download-i18n",
"upload-i18n": "simplelocalize upload --apiKey YOUR-SIMPLELOCALIZE-API-KEY --uploadPath ./i18n-extracted.json --uploadFormat simplelocalize-json --languageKey en",
"download-i18n": "simplelocalize download --apiKey YOUR-SIMPLELOCALIZE-API-KEY --downloadPath ./i18n-translations.json --downloadFormat multi-language-json"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby-starter-default"
}
}