2017-02-24 22:45:18 +01:00
|
|
|
{
|
|
|
|
"name": "with-react-intl",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"scripts": {
|
2020-08-28 00:59:33 +02:00
|
|
|
"dev": "NODE_ICU_DATA=node_modules/full-icu ts-node --project tsconfig.server.json server.ts",
|
|
|
|
"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 --out-file lang/en.json",
|
|
|
|
"compile:i18n": "formatjs compile-folder --ast --format simple lang/ compiled-lang/",
|
|
|
|
"start": "NODE_ENV=production NODE_ICU_DATA=node_modules/full-icu node dist/server"
|
2017-02-24 22:45:18 +01:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-08-28 00:59:33 +02:00
|
|
|
"@formatjs/cli": "^2.7.3",
|
|
|
|
"@formatjs/intl-datetimeformat": "^2.4.3",
|
|
|
|
"@formatjs/intl-getcanonicallocales": "^1.3.2",
|
|
|
|
"@formatjs/intl-numberformat": "^5.4.1",
|
|
|
|
"@formatjs/intl-pluralrules": "^3.4.0",
|
|
|
|
"@formatjs/intl-relativetimeformat": "^7.1.1",
|
2019-08-26 22:40:36 +02:00
|
|
|
"accepts": "^1.3.7",
|
2020-08-28 00:59:33 +02:00
|
|
|
"babel-plugin-react-intl": "^8.1.1",
|
2019-11-09 22:04:38 +01:00
|
|
|
"full-icu": "^1.3.0",
|
2019-08-26 22:40:36 +02:00
|
|
|
"glob": "^7.1.4",
|
2017-04-03 06:16:35 +02:00
|
|
|
"next": "latest",
|
2019-08-26 22:40:36 +02:00
|
|
|
"react": "^16.9.0",
|
|
|
|
"react-dom": "^16.9.0",
|
2020-08-28 00:59:33 +02:00
|
|
|
"react-intl": "^5.6.3"
|
2017-02-24 22:45:18 +01:00
|
|
|
},
|
2020-05-02 07:22:25 +02:00
|
|
|
"license": "ISC",
|
|
|
|
"devDependencies": {
|
2020-08-28 00:59:33 +02:00
|
|
|
"@types/accepts": "^1.3.5",
|
2020-06-16 17:59:59 +02:00
|
|
|
"cross-spawn": "7.0.3",
|
2020-08-28 00:59:33 +02:00
|
|
|
"prettier": "2.0.5",
|
|
|
|
"ts-node": "8.0.0",
|
2020-08-30 04:17:02 +02:00
|
|
|
"typescript": "4.0"
|
2020-08-28 00:59:33 +02:00
|
|
|
},
|
|
|
|
"prettier": {
|
|
|
|
"singleQuote": true,
|
|
|
|
"trailingComma": "es5",
|
|
|
|
"bracketSpacing": false,
|
|
|
|
"endOfLine": "lf",
|
|
|
|
"arrowParens": "avoid"
|
2020-05-02 07:22:25 +02:00
|
|
|
}
|
2017-02-24 22:45:18 +01:00
|
|
|
}
|