Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
b6c6770c
Unverified
Commit
b6c6770c
authored
Jan 05, 2021
by
kaykdm
Committed by
GitHub
Jan 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix with-react-intl example (#20763)
Co-authored-by:
Kanta Kodama
<
kanta.kodama@linecorp.com
>
parent
6fd877ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
package.json
examples/with-react-intl/package.json
+2
-2
No files found.
examples/with-react-intl/package.json
View file @
b6c6770c
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
"dev-no-custom-server"
:
"next dev"
,
"dev-no-custom-server"
:
"next dev"
,
"build"
:
"npm run extract:i18n && npm run compile:i18n && next build && tsc -p tsconfig.server.json"
,
"build"
:
"npm run extract:i18n && npm run compile:i18n && next build && tsc -p tsconfig.server.json"
,
"extract:i18n"
:
"formatjs extract '{pages,components}/*.{js,ts,tsx}' --format simple --id-interpolation-pattern '[sha512:contenthash:base64:6]' --out-file lang/en.json"
,
"extract:i18n"
:
"formatjs extract '{pages,components}/*.{js,ts,tsx}' --format simple --id-interpolation-pattern '[sha512:contenthash:base64:6]' --out-file lang/en.json"
,
"compile:i18n"
:
"formatjs compile-folder --ast --format simple lang
/ compiled-lang/
"
,
"compile:i18n"
:
"formatjs compile-folder --ast --format simple lang
compiled-lang
"
,
"start"
:
"cross-env NODE_ENV=production NODE_ICU_DATA=node_modules/full-icu node dist/server"
,
"start"
:
"cross-env NODE_ENV=production NODE_ICU_DATA=node_modules/full-icu node dist/server"
,
"start-no-custom-server"
:
"next start"
"start-no-custom-server"
:
"next start"
},
},
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
"@types/accepts"
:
"^1.3.5"
,
"@types/accepts"
:
"^1.3.5"
,
"cross-spawn"
:
"7.0.3"
,
"cross-spawn"
:
"7.0.3"
,
"prettier"
:
"2.0.5"
,
"prettier"
:
"2.0.5"
,
"ts-node"
:
"8.0.
0
"
,
"ts-node"
:
"8.0.
1
"
,
"typescript"
:
"4.0"
"typescript"
:
"4.0"
},
},
"prettier"
:
{
"prettier"
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment