Skip to content

Commit

Permalink
fix dev/start commands
Browse files Browse the repository at this point in the history
  • Loading branch information
longlho committed Aug 20, 2020
1 parent fc3ecaa commit f5ac3fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/with-react-intl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"name": "with-react-intl",
"version": "1.0.0",
"scripts": {
"dev": "next dev",
"dev": "NODE_ICU_DATA=node_modules/full-icu next dev",
"build": "next build && npm run extract:i18n && npm run compile:i18n",
"extract:i18n": "formatjs extract '{pages,components}/*.{js,ts,tsx}' --format simple --out-file lang/en.json",
"compile:i18n": "formatjs compile-folder --ast --format simple lang/ compiled-lang/",
"start": "NODE_ENV=production node --icu-data-dir=node_modules/full-icu server.js"
"start": "NODE_ENV=production NODE_ICU_DATA=node_modules/full-icu next start"
},
"dependencies": {
"@formatjs/cli": "^2.7.3",
Expand Down

0 comments on commit f5ac3fa

Please sign in to comment.