1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples/with-react-intl/package.json
Rustam Gilyaziev e2b518525c Update with-react-intl example (#4825)
Changes:
- added withIntl HOC because injectIntl do no hoist static methods
- fixed `Cannot read property 'locale' of undefined`
2018-07-24 00:43:57 +02:00

22 lines
513 B
JSON

{
"name": "with-react-intl",
"version": "1.0.0",
"scripts": {
"dev": "node server.js",
"build": "next build && node ./scripts/default-lang",
"start": "NODE_ENV=production node server.js"
},
"dependencies": {
"accepts": "^1.3.3",
"babel-plugin-react-intl": "^2.3.1",
"glob": "^7.1.1",
"hoist-non-react-statics": "^3.0.0-rc.1",
"intl": "^1.2.5",
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-intl": "^2.2.3"
},
"license": "ISC"
}